From 2872c5553ee9240c995fc6c73e67d89b10da9e42 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 11 Aug 2021 19:59:39 -0600 Subject: [PATCH 01/43] add az vmware script* (#3722) * custom action for script execution params * script-execution tests recorded * package and cmdlet tests passing * update help * add named outputs * recording are generated * mv .gitattributes to root * mv .gitattributes * it is in azext_vmware * fix style * fix linter errors * suppress cred scan false positive * remove credential test * raise InvalidArgumentValueError, RequiredArgumentMissingError --- .gitattributes | 1 + src/vmware/CHANGELOG.md | 5 +- src/vmware/azext_vmware/_help.py | 89 +++++- src/vmware/azext_vmware/_params.py | 23 ++ src/vmware/azext_vmware/action.py | 70 +++++ src/vmware/azext_vmware/commands.py | 17 +- src/vmware/azext_vmware/custom.py | 43 ++- .../latest/recordings/test_vmware_script.yaml | 285 ++++++++++++++++++ .../test_vmware_script_execution.yaml | 285 ++++++++++++++++++ .../tests/latest/test_cloud_link_scenario.py | 3 - .../tests/latest/test_script_scenario.py | 51 ++++ src/vmware/azext_vmware/tests/test_action.py | 19 ++ 12 files changed, 875 insertions(+), 16 deletions(-) create mode 100644 .gitattributes create mode 100644 src/vmware/azext_vmware/action.py create mode 100644 src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script.yaml create mode 100644 src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script_execution.yaml create mode 100644 src/vmware/azext_vmware/tests/latest/test_script_scenario.py create mode 100644 src/vmware/azext_vmware/tests/test_action.py diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..a688ea600d4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +src/vmware/azext_vmware/tests/latest/recordings/*.yaml linguist-generated=true diff --git a/src/vmware/CHANGELOG.md b/src/vmware/CHANGELOG.md index 610aa1dd767..6b0e1b2aaf7 100644 --- a/src/vmware/CHANGELOG.md +++ b/src/vmware/CHANGELOG.md @@ -1,7 +1,10 @@ # Release History -## 3.1.0 (2021-07) +## 3.1.0 (2021-08) - Add `az vmware cloud-link` command group +- Add `az vmware script-cmdlet` command group +- Add `az vmware script-execution` command group +- Add `az vmware script-package` command group ## 3.0.0 (2021-07) - [BREAKING CHANGE] `az vmware datastore create` has been removed. Please use `az vmware datastore netapp-volume create` or `az vmware datastore disk-pool-volume create` instead. diff --git a/src/vmware/azext_vmware/_help.py b/src/vmware/azext_vmware/_help.py index 117e6fbbfb0..86dd39bc211 100644 --- a/src/vmware/azext_vmware/_help.py +++ b/src/vmware/azext_vmware/_help.py @@ -384,20 +384,12 @@ helps['vmware cloud-link create'] = """ type: command - short-summary: Create a cloud link in a private cloud. + short-summary: Create or update a cloud link in a private cloud. examples: - name: Create a cloud link. text: az vmware cloud-link create --resource-group group1 --private-cloud cloud1 --name cloudLink1 --linked-cloud "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" """ -helps['vmware cloud-link update'] = """ - type: command - short-summary: Create a cloud link in a private cloud. - examples: - - name: Update a cloud link. - text: az vmware cloud-link update --resource-group group1 --private-cloud cloud1 --name cloudLink1 --linked-cloud "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2" -""" - helps['vmware cloud-link list'] = """ type: command short-summary: List cloud links in a private cloud. @@ -421,3 +413,82 @@ - name: Delete a cloud link. text: az vmware cloud-link delete --resource-group group1 --private-cloud cloud1 --name cloudLink1 """ + +helps['vmware script-cmdlet'] = """ + type: group + short-summary: Commands to list and show script cmdlet resources. +""" + +helps['vmware script-cmdlet list'] = """ + type: command + short-summary: List script cmdlet resources available for a private cloud to create a script execution resource on a private cloud. + examples: + - name: List script cmdlet resources. + text: az vmware script-cmdlet list --resource-group group1 --private-cloud cloud1 --script-package package1 +""" + +helps['vmware script-cmdlet show'] = """ + type: command + short-summary: Get information about a script cmdlet resource in a specific package on a private cloud. + examples: + - name: Show a script cmdlet. + text: az vmware script-cmdlet show --resource-group group1 --private-cloud cloud1 --script-package package1 --name cmdlet1 +""" + +helps['vmware script-package'] = """ + type: group + short-summary: Commands to list and show script packages available to run on the private cloud. +""" + +helps['vmware script-package list'] = """ + type: command + short-summary: List script packages available to run on the private cloud. + examples: + - name: List script packages. + text: az vmware script-package list --resource-group group1 --private-cloud cloud1 +""" + +helps['vmware script-package show'] = """ + type: command + short-summary: Get a script package available to run on a private cloud. + examples: + - name: Show a script package. + text: az vmware script-package show --resource-group group1 --private-cloud cloud1 --name package1 +""" + +helps['vmware script-execution'] = """ + type: group + short-summary: Commands to manage script executions in a private cloud. +""" + +helps['vmware script-execution create'] = """ + type: command + short-summary: Create or update a script execution in a private cloud. + examples: + - name: Create a script execution. + text: az vmware script-execution create --resource-group group1 --private-cloud cloud1 --name addSsoServer --script-cmdlet-id "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource" --timeout P0Y0M0DT0H60M60S --retention P0Y0M60DT0H60M60S --parameter name=DomainName type=Value value=placeholderDomain.local --parameter name=BaseUserDN type=Value "value=DC=placeholder, DC=placeholder" --hidden-parameter name=Password type=SecureValue secureValue=PlaceholderPassword +""" + +helps['vmware script-execution list'] = """ + type: command + short-summary: List script executions in a private cloud. + examples: + - name: List script executions. + text: az vmware script-execution list --resource-group group1 --private-cloud cloud1 +""" + +helps['vmware script-execution show'] = """ + type: command + short-summary: Get an script execution by name in a private cloud. + examples: + - name: Show a script execution. + text: az vmware script-execution show --resource-group group1 --private-cloud cloud1 --name addSsoServer +""" + +helps['vmware script-execution delete'] = """ + type: command + short-summary: Delete a script execution in a private cloud. + examples: + - name: Delete a script execution. + text: az vmware script-execution delete --resource-group group1 --private-cloud cloud1 --name addSsoServer +""" diff --git a/src/vmware/azext_vmware/_params.py b/src/vmware/azext_vmware/_params.py index db87f476b88..afa99ece544 100644 --- a/src/vmware/azext_vmware/_params.py +++ b/src/vmware/azext_vmware/_params.py @@ -5,6 +5,9 @@ # pylint: disable=line-too-long,too-many-statements +from azext_vmware.action import ScriptExecutionNamedOutputAction, ScriptExecutionParameterAction + + def load_arguments(self, _): from azure.cli.core.commands.parameters import tags_type @@ -111,3 +114,23 @@ def load_arguments(self, _): with self.argument_context('vmware cloud-link') as c: c.argument('name', options_list=['--name', '-n'], help='The name of the cloud link.') c.argument('linked_cloud', help='Identifier of the other private cloud participating in the link.') + + with self.argument_context('vmware script-package') as c: + c.argument('name', options_list=['--name', '-n'], help='Name of the script package.') + + with self.argument_context('vmware script-cmdlet') as c: + c.argument('script_package', options_list=['--script-package', '-p'], help='Name of the script package.') + c.argument('name', options_list=['--name', '-n'], help='Name of the script cmdlet.') + + with self.argument_context('vmware script-execution') as c: + c.argument('name', options_list=['--name', '-n'], help='Name of the script execution.') + + with self.argument_context('vmware script-execution create') as c: + c.argument('timeout', help='Time limit for execution.') + c.argument('parameters', options_list=['--parameter', '-p'], action=ScriptExecutionParameterAction, nargs='*', help='Parameters the script will accept.') + c.argument('hidden_parameters', options_list=['--hidden-parameter'], action=ScriptExecutionParameterAction, nargs='*', help='Parameters that will be hidden/not visible to ARM, such as passwords and credentials.') + c.argument('failure_reason', help='Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.') + c.argument('retention', help='Time to live for the resource. If not provided, will be available for 60 days.') + c.argument('out', help='Standard output stream from the powershell execution.') + c.argument('named_outputs', action=ScriptExecutionNamedOutputAction, nargs='*', help='User-defined dictionary.') + c.argument('script_cmdlet_id', help='A reference to the script cmdlet resource if user is running a AVS script.') diff --git a/src/vmware/azext_vmware/action.py b/src/vmware/azext_vmware/action.py new file mode 100644 index 00000000000..1fe25003123 --- /dev/null +++ b/src/vmware/azext_vmware/action.py @@ -0,0 +1,70 @@ + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long, protected-access, too-few-public-methods + +import argparse +from typing import Dict, List +from azure.cli.core.azclierror import InvalidArgumentValueError, RequiredArgumentMissingError +from knack.util import CLIError +from azext_vmware.vendored_sdks.avs_client.models import ScriptExecutionParameter, ScriptExecutionParameterType, ScriptStringExecutionParameter, ScriptSecureStringExecutionParameter, PSCredentialExecutionParameter + + +class ScriptExecutionNamedOutputAction(argparse._AppendAction): + + def __call__(self, parser, namespace, values, option_string=None): + namespace.named_outputs = script_execution_named_outputs(values) + + +def script_execution_named_outputs(values: List[str]) -> Dict[str, str]: + try: + return dict(map(lambda x: x.split('=', 1), values)) + except ValueError as error: + raise CLIError('parsing named output parameter \'{}\''.format(values)) from error + + +class ScriptExecutionParameterAction(argparse._AppendAction): + + def __call__(self, parser, namespace, values, option_string=None): + parameter = script_execution_parameters(values) + if namespace.parameters: + namespace.parameters.append(parameter) + else: + namespace.parameters = [parameter] + + +def script_execution_parameters(values: List[str]) -> ScriptExecutionParameter: + values = dict(map(lambda x: x.split('=', 1), values)) + tp = require(values, "type") + type_lower = tp.lower() + + if type_lower == ScriptExecutionParameterType.VALUE.lower(): + try: + return ScriptStringExecutionParameter(name=require(values, "name"), value=values.get("value")) + except CLIError as error: + raise InvalidArgumentValueError('parsing {} script execution parameter'.format(ScriptExecutionParameterType.VALUE)) from error + + elif type_lower == ScriptExecutionParameterType.SECURE_VALUE.lower(): + try: + return ScriptSecureStringExecutionParameter(name=require(values, "name"), secure_value=values.get("secureValue")) + except CLIError as error: + raise InvalidArgumentValueError('parsing {} script execution parameter'.format(ScriptExecutionParameterType.SECURE_VALUE)) from error + + elif type_lower == ScriptExecutionParameterType.CREDENTIAL.lower(): + try: + return PSCredentialExecutionParameter(name=require(values, "name"), username=values.get("username"), password=values.get("password")) + except CLIError as error: + raise InvalidArgumentValueError('parsing {} script execution parameter'.format(ScriptExecutionParameterType.CREDENTIAL)) from error + + else: + raise InvalidArgumentValueError('script execution paramater type \'{}\' not matched'.format(tp)) + + +def require(values: Dict[str, str], key: str) -> str: + '''Gets the required script execution parameter or raises a CLIError.''' + value = values.get(key) + if value is None: + raise RequiredArgumentMissingError('script execution parameter \'{}\' required'.format(key)) + return value diff --git a/src/vmware/azext_vmware/commands.py b/src/vmware/azext_vmware/commands.py index cf6e55e4f69..8f0e7444997 100644 --- a/src/vmware/azext_vmware/commands.py +++ b/src/vmware/azext_vmware/commands.py @@ -89,8 +89,21 @@ def load_command_table(self, _): g.custom_show_command('show', 'globalreachconnection_show') with self.command_group('vmware cloud-link', vmware_sdk, client_factory=cf_vmware) as g: - g.custom_command('create', 'cloud_link_create_or_update') - g.custom_command('update', 'cloud_link_create_or_update') + g.custom_command('create', 'cloud_link_create') g.custom_command('list', 'cloud_link_list') g.custom_command('delete', 'cloud_link_delete') g.custom_show_command('show', 'cloud_link_show') + + with self.command_group('vmware script-cmdlet', vmware_sdk, client_factory=cf_vmware) as g: + g.custom_command('list', 'script_cmdlet_list') + g.custom_show_command('show', 'script_cmdlet_show') + + with self.command_group('vmware script-package', vmware_sdk, client_factory=cf_vmware) as g: + g.custom_command('list', 'script_package_list') + g.custom_show_command('show', 'script_package_show') + + with self.command_group('vmware script-execution', vmware_sdk, client_factory=cf_vmware) as g: + g.custom_command('create', 'script_execution_create') + g.custom_command('list', 'script_execution_list') + g.custom_command('delete', 'script_execution_delete') + g.custom_show_command('show', 'script_execution_show') diff --git a/src/vmware/azext_vmware/custom.py b/src/vmware/azext_vmware/custom.py index baef37e4f46..55ec9b46489 100644 --- a/src/vmware/azext_vmware/custom.py +++ b/src/vmware/azext_vmware/custom.py @@ -4,6 +4,7 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long +from typing import List, Tuple from azext_vmware.vendored_sdks.avs_client import AVSClient LEGAL_TERMS = ''' @@ -274,7 +275,7 @@ def globalreachconnection_delete(client: AVSClient, resource_group_name, private return client.global_reach_connections.begin_delete(resource_group_name=resource_group_name, private_cloud_name=private_cloud, global_reach_connection_name=name) -def cloud_link_create_or_update(client: AVSClient, resource_group_name, name, private_cloud, linked_cloud): +def cloud_link_create(client: AVSClient, resource_group_name, name, private_cloud, linked_cloud): return client.cloud_links.begin_create_or_update(resource_group_name=resource_group_name, private_cloud_name=private_cloud, cloud_link_name=name, linked_cloud=linked_cloud) @@ -288,3 +289,43 @@ def cloud_link_show(client: AVSClient, resource_group_name, private_cloud, name) def cloud_link_delete(client: AVSClient, resource_group_name, private_cloud, name): return client.cloud_links.begin_delete(resource_group_name=resource_group_name, private_cloud_name=private_cloud, cloud_link_name=name) + + +def script_cmdlet_list(client: AVSClient, resource_group_name, private_cloud, script_package): + return client.script_cmdlets.list(resource_group_name=resource_group_name, private_cloud_name=private_cloud, script_package_name=script_package) + + +def script_cmdlet_show(client: AVSClient, resource_group_name, private_cloud, script_package, name): + return client.script_cmdlets.get(resource_group_name=resource_group_name, private_cloud_name=private_cloud, script_package_name=script_package, script_cmdlet_name=name) + + +def script_package_list(client: AVSClient, resource_group_name, private_cloud): + return client.script_packages.list(resource_group_name=resource_group_name, private_cloud_name=private_cloud) + + +def script_package_show(client: AVSClient, resource_group_name, private_cloud, name): + return client.script_packages.get(resource_group_name=resource_group_name, private_cloud_name=private_cloud, script_package_name=name) + + +def script_execution_create(client: AVSClient, resource_group_name, private_cloud, name, timeout, script_cmdlet_id=None, parameters=None, hidden_parameters=None, failure_reason=None, retention=None, out=None, named_outputs: List[Tuple[str, str]] = None): + from azext_vmware.vendored_sdks.avs_client.models import ScriptExecution + if named_outputs is not None: + named_outputs = dict(named_outputs) + script_execution = ScriptExecution(timeout=timeout, script_cmdlet_id=script_cmdlet_id, parameters=parameters, hidden_parameters=hidden_parameters, failure_reason=failure_reason, retention=retention, output=out, named_outputs=named_outputs) + return client.script_executions.begin_create_or_update(resource_group_name=resource_group_name, private_cloud_name=private_cloud, script_execution_name=name, script_execution=script_execution) + + +def script_execution_list(client: AVSClient, resource_group_name, private_cloud): + return client.script_executions.list(resource_group_name=resource_group_name, private_cloud_name=private_cloud) + + +def script_execution_show(client: AVSClient, resource_group_name, private_cloud, name): + return client.script_executions.get(resource_group_name=resource_group_name, private_cloud_name=private_cloud, script_execution_name=name) + + +def script_execution_delete(client: AVSClient, resource_group_name, private_cloud, name): + return client.script_executions.begin_delete(resource_group_name=resource_group_name, private_cloud_name=private_cloud, script_execution_name=name) + + +def script_execution_logs(client: AVSClient, resource_group_name, private_cloud, name): + return client.script_executions.get_execution_logs(resource_group_name=resource_group_name, private_cloud_name=private_cloud, script_execution_name=name) diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script.yaml new file mode 100644 index 00000000000..fba9f24ec60 --- /dev/null +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script.yaml @@ -0,0 +1,285 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-package list + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://localhost:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages?api-version=2021-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0","name":"AVS.PowerCommands@1.0.0","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various + cmdlets for elevated access to Private Cloud administrative functions","version":"1.0.0"}},{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/JSDR.Configuration@1.0","name":"JSDR.Configuration@1.0","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various + cmdlets by Jetstream for Private Cloud administration","version":"1.0.0"}}]}' + headers: + content-length: + - '713' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 20:13:24 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-package show + Connection: + - keep-alive + ParameterSetName: + - -g -c -n + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://localhost:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands%401.0.0?api-version=2021-06-01 + response: + body: + string: '{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/{scriptPackageName}","name":"AVS.PowerCommands@1.0.0","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various + cmdlets for elevated access to Private Cloud administrative functions","version":"1.0.0"}}' + headers: + content-length: + - '355' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 20:13:29 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-cmdlet list + Connection: + - keep-alive + ParameterSetName: + - -g -c -p + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://localhost:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands%401.0.0/scriptCmdlets?api-version=2021-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/{scriptPackageName}/scriptCmdlets/Set-AvsStoragePolicy","name":"Set-AvsStoragePolicy","type":"Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets","properties":{"description":"Allow + user to set the storage policy of the specified VM","timeout":"P0Y0M0DT0H60M0S","parameters":[{"type":"String","name":"VM","description":"VM + to set the storage policy on","visibility":"Visible","optional":"Required"},{"type":"String","name":"StoragePolicyName","description":"Name + of the storage policy to set","visibility":"Visible","optional":"Required"}]}},{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/{scriptPackageName}/scriptCmdlets/New-ExternalSsoDomain","name":"New-ExternalSsoDomain","type":"Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets","properties":{"description":"Add + an external Sso domain to their vCenter","timeout":"P0Y0M0DT0H60M0S","parameters":[{"type":"String","name":"DomainName","description":"Domain + name of the Server","visibility":"Visible","optional":"Required"},{"type":"String","name":"BaseUserDN","description":"Base + User DN of the Server","visibility":"Visible","optional":"Required"},{"type":"SecureString","name":"Password","description":"Password + for authenticating to the server","visibility":"Hidden","optional":"Required"}]}}]}' + headers: + content-length: + - '1470' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 20:13:33 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-cmdlet show + Connection: + - keep-alive + ParameterSetName: + - -g -c -p -n + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://localhost:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands%401.0.0/scriptCmdlets/New-ExternalSsoDomain?api-version=2021-06-01 + response: + body: + string: '{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/New-ExternalSsoDomain","name":"New-ExternalSsoDomain","type":"Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets","properties":{"description":"Add + an external Sso domain to their vCenter","timeout":"P0Y0M0DT0H60M0S","parameters":[{"type":"String","name":"DomainName","description":"Domain + name of the Server","visibility":"Visible","optional":"Required"},{"type":"String","name":"BaseUserDN","description":"Base + User DN of the Server","visibility":"Visible","optional":"Required"},{"type":"SecureString","name":"Password","description":"Password + for authenticating to the server","visibility":"Hidden","optional":"Required"}]}}' + headers: + content-length: + - '801' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 20:13:37 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "parameters": [{"name": "DomainName", "type": "Value", "value": "placeholderDomain.local"}, + {"name": "BaseUserDN", "type": "Value", "value": "DC=placeholder, DC=placeholder"}, + {"name": "Password", "type": "SecureValue", "secureValue": "PlaceholderPassword"}], + "timeout": "P0Y0M0DT0H60M60S", "retention": "P0Y0M60DT0H60M60S"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution create + Connection: + - keep-alive + Content-Length: + - '564' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --private-cloud --name --script-cmdlet-id --timeout --retention + --parameter --parameter --hidden-parameter + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://localhost:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2021-06-01 + response: + body: + string: '{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"name":"DomainName","type":"Value"},{"name":"BaseUserDN","type":"Value"}],"failureReason":"vCenter + failed to connect to the external server","timeout":"P0Y0M0DT0H60M60S","retention":"P0Y0M60DT0H60M60S","provisioningState":"Succeeded","output":["IdentitySource: + placeholder.dc","BaseDN=''dc=placeholder, dc=local"]}}' + headers: + content-length: + - '759' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 20:13:41 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution list + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://localhost:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions?api-version=2021-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS:1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"name":"DomainName","type":"Value"},{"name":"BaseUserDN","type":"Value"}],"failureReason":"vCenter + failed to connect to the external server","timeout":"P0Y0M0DT0H60M60S","retention":"P0Y0M60DT0H60M60S","submittedAt":"2021-03-21T17:31:28Z","startedAt":"2021-03-21T17:32:28Z","finishedAt":"2021-03-21T18:32:28Z","provisioningState":"Failed"}}]}' + headers: + content-length: + - '783' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 20:13:46 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution show + Connection: + - keep-alive + ParameterSetName: + - -g -c -n + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://localhost:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2021-06-01 + response: + body: + string: '{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"name":"DomainName","type":"Value"},{"name":"BaseUserDN","type":"Value"}],"failureReason":"vCenter + failed to connect to the external server","timeout":"P0Y0M0DT0H60M60S","retention":"P0Y0M60DT0H60M60S","submittedAt":"2021-03-21T17:31:28Z","startedAt":"2021-03-21T17:32:28Z","finishedAt":"2021-03-21T18:32:28Z","provisioningState":"Succeeded"}}' + headers: + content-length: + - '788' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 20:13:50 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c -n + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://localhost:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2021-06-01 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 29 Jul 2021 20:13:54 GMT + server: + - Rocket + status: + code: 200 + message: OK +version: 1 diff --git a/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script_execution.yaml b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script_execution.yaml new file mode 100644 index 00000000000..eb00ccf13d3 --- /dev/null +++ b/src/vmware/azext_vmware/tests/latest/recordings/test_vmware_script_execution.yaml @@ -0,0 +1,285 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-package list + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://127.0.0.1:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages?api-version=2021-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0","name":"AVS.PowerCommands@1.0.0","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various + cmdlets for elevated access to Private Cloud administrative functions","version":"1.0.0"}},{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/JSDR.Configuration@1.0","name":"JSDR.Configuration@1.0","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various + cmdlets by Jetstream for Private Cloud administration","version":"1.0.0"}}]}' + headers: + content-length: + - '713' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 17:04:32 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-package show + Connection: + - keep-alive + ParameterSetName: + - -g -c -n + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://127.0.0.1:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands%401.0.0?api-version=2021-06-01 + response: + body: + string: '{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/{scriptPackageName}","name":"AVS.PowerCommands@1.0.0","type":"Microsoft.AVS/privateClouds/scriptPackages","properties":{"description":"Various + cmdlets for elevated access to Private Cloud administrative functions","version":"1.0.0"}}' + headers: + content-length: + - '355' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 17:04:32 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-cmdlet list + Connection: + - keep-alive + ParameterSetName: + - -g -c -p + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://127.0.0.1:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands%401.0.0/scriptCmdlets?api-version=2021-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/{scriptPackageName}/scriptCmdlets/Set-AvsStoragePolicy","name":"Set-AvsStoragePolicy","type":"Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets","properties":{"description":"Allow + user to set the storage policy of the specified VM","timeout":"P0Y0M0DT0H60M0S","parameters":[{"type":"String","name":"VM","description":"VM + to set the storage policy on","visibility":"Visible","optional":"Required"},{"type":"String","name":"StoragePolicyName","description":"Name + of the storage policy to set","visibility":"Visible","optional":"Required"}]}},{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/{scriptPackageName}/scriptCmdlets/New-ExternalSsoDomain","name":"New-ExternalSsoDomain","type":"Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets","properties":{"description":"Add + an external Sso domain to their vCenter","timeout":"P0Y0M0DT0H60M0S","parameters":[{"type":"String","name":"DomainName","description":"Domain + name of the Server","visibility":"Visible","optional":"Required"},{"type":"String","name":"BaseUserDN","description":"Base + User DN of the Server","visibility":"Visible","optional":"Required"},{"type":"SecureString","name":"Password","description":"Password + for authenticating to the server","visibility":"Hidden","optional":"Required"}]}}]}' + headers: + content-length: + - '1470' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 17:04:32 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-cmdlet show + Connection: + - keep-alive + ParameterSetName: + - -g -c -p -n + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://127.0.0.1:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands%401.0.0/scriptCmdlets/New-ExternalSsoDomain?api-version=2021-06-01 + response: + body: + string: '{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/New-ExternalSsoDomain","name":"New-ExternalSsoDomain","type":"Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets","properties":{"description":"Add + an external Sso domain to their vCenter","timeout":"P0Y0M0DT0H60M0S","parameters":[{"type":"String","name":"DomainName","description":"Domain + name of the Server","visibility":"Visible","optional":"Required"},{"type":"String","name":"BaseUserDN","description":"Base + User DN of the Server","visibility":"Visible","optional":"Required"},{"type":"SecureString","name":"Password","description":"Password + for authenticating to the server","visibility":"Hidden","optional":"Required"}]}}' + headers: + content-length: + - '801' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 17:04:32 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: '{"properties": {"scriptCmdletId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource", + "parameters": [{"name": "DomainName", "type": "Value", "value": "placeholderDomain.local"}, + {"name": "BaseUserDN", "type": "Value", "value": "DC=placeholder, DC=placeholder"}, + {"name": "Password", "type": "SecureValue", "secureValue": "PlaceholderPassword"}], + "timeout": "P0Y0M0DT0H60M60S", "retention": "P0Y0M60DT0H60M60S"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution create + Connection: + - keep-alive + Content-Length: + - '564' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --private-cloud --name --script-cmdlet-id --timeout --retention + --parameter --parameter --hidden-parameter + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://127.0.0.1:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2021-06-01 + response: + body: + string: '{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"name":"DomainName","type":"Value"},{"name":"BaseUserDN","type":"Value"}],"failureReason":"vCenter + failed to connect to the external server","timeout":"P0Y0M0DT0H60M60S","retention":"P0Y0M60DT0H60M60S","provisioningState":"Succeeded","output":["IdentitySource: + placeholder.dc","BaseDN=''dc=placeholder, dc=local"]}}' + headers: + content-length: + - '759' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 17:04:32 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution list + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://127.0.0.1:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions?api-version=2021-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS:1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"name":"DomainName","type":"Value"},{"name":"BaseUserDN","type":"Value"}],"failureReason":"vCenter + failed to connect to the external server","timeout":"P0Y0M0DT0H60M60S","retention":"P0Y0M60DT0H60M60S","submittedAt":"2021-03-21T17:31:28Z","startedAt":"2021-03-21T17:32:28Z","finishedAt":"2021-03-21T18:32:28Z","provisioningState":"Failed"}}]}' + headers: + content-length: + - '783' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 17:04:34 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution show + Connection: + - keep-alive + ParameterSetName: + - -g -c -n + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://127.0.0.1:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2021-06-01 + response: + body: + string: '{"id":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer","name":"addSsoServer","type":"Microsoft.AVS/privateClouds/scriptExecutions","properties":{"scriptCmdletId":"/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource","parameters":[{"name":"DomainName","type":"Value"},{"name":"BaseUserDN","type":"Value"}],"failureReason":"vCenter + failed to connect to the external server","timeout":"P0Y0M0DT0H60M60S","retention":"P0Y0M60DT0H60M60S","submittedAt":"2021-03-21T17:31:28Z","startedAt":"2021-03-21T17:32:28Z","finishedAt":"2021-03-21T18:32:28Z","provisioningState":"Succeeded"}}' + headers: + content-length: + - '788' + content-type: + - application/json + date: + - Thu, 29 Jul 2021 17:04:34 GMT + server: + - Rocket + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmware script-execution delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c -n + User-Agent: + - AZURECLI/2.18.0 azsdk-python-mgmt-avs/0.1.0 Python/3.8.7 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://127.0.0.1:8888/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmware_script000001/providers/Microsoft.AVS/privateClouds/cloud1/scriptExecutions/addSsoServer?api-version=2021-06-01 + response: + body: + string: '' + headers: + content-length: + - '0' + date: + - Thu, 29 Jul 2021 17:04:34 GMT + server: + - Rocket + status: + code: 200 + message: OK +version: 1 diff --git a/src/vmware/azext_vmware/tests/latest/test_cloud_link_scenario.py b/src/vmware/azext_vmware/tests/latest/test_cloud_link_scenario.py index 1bb6f574211..ba3533a1b7b 100644 --- a/src/vmware/azext_vmware/tests/latest/test_cloud_link_scenario.py +++ b/src/vmware/azext_vmware/tests/latest/test_cloud_link_scenario.py @@ -3,9 +3,6 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -# import os -# import unittest - from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) diff --git a/src/vmware/azext_vmware/tests/latest/test_script_scenario.py b/src/vmware/azext_vmware/tests/latest/test_script_scenario.py new file mode 100644 index 00000000000..80515cd68e1 --- /dev/null +++ b/src/vmware/azext_vmware/tests/latest/test_script_scenario.py @@ -0,0 +1,51 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) + + +class VmwareScriptScenarioTest(ScenarioTest): + def setUp(self): + # https://vcrpy.readthedocs.io/en/latest/configuration.html#request-matching + self.vcr.match_on = ['scheme', 'method', 'path', 'query'] # not 'host', 'port' + super(VmwareScriptScenarioTest, self).setUp() + + @ResourceGroupPreparer(name_prefix='cli_test_vmware_script') + def test_vmware_script(self): + self.kwargs.update({ + 'subscription': '12341234-1234-1234-1234-123412341234', + 'privatecloud': 'cloud1', + 'scriptExecution': 'addSsoServer', + 'scriptPackage': 'AVS.PowerCommands@1.0.0', + 'scriptCmdlet': 'New-ExternalSsoDomain' + }) + + count = len(self.cmd('az vmware script-package list -g {rg} -c {privatecloud}').get_output_in_json()) + self.assertEqual(count, 2, 'count expected to be 2') + + rsp = self.cmd('az vmware script-package show -g {rg} -c {privatecloud} -n {scriptPackage}').get_output_in_json() + self.assertEqual(rsp['type'], 'Microsoft.AVS/privateClouds/scriptPackages') + self.assertEqual(rsp['name'], self.kwargs.get('scriptPackage')) + + count = len(self.cmd('az vmware script-cmdlet list -g {rg} -c {privatecloud} -p {scriptPackage}').get_output_in_json()) + self.assertEqual(count, 2, 'count expected to be 2') + + rsp = self.cmd('az vmware script-cmdlet show -g {rg} -c {privatecloud} -p {scriptPackage} -n {scriptCmdlet}').get_output_in_json() + self.assertEqual(rsp['type'], 'Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets') + self.assertEqual(rsp['name'], self.kwargs.get('scriptCmdlet')) + + rsp = self.cmd('az vmware script-execution create --resource-group {rg} --private-cloud {privatecloud} --name {scriptExecution} --script-cmdlet-id "/subscriptions/{subscription}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/scriptPackages/AVS.PowerCommands@1.0.0/scriptCmdlets/New-SsoExternalIdentitySource" --timeout P0Y0M0DT0H60M60S --retention P0Y0M60DT0H60M60S --parameter name=DomainName type=Value value=placeholderDomain.local --parameter name=BaseUserDN type=Value "value=DC=placeholder, DC=placeholder" --hidden-parameter name=Password type=SecureValue secureValue=PlaceholderPassword').get_output_in_json() + self.assertEqual(rsp['type'], 'Microsoft.AVS/privateClouds/scriptExecutions') + self.assertEqual(rsp['name'], self.kwargs.get('scriptExecution')) + + count = len(self.cmd('az vmware script-execution list -g {rg} -c {privatecloud}').get_output_in_json()) + self.assertEqual(count, 1, 'count expected to be 1') + + self.cmd('az vmware script-execution show -g {rg} -c {privatecloud} -n {scriptExecution}').get_output_in_json() + self.assertEqual(rsp['type'], 'Microsoft.AVS/privateClouds/scriptExecutions') + self.assertEqual(rsp['name'], self.kwargs.get('scriptExecution')) + + rsp = self.cmd('az vmware script-execution delete -g {rg} -c {privatecloud} -n {scriptExecution}').output + self.assertEqual(len(rsp), 0) diff --git a/src/vmware/azext_vmware/tests/test_action.py b/src/vmware/azext_vmware/tests/test_action.py new file mode 100644 index 00000000000..aacdeb36240 --- /dev/null +++ b/src/vmware/azext_vmware/tests/test_action.py @@ -0,0 +1,19 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azext_vmware.action import script_execution_named_outputs, script_execution_parameters +from azext_vmware.vendored_sdks.avs_client.models import ScriptStringExecutionParameter, ScriptSecureStringExecutionParameter, PSCredentialExecutionParameter + + +class TestAction: + def test_value_execution_parameter(self): + assert ScriptStringExecutionParameter(name="dog", value="Fred") == script_execution_parameters(["type=value", "name=dog", "value=Fred"]) + + def test_secure_value_execution_parameter(self): + assert ScriptSecureStringExecutionParameter(name="cat", secure_value="George") == script_execution_parameters(["type=SecureValue", "name=cat", "secureValue=George"]) + + def test_named_outputs(self): + assert {"dog": "Fred"} == script_execution_named_outputs(["dog=Fred"]) + assert {"dog": "Fred", "cat": "Tom"} == script_execution_named_outputs(["dog=Fred", "cat=Tom"]) From 9a648fcee5c6345f8b0513a42ff5a18904ea0a3d Mon Sep 17 00:00:00 2001 From: haagha <64601174+haagha@users.noreply.github.com> Date: Wed, 11 Aug 2021 22:16:13 -0400 Subject: [PATCH 02/43] [vm-repair] Making Public IP as optional (#3755) * public ipaddress as optional for rescue VMs * public ip address for rescue vm * public ip addr change for rescue vms * Reverted telemetry back to PROD * fixed code style * Add extra space before operator on line 36 as suggested by azdev style check * modified telemetryclient from TEST to PROD * removed duplicate entry for associate_public_ip param * specified specific error type in prompt_public_ip function * included class for testing publicip association on repair vm Co-authored-by: root --- src/vm-repair/azext_vm_repair/_params.py | 1 + src/vm-repair/azext_vm_repair/_validators.py | 16 +++ src/vm-repair/azext_vm_repair/custom.py | 10 +- .../tests/latest/test_repair_commands.py | 136 ++++++++++++++++++ src/vm-repair/setup.py | 2 +- 5 files changed, 159 insertions(+), 6 deletions(-) diff --git a/src/vm-repair/azext_vm_repair/_params.py b/src/vm-repair/azext_vm_repair/_params.py index 982524642ca..3714404e979 100644 --- a/src/vm-repair/azext_vm_repair/_params.py +++ b/src/vm-repair/azext_vm_repair/_params.py @@ -30,6 +30,7 @@ def load_arguments(self, _): c.argument('repair_group_name', help='Repair resource group name.') c.argument('unlock_encrypted_vm', help='Option to auto-unlock encrypted VMs using current subscription auth.') c.argument('enable_nested', help='enable nested hyperv.') + c.argument('associate_public_ip', help='Option to create repair vm with public ip') with self.argument_context('vm repair restore') as c: c.argument('repair_vm_id', help='Repair VM resource id.') diff --git a/src/vm-repair/azext_vm_repair/_validators.py b/src/vm-repair/azext_vm_repair/_validators.py index b66729d2fb3..29f7e868c51 100644 --- a/src/vm-repair/azext_vm_repair/_validators.py +++ b/src/vm-repair/azext_vm_repair/_validators.py @@ -8,6 +8,7 @@ from re import match, search, findall from knack.log import get_logger from knack.util import CLIError +from azure.cli.core.azclierror import ValidationError from azure.cli.command_modules.vm.custom import get_vm, _is_linux_os from azure.cli.command_modules.resource._client_factory import _resource_client_factory @@ -85,6 +86,9 @@ def validate_create(cmd, namespace): _prompt_repair_password(namespace) # Validate vm password validate_vm_password(namespace.repair_password, is_linux) + # Prompt input for public ip usage + if not namespace.associate_public_ip: + _prompt_public_ip(namespace) def validate_restore(cmd, namespace): @@ -201,6 +205,18 @@ def _prompt_repair_password(namespace): raise CLIError('Please specify the password parameter in non-interactive mode.') +def _prompt_public_ip(namespace): + from knack.prompting import prompt_y_n, NoTTYException + try: + if prompt_y_n('Does repair vm requires public ip?'): + namespace.associate_public_ip = "yes" + else: + namespace.associate_public_ip = '""' + + except NoTTYException: + raise ValidationError('Please specify the associate-public-ip parameter in non-interactive mode.') + + def _classic_vm_exists(cmd, resource_group_name, vm_name): classic_vm_provider = 'Microsoft.ClassicCompute' vm_resource_type = 'virtualMachines' diff --git a/src/vm-repair/azext_vm_repair/custom.py b/src/vm-repair/azext_vm_repair/custom.py index 6cd07404c34..d72b6607522 100644 --- a/src/vm-repair/azext_vm_repair/custom.py +++ b/src/vm-repair/azext_vm_repair/custom.py @@ -38,7 +38,7 @@ logger = get_logger(__name__) -def create(cmd, vm_name, resource_group_name, repair_password=None, repair_username=None, repair_vm_name=None, copy_disk_name=None, repair_group_name=None, unlock_encrypted_vm=False, enable_nested=False): +def create(cmd, vm_name, resource_group_name, repair_password=None, repair_username=None, repair_vm_name=None, copy_disk_name=None, repair_group_name=None, unlock_encrypted_vm=False, enable_nested=False, associate_public_ip=False): # Init command helper object command = command_helper(logger, cmd, 'vm repair create') # Main command calling block @@ -65,11 +65,11 @@ def create(cmd, vm_name, resource_group_name, repair_password=None, repair_usern # Set up base create vm command if is_linux: - create_repair_vm_command = 'az vm create -g {g} -n {n} --tag {tag} --image {image} --admin-username {username} --admin-password {password} --custom-data {cloud_init_script}' \ - .format(g=repair_group_name, n=repair_vm_name, tag=resource_tag, image=os_image_urn, username=repair_username, password=repair_password, cloud_init_script=_get_cloud_init_script()) + create_repair_vm_command = 'az vm create -g {g} -n {n} --tag {tag} --image {image} --admin-username {username} --admin-password {password} --public-ip-address {option} --custom-data {cloud_init_script}' \ + .format(g=repair_group_name, n=repair_vm_name, tag=resource_tag, image=os_image_urn, username=repair_username, password=repair_password, option=associate_public_ip, cloud_init_script=_get_cloud_init_script()) else: - create_repair_vm_command = 'az vm create -g {g} -n {n} --tag {tag} --image {image} --admin-username {username} --admin-password {password}' \ - .format(g=repair_group_name, n=repair_vm_name, tag=resource_tag, image=os_image_urn, username=repair_username, password=repair_password) + create_repair_vm_command = 'az vm create -g {g} -n {n} --tag {tag} --image {image} --admin-username {username} --admin-password {password} --public-ip-address {option}' \ + .format(g=repair_group_name, n=repair_vm_name, tag=resource_tag, image=os_image_urn, username=repair_username, password=repair_password, option=associate_public_ip) # Fetch VM size of repair VM sku = _fetch_compatible_sku(source_vm, enable_nested) diff --git a/src/vm-repair/azext_vm_repair/tests/latest/test_repair_commands.py b/src/vm-repair/azext_vm_repair/tests/latest/test_repair_commands.py index 1bd00e3e3a6..27345b74ede 100644 --- a/src/vm-repair/azext_vm_repair/tests/latest/test_repair_commands.py +++ b/src/vm-repair/azext_vm_repair/tests/latest/test_repair_commands.py @@ -145,6 +145,142 @@ def test_vmrepair_LinuxUnmanagedCreateRestore(self, resource_group): assert source_vm['storageProfile']['osDisk']['vhd']['uri'] == result['copied_disk_uri'] +class WindowsManagedDiskCreateRestoreTestwithpublicip(LiveScenarioTest): + + @ResourceGroupPreparer(location='westus2') + def test_vmrepair_WinManagedCreateRestore(self, resource_group): + self.kwargs.update({ + 'vm': 'vm1' + }) + + # Create test VM + self.cmd('vm create -g {rg} -n {vm} --admin-username azureadmin --image Win2016Datacenter --admin-password !Passw0rd2018') + vms = self.cmd('vm list -g {rg} -o json').get_output_in_json() + # Something wrong with vm create command if it fails here + assert len(vms) == 1 + + # Test create + result = self.cmd('vm repair create -g {rg} -n {vm} --repair-username azureadmin --repair-password !Passw0rd2018 --associate-public-ip -o json').get_output_in_json() + assert result['status'] == STATUS_SUCCESS, result['error_message'] + + # Check repair VM + repair_vms = self.cmd('vm list -g {} -o json'.format(result['repair_resource_group'])).get_output_in_json() + assert len(repair_vms) == 1 + repair_vm = repair_vms[0] + # Check attached data disk + assert repair_vm['storageProfile']['dataDisks'][0]['name'] == result['copied_disk_name'] + + # Call Restore + self.cmd('vm repair restore -g {rg} -n {vm} --yes') + + # Check swapped OS disk + vms = self.cmd('vm list -g {rg} -o json').get_output_in_json() + source_vm = vms[0] + assert source_vm['storageProfile']['osDisk']['name'] == result['copied_disk_name'] + + +class WindowsUnmanagedDiskCreateRestoreTestwithpublicip(LiveScenarioTest): + + @ResourceGroupPreparer(location='westus2') + def test_vmrepair_WinUnmanagedCreateRestore(self, resource_group): + self.kwargs.update({ + 'vm': 'vm1' + }) + + # Create test VM + self.cmd('vm create -g {rg} -n {vm} --admin-username azureadmin --image Win2016Datacenter --admin-password !Passw0rd2018 --use-unmanaged-disk') + vms = self.cmd('vm list -g {rg} -o json').get_output_in_json() + # Something wrong with vm create command if it fails here + assert len(vms) == 1 + + # Test create + result = self.cmd('vm repair create -g {rg} -n {vm} --repair-username azureadmin --repair-password !Passw0rd2018 --associate-public-ip -o json').get_output_in_json() + assert result['status'] == STATUS_SUCCESS, result['error_message'] + + # Check repair VM + repair_vms = self.cmd('vm list -g {} -o json'.format(result['repair_resource_group'])).get_output_in_json() + assert len(repair_vms) == 1 + repair_vm = repair_vms[0] + # Check attached data disk + assert repair_vm['storageProfile']['dataDisks'][0]['name'] == result['copied_disk_name'] + + # Call Restore + self.cmd('vm repair restore -g {rg} -n {vm} --yes') + + # Check swapped OS disk + vms = self.cmd('vm list -g {rg} -o json').get_output_in_json() + source_vm = vms[0] + assert source_vm['storageProfile']['osDisk']['vhd']['uri'] == result['copied_disk_uri'] + + +class LinuxManagedDiskCreateRestoreTestwithpublicip(LiveScenarioTest): + + @ResourceGroupPreparer(location='westus2') + def test_vmrepair_LinuxManagedCreateRestore(self, resource_group): + self.kwargs.update({ + 'vm': 'vm1' + }) + + # Create test VM + self.cmd('vm create -g {rg} -n {vm} --image UbuntuLTS --admin-username azureadmin --admin-password !Passw0rd2018') + vms = self.cmd('vm list -g {rg} -o json').get_output_in_json() + # Something wrong with vm create command if it fails here + assert len(vms) == 1 + + # Test create + result = self.cmd('vm repair create -g {rg} -n {vm} --repair-username azureadmin --repair-password !Passw0rd2018 --associate-public-ip -o json').get_output_in_json() + assert result['status'] == STATUS_SUCCESS, result['error_message'] + + # Check repair VM + repair_vms = self.cmd('vm list -g {} -o json'.format(result['repair_resource_group'])).get_output_in_json() + assert len(repair_vms) == 1 + repair_vm = repair_vms[0] + # Check attached data disk + assert repair_vm['storageProfile']['dataDisks'][0]['name'] == result['copied_disk_name'] + + # Call Restore + self.cmd('vm repair restore -g {rg} -n {vm} --yes') + + # Check swapped OS disk + vms = self.cmd('vm list -g {rg} -o json').get_output_in_json() + source_vm = vms[0] + assert source_vm['storageProfile']['osDisk']['name'] == result['copied_disk_name'] + + +class LinuxUnmanagedDiskCreateRestoreTestwithpublicip(LiveScenarioTest): + + @ResourceGroupPreparer(location='westus2') + def test_vmrepair_LinuxUnmanagedCreateRestore(self, resource_group): + self.kwargs.update({ + 'vm': 'vm1' + }) + + # Create test VM + self.cmd('vm create -g {rg} -n {vm} --image UbuntuLTS --admin-username azureadmin --admin-password !Passw0rd2018 --use-unmanaged-disk') + vms = self.cmd('vm list -g {rg} -o json').get_output_in_json() + # Something wrong with vm create command if it fails here + assert len(vms) == 1 + + # Test create + result = self.cmd('vm repair create -g {rg} -n {vm} --repair-username azureadmin --repair-password !Passw0rd2018 --associate-public-ip -o json').get_output_in_json() + assert result['status'] == STATUS_SUCCESS, result['error_message'] + + # Check repair VM + repair_vms = self.cmd('vm list -g {} -o json'.format(result['repair_resource_group'])).get_output_in_json() + assert len(repair_vms) == 1 + repair_vm = repair_vms[0] + # Check attached data disk + assert repair_vm['storageProfile']['dataDisks'][0]['name'] == result['copied_disk_name'] + + # Call Restore + self.cmd('vm repair restore -g {rg} -n {vm} --yes') + + # Check swapped OS disk + vms = self.cmd('vm list -g {rg} -o json').get_output_in_json() + source_vm = vms[0] + assert source_vm['storageProfile']['osDisk']['vhd']['uri'] == result['copied_disk_uri'] + + class WindowsSinglepassKekEncryptedManagedDiskCreateRestoreTest(LiveScenarioTest): @ResourceGroupPreparer(location='westus2') diff --git a/src/vm-repair/setup.py b/src/vm-repair/setup.py index 7c6ab3ef63c..c427ab66a2d 100644 --- a/src/vm-repair/setup.py +++ b/src/vm-repair/setup.py @@ -33,7 +33,7 @@ name='vm-repair', version=VERSION, description='Auto repair commands to fix VMs.', - long_description='VM repair command will enable Azure users to self-repair non-bootable VMs by copying the source VM\'s OS disk and attaching it to a newly created repair VM.'+ '\n\n' + HISTORY, + long_description='VM repair command will enable Azure users to self-repair non-bootable VMs by copying the source VM\'s OS disk and attaching it to a newly created repair VM.' + '\n\n' + HISTORY, license='MIT', author='Microsoft Corporation', author_email='caiddev@microsoft.com', From cc860fcc385634fb8d503240f41922832d082ba8 Mon Sep 17 00:00:00 2001 From: Qingchuan Hao Date: Thu, 12 Aug 2021 16:14:44 +0800 Subject: [PATCH 03/43] Fix wrongly used containerLogMaxSizeMB in customized kubelet config (#3771) * Correct containerLogMaxSizeMb to containerLogMaxSizeMB in customized kubelet config * add config test for kubeletConfig.containerLogMaxSizeMB --- src/aks-preview/HISTORY.md | 4 ++++ src/aks-preview/azext_aks_preview/custom.py | 2 +- .../tests/latest/data/kubeletconfig.json | 2 +- .../tests/latest/test_aks_commands.py | 11 +++++------ src/aks-preview/setup.py | 2 +- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/aks-preview/HISTORY.md b/src/aks-preview/HISTORY.md index 3699629bf0c..8021e23beb5 100644 --- a/src/aks-preview/HISTORY.md +++ b/src/aks-preview/HISTORY.md @@ -3,6 +3,10 @@ Release History =============== +0.5.26 ++++++ +* Correct containerLogMaxSizeMb to containerLogMaxSizeMB in customized kubelet config + 0.5.25 +++++ * Add support for http proxy diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 6a7e55af1a8..de70736ec84 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -3991,7 +3991,7 @@ def _get_kubelet_config(file_path): config_object.container_log_max_files = kubelet_config.get( "containerLogMaxFiles", None) config_object.container_log_max_size_mb = kubelet_config.get( - "containerLogMaxSizeMb", None) + "containerLogMaxSizeMB", None) return config_object diff --git a/src/aks-preview/azext_aks_preview/tests/latest/data/kubeletconfig.json b/src/aks-preview/azext_aks_preview/tests/latest/data/kubeletconfig.json index bbea5981549..458af0a35c0 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/data/kubeletconfig.json +++ b/src/aks-preview/azext_aks_preview/tests/latest/data/kubeletconfig.json @@ -11,5 +11,5 @@ ], "failSwapOn": false, "containerLogMaxFiles": 10, - "containerLogMaxSizeMb": 20 + "containerLogMaxSizeMB": 20 } \ No newline at end of file diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index b136ddf2667..8e1b3c5e784 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -1451,12 +1451,10 @@ def test_aks_create_with_node_config(self, resource_group, resource_group_locati '--kubelet-config={kc_path} --linux-os-config={oc_path} --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/CustomNodeConfigPreview -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), - self.check( - 'agentPoolProfiles[0].kubeletConfig.cpuManagerPolicy', 'static'), - self.check( - 'agentPoolProfiles[0].linuxOsConfig.swapFileSizeMb', 1500), - self.check( - 'agentPoolProfiles[0].linuxOsConfig.sysctls.netIpv4TcpTwReuse', True) + self.check('agentPoolProfiles[0].kubeletConfig.cpuManagerPolicy', 'static'), + self.check('agentPoolProfiles[0].kubeletConfig.containerLogMaxSizeMb', 20), + self.check('agentPoolProfiles[0].linuxOsConfig.swapFileSizeMb', 1500), + self.check('agentPoolProfiles[0].linuxOsConfig.sysctls.netIpv4TcpTwReuse', True) ]) # nodepool add @@ -1465,6 +1463,7 @@ def test_aks_create_with_node_config(self, resource_group, resource_group_locati self.cmd(nodepool_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('kubeletConfig.cpuCfsQuotaPeriod', '200ms'), + self.check('kubeletConfig.containerLogMaxSizeMb', 20), self.check('linuxOsConfig.sysctls.netCoreSomaxconn', 163849) ]) diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index 692ab56763f..4beebd08905 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open as open1 from setuptools import setup, find_packages -VERSION = "0.5.25" +VERSION = "0.5.26" CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', From 3318e4b91784f2c6a296e59d16391c0c97f36781 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Thu, 12 Aug 2021 18:59:26 -0700 Subject: [PATCH 04/43] Fixing bug on location used to show job output in synchronous submissions (#3767) Fixing bug on location used to show job output in synchronous submissions. Due to this bug, if a default workspace is not set, then location is ignored when waiting for the output of a submitted job, so it will fail to be displayed even when the job has completed. --- src/quantum/azext_quantum/operations/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quantum/azext_quantum/operations/job.py b/src/quantum/azext_quantum/operations/job.py index bf086815287..bf3cd6ff322 100644 --- a/src/quantum/azext_quantum/operations/job.py +++ b/src/quantum/azext_quantum/operations/job.py @@ -271,7 +271,7 @@ def run(cmd, program_args, resource_group_name=None, workspace_name=None, locati if not job.status == "Succeeded": return job - return output(cmd, job.id, resource_group_name, workspace_name) + return output(cmd, job.id, resource_group_name, workspace_name, location) def cancel(cmd, job_id, resource_group_name=None, workspace_name=None, location=None): From 1827351d4eab4428d80a8b583293b9e1f97ea779 Mon Sep 17 00:00:00 2001 From: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Date: Fri, 13 Aug 2021 10:44:48 +0800 Subject: [PATCH 05/43] {AKS} create ssh-key in advance when perform concurrent tests (#3756) * create ssh-key in advance * update ssh-key generation * update default ssh dir * update ssh storage * fix key path bug * add vars back * clarify transcribe * more pythonic --- .../azcli_aks_live_test/scripts/setup_venv.sh | 15 + .../scripts/transcribe_env.sh | 9 + .../vsts-azcli-aks-unit-test.yaml | 4 + .../tests/latest/test_aks_commands.py | 369 +++++++++++------- 4 files changed, 264 insertions(+), 133 deletions(-) diff --git a/src/aks-preview/azcli_aks_live_test/scripts/setup_venv.sh b/src/aks-preview/azcli_aks_live_test/scripts/setup_venv.sh index 2c3fa237dab..f9bac715ff8 100755 --- a/src/aks-preview/azcli_aks_live_test/scripts/setup_venv.sh +++ b/src/aks-preview/azcli_aks_live_test/scripts/setup_venv.sh @@ -3,6 +3,7 @@ # check var # specify the version of python3, e.g. 3.6 [[ -z "${PYTHON_VERSION}" ]] && (echo "PYTHON_VERSION is empty"; exit 1) +[[ -z "${ACS_BASE_DIR}" ]] && (echo "ACS_BASE_DIR is empty"; exit 1) setupVenv(){ # delete existing venv @@ -106,6 +107,19 @@ setupAKSPreview(){ source azEnv/bin/activate } +createSSHKey(){ + # create ssh-key in advance to avoid the race condition that is prone to occur when key creation is handled by + # azure-cli when performing test cases concurrently, this command will not overwrite the existing ssh-key + custom_ssh_dir=${1:-"${ACS_BASE_DIR}/tests/latest/data/.ssh"} + # remove dir if exists (clean up), otherwise create it + if [[ -d ${custom_ssh_dir} ]]; then + rm -rf ${custom_ssh_dir} + else + mkdir -p ${custom_ssh_dir} + fi + ssh-keygen -t rsa -b 2048 -C "azcli_aks_live_test@example.com" -f ${custom_ssh_dir}/id_rsa -N "" -q <<< n +} + setup_option=${1:-""} if [[ -n ${setup_option} ]]; then # bash options @@ -142,6 +156,7 @@ if [[ -n ${setup_option} ]]; then ext_repo=${4:-""} setupAZ "${cli_repo}" "${ext_repo}" installTestPackages + createSSHKey elif [[ ${setup_option} == "setup-akspreview" ]]; then echo "Start to setup aks-preview!" setupAKSPreview diff --git a/src/aks-preview/azcli_aks_live_test/scripts/transcribe_env.sh b/src/aks-preview/azcli_aks_live_test/scripts/transcribe_env.sh index caa9a4e618f..c4d8bec0c62 100755 --- a/src/aks-preview/azcli_aks_live_test/scripts/transcribe_env.sh +++ b/src/aks-preview/azcli_aks_live_test/scripts/transcribe_env.sh @@ -39,6 +39,10 @@ set -o xtrace [[ -z "${CLI_BRANCH}" ]] && (echo "CLI_BRANCH is empty"; exit 1) [[ -z "${EXT_REPO}" ]] && (echo "EXT_REPO is empty"; exit 1) [[ -z "${EXT_BRANCH}" ]] && (echo "EXT_BRANCH is empty"; exit 1) +# base directories for acs, aks-preview and live test +[[ -z "${ACS_BASE_DIR}" ]] && (echo "ACS_BASE_DIR is empty"; exit 1) +[[ -z "${AKS_PREVIEW_BASE_DIR}" ]] && (echo "AKS_PREVIEW_BASE_DIR is empty"; exit 1) +[[ -z "${LIVE_TEST_BASE_DIR}" ]] && (echo "LIVE_TEST_BASE_DIR is empty"; exit 1) # clear cat /dev/null > env.list @@ -60,6 +64,11 @@ echo "SYSTEM_PULLREQUEST_TARGETBRANCH=${SYSTEM_PULLREQUEST_TARGETBRANCH}" >> env # python version echo "PYTHON_VERSION=${PYTHON_VERSION}" >> env.list +# base directories +echo "ACS_BASE_DIR=${ACS_BASE_DIR}" >> env.list +echo "AKS_PREVIEW_BASE_DIR=${AKS_PREVIEW_BASE_DIR}" >> env.list +echo "LIVE_TEST_BASE_DIR=${LIVE_TEST_BASE_DIR}" >> env.list + # azdev env echo "AZURE_CLI_TEST_DEV_SP_NAME=${AZCLI_ALT_CLIENT_ID}" >> env.list echo "AZURE_CLI_TEST_DEV_RESOURCE_GROUP_LOCATION=${TEST_LOCATION}" >> env.list diff --git a/src/aks-preview/azcli_aks_live_test/vsts-azcli-aks-unit-test.yaml b/src/aks-preview/azcli_aks_live_test/vsts-azcli-aks-unit-test.yaml index 0145ab2686c..323cda0b6b4 100644 --- a/src/aks-preview/azcli_aks_live_test/vsts-azcli-aks-unit-test.yaml +++ b/src/aks-preview/azcli_aks_live_test/vsts-azcli-aks-unit-test.yaml @@ -18,6 +18,10 @@ variables: value: "azure-cli-extensions" - name: LIVE_TEST_BASE_DIR value: "azure-cli-extensions/src/aks-preview/azcli_aks_live_test" + - name: ACS_BASE_DIR + value: "azure-cli/src/azure-cli/azure/cli/command_modules/acs" + - name: AKS_PREVIEW_BASE_DIR + value: "azure-cli-extensions/src/aks-preview/azext_aks_preview" jobs: - job: UnitTest diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index 8e1b3c5e784..e0dcfc37174 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -39,6 +39,32 @@ def _get_versions(self, location): create_version = next(x for x in versions if not x.startswith(prefix)) return create_version, upgrade_version + @classmethod + def generate_ssh_keys(cls): + # If the `--ssh-key-value` option is not specified, the validator will try to read the ssh-key from the "~/.ssh" directory, + # and if no key exists, it will call the method provided by azure-cli.core to generate one under the "~/.ssh" directory. + # In order to avoid misuse of personal ssh-key during testing and the race condition that is prone to occur when key creation + # is handled by azure-cli when performing test cases concurrently, we provide this function as a workround. + + # In the scenario of runner and AKS check-in pipeline, a temporary ssh-key will be generated in advance under the + # "tests/latest/data/.ssh" sub-directory of the acs module in the cloned azure-cli repository when setting up the + # environment. Each test case will read the ssh-key from a pre-generated file during execution, so there will be no + # race conditions caused by concurrent reading and writing/creating of the same file. + acs_base_dir = os.getenv("ACS_BASE_DIR", None) + if acs_base_dir: + pre_generated_ssh_key_path = os.path.join(acs_base_dir, "tests/latest/data/.ssh/id_rsa.pub") + if os.path.exists(pre_generated_ssh_key_path): + return pre_generated_ssh_key_path.replace('\\', '\\\\') + + # In the CLI check-in pipeline scenario, the following fake ssh-key will be used. Each test case will read the ssh-key from + # a different temporary file during execution, so there will be no race conditions caused by concurrent reading and + # writing/creating of the same file. + TEST_SSH_KEY_PUB = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n" # pylint: disable=line-too-long + _, pathname = tempfile.mkstemp() + with open(pathname, 'w') as key_file: + key_file.write(TEST_SSH_KEY_PUB) + return pathname.replace('\\', '\\\\') + @live_only() # live only is required for test environment setup like `az login` @AllowLargeResponse() def test_get_version(self): @@ -64,13 +90,14 @@ def test_aks_create_and_update_with_managed_aad(self, resource_group, resource_g aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ '--vm-set-type VirtualMachineScaleSets -c 1 ' \ '--enable-aad --aad-admin-group-object-ids 00000000-0000-0000-0000-000000000001 ' \ - '--generate-ssh-keys -o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('aadProfile.managed', True), @@ -96,7 +123,8 @@ def test_aks_create_aadv1_and_update_with_managed_aad(self, resource_group, reso aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ @@ -105,7 +133,7 @@ def test_aks_create_aadv1_and_update_with_managed_aad(self, resource_group, reso '--aad-server-app-secret fake-secret ' \ '--aad-client-app-id 00000000-0000-0000-0000-000000000002 ' \ '--aad-tenant-id d5b55040-0c14-48cc-a028-91457fc190d9 ' \ - '--generate-ssh-keys -o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('aadProfile.managed', None), @@ -136,12 +164,13 @@ def test_aks_create_nonaad_and_update_with_managed_aad(self, resource_group, res aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ '--vm-set-type VirtualMachineScaleSets --node-count=1 ' \ - '--generate-ssh-keys -o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('aadProfile', None) @@ -166,13 +195,14 @@ def test_aks_create_and_update_with_managed_aad_enable_azure_rbac(self, resource aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ '--vm-set-type VirtualMachineScaleSets -c 1 ' \ '--enable-aad --aad-admin-group-object-ids 00000000-0000-0000-0000-000000000001 ' \ - '--generate-ssh-keys -o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('aadProfile.managed', True), @@ -200,11 +230,13 @@ def test_aks_create_with_ingress_appgw_addon(self, resource_group, resource_grou aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys ' \ - '-a ingress-appgw --appgw-subnet-cidr 10.2.0.0/16 -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '-a ingress-appgw --appgw-subnet-cidr 10.2.0.0/16 ' \ + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.ingressApplicationGateway.enabled', True), @@ -218,11 +250,13 @@ def test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix(self, aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys ' \ - '-a ingress-appgw --appgw-subnet-prefix 10.2.0.0/16 -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '-a ingress-appgw --appgw-subnet-prefix 10.2.0.0/16 ' \ + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.ingressApplicationGateway.enabled', True), @@ -241,7 +275,8 @@ def test_aks_byo_subnet_with_ingress_appgw_addon(self, resource_group, resource_ 'resource_group': resource_group, 'aks_name': aks_name, 'vnet_name': vnet_name, - 'appgw_name': appgw_name + 'appgw_name': appgw_name, + 'ssh_key_value': self.generate_ssh_keys() }) # create virtual network @@ -264,9 +299,10 @@ def test_aks_byo_subnet_with_ingress_appgw_addon(self, resource_group, resource_ }) # create aks cluster - create_cmd = 'aks create --resource-group={resource_group} --name={aks_name} --enable-managed-identity --generate-ssh-keys ' \ - '--vnet-subnet-id {vnet_id}/subnets/aks-subnet ' \ - '-a ingress-appgw --appgw-name gateway --appgw-subnet-id {vnet_id}/subnets/appgw-subnet --yes -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={aks_name} --enable-managed-identity ' \ + '--vnet-subnet-id {vnet_id}/subnets/aks-subnet -a ingress-appgw ' \ + '--appgw-name gateway --appgw-subnet-id {vnet_id}/subnets/appgw-subnet ' \ + '--yes --ssh-key-value={ssh_key_value} -o json' aks_cluster = self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.ingressApplicationGateway.enabled', True), @@ -291,7 +327,8 @@ def test_aks_byo_appgw_with_ingress_appgw_addon(self, resource_group, resource_g self.kwargs.update({ 'resource_group': resource_group, 'aks_name': aks_name, - 'vnet_name': vnet_name + 'vnet_name': vnet_name, + 'ssh_key_value': self.generate_ssh_keys() }) # create virtual network @@ -338,9 +375,10 @@ def test_aks_byo_appgw_with_ingress_appgw_addon(self, resource_group, resource_g }) # create aks cluster - create_cmd = 'aks create -n {aks_name} -g {resource_group} --enable-managed-identity --generate-ssh-keys ' \ + create_cmd = 'aks create -n {aks_name} -g {resource_group} --enable-managed-identity ' \ '--vnet-subnet-id {vnet_id}/subnets/aks-subnet ' \ - '-a ingress-appgw --appgw-id {appgw_id} --yes -o json' + '-a ingress-appgw --appgw-id {appgw_id} ' \ + '--yes --ssh-key-value={ssh_key_value} -o json' aks_cluster = self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.ingressApplicationGateway.enabled', True), @@ -361,10 +399,11 @@ def test_aks_create_with_openservicemesh_addon(self, resource_group, resource_gr self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys ' \ - '-a open-service-mesh -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '-a open-service-mesh --ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.openServiceMesh.enabled', True), @@ -377,9 +416,11 @@ def test_aks_enable_addon_with_openservicemesh(self, resource_group, resource_gr self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.openServiceMesh', None), @@ -398,10 +439,11 @@ def test_aks_disable_addon_openservicemesh(self, resource_group, resource_group_ self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys ' \ - '-a open-service-mesh -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '-a open-service-mesh --ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.openServiceMesh.enabled', True), @@ -421,10 +463,11 @@ def test_aks_create_with_azurekeyvaultsecretsprovider_addon(self, resource_group self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys ' \ - '-a azure-keyvault-secrets-provider -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ + '-a azure-keyvault-secrets-provider --ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check( @@ -446,10 +489,12 @@ def test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys ' \ - '-a azure-keyvault-secrets-provider --enable-secret-rotation -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ + '-a azure-keyvault-secrets-provider --enable-secret-rotation ' \ + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check( @@ -471,9 +516,10 @@ def test_aks_enable_addon_with_azurekeyvaultsecretsprovider(self, resource_group self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.azureKeyvaultSecretsProvider', None) @@ -519,10 +565,11 @@ def test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation(self, reso self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys ' \ - '-a azure-keyvault-secrets-provider' + create_cmd = 'aks create --resource-group={resource_group} --name={name} -a azure-keyvault-secrets-provider ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check( @@ -561,11 +608,12 @@ def test_aks_create_with_confcom_addon(self, resource_group, resource_group_loca aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys ' \ - '-a confcom -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '-a confcom --ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.ACCSGXDevicePlugin.enabled', True), @@ -579,11 +627,12 @@ def test_aks_create_with_confcom_addon_helper_enabled(self, resource_group, reso aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys ' \ - '-a confcom --enable-sgxquotehelper -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '-a confcom --enable-sgxquotehelper --ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.ACCSGXDevicePlugin.enabled', True), @@ -597,11 +646,12 @@ def test_aks_enable_addons_confcom_addon(self, resource_group, resource_group_lo aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys ' \ - '-o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.ACCSGXDevicePlugin', None) @@ -621,11 +671,12 @@ def test_aks_disable_addons_confcom_addon(self, resource_group, resource_group_l aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity --generate-ssh-keys ' \ - '-a confcom -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-managed-identity ' \ + '-a confcom --ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.ACCSGXDevicePlugin.enabled', True), @@ -649,7 +700,8 @@ def test_aks_create_with_virtual_node_addon(self, resource_group, resource_group self.kwargs.update({ 'resource_group': resource_group, 'aks_name': aks_name, - 'vnet_name': vnet_name + 'vnet_name': vnet_name, + 'ssh_key_value': self.generate_ssh_keys() }) # create virtual network @@ -672,9 +724,10 @@ def test_aks_create_with_virtual_node_addon(self, resource_group, resource_group }) # create aks cluster - create_cmd = 'aks create --resource-group={resource_group} --name={aks_name} --enable-managed-identity --generate-ssh-keys ' \ + create_cmd = 'aks create --resource-group={resource_group} --name={aks_name} --enable-managed-identity ' \ '--vnet-subnet-id {vnet_id}/subnets/aks-subnet --network-plugin azure ' \ - '-a virtual-node --aci-subnet-name aci-subnet --yes -o json' + '-a virtual-node --aci-subnet-name aci-subnet --yes ' \ + '--ssh-key-value={ssh_key_value} -o json' aks_cluster = self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.aciConnectorLinux.enabled', True), @@ -700,10 +753,11 @@ def test_aks_stop_and_start(self, resource_group, resource_group_location): aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), ]) @@ -720,12 +774,13 @@ def test_aks_create_with_managed_disk(self, resource_group, resource_group_locat aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--generate-ssh-keys ' \ '--vm-set-type VirtualMachineScaleSets -c 1 ' \ - '--node-osdisk-type=Managed' + '--node-osdisk-type=Managed ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('agentPoolProfiles[0].osDiskType', 'Managed'), @@ -737,13 +792,14 @@ def test_aks_create_with_ephemeral_disk(self, resource_group, resource_group_loc aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--generate-ssh-keys ' \ '--vm-set-type VirtualMachineScaleSets -c 1 ' \ - '--node-osdisk-type=Ephemeral --node-osdisk-size 60' + '--node-osdisk-type=Ephemeral --node-osdisk-size 60 ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('agentPoolProfiles[0].osDiskType', 'Ephemeral'), @@ -755,12 +811,13 @@ def test_aks_create_with_ossku(self, resource_group, resource_group_location): aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--generate-ssh-keys ' \ '--vm-set-type VirtualMachineScaleSets -c 1 ' \ - '--os-sku CBLMariner' + '--os-sku CBLMariner ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('agentPoolProfiles[0].osSku', 'CBLMariner'), @@ -779,13 +836,13 @@ def test_aks_nodepool_add_with_ossku(self, resource_group, resource_group_locati 'resource_group': resource_group, 'name': aks_name, 'node_pool_name': node_pool_name, - 'node_pool_name_second': node_pool_name_second + 'node_pool_name_second': node_pool_name_second, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--generate-ssh-keys ' \ - '--nodepool-name {node_pool_name} ' \ - '-c 1' + '--nodepool-name {node_pool_name} -c 1 ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), ]) @@ -813,13 +870,13 @@ def test_aks_nodepool_get_upgrades(self, resource_group, resource_group_location self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, - 'node_pool_name': node_pool_name + 'node_pool_name': node_pool_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--generate-ssh-keys ' \ - '--nodepool-name {node_pool_name} ' \ - '-c 1' + '--nodepool-name {node_pool_name} -c 1 ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), ]) @@ -850,14 +907,14 @@ def test_aks_upgrade_node_image_only_cluster(self, resource_group, resource_grou self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, - 'node_pool_name': node_pool_name + 'node_pool_name': node_pool_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ '--nodepool-name {node_pool_name} ' \ - '--generate-ssh-keys ' \ '--vm-set-type VirtualMachineScaleSets --node-count=1 ' \ - '-o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded') ]) @@ -881,14 +938,14 @@ def test_aks_upgrade_node_image_only_nodepool(self, resource_group, resource_gro self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, - 'node_pool_name': node_pool_name + 'node_pool_name': node_pool_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ '--nodepool-name {node_pool_name} ' \ - '--generate-ssh-keys ' \ '--vm-set-type VirtualMachineScaleSets --node-count=1 ' \ - '-o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded') ]) @@ -928,14 +985,15 @@ def test_aks_upgrade_nodepool(self, resource_group, resource_group_location): 'nodepool2_name': 'npwin', 'k8s_version': create_version, 'upgrade_k8s_version': upgrade_version, + 'ssh_key_value': self.generate_ssh_keys() }) # create AKS cluster create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ - '--dns-name-prefix={dns_name_prefix} --node-count=1 --generate-ssh-keys ' \ + '--dns-name-prefix={dns_name_prefix} --node-count=1 ' \ '--windows-admin-username={windows_admin_username} --windows-admin-password={windows_admin_password} ' \ '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure ' \ - '--kubernetes-version={k8s_version}' + '--kubernetes-version={k8s_version} --ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('fqdn'), self.exists('nodeResourceGroup'), @@ -980,13 +1038,15 @@ def test_aks_create_with_windows(self, resource_group, resource_group_location): 'windows_admin_username': 'azureuser1', 'windows_admin_password': 'replace-Password1234$', 'nodepool2_name': 'npwin', + 'ssh_key_value': self.generate_ssh_keys() }) # create create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ - '--dns-name-prefix={dns_name_prefix} --node-count=1 --generate-ssh-keys ' \ + '--dns-name-prefix={dns_name_prefix} --node-count=1 ' \ '--windows-admin-username={windows_admin_username} --windows-admin-password={windows_admin_password} ' \ - '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure' + '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('fqdn'), self.exists('nodeResourceGroup'), @@ -1027,11 +1087,12 @@ def test_aks_create_with_fips(self, resource_group, resource_group_location): 'location': resource_group_location, 'resource_type': 'Microsoft.ContainerService/ManagedClusters', 'nodepool2_name': 'np2', + 'ssh_key_value': self.generate_ssh_keys() }) # create create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-fips-image ' \ - '--generate-ssh-keys ' + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('agentPoolProfiles[0].enableFips', True) @@ -1063,13 +1124,15 @@ def test_aks_create_with_ahub(self, resource_group, resource_group_location): 'windows_admin_username': 'azureuser1', 'windows_admin_password': 'replace-Password1234$', 'nodepool2_name': 'npwin', + 'ssh_key_value': self.generate_ssh_keys() }) # create create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ - '--dns-name-prefix={dns_name_prefix} --node-count=1 --generate-ssh-keys ' \ + '--dns-name-prefix={dns_name_prefix} --node-count=1 ' \ '--windows-admin-username={windows_admin_username} --windows-admin-password={windows_admin_password} ' \ - '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure --enable-ahub' + '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure --enable-ahub ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('fqdn'), self.exists('nodeResourceGroup'), @@ -1103,10 +1166,11 @@ def test_aks_update_to_msi_cluster(self, resource_group, resource_group_location aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), ]) @@ -1129,10 +1193,11 @@ def test_aks_create_with_gitops_addon(self, resource_group, resource_group_locat self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} -a gitops ' \ - '--generate-ssh-keys -o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.gitops.enabled', True), @@ -1146,10 +1211,11 @@ def test_aks_enable_addon_with_gitops(self, resource_group, resource_group_locat self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--generate-ssh-keys -o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.gitops', None), @@ -1169,10 +1235,11 @@ def test_aks_disable_addon_gitops(self, resource_group, resource_group_location) self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) create_cmd = 'aks create --resource-group={resource_group} --name={name} -a gitops ' \ - '--generate-ssh-keys -o json' + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('addonProfiles.gitops.enabled', True), @@ -1192,10 +1259,12 @@ def test_aks_update_to_msi_cluster_with_addons(self, resource_group, resource_gr aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys --enable-addons monitoring' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-addons monitoring ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), ]) @@ -1234,6 +1303,7 @@ def create_new_cluster_with_monitoring_aad_auth(self, resource_group, resource_g 'resource_group': resource_group, 'name': aks_name, 'location': resource_group_location, + 'ssh_key_value': self.generate_ssh_keys() }) if user_assigned_identity: @@ -1246,10 +1316,11 @@ def create_new_cluster_with_monitoring_aad_auth(self, resource_group, resource_g # create create_cmd = f'aks create --resource-group={resource_group} --name={aks_name} --location={resource_group_location} ' \ - '--generate-ssh-keys --enable-managed-identity ' \ + '--enable-managed-identity ' \ '--enable-addons monitoring ' \ '--enable-msi-auth-for-monitoring ' \ - '--node-count 1 ' + '--node-count 1 ' \ + '--ssh-key-value={ssh_key_value} ' create_cmd += f'--assign-identity {identity_id}' if user_assigned_identity else '' response = self.cmd(create_cmd, checks=[ @@ -1304,6 +1375,7 @@ def enable_monitoring_existing_cluster_aad_atuh(self, resource_group, resource_g 'resource_group': resource_group, 'name': aks_name, 'location': resource_group_location, + 'ssh_key_value': self.generate_ssh_keys() }) if user_assigned_identity: @@ -1316,8 +1388,9 @@ def enable_monitoring_existing_cluster_aad_atuh(self, resource_group, resource_g # create create_cmd = f'aks create --resource-group={resource_group} --name={aks_name} --location={resource_group_location} ' \ - '--generate-ssh-keys --enable-managed-identity ' \ - '--node-count 1 ' + '--enable-managed-identity ' \ + '--node-count 1 ' \ + '--ssh-key-value={ssh_key_value} ' create_cmd += f'--assign-identity {identity_id}' if user_assigned_identity else '' self.cmd(create_cmd) @@ -1365,13 +1438,15 @@ def test_aks_create_with_monitoring_legacy_auth(self, resource_group, resource_g 'resource_group': resource_group, 'name': aks_name, 'location': resource_group_location, + 'ssh_key_value': self.generate_ssh_keys() }) # create create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ - '--generate-ssh-keys --enable-managed-identity ' \ + '--enable-managed-identity ' \ '--enable-addons monitoring ' \ - '--node-count 1 ' + '--node-count 1 ' \ + '--ssh-key-value={ssh_key_value} ' response = self.cmd(create_cmd, checks=[ self.check('addonProfiles.omsagent.enabled', True), self.exists('addonProfiles.omsagent.config.logAnalyticsWorkspaceResourceID'), @@ -1414,12 +1489,14 @@ def test_aks_create_with_auto_upgrade_channel(self, resource_group, resource_gro 'resource_group': resource_group, 'name': aks_name, 'location': resource_group_location, + 'ssh_key_value': self.generate_ssh_keys() }) # create create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ - '--generate-ssh-keys --enable-managed-identity ' \ - '--auto-upgrade-channel rapid' + '--enable-managed-identity ' \ + '--auto-upgrade-channel rapid ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('autoUpgradeProfile.upgradeChannel', 'rapid') @@ -1443,12 +1520,15 @@ def test_aks_create_with_node_config(self, resource_group, resource_group_locati 'resource_group': resource_group, 'name': aks_name, 'kc_path': _get_test_data_file('kubeletconfig.json'), - 'oc_path': _get_test_data_file('linuxosconfig.json') + 'oc_path': _get_test_data_file('linuxosconfig.json'), + 'ssh_key_value': self.generate_ssh_keys() }) # use custom feature so it does not require subscription to regiter the feature - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys ' \ - '--kubelet-config={kc_path} --linux-os-config={oc_path} --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/CustomNodeConfigPreview -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ + '--kubelet-config={kc_path} --linux-os-config={oc_path} ' \ + '--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/CustomNodeConfigPreview ' \ + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('agentPoolProfiles[0].kubeletConfig.cpuManagerPolicy', 'static'), @@ -1474,11 +1554,13 @@ def test_aks_create_with_http_proxy_config(self, resource_group, resource_group_ self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, - 'http_proxy_path': _get_test_data_file('httpproxyconfig.json') + 'http_proxy_path': _get_test_data_file('httpproxyconfig.json'), + 'ssh_key_value': self.generate_ssh_keys() }) # use custom feature so it does not require subscription to regiter the feature - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys --http-proxy-config={http_proxy_path} -o json' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --http-proxy-config={http_proxy_path} ' \ + '--ssh-key-value={ssh_key_value} -o json' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('httpProxyConfig', None), @@ -1493,13 +1575,15 @@ def test_aks_create_none_private_dns_zone(self, resource_group, resource_group_l aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) # create create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--node-count=1 --generate-ssh-keys ' \ - '--load-balancer-sku=standard --enable-private-cluster --private-dns-zone none' + '--node-count=1 --load-balancer-sku=standard ' \ + '--enable-private-cluster --private-dns-zone none ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('privateFqdn'), self.exists('nodeResourceGroup'), @@ -1520,13 +1604,15 @@ def test_aks_create_private_cluster_public_fqdn(self, resource_group, resource_g aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) # create create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--node-count=1 --generate-ssh-keys ' \ - '--enable-public-fqdn --enable-private-cluster --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/EnablePrivateClusterPublicFQDN' + '--node-count=1 --enable-public-fqdn ' \ + '--enable-private-cluster --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/EnablePrivateClusterPublicFQDN ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('privateFqdn'), self.exists('fqdn'), @@ -1559,7 +1645,8 @@ def test_aks_create_fqdn_subdomain(self, resource_group, resource_group_location 'name': aks_name, 'identity_name': identity_name, 'subdomain_name': subdomain_name, - 'location': resource_group_location + 'location': resource_group_location, + 'ssh_key_value': self.generate_ssh_keys() }) # create private dns zone @@ -1595,8 +1682,9 @@ def test_aks_create_fqdn_subdomain(self, resource_group, resource_group_location # create create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--node-count=1 --generate-ssh-keys --fqdn-subdomain={subdomain_name} ' \ - '--load-balancer-sku=standard --enable-private-cluster --private-dns-zone={zone_id} --enable-managed-identity --assign-identity {identity_resource_id}' + '--node-count=1 --fqdn-subdomain={subdomain_name} --load-balancer-sku=standard ' \ + '--enable-private-cluster --private-dns-zone={zone_id} --enable-managed-identity --assign-identity {identity_resource_id} ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('privateFqdn'), self.exists('fqdnSubdomain'), @@ -1617,13 +1705,15 @@ def test_aks_create_with_pod_identity_enabled(self, resource_group, resource_gro 'resource_group': resource_group, 'name': aks_name, 'location': resource_group_location, + 'ssh_key_value': self.generate_ssh_keys() }) # create - cmd = ('aks create --resource-group={resource_group} --name={name} --location={location} ' - '--generate-ssh-keys --enable-managed-identity ' - '--enable-pod-identity --enable-pod-identity-with-kubenet') - self.cmd(cmd, checks=[ + create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ + '--enable-managed-identity ' \ + '--enable-pod-identity --enable-pod-identity-with-kubenet ' \ + '--ssh-key-value={ssh_key_value}' + self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('podIdentityProfile.enabled', True), self.check('podIdentityProfile.allowNetworkPluginKubenet', True) @@ -1698,13 +1788,15 @@ def test_aks_create_using_azurecni_with_pod_identity_enabled(self, resource_grou 'resource_group': resource_group, 'name': aks_name, 'location': resource_group_location, + 'ssh_key_value': self.generate_ssh_keys() }) # create - cmd = ('aks create --resource-group={resource_group} --name={name} --location={location} ' - '--generate-ssh-keys --enable-managed-identity ' - '--enable-pod-identity --network-plugin azure') - self.cmd(cmd, checks=[ + create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ + '--enable-managed-identity ' \ + '--enable-pod-identity --network-plugin azure ' \ + '--ssh-key-value={ssh_key_value}' + self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('podIdentityProfile.enabled', True) ]) @@ -1784,6 +1876,7 @@ def test_aks_pod_identity_usage(self, resource_group, resource_group_location): 'location': resource_group_location, 'identity_name': identity_name, 'binding_selector': binding_selector_name, + 'ssh_key_value': self.generate_ssh_keys() }) # create identity @@ -1796,10 +1889,11 @@ def test_aks_pod_identity_usage(self, resource_group, resource_group_location): }) # create - cmd = ('aks create --resource-group={resource_group} --name={name} --location={location} ' - '--generate-ssh-keys --enable-managed-identity ' - '--enable-pod-identity --enable-pod-identity-with-kubenet') - self.cmd(cmd, checks=[ + create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ + '--enable-managed-identity ' \ + '--enable-pod-identity --enable-pod-identity-with-kubenet ' \ + '--ssh-key-value={ssh_key_value}' + self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('podIdentityProfile.enabled', True) ]) @@ -1879,13 +1973,15 @@ def test_aks_update_with_windows_password(self, resource_group, resource_group_l 'windows_admin_password': self.create_random_name('p@0A', 16), 'nodepool2_name': 'npwin', 'new_windows_admin_password': self.create_random_name('n!C3', 16), + 'ssh_key_value': self.generate_ssh_keys() }) # create create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ - '--dns-name-prefix={dns_name_prefix} --node-count=1 --generate-ssh-keys ' \ + '--dns-name-prefix={dns_name_prefix} --node-count=1 ' \ '--windows-admin-username={windows_admin_username} --windows-admin-password={windows_admin_password} ' \ - '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure' + '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('fqdn'), self.exists('nodeResourceGroup'), @@ -1919,6 +2015,7 @@ def test_aks_custom_kubelet_identity(self, resource_group, resource_group_locati 'name': aks_name, 'control_plane_identity_name': control_plane_identity_name, 'kubelet_identity_name': kubelet_identity_name, + 'ssh_key_value': self.generate_ssh_keys() }) # create control plane identity @@ -1945,8 +2042,9 @@ def test_aks_custom_kubelet_identity(self, resource_group, resource_group_locati # create create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--node-count=1 --generate-ssh-keys --enable-managed-identity ' \ - '--assign-identity {control_plane_identity_resource_id} --assign-kubelet-identity {kubelet_identity_resource_id}' + '--node-count=1 --enable-managed-identity ' \ + '--assign-identity {control_plane_identity_resource_id} --assign-kubelet-identity {kubelet_identity_resource_id} ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('identity'), self.exists('identityProfile'), @@ -1966,11 +2064,13 @@ def test_aks_disable_local_accounts(self, resource_group, resource_group_locatio aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys ' \ - '--enable-managed-identity --disable-local-accounts' + create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ + '--enable-managed-identity --disable-local-accounts ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('disableLocalAccounts', True) @@ -1992,11 +2092,13 @@ def test_aks_enable_utlra_ssd(self, resource_group, resource_group_location): aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys ' \ - '--node-vm-size Standard_D2s_v3 --zones 1 2 3 --enable-ultra-ssd' + create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ + '--node-vm-size Standard_D2s_v3 --zones 1 2 3 --enable-ultra-ssd ' \ + '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded') ]) @@ -2012,10 +2114,11 @@ def test_aks_maintenanceconfiguration(self, resource_group, resource_group_locat self.kwargs.update({ 'resource_group': resource_group, 'name': aks_name, - 'mc_path': _get_test_data_file('maintenanceconfig.json') + 'mc_path': _get_test_data_file('maintenanceconfig.json'), + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded') ]) From cae8b78aec667d8af257bd12d55c9fa3c099422b Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Thu, 12 Aug 2021 19:58:02 -0700 Subject: [PATCH 06/43] Extend handling of job output to consider empty responses (#3776) * Extend handling of job output to consider empty responses * Fixing static analysis issues --- src/quantum/azext_quantum/operations/job.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/quantum/azext_quantum/operations/job.py b/src/quantum/azext_quantum/operations/job.py index bf3cd6ff322..8584c9bd03c 100644 --- a/src/quantum/azext_quantum/operations/job.py +++ b/src/quantum/azext_quantum/operations/job.py @@ -209,19 +209,25 @@ def output(cmd, job_id, resource_group_name=None, workspace_name=None, location= blob_service.get_blob_to_path(args['container'], args['blob'], path) with open(path) as json_file: - if job.target.startswith("microsoft.simulator"): + lines = [line.strip() for line in json_file.readlines()] + + # Receiving an empty response is valid. + if len(lines) == 0: + return - lines = [line.strip() for line in json_file.readlines()] + if job.target.startswith("microsoft.simulator"): result_start_line = len(lines) - 1 if lines[-1].endswith('"'): - while not lines[result_start_line].startswith('"'): + while result_start_line >= 0 and not lines[result_start_line].startswith('"'): result_start_line -= 1 + if result_start_line < 0: + raise CLIError("Job output is malformed, mismatched quote characters.") print('\n'.join(lines[:result_start_line])) result = ' '.join(lines[result_start_line:])[1:-1] # seems the cleanest version to display - print("_" * len(result) + "\n") + print('_' * len(result) + '\n') - json_string = "{ \"histogram\" : { \"" + result + "\" : 1 } }" + json_string = '{ "histogram" : { "' + result + '" : 1 } }' data = json.loads(json_string) else: data = json.load(json_file) From 7c8ae37b0fa8475dc3f378a0943a32ea6c6a6b47 Mon Sep 17 00:00:00 2001 From: songlu <37168047+PARADISSEEKR@users.noreply.github.com> Date: Fri, 13 Aug 2021 14:52:31 +0800 Subject: [PATCH 07/43] {Scheduled-Query} Add scheduled query rules (#3753) * update SDK * parameter * Update src/scheduled-query/HISTORY.rst Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> * Update src/scheduled-query/HISTORY.rst Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> * Update src/scheduled-query/setup.py Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> * update * Update test_scheduled_query.yaml * Update _params.py * Update HISTORY.rst Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com> --- src/scheduled-query/HISTORY.rst | 8 + .../azext_scheduled_query/__init__.py | 3 +- .../azext_scheduled_query/_actions.py | 19 +- .../azext_scheduled_query/_client_factory.py | 4 +- .../azext_scheduled_query/_help.py | 24 +- .../azext_scheduled_query/_params.py | 19 +- .../azext_scheduled_query/_validators.py | 20 + .../azext_scheduled_query/custom.py | 97 +- .../recordings/test_scheduled_query.yaml | 960 +++++++++++++----- .../latest/test_scheduled_query_scenario.py | 34 +- .../azure_mgmt_scheduled_query/__init__.py | 20 +- .../_configuration.py | 81 +- .../_monitor_client.py | 49 - .../_monitor_management_client.py | 88 ++ .../{version.py => _version.py} | 10 +- .../aio/__init__.py | 10 + .../aio/_configuration.py | 67 ++ .../aio/_monitor_management_client.py | 81 ++ .../aio/operations/__init__.py | 13 + .../_scheduled_query_rules_operations.py | 433 ++++++++ .../models/__init__.py | 70 +- .../models/_models.py | 665 ++++++------ .../models/_models_py3.py | 728 +++++++------ .../models/_monitor_client_enums.py | 36 - .../_monitor_management_client_enums.py | 81 ++ .../models/_paged_models.py | 27 - .../operations/__init__.py | 7 +- .../_scheduled_query_rules_operations.py | 538 +++++----- src/scheduled-query/setup.py | 2 +- 29 files changed, 2881 insertions(+), 1313 deletions(-) create mode 100644 src/scheduled-query/azext_scheduled_query/_validators.py delete mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_monitor_client.py create mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_monitor_management_client.py rename src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/{version.py => _version.py} (82%) create mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/__init__.py create mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/_configuration.py create mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/_monitor_management_client.py create mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/operations/__init__.py create mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/operations/_scheduled_query_rules_operations.py delete mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_monitor_client_enums.py create mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_monitor_management_client_enums.py delete mode 100644 src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_paged_models.py diff --git a/src/scheduled-query/HISTORY.rst b/src/scheduled-query/HISTORY.rst index caadcc38744..76e75c74ba9 100644 --- a/src/scheduled-query/HISTORY.rst +++ b/src/scheduled-query/HISTORY.rst @@ -2,6 +2,14 @@ Release History =============== +0.4.0 +++++++ +* Add `--skip-query-validation` parameter +* Add `--check-ws-alerts-storage` parameter +* Add `--auto-mitigate` parameter +* [Breaking Change] `--actions` are split into `--action-groups` and `--custom-properties` +* [Breaking Change] the default value of `--mute-actions-duration` is changed to None + 0.3.1 ++++++ * Support query placeholder for `--condition` parameter. diff --git a/src/scheduled-query/azext_scheduled_query/__init__.py b/src/scheduled-query/azext_scheduled_query/__init__.py index d7894bdc735..c716523418d 100644 --- a/src/scheduled-query/azext_scheduled_query/__init__.py +++ b/src/scheduled-query/azext_scheduled_query/__init__.py @@ -16,8 +16,7 @@ def __init__(self, cli_ctx=None): scheduled_query_custom = CliCommandType( operations_tmpl='azext_scheduled_query.custom#{}', client_factory=cf_scheduled_query) - super(ScheduledQueryCommandsLoader, self).__init__(cli_ctx=cli_ctx, - custom_command_type=scheduled_query_custom) + super().__init__(cli_ctx=cli_ctx, custom_command_type=scheduled_query_custom) def load_command_table(self, args): from azext_scheduled_query.commands import load_command_table diff --git a/src/scheduled-query/azext_scheduled_query/_actions.py b/src/scheduled-query/azext_scheduled_query/_actions.py index 9417edfb8eb..5bb28b881d1 100644 --- a/src/scheduled-query/azext_scheduled_query/_actions.py +++ b/src/scheduled-query/azext_scheduled_query/_actions.py @@ -39,12 +39,9 @@ def __call__(self, parser, namespace, values, option_string=None): for item in ['time_aggregation', 'threshold', 'operator']: if not getattr(scheduled_query_condition, item, None): raise InvalidArgumentValueError(usage) - except (AttributeError, TypeError, KeyError): - raise InvalidArgumentValueError(usage) - super(ScheduleQueryConditionAction, self).__call__(parser, - namespace, - scheduled_query_condition, - option_string) + except (AttributeError, TypeError, KeyError) as e: + raise InvalidArgumentValueError(usage) from e + super().__call__(parser, namespace, scheduled_query_condition, option_string) class ScheduleQueryConditionQueryAction(argparse.Action): @@ -65,9 +62,9 @@ def __call__(self, parser, namespace, values, option_string=None): class ScheduleQueryAddAction(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): - from azext_scheduled_query.vendored_sdks.azure_mgmt_scheduled_query.models import Action - action = Action( - action_group_id=values[0], - web_hook_properties=dict(x.split('=', 1) for x in values[1:]) if len(values) > 1 else None + from azext_scheduled_query.vendored_sdks.azure_mgmt_scheduled_query.models import Actions + action = Actions( + action_groups=values[0], + custom_properties=dict(x.split('=', 1) for x in values[1:]) if len(values) > 1 else None ) - super(ScheduleQueryAddAction, self).__call__(parser, namespace, action, option_string) + super().__call__(parser, namespace, action, option_string) diff --git a/src/scheduled-query/azext_scheduled_query/_client_factory.py b/src/scheduled-query/azext_scheduled_query/_client_factory.py index 736646ac843..9063ba9edc9 100644 --- a/src/scheduled-query/azext_scheduled_query/_client_factory.py +++ b/src/scheduled-query/azext_scheduled_query/_client_factory.py @@ -6,5 +6,5 @@ def cf_scheduled_query(cli_ctx, *_): from azure.cli.core.commands.client_factory import get_mgmt_service_client - from .vendored_sdks.azure_mgmt_scheduled_query._monitor_client import MonitorClient - return get_mgmt_service_client(cli_ctx, MonitorClient).scheduled_query_rules + from .vendored_sdks.azure_mgmt_scheduled_query._monitor_management_client import MonitorManagementClient + return get_mgmt_service_client(cli_ctx, MonitorManagementClient).scheduled_query_rules diff --git a/src/scheduled-query/azext_scheduled_query/_help.py b/src/scheduled-query/azext_scheduled_query/_help.py index f68aa7f4dbc..dfbbe52c19f 100644 --- a/src/scheduled-query/azext_scheduled_query/_help.py +++ b/src/scheduled-query/azext_scheduled_query/_help.py @@ -16,12 +16,14 @@ type: command short-summary: Create a scheduled query. parameters: - - name: --action -a - short-summary: Add an action group and optional webhook properties to fire when the alert is triggered. + - name: --action-groups + short-summary: Action Group resource Ids to invoke when the alert fires. long-summary: | - Usage: --action ACTION_GROUP_NAME_OR_ID [KEY=VAL [KEY=VAL ...]] - - Multiple action groups can be specified by using more than one `--action` argument. + Usage: --action-groups ACTION_GROUP_NAME_OR_ID [NAME_OR_ID,...] + - name: --custom-properties + short-summary: The properties of an alert payload. + long-summary: | + Usage: --custom-properties ALERT_PAYLOAD_PROPERTIES [KEY=VAL,KEY=VAL ...] - name: --condition short-summary: The condition which triggers the rule. long-summary: | @@ -44,12 +46,14 @@ type: command short-summary: Update a scheduled query. parameters: - - name: --action -a - short-summary: Add an action group and optional webhook properties to fire when the alert is triggered. + - name: --action-groups + short-summary: Action Group resource Ids to invoke when the alert fires. long-summary: | - Usage: --action ACTION_GROUP_NAME_OR_ID [KEY=VAL [KEY=VAL ...]] - - Multiple action groups can be specified by using more than one `--action` argument. + Usage: --action-groups ACTION_GROUP_NAME_OR_ID [NAME_OR_ID,...] + - name: --custom-properties + short-summary: The properties of an alert payload. + long-summary: | + Usage: --custom-properties ALERT_PAYLOAD_PROPERTIES [KEY=VAL,KEY=VAL ...] - name: --condition short-summary: The condition which triggers the rule. long-summary: | diff --git a/src/scheduled-query/azext_scheduled_query/_params.py b/src/scheduled-query/azext_scheduled_query/_params.py index 6ac9b1c3d79..ffb8925b16c 100644 --- a/src/scheduled-query/azext_scheduled_query/_params.py +++ b/src/scheduled-query/azext_scheduled_query/_params.py @@ -6,9 +6,9 @@ from azure.cli.core.commands.parameters import tags_type, get_three_state_flag from azure.cli.command_modules.monitor.actions import get_period_type -from azure.cli.command_modules.monitor.validators import get_action_group_validator +from azext_scheduled_query._validators import validate_custom_properties from knack.arguments import CLIArgumentType -from ._actions import ScheduleQueryConditionAction, ScheduleQueryAddAction, ScheduleQueryConditionQueryAction +from ._actions import ScheduleQueryConditionAction, ScheduleQueryConditionQueryAction def load_arguments(self, _): @@ -16,6 +16,11 @@ def load_arguments(self, _): from azure.cli.core.commands.validators import get_default_location_from_resource_group name_arg_type = CLIArgumentType(options_list=['--name', '-n'], metavar='NAME') + custom_properties_arg_type = CLIArgumentType( + validator=validate_custom_properties, + options_list=['--custom-properties'], + nargs='*', + help='The properties of an alert payload.') with self.argument_context('monitor scheduled-query') as c: c.argument('rule_name', name_arg_type, id_part='name', help='Name of the scheduled query rule.') c.argument('location', validator=get_default_location_from_resource_group) @@ -35,4 +40,12 @@ def load_arguments(self, _): c.argument('mute_actions_duration', type=get_period_type(as_timedelta=True), options_list=['--mute-actions-duration', '--mad'], help='Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.') - c.argument('actions', options_list=['--action', '-a'], action=ScheduleQueryAddAction, nargs='+', validator=get_action_group_validator('actions')) + c.argument('action_groups', options_list=['--action-groups'], nargs='+', help='Action Group resource Ids to invoke when the alert fires.') + c.argument('custom_properties', custom_properties_arg_type) + c.argument('auto_mitigate', arg_type=get_three_state_flag(), + help='The flag that indicates whether the alert should be automatically resolved or not. The default is true.') + c.argument('skip_query_validation', arg_type=get_three_state_flag(), + help='The flag which indicates whether the provided query should be validated or not.') + c.argument('check_workspace_alerts_storage', options_list=['--check-ws-alerts-storage', '--cwas'], + arg_type=get_three_state_flag(), + help="The flag which indicates whether this scheduled query rule should be stored in the customer's storage.") diff --git a/src/scheduled-query/azext_scheduled_query/_validators.py b/src/scheduled-query/azext_scheduled_query/_validators.py new file mode 100644 index 00000000000..aa59a43b97b --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/_validators.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +def validate_tag(string): + result = {} + if string: + comps = string.split('=', 1) + result = {comps[0]: comps[1]} if len(comps) > 1 else {string: ''} + return result + + +def validate_custom_properties(ns): + if isinstance(ns.custom_properties, list): + custom_properties_dict = {} + for item in ns.custom_properties: + custom_properties_dict.update(validate_tag(item)) + ns.custom_properties = custom_properties_dict diff --git a/src/scheduled-query/azext_scheduled_query/custom.py b/src/scheduled-query/azext_scheduled_query/custom.py index 105eaaa40a1..2dc739c53a6 100644 --- a/src/scheduled-query/azext_scheduled_query/custom.py +++ b/src/scheduled-query/azext_scheduled_query/custom.py @@ -25,27 +25,52 @@ def _build_criteria(condition, condition_query): return ScheduledQueryRuleCriteria(all_of=condition) -def create_scheduled_query(client, resource_group_name, rule_name, scopes, condition, condition_query=None, - disabled=False, description=None, tags=None, location=None, - actions=None, severity=2, window_size='5m', evaluation_frequency='5m', - target_resource_type=None, mute_actions_duration='PT30M'): - from .vendored_sdks.azure_mgmt_scheduled_query.models import ScheduledQueryRuleResource +def create_scheduled_query(client, + resource_group_name, + rule_name, + scopes, + condition, + action_groups=None, + custom_properties=None, + condition_query=None, + disabled=False, + description=None, + tags=None, + location=None, + severity=2, + window_size='5m', + evaluation_frequency='5m', + target_resource_type=None, + mute_actions_duration=None, + auto_mitigate=True, + skip_query_validation=False, + check_workspace_alerts_storage=False): criteria = _build_criteria(condition, condition_query) - kwargs = { - 'description': description, - 'severity': severity, - 'enabled': not disabled, - 'scopes': scopes, - 'evaluation_frequency': evaluation_frequency, - 'window_size': window_size, - 'criteria': criteria, - 'target_resource_types': [target_resource_type] if target_resource_type else None, - 'actions': actions, - 'tags': tags, - 'location': location, - 'mute_actions_duration': mute_actions_duration - } - return client.create_or_update(resource_group_name, rule_name, ScheduledQueryRuleResource(**kwargs)) + parameters = {} + actions = {} + actions['action_groups'] = action_groups if action_groups is not None else [] + actions['custom_properties'] = custom_properties if custom_properties is not None else {} + parameters['actions'] = actions + parameters['scopes'] = scopes + parameters['criteria'] = criteria + if actions is not None: + parameters['actions'] = actions + parameters['enabled'] = not disabled + if description is not None: + parameters['description'] = description + if tags is not None: + parameters['tags'] = tags + if location is not None: + parameters['location'] = location + parameters['severity'] = severity + parameters['window_size'] = window_size + parameters['evaluation_frequency'] = evaluation_frequency + parameters['target_resource_types'] = [target_resource_type] if target_resource_type else None + parameters['mute_actions_duration'] = mute_actions_duration + parameters['auto_mitigate'] = auto_mitigate + parameters['skip_query_validation'] = skip_query_validation + parameters['check_workspace_alerts_storage_configured'] = check_workspace_alerts_storage + return client.create_or_update(resource_group_name=resource_group_name, rule_name=rule_name, parameters=parameters) def list_scheduled_query(client, resource_group_name=None): @@ -54,19 +79,43 @@ def list_scheduled_query(client, resource_group_name=None): return client.list_by_subscription() -def update_scheduled_query(cmd, instance, tags=None, disabled=False, condition=None, condition_query=None, - description=None, actions=None, severity=None, window_size=None, - evaluation_frequency=None, mute_actions_duration=None): +def update_scheduled_query(cmd, + instance, + tags=None, + disabled=None, + condition=None, + action_groups=None, + custom_properties=None, + condition_query=None, + description=None, + severity=None, + window_size=None, + evaluation_frequency=None, + mute_actions_duration=None, + target_resource_type=None, + auto_mitigate=None, + skip_query_validation=None, + check_workspace_alerts_storage=None + ): with cmd.update_context(instance) as c: c.set_param('tags', tags) c.set_param('enabled', not disabled) c.set_param('description', description) - c.set_param('actions', actions) + c.set_param('actions.action_groups', action_groups) + c.set_param('actions.custom_properties', custom_properties) c.set_param('severity', severity) c.set_param('window_size', window_size) c.set_param('evaluation_frequency', evaluation_frequency) c.set_param('mute_actions_duration', mute_actions_duration) + c.set_param('target_resource_type', target_resource_type) + c.set_param('auto_mitigate', auto_mitigate) + c.set_param('skip_query_validation', skip_query_validation) + c.set_param('check_workspace_alerts_storage_configured', check_workspace_alerts_storage) if condition is not None: criteria = _build_criteria(condition, condition_query) c.set_param('criteria', criteria) + if disabled is not None: + c.set_param('enabled', not disabled) + if auto_mitigate is not None: + c.set_param('auto_mitigate', auto_mitigate) return instance diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query.yaml b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query.yaml index 921922c9dd9..ec3a359df3b 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query.yaml +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query.yaml @@ -13,21 +13,21 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-05T02:24:05Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-13T02:27:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:24:17 GMT + - Fri, 13 Aug 2021 02:27:28 GMT expires: - '-1' pragma: @@ -107,13 +107,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 05 Aug 2021 02:24:18 GMT + - Fri, 13 Aug 2021 02:27:29 GMT etag: - W/"54bceef15b892f2aa7f4c2145a49f1b5e33608722acdbb47933d7b6cbebbd7f4" expires: - - Thu, 05 Aug 2021 02:29:18 GMT + - Fri, 13 Aug 2021 02:32:29 GMT source-age: - - '250' + - '270' strict-transport-security: - max-age=31536000 vary: @@ -127,15 +127,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - eb28d712723b71be86d157bcb7b46391aa5d18cc + - ad890af6384503585aebf0b6809659de3ea28531 x-frame-options: - deny x-github-request-id: - - 3CA4:7300:F32DF:1D80CA:610A8A9B + - DF62:256E:3681:A077:6115C90F x-served-by: - - cache-qpg1222-QPG + - cache-qpg1280-QPG x-timer: - - S1628130259.939250,VS0,VE0 + - S1628821649.123927,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -155,7 +155,7 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -169,7 +169,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:24:19 GMT + - Fri, 13 Aug 2021 02:27:28 GMT expires: - '-1' pragma: @@ -197,7 +197,7 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-10-01 response: @@ -213,7 +213,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:24:20 GMT + - Fri, 13 Aug 2021 02:27:30 GMT expires: - '-1' pragma: @@ -241,21 +241,21 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-05T02:24:05Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-13T02:27:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:24:20 GMT + - Fri, 13 Aug 2021 02:27:30 GMT expires: - '-1' pragma: @@ -289,22 +289,22 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-10-01 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"34e7e180-aa74-498c-859d-5302835b9b2d\",\r\n \"provisioningState\": \"Creating\",\r\n + \"b592e84d-2dc5-496a-8e88-645ee1f0ebff\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 05 Aug 2021 02:24:28 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 Aug 2021 02:27:39 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Thu, 05 Aug 2021 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 13 Aug 2021 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 05 Aug 2021 02:24:28 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 05 Aug 2021 02:24:28 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 Aug 2021 02:27:39 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 Aug 2021 02:27:39 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -316,7 +316,7 @@ interactions: content-type: - application/json date: - - Thu, 05 Aug 2021 02:24:29 GMT + - Fri, 13 Aug 2021 02:27:40 GMT pragma: - no-cache server: @@ -348,22 +348,22 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-10-01 response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"34e7e180-aa74-498c-859d-5302835b9b2d\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"b592e84d-2dc5-496a-8e88-645ee1f0ebff\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Thu, 05 Aug 2021 02:24:28 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Fri, 13 Aug 2021 02:27:39 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n \ \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \ \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \ \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": - \"Thu, 05 Aug 2021 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Fri, 13 Aug 2021 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Thu, 05 Aug 2021 02:24:28 GMT\",\r\n - \ \"modifiedDate\": \"Thu, 05 Aug 2021 02:24:28 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Fri, 13 Aug 2021 02:27:39 GMT\",\r\n + \ \"modifiedDate\": \"Fri, 13 Aug 2021 02:27:40 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -375,7 +375,7 @@ interactions: content-type: - application/json date: - - Thu, 05 Aug 2021 02:24:59 GMT + - Fri, 13 Aug 2021 02:28:10 GMT pragma: - no-cache server: @@ -422,7 +422,7 @@ interactions: "protectedSettings": {"workspaceKey": "[listKeys(parameters(''workspaceId''), ''2015-11-01-preview'').primarySharedKey]"}}, "name": "myvm1/OmsAgentForLinux", "location": "eastus", "dependsOn": ["Microsoft.Compute/virtualMachines/myvm1"]}, - {"apiVersion": "2021-03-01", "type": "Microsoft.Compute/virtualMachines", "name": + {"apiVersion": "2021-04-01", "type": "Microsoft.Compute/virtualMachines", "name": "myvm1", "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/myvm1VMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic", @@ -430,10 +430,10 @@ interactions: "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "myvm1", - "adminUsername": "kairu", "linuxConfiguration": {"disablePasswordAuthentication": - true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDPMuHNzSd64J+szP6o1PrORXVyLcT0rnY1jkPNXt2taPECh5LJ1GFUbV/T8NphlT+jkgd6Q8DokO3x/IZ7gIVIO9CFsLUWAcvB0IGSRnIEK4MXIYFrHh45STacrSO+K1trflLXb2S8a4CNyZOuRja2w5+ggt+jSluGmoT19Os5pVv7Slh/Z536r60i/mA2MJhhwLWe9njCfhxCUAffOMD0tQgFCrieAB/fwNEYqmWNX4VWSbpO+1qfJzTl6SwRoFv9Z/v3szgexwHazlsUqlD1ALAcf6qnQcSh9VvqUZJpLW9vfOPkMGMKQdHTK0MbsrivLu41hg4yWyhC9yDmkNhGJAFgaYAJMdYuHH3GSX2xofP9HrN0PG4V+oVxL89St2mXrKlbNryZCtoOnw05ugEPiLmDCav8vZyRfz4/OQLq2yHUrkavU5R2PRFSfoBNrk894+5Cvr3eW7IEbl014ikiFMLhtRairBBeZhrdGbaMAsgaa5e6AfA5m2820Hf8sf8= - kairu@microsoft.com\n", "path": "/home/kairu/.ssh/authorized_keys"}]}}}}}], - "outputs": {}}, "parameters": {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002"}}, + "adminUsername": "v-jingszhang", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDL2PtV5sp++a43U/dRJ2Fyjso9qDFNbWEnbYk7mA4CfXy0gvxm65oYVd90JysNmGBF/89hIvCTN3ul4aEIuPkzywozRbdyWiJngSd/7OrNBJzpQQSjsGXwoVNDRAJSzlvuQVUR2vwBHeN2xMIvufSvzO3LGI3xcSIWIYlSvU9urnV+Pefd4T6x/OXgTpE02AgMWOspdZTzg0ZKsSU3sG5nYSNoq+8qrHQSXLbLLdWzz5lYKe8p64fQC/xhXrNa3/Nw5vy8YGsyqGueM/Rj6gCI+ivgBlQg908Aa50yQLvwsMLIKxhgPlj73Am8zm27PS3DKVjkr0nTjbEp/3FzZnyB", + "path": "/home/v-jingszhang/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": + {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002"}}, "mode": "incremental"}}' headers: Accept: @@ -445,29 +445,29 @@ interactions: Connection: - keep-alive Content-Length: - - '4593' + - '4413' Content-Type: - application/json ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_q5lPd83ihyQ2MYRDJogmBuOfU44KJ39F","name":"vm_deploy_q5lPd83ihyQ2MYRDJogmBuOfU44KJ39F","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8202278835615348124","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-08-05T02:25:05.2101536Z","duration":"PT2.6395523S","correlationId":"bbd29873-e0a2-4e03-9605-ab6c8d6d6346","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_VzhdXwfUsaPaPOjurqGAEXuPOiTkgvLv","name":"vm_deploy_VzhdXwfUsaPaPOjurqGAEXuPOiTkgvLv","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14958276402317583836","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-08-13T02:28:16.8219031Z","duration":"PT2.8240266S","correlationId":"fa3022e9-2358-47b9-84b1-5a7a6cd22523","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_q5lPd83ihyQ2MYRDJogmBuOfU44KJ39F/operationStatuses/08585734765829070364?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_VzhdXwfUsaPaPOjurqGAEXuPOiTkgvLv/operationStatuses/08585727851914797639?api-version=2021-04-01 cache-control: - no-cache content-length: - - '4226' + - '4227' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:25:05 GMT + - Fri, 13 Aug 2021 02:28:17 GMT expires: - '-1' pragma: @@ -495,9 +495,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585734765829070364?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585727851914797639?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -509,7 +509,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:25:37 GMT + - Fri, 13 Aug 2021 02:28:48 GMT expires: - '-1' pragma: @@ -537,9 +537,9 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585734765829070364?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585727851914797639?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -551,7 +551,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:07 GMT + - Fri, 13 Aug 2021 02:29:18 GMT expires: - '-1' pragma: @@ -579,9 +579,93 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585734765829070364?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585727851914797639?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:29:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585727851914797639?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:30:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --nsg-rule --workspace --generate-ssh-keys + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585727851914797639?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -593,7 +677,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:38 GMT + - Fri, 13 Aug 2021 02:30:50 GMT expires: - '-1' pragma: @@ -621,21 +705,21 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_q5lPd83ihyQ2MYRDJogmBuOfU44KJ39F","name":"vm_deploy_q5lPd83ihyQ2MYRDJogmBuOfU44KJ39F","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8202278835615348124","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-08-05T02:26:38.127072Z","duration":"PT1M35.5564707S","correlationId":"bbd29873-e0a2-4e03-9605-ab6c8d6d6346","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Resources/deployments/vm_deploy_VzhdXwfUsaPaPOjurqGAEXuPOiTkgvLv","name":"vm_deploy_VzhdXwfUsaPaPOjurqGAEXuPOiTkgvLv","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14958276402317583836","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-08-13T02:30:39.610909Z","duration":"PT2M25.6130325S","correlationId":"fa3022e9-2358-47b9-84b1-5a7a6cd22523","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"myvm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"myvm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"clitest000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.operationalinsights/workspaces/clitest000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"clitest000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"myvm1/OmsAgentForLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"myvm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"myvm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1/extensions/OmsAgentForLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/virtualNetworks/myvm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '5532' + - '5533' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:38 GMT + - Fri, 13 Aug 2021 02:30:51 GMT expires: - '-1' pragma: @@ -663,52 +747,51 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1?$expand=instanceView&api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"myvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"74530c8c-bc4a-426c-a19d-13a10a302bca\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"bdc70fcf-8b00-469c-a24d-30518f579aff\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202107200\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"myvm1_disk1_a27b3e5dd2514024b1fb26c3ed3bc4dd\",\r\n + \"Linux\",\r\n \"name\": \"myvm1_disk1_5ba5ab2fb25845e1908b787f7e07d82e\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/disks/myvm1_disk1_a27b3e5dd2514024b1fb26c3ed3bc4dd\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/disks/myvm1_disk1_5ba5ab2fb25845e1908b787f7e07d82e\"\r\n \ },\r\n \"diskSizeGB\": 30,\r\n \"deleteOption\": \"Detach\"\r\n \ },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n - \ \"computerName\": \"myvm1\",\r\n \"adminUsername\": \"kairu\",\r\n + \ \"computerName\": \"myvm1\",\r\n \"adminUsername\": \"v-jingszhang\",\r\n \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n - \ \"path\": \"/home/kairu/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDPMuHNzSd64J+szP6o1PrORXVyLcT0rnY1jkPNXt2taPECh5LJ1GFUbV/T8NphlT+jkgd6Q8DokO3x/IZ7gIVIO9CFsLUWAcvB0IGSRnIEK4MXIYFrHh45STacrSO+K1trflLXb2S8a4CNyZOuRja2w5+ggt+jSluGmoT19Os5pVv7Slh/Z536r60i/mA2MJhhwLWe9njCfhxCUAffOMD0tQgFCrieAB/fwNEYqmWNX4VWSbpO+1qfJzTl6SwRoFv9Z/v3szgexwHazlsUqlD1ALAcf6qnQcSh9VvqUZJpLW9vfOPkMGMKQdHTK0MbsrivLu41hg4yWyhC9yDmkNhGJAFgaYAJMdYuHH3GSX2xofP9HrN0PG4V+oVxL89St2mXrKlbNryZCtoOnw05ugEPiLmDCav8vZyRfz4/OQLq2yHUrkavU5R2PRFSfoBNrk894+5Cvr3eW7IEbl014ikiFMLhtRairBBeZhrdGbaMAsgaa5e6AfA5m2820Hf8sf8= - kairu@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n - \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": - \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n }\r\n - \ },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": - true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": - {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"}]},\r\n + \ \"path\": \"/home/v-jingszhang/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDL2PtV5sp++a43U/dRJ2Fyjso9qDFNbWEnbYk7mA4CfXy0gvxm65oYVd90JysNmGBF/89hIvCTN3ul4aEIuPkzywozRbdyWiJngSd/7OrNBJzpQQSjsGXwoVNDRAJSzlvuQVUR2vwBHeN2xMIvufSvzO3LGI3xcSIWIYlSvU9urnV+Pefd4T6x/OXgTpE02AgMWOspdZTzg0ZKsSU3sG5nYSNoq+8qrHQSXLbLLdWzz5lYKe8p64fQC/xhXrNa3/Nw5vy8YGsyqGueM/Rj6gCI+ivgBlQg908Aa50yQLvwsMLIKxhgPlj73Am8zm27PS3DKVjkr0nTjbEp/3FzZnyB\"\r\n + \ }\r\n ]\r\n },\r\n \"provisionVMAgent\": + true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n + \ \"assessmentMode\": \"ImageDefault\"\r\n }\r\n },\r\n + \ \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"myvm1\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.3.1.1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2021-08-05T02:26:34+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + \"2021-08-13T02:30:35+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": [\r\n {\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \ \"typeHandlerVersion\": \"1.13.35\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \"message\": \"Plugin enabled\"\r\n }\r\n }\r\n ]\r\n },\r\n - \ \"disks\": [\r\n {\r\n \"name\": \"myvm1_disk1_a27b3e5dd2514024b1fb26c3ed3bc4dd\",\r\n + \ \"disks\": [\r\n {\r\n \"name\": \"myvm1_disk1_5ba5ab2fb25845e1908b787f7e07d82e\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-08-05T02:25:26.3560193+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-08-13T02:28:42.8804033+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"extensions\": [\r\n {\r\n \"name\": \"OmsAgentForLinux\",\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \"typeHandlerVersion\": @@ -719,7 +802,7 @@ interactions: \ \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \ \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning succeeded\",\r\n - \ \"time\": \"2021-08-05T02:26:37.7940623+00:00\"\r\n },\r\n + \ \"time\": \"2021-08-13T02:30:38.006282+00:00\"\r\n },\r\n \ {\r\n \"code\": \"PowerState/running\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n }\r\n \ ]\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"name\": @@ -728,17 +811,17 @@ interactions: \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": \"Microsoft.EnterpriseCloud.Monitoring\",\r\n \"type\": \"OmsAgentForLinux\",\r\n - \ \"typeHandlerVersion\": \"1.0\",\r\n \"settings\": {\"workspaceId\":\"34e7e180-aa74-498c-859d-5302835b9b2d\",\"stopOnMultipleConnections\":\"true\"}\r\n + \ \"typeHandlerVersion\": \"1.0\",\r\n \"settings\": {\"workspaceId\":\"b592e84d-2dc5-496a-8e88-645ee1f0ebff\",\"stopOnMultipleConnections\":\"true\"}\r\n \ }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '5713' + - '5532' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:40 GMT + - Fri, 13 Aug 2021 02:30:52 GMT expires: - '-1' pragma: @@ -755,7 +838,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31976 + - Microsoft.Compute/LowCostGet3Min;3987,Microsoft.Compute/LowCostGet30Min;31959 status: code: 200 message: OK @@ -773,18 +856,18 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"myvm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic\",\r\n - \ \"etag\": \"W/\\\"f134a8a0-4a2e-44dc-8b63-476aa4582727\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"6987e672-63cc-46cc-add0-e3ea9df536f4\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"ecbc9096-d1e9-4788-a85e-46ce89af4469\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"c41ed55e-4998-4c89-bc86-2b6b8b4ccdb5\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmyvm1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\",\r\n - \ \"etag\": \"W/\\\"f134a8a0-4a2e-44dc-8b63-476aa4582727\\\"\",\r\n + \ \"etag\": \"W/\\\"6987e672-63cc-46cc-add0-e3ea9df536f4\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -793,8 +876,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"gkttxu1lyyyefkjyl3sajofztc.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-1E-02-C9\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"g1jbnjcztsfehiwowli5jxlgig.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-1D-A2-3F\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkSecurityGroups/myvm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -808,9 +891,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:41 GMT + - Fri, 13 Aug 2021 02:30:53 GMT etag: - - W/"f134a8a0-4a2e-44dc-8b63-476aa4582727" + - W/"6987e672-63cc-46cc-add0-e3ea9df536f4" expires: - '-1' pragma: @@ -827,7 +910,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4f914c21-9a69-4afb-8bb9-241471849d1c + - 1133f0e9-8132-439b-8c3f-13785c9ecdab status: code: 200 message: OK @@ -845,16 +928,16 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"myvm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/publicIPAddresses/myvm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"9ae50cef-b510-4b27-a7e0-e4aff2fe26bc\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"0be9cfae-4aac-4961-a79b-7566d5a1cc4e\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"394a3494-4168-4405-b832-ff65288e1846\",\r\n - \ \"ipAddress\": \"40.114.79.71\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"63e43d99-2d03-4d1c-b30d-210ce0dce296\",\r\n + \ \"ipAddress\": \"20.185.37.136\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Network/networkInterfaces/myvm1VMNic/ipConfigurations/ipconfigmyvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -863,13 +946,13 @@ interactions: cache-control: - no-cache content-length: - - '1004' + - '1005' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:41 GMT + - Fri, 13 Aug 2021 02:30:53 GMT etag: - - W/"9ae50cef-b510-4b27-a7e0-e4aff2fe26bc" + - W/"0be9cfae-4aac-4961-a79b-7566d5a1cc4e" expires: - '-1' pragma: @@ -886,7 +969,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 012aa918-08ac-4d24-97a5-823a6fd9d4d1 + - 237a24d3-401c-4877-bc8f-77d1b620917a status: code: 200 message: OK @@ -908,12 +991,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2021-08-05T02%3A26%3A43.9228957Z''\"","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2021-08-13T02%3A30%3A54.9258500Z''\"","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -922,7 +1005,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:44 GMT + - Fri, 13 Aug 2021 02:30:55 GMT expires: - '-1' pragma: @@ -938,7 +1021,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -965,14 +1048,14 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002?api-version=2020-08-01 response: body: string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap - Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2021-08-05T02%3A26%3A44.6059319Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2021-08-13T02%3A30%3A55.6702903Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -981,7 +1064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:44 GMT + - Fri, 13 Aug 2021 02:30:55 GMT expires: - '-1' pragma: @@ -997,7 +1080,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -1023,13 +1106,13 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003?api-version=2020-08-01 response: body: string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% - Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2021-08-05T02%3A26%3A45.2207459Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2021-08-13T02%3A30%3A56.3579003Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -1038,7 +1121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:45 GMT + - Fri, 13 Aug 2021 02:30:56 GMT expires: - '-1' pragma: @@ -1054,7 +1137,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' x-powered-by: - ASP.NET status: @@ -1082,7 +1165,7 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004?api-version=2020-08-01 response: @@ -1090,7 +1173,7 @@ interactions: string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk - Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2021-08-05T02%3A26%3A45.8755844Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2021-08-13T02%3A30%3A57.0604291Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -1099,7 +1182,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:46 GMT + - Fri, 13 Aug 2021 02:30:57 GMT expires: - '-1' pragma: @@ -1115,7 +1198,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1195' x-powered-by: - ASP.NET status: @@ -1141,13 +1224,13 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005?api-version=2020-08-01 response: body: string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total - Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2021-08-05T02%3A26%3A46.6123705Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2021-08-13T02%3A30%3A57.7956829Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -1156,7 +1239,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:46 GMT + - Fri, 13 Aug 2021 02:30:57 GMT expires: - '-1' pragma: @@ -1172,7 +1255,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1194' x-powered-by: - ASP.NET status: @@ -1196,12 +1279,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2021-08-05T02%3A26%3A47.3248828Z''\"","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2021-08-13T02%3A30%3A58.5189599Z''\"","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -1210,7 +1293,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:47 GMT + - Fri, 13 Aug 2021 02:30:58 GMT expires: - '-1' pragma: @@ -1226,7 +1309,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1193' x-powered-by: - ASP.NET status: @@ -1251,12 +1334,12 @@ interactions: ParameterSetName: - -n -g --image --nsg-rule --workspace --generate-ssh-keys User-Agent: - - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-mgmt-loganalytics/11.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/dataSources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007?api-version=2020-08-01 response: body: - string: '{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2021-08-05T02%3A26%3A48.0500848Z''\"","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2021-08-13T02%3A30%3A59.2730824Z''\"","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -1265,7 +1348,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:26:48 GMT + - Fri, 13 Aug 2021 02:30:59 GMT expires: - '-1' pragma: @@ -1281,7 +1364,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1192' x-powered-by: - ASP.NET status: @@ -1301,21 +1384,21 @@ interactions: ParameterSetName: - -g -n --scopes --condition --condition-query --description User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-05T02:24:05Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-13T02:27:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:29:50 GMT + - Fri, 13 Aug 2021 02:34:00 GMT expires: - '-1' pragma: @@ -1334,9 +1417,10 @@ interactions: 2, "enabled": true, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"], "evaluationFrequency": "PT5M", "windowSize": "PT5M", "criteria": {"allOf": [{"query": "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": "Count", - "dimensions": [], "operator": "GreaterThan", "threshold": 360, "failingPeriods": - {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": 1}}]}, "muteActionsDuration": - "PT30M"}}' + "dimensions": [], "operator": "GreaterThan", "threshold": 360.0, "failingPeriods": + {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": 1}}]}, "actions": + {"actionGroups": [], "customProperties": {}}, "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": false, "autoMitigate": true}}' headers: Accept: - application/json @@ -1347,32 +1431,29 @@ interactions: Connection: - keep-alive Content-Length: - - '656' + - '783' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --scopes --condition --condition-query --description User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:06.7668957Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:06.7668957Z"},"properties":{"description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union - Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"muteActionsDuration":"PT30M"}}' + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: cache-control: - no-cache content-length: - - '891' + - '1199' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:02 GMT + - Fri, 13 Aug 2021 02:34:14 GMT expires: - '-1' pragma: @@ -1390,7 +1471,7 @@ interactions: x-rate-limit-remaining: - '14' x-rate-limit-reset: - - '2021-08-05T02:30:55.9582546Z' + - '2021-08-13T02:35:06.7749703Z' status: code: 201 message: Created @@ -1408,21 +1489,21 @@ interactions: ParameterSetName: - -g -n --scopes --condition --description User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-05T02:24:05Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-13T02:27:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:04 GMT + - Fri, 13 Aug 2021 02:34:15 GMT expires: - '-1' pragma: @@ -1442,8 +1523,9 @@ interactions: "evaluationFrequency": "PT5M", "windowSize": "PT5M", "criteria": {"allOf": [{"query": "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": "Count", "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "GreaterThan", - "threshold": 360, "failingPeriods": {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": - 1}}]}, "muteActionsDuration": "PT30M"}}' + "threshold": 360.0, "failingPeriods": {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": + 1}}]}, "actions": {"actionGroups": [], "customProperties": {}}, "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": false, "autoMitigate": true}}' headers: Accept: - application/json @@ -1454,32 +1536,29 @@ interactions: Connection: - keep-alive Content-Length: - - '641' + - '768' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --scopes --condition --description User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq02?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq02?api-version=2021-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:18.3768984Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:18.3768984Z"},"properties":{"description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union - Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"muteActionsDuration":"PT30M"}}' + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: cache-control: - no-cache content-length: - - '874' + - '1182' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:17 GMT + - Fri, 13 Aug 2021 02:34:22 GMT expires: - '-1' pragma: @@ -1491,13 +1570,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-rate-limit-limit: - 1m x-rate-limit-remaining: - '14' x-rate-limit-reset: - - '2021-08-05T02:31:09.8768560Z' + - '2021-08-13T02:35:18.3837161Z' status: code: 201 message: Created @@ -1516,26 +1595,23 @@ interactions: - -g -n --condition --condition-query --description --severity --disabled --evaluation-frequency --window-size User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:06.7668957Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:06.7668957Z"},"properties":{"description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union - Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"muteActionsDuration":"PT30M"}}' + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: cache-control: - no-cache content-length: - - '891' + - '1199' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:18 GMT + - Fri, 13 Aug 2021 02:34:23 GMT expires: - '-1' pragma: @@ -1559,8 +1635,9 @@ interactions: "evaluationFrequency": "PT10M", "windowSize": "PT10M", "criteria": {"allOf": [{"query": "union Event | where TimeGenerated > ago(2h)", "timeAggregation": "Count", "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "LessThan", - "threshold": 260, "failingPeriods": {"numberOfEvaluationPeriods": 3, "minFailingPeriodsToAlert": - 2}}]}, "muteActionsDuration": "PT30M"}}' + "threshold": 260.0, "failingPeriods": {"numberOfEvaluationPeriods": 3, "minFailingPeriodsToAlert": + 2}}]}, "checkWorkspaceAlertsStorageConfigured": false, "skipQueryValidation": + false, "autoMitigate": true}}' headers: Accept: - application/json @@ -1571,33 +1648,145 @@ interactions: Connection: - keep-alive Content-Length: - - '685' + - '755' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --condition --condition-query --description --severity --disabled --evaluation-frequency --window-size User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:06.7668957Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:24.411898Z"},"properties":{"description":"Test + rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + cache-control: + - no-cache + content-length: + - '1225' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:34:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '13' + x-rate-limit-reset: + - '2021-08-13T02:35:06.7749703Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + ParameterSetName: + - -g -n --mad --auto-mitigate --skip-query-validation + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:06.7668957Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:24.411898Z"},"properties":{"description":"Test rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union - Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"muteActionsDuration":"PT30M"}}' + Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' headers: cache-control: - no-cache content-length: - - '918' + - '1225' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:22 GMT + - Fri, 13 Aug 2021 02:34:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"description": "Test rule 2", "severity": + 4, "enabled": true, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"], + "evaluationFrequency": "PT10M", "windowSize": "PT10M", "criteria": {"allOf": + [{"query": "union Event | where TimeGenerated > ago(2h)", "timeAggregation": + "Count", "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "LessThan", + "threshold": 260.0, "failingPeriods": {"numberOfEvaluationPeriods": 3, "minFailingPeriodsToAlert": + 2}}]}, "muteActionsDuration": "PT30M", "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": true, "autoMitigate": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + Content-Length: + - '786' + Content-Type: + - application/json + ParameterSetName: + - -g -n --mad --auto-mitigate --skip-query-validation + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:06.7668957Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:27.6640127Z"},"properties":{"description":"Test + rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}}' + headers: + cache-control: + - no-cache + content-length: + - '1255' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:34:31 GMT expires: - '-1' pragma: @@ -1619,7 +1808,333 @@ interactions: x-rate-limit-remaining: - '14' x-rate-limit-reset: - - '2021-08-05T02:31:18.9870248Z' + - '2021-08-13T02:35:28.2983691Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "global", "properties": {"groupShortName": "clitest3gwg3", + "enabled": true, "emailReceivers": [], "smsReceivers": [], "webhookReceivers": + [], "itsmReceivers": [], "azureAppPushReceivers": [], "automationRunbookReceivers": + [], "voiceReceivers": [], "logicAppReceivers": [], "azureFunctionReceivers": + [], "armRoleReceivers": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor action-group create + Connection: + - keep-alive + Content-Length: + - '340' + Content-Type: + - application/json + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-monitor/2.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003?api-version=2019-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003","type":"Microsoft.Insights/ActionGroups","name":"clitest000003","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"clitest3gwg3","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]},"identity":null}' + headers: + cache-control: + - no-cache + content-length: + - '638' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:34:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '24' + status: + code: 201 + message: Created +- request: + body: '{"location": "global", "properties": {"groupShortName": "clitest3cfsd", + "enabled": true, "emailReceivers": [], "smsReceivers": [], "webhookReceivers": + [], "itsmReceivers": [], "azureAppPushReceivers": [], "automationRunbookReceivers": + [], "voiceReceivers": [], "logicAppReceivers": [], "azureFunctionReceivers": + [], "armRoleReceivers": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor action-group create + Connection: + - keep-alive + Content-Length: + - '340' + Content-Type: + - application/json + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-monitor/2.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004?api-version=2019-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004","type":"Microsoft.Insights/ActionGroups","name":"clitest000004","location":"Global","kind":null,"tags":null,"properties":{"groupShortName":"clitest3cfsd","enabled":true,"emailReceivers":[],"smsReceivers":[],"webhookReceivers":[],"itsmReceivers":[],"azureAppPushReceivers":[],"automationRunbookReceivers":[],"voiceReceivers":[],"logicAppReceivers":[],"azureFunctionReceivers":[],"armRoleReceivers":[]},"identity":null}' + headers: + cache-control: + - no-cache + content-length: + - '638' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:34:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '24' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query create + Connection: + - keep-alive + ParameterSetName: + - -g -n --scopes --condition --description --action-groups --custom-properties + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_scheduled_query000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001","name":"cli_test_scheduled_query000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-13T02:27:22Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:34:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"description": "Test rule", "severity": + 2, "enabled": true, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"], + "evaluationFrequency": "PT5M", "windowSize": "PT5M", "criteria": {"allOf": [{"query": + "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": "Count", + "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "GreaterThan", + "threshold": 360.0, "failingPeriods": {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": + 1}}]}, "actions": {"actionGroups": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003"], + "customProperties": {"k1": "v1"}}, "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": false, "autoMitigate": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query create + Connection: + - keep-alive + Content-Length: + - '985' + Content-Type: + - application/json + ParameterSetName: + - -g -n --scopes --condition --description --action-groups --custom-properties + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq03?api-version=2021-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:55.7368901Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:55.7368901Z"},"properties":{"description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003"],"customProperties":{"k1":"v1"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + cache-control: + - no-cache + content-length: + - '1450' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:34:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '14' + x-rate-limit-reset: + - '2021-08-13T02:35:55.9873765Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + ParameterSetName: + - -g -n --action-groups --custom-properties + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq03?api-version=2021-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:55.7368901Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:55.7368901Z"},"properties":{"description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000003"],"customProperties":{"k1":"v1"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + cache-control: + - no-cache + content-length: + - '1450' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:35:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"description": "Test rule", "severity": + 2, "enabled": true, "scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"], + "evaluationFrequency": "PT5M", "windowSize": "PT5M", "criteria": {"allOf": [{"query": + "union Event, Syslog | where TimeGenerated > ago(1h)", "timeAggregation": "Count", + "resourceIdColumn": "_ResourceId", "dimensions": [], "operator": "GreaterThan", + "threshold": 360.0, "failingPeriods": {"numberOfEvaluationPeriods": 1, "minFailingPeriodsToAlert": + 1}}]}, "actions": {"actionGroups": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004"], + "customProperties": {"k2": "v2"}}, "checkWorkspaceAlertsStorageConfigured": + false, "skipQueryValidation": false, "autoMitigate": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor scheduled-query update + Connection: + - keep-alive + Content-Length: + - '985' + Content-Type: + - application/json + ParameterSetName: + - -g -n --action-groups --custom-properties + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq03?api-version=2021-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:55.7368901Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:35:01.6019148Z"},"properties":{"description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004"],"customProperties":{"k2":"v2"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}' + headers: + cache-control: + - no-cache + content-length: + - '1450' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 13 Aug 2021 02:35:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '14' + x-rate-limit-reset: + - '2021-08-13T02:36:01.6075341Z' status: code: 200 message: OK @@ -1637,26 +2152,23 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test - rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union - Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"muteActionsDuration":"PT30M"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:06.7668957Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:27.6640127Z"},"properties":{"description":"Test + rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}}' headers: cache-control: - no-cache content-length: - - '918' + - '1255' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:22 GMT + - Fri, 13 Aug 2021 02:35:04 GMT expires: - '-1' pragma: @@ -1688,28 +2200,27 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules?api-version=2021-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test - rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union - Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"muteActionsDuration":"PT30M"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:06.7668957Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:27.6640127Z"},"properties":{"description":"Test + rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:18.3768984Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:18.3768984Z"},"properties":{"description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union - Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"muteActionsDuration":"PT30M"}}]}' + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:55.7368901Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:35:01.6019148Z"},"properties":{"description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004"],"customProperties":{"k2":"v2"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}]}' headers: cache-control: - no-cache content-length: - - '1805' + - '3901' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:24 GMT + - Fri, 13 Aug 2021 02:35:05 GMT expires: - '-1' pragma: @@ -1739,28 +2250,27 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Insights/scheduledQueryRules?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Insights/scheduledQueryRules?api-version=2021-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test - rule 2","severity":4,"enabled":false,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union - Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"muteActionsDuration":"PT30M"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","properties":{"description":"Test + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq01","name":"sq01","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:06.7668957Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:27.6640127Z"},"properties":{"description":"Test + rule 2","severity":4,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Compute/virtualMachines/myvm1"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"union + Event | where TimeGenerated > ago(2h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"LessThan","threshold":260.0,"failingPeriods":{"numberOfEvaluationPeriods":3,"minFailingPeriodsToAlert":2}}]},"autoMitigate":false,"muteActionsDuration":"PT30M","checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":true}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq02","name":"sq02","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:18.3768984Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:34:18.3768984Z"},"properties":{"description":"Test + rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/scheduledqueryrules/sq03","name":"sq03","type":"microsoft.insights/scheduledqueryrules","location":"eastus","systemData":{"createdBy":"v-jingszhang@microsoft.com","createdByType":"User","createdAt":"2021-08-13T02:34:55.7368901Z","lastModifiedBy":"v-jingszhang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-13T02:35:01.6019148Z"},"properties":{"description":"Test rule","severity":2,"enabled":true,"evaluationFrequency":"PT5M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001"],"windowSize":"PT5M","criteria":{"allOf":[{"query":"union - Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"muteActionsDuration":"PT30M"}}]}' + Event, Syslog | where TimeGenerated > ago(1h)","timeAggregation":"Count","dimensions":[],"resourceIdColumn":"_ResourceId","operator":"GreaterThan","threshold":360.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]},"autoMitigate":true,"actions":{"actionGroups":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/microsoft.insights/actionGroups/clitest000004"],"customProperties":{"k2":"v2"}},"checkWorkspaceAlertsStorageConfigured":false,"skipQueryValidation":false}}]}' headers: cache-control: - no-cache content-length: - - '1805' + - '3901' content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:24 GMT + - Fri, 13 Aug 2021 02:35:06 GMT expires: - '-1' pragma: @@ -1794,12 +2304,9 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-02-01-preview response: body: string: '' @@ -1809,7 +2316,7 @@ interactions: content-length: - '0' date: - - Thu, 05 Aug 2021 02:30:35 GMT + - Fri, 13 Aug 2021 02:35:16 GMT expires: - '-1' pragma: @@ -1839,12 +2346,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-monitor/2020-05-01-preview Azure-SDK-For-Python AZURECLI/2.27.0 - accept-language: - - en-US + - AZURECLI/2.27.0 azsdk-python-mgmt-monitor/1.0.0b1 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2020-05-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_scheduled_query000001/providers/Microsoft.Insights/scheduledQueryRules/sq01?api-version=2021-02-01-preview response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Insights/scheduledqueryrules/sq01'' @@ -1858,7 +2362,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 05 Aug 2021 02:30:37 GMT + - Fri, 13 Aug 2021 02:35:16 GMT expires: - '-1' pragma: diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/test_scheduled_query_scenario.py b/src/scheduled-query/azext_scheduled_query/tests/latest/test_scheduled_query_scenario.py index 2f0cacee8ea..d7d80909405 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/test_scheduled_query_scenario.py +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/test_scheduled_query_scenario.py @@ -22,9 +22,12 @@ def test_scheduled_query(self, resource_group): self.kwargs.update({ 'name1': 'sq01', 'name2': 'sq02', + 'name3': 'sq03', 'rg': resource_group, 'vm': 'myvm1', - 'ws': self.create_random_name('clitest', 20) + 'ws': self.create_random_name('clitest', 20), + 'action_group1': self.create_random_name('clitest', 20), + 'action_group2': self.create_random_name('clitest', 20) }) with mock.patch('azure.cli.command_modules.vm.custom._gen_guid', side_effect=self.create_guid): vm = self.cmd('vm create -n {vm} -g {rg} --image UbuntuLTS --nsg-rule None --workspace {ws} --generate-ssh-keys').get_output_in_json() @@ -46,7 +49,12 @@ def test_scheduled_query(self, resource_group): self.check('criteria.allOf[0].timeAggregation', 'Count'), self.check('criteria.allOf[0].operator', 'GreaterThan'), self.check('criteria.allOf[0].failingPeriods.minFailingPeriodsToAlert', 1), - self.check('criteria.allOf[0].failingPeriods.numberOfEvaluationPeriods', 1) + self.check('criteria.allOf[0].failingPeriods.numberOfEvaluationPeriods', 1), + self.check('criteria.allOf[0].failingPeriods.minFailingPeriodsToAlert', 1), + self.check('criteria.allOf[0].failingPeriods.numberOfEvaluationPeriods', 1), + self.check('autoMitigate', True), + self.check('skipQueryValidation', False), + self.check('checkWorkspaceAlertsStorageConfigured', False) ]) self.cmd('monitor scheduled-query create -g {rg} -n {name2} --scopes {rg_id} --condition "count \'union Event, Syslog | where TimeGenerated > ago(1h)\' > 360 resource id _ResourceId" --description "Test rule"', checks=[ @@ -68,13 +76,33 @@ def test_scheduled_query(self, resource_group): self.check('criteria.allOf[0].failingPeriods.minFailingPeriodsToAlert', 2), self.check('criteria.allOf[0].failingPeriods.numberOfEvaluationPeriods', 3) ]) + self.cmd('monitor scheduled-query update -g {rg} -n {name1} --mad PT30M --auto-mitigate False --skip-query-validation True', + checks=[ + self.check('skipQueryValidation', True), + self.check('muteActionsDuration', '0:30:00'), + self.check('autoMitigate', False) + ]) + action_group_1 = self.cmd('monitor action-group create -n {action_group1} -g {rg}').get_output_in_json() + action_group_2 = self.cmd('monitor action-group create -n {action_group2} -g {rg}').get_output_in_json() + self.kwargs.update({ + 'action_group_id_1': action_group_1['id'], + 'action_group_id_2': action_group_2['id'] + }) + self.cmd('monitor scheduled-query create -g {rg} -n {name3} --scopes {rg_id} --condition "count \'union Event, Syslog | where TimeGenerated > ago(1h)\' > 360 resource id _ResourceId" --description "Test rule" --action-groups {action_group_id_1} --custom-properties k1=v1', checks=[ + self.check('actions.actionGroups', [action_group_1['id']]), + self.check('actions.customProperties', {'k1':'v1'}) + ]) + self.cmd('monitor scheduled-query update -g {rg} -n {name3} --action-groups {action_group_id_2} --custom-properties k2=v2', checks=[ + self.check('actions.actionGroups', [action_group_2['id']]), + self.check('actions.customProperties', {'k2':'v2'}) + ]) self.cmd('monitor scheduled-query show -g {rg} -n {name1}', checks=[ self.check('name', '{name1}') ]) self.cmd('monitor scheduled-query list -g {rg}', checks=[ - self.check('length(@)', 2) + self.check('length(@)', 3) ]) self.cmd('monitor scheduled-query list', checks=[ diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/__init__.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/__init__.py index 940dc046983..d8247951009 100644 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/__init__.py +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/__init__.py @@ -1,19 +1,19 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._configuration import MonitorClientConfiguration -from ._monitor_client import MonitorClient -__all__ = ['MonitorClient', 'MonitorClientConfiguration'] - -from .version import VERSION +from ._monitor_management_client import MonitorManagementClient +from ._version import VERSION __version__ = VERSION +__all__ = ['MonitorManagementClient'] +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_configuration.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_configuration.py index b3de8cc8b8f..7ce16fb9f28 100644 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_configuration.py +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_configuration.py @@ -1,48 +1,71 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrestazure import AzureConfiguration -from .version import VERSION +from typing import TYPE_CHECKING +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + + +class MonitorManagementClientConfiguration(Configuration): + """Configuration for MonitorManagementClient. -class MonitorClientConfiguration(AzureConfiguration): - """Configuration for MonitorClient Note that all parameters used to create this instance are saved as instance attributes. - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: The Azure subscription Id. + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. :type subscription_id: str - :param str base_url: Service URL """ def __init__( - self, credentials, subscription_id, base_url=None): - - if credentials is None: - raise ValueError("Parameter 'credentials' must not be None.") + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - if not base_url: - base_url = 'https://management.azure.com' - - super(MonitorClientConfiguration, self).__init__(base_url) - - # Starting Autorest.Python 4.0.64, make connection pool activated by default - self.keep_alive = True + super(MonitorManagementClientConfiguration, self).__init__(**kwargs) - self.add_user_agent('azure-mgmt-monitor/{}'.format(VERSION)) - self.add_user_agent('Azure-SDK-For-Python') - - self.credentials = credentials + self.credential = credential self.subscription_id = subscription_id + self.api_version = "2021-02-01-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-monitor/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_monitor_client.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_monitor_client.py deleted file mode 100644 index 9126e1c0d2c..00000000000 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_monitor_client.py +++ /dev/null @@ -1,49 +0,0 @@ -# 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.service_client import SDKClient -from msrest import Serializer, Deserializer - -from ._configuration import MonitorClientConfiguration -from .operations import ScheduledQueryRulesOperations -from . import models - - -class MonitorClient(SDKClient): - """Monitor Management Client - - :ivar config: Configuration for client. - :vartype config: MonitorClientConfiguration - - :ivar scheduled_query_rules: ScheduledQueryRules operations - :vartype scheduled_query_rules: azure.mgmt.monitor.v2020_05_01_preview.operations.ScheduledQueryRulesOperations - - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: The Azure subscription Id. - :type subscription_id: str - :param str base_url: Service URL - """ - - def __init__( - self, credentials, subscription_id, base_url=None): - - self.config = MonitorClientConfiguration(credentials, subscription_id, base_url) - super(MonitorClient, self).__init__(self.config.credentials, self.config) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2020-05-01-preview' - self._serialize = Serializer(client_models) - self._deserialize = Deserializer(client_models) - - self.scheduled_query_rules = ScheduledQueryRulesOperations( - self._client, self.config, self._serialize, self._deserialize) diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_monitor_management_client.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_monitor_management_client.py new file mode 100644 index 00000000000..5dbe0e76d8d --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_monitor_management_client.py @@ -0,0 +1,88 @@ +# 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 typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import MonitorManagementClientConfiguration +from .operations import ScheduledQueryRulesOperations +from . import models + + +class MonitorManagementClient(object): + """Monitor Management Client. + + :ivar scheduled_query_rules: ScheduledQueryRulesOperations operations + :vartype scheduled_query_rules: $(python-base-namespace).v2021_02_preview.operations.ScheduledQueryRulesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = MonitorManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.scheduled_query_rules = ScheduledQueryRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> MonitorManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/version.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_version.py similarity index 82% rename from src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/version.py rename to src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_version.py index fc729cd3194..e5754a47ce6 100644 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/version.py +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/_version.py @@ -1,13 +1,9 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "2020-05-01-preview" - +VERSION = "1.0.0b1" diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/__init__.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/__init__.py new file mode 100644 index 00000000000..96ce9b45c05 --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/__init__.py @@ -0,0 +1,10 @@ +# 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 ._monitor_management_client import MonitorManagementClient +__all__ = ['MonitorManagementClient'] diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/_configuration.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/_configuration.py new file mode 100644 index 00000000000..0e2854d9ff4 --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/_configuration.py @@ -0,0 +1,67 @@ +# 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 typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from .._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class MonitorManagementClientConfiguration(Configuration): + """Configuration for MonitorManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(MonitorManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2021-02-01-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-monitor/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/_monitor_management_client.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/_monitor_management_client.py new file mode 100644 index 00000000000..78e116427b2 --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/_monitor_management_client.py @@ -0,0 +1,81 @@ +# 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 typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import MonitorManagementClientConfiguration +from .operations import ScheduledQueryRulesOperations +from .. import models + + +class MonitorManagementClient(object): + """Monitor Management Client. + + :ivar scheduled_query_rules: ScheduledQueryRulesOperations operations + :vartype scheduled_query_rules: $(python-base-namespace).v2021_02_preview.aio.operations.ScheduledQueryRulesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = MonitorManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.scheduled_query_rules = ScheduledQueryRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "MonitorManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/operations/__init__.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/operations/__init__.py new file mode 100644 index 00000000000..f677702ed3d --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/operations/__init__.py @@ -0,0 +1,13 @@ +# 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 ._scheduled_query_rules_operations import ScheduledQueryRulesOperations + +__all__ = [ + 'ScheduledQueryRulesOperations', +] diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/operations/_scheduled_query_rules_operations.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/operations/_scheduled_query_rules_operations.py new file mode 100644 index 00000000000..8a75626115d --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/aio/operations/_scheduled_query_rules_operations.py @@ -0,0 +1,433 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ScheduledQueryRulesOperations: + """ScheduledQueryRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~$(python-base-namespace).v2021_02_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + **kwargs: Any + ) -> AsyncIterable["_models.ScheduledQueryRuleResourceCollection"]: + """Retrieve a scheduled query rule definitions in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScheduledQueryRuleResourceCollection or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResourceCollection] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResourceCollection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ScheduledQueryRuleResourceCollection', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Insights/scheduledQueryRules'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.ScheduledQueryRuleResourceCollection"]: + """Retrieve scheduled query rule definitions in a resource group. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScheduledQueryRuleResourceCollection or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResourceCollection] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResourceCollection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ScheduledQueryRuleResourceCollection', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules'} # type: ignore + + async def get( + self, + resource_group_name: str, + rule_name: str, + **kwargs: Any + ) -> "_models.ScheduledQueryRuleResource": + """Retrieve an scheduled query rule definition. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ScheduledQueryRuleResource, or the result of cls(response) + :rtype: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ScheduledQueryRuleResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} # type: ignore + + async def create_or_update( + self, + resource_group_name: str, + rule_name: str, + parameters: "_models.ScheduledQueryRuleResource", + **kwargs: Any + ) -> "_models.ScheduledQueryRuleResource": + """Creates or updates a scheduled query rule. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :param parameters: The parameters of the rule to create or update. + :type parameters: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ScheduledQueryRuleResource, or the result of cls(response) + :rtype: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ScheduledQueryRuleResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ScheduledQueryRuleResource', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ScheduledQueryRuleResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} # type: ignore + + async def update( + self, + resource_group_name: str, + rule_name: str, + parameters: "_models.ScheduledQueryRuleResourcePatch", + **kwargs: Any + ) -> "_models.ScheduledQueryRuleResource": + """Update a scheduled query rule. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :param parameters: The parameters of the rule to update. + :type parameters: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResourcePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ScheduledQueryRuleResource, or the result of cls(response) + :rtype: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ScheduledQueryRuleResourcePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ScheduledQueryRuleResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} # type: ignore + + async def delete( + self, + resource_group_name: str, + rule_name: str, + **kwargs: Any + ) -> None: + """Deletes a scheduled query rule. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} # type: ignore diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/__init__.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/__init__.py index cfb55074177..fccf4920f88 100644 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/__init__.py +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/__init__.py @@ -1,68 +1,70 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- try: - from ._models_py3 import Action - from ._models_py3 import AzureEntityResource + from ._models_py3 import Actions from ._models_py3 import Condition from ._models_py3 import ConditionFailingPeriods from ._models_py3 import Dimension from ._models_py3 import ErrorAdditionalInfo - from ._models_py3 import ErrorContract, ErrorContractException + from ._models_py3 import ErrorContract from ._models_py3 import ErrorResponse - from ._models_py3 import ProxyResource from ._models_py3 import Resource from ._models_py3 import ScheduledQueryRuleCriteria from ._models_py3 import ScheduledQueryRuleResource + from ._models_py3 import ScheduledQueryRuleResourceCollection from ._models_py3 import ScheduledQueryRuleResourcePatch + from ._models_py3 import SystemData from ._models_py3 import TrackedResource except (SyntaxError, ImportError): - from ._models import Action - from ._models import AzureEntityResource - from ._models import Condition - from ._models import ConditionFailingPeriods - from ._models import Dimension - from ._models import ErrorAdditionalInfo - from ._models import ErrorContract, ErrorContractException - from ._models import ErrorResponse - from ._models import ProxyResource - from ._models import Resource - from ._models import ScheduledQueryRuleCriteria - from ._models import ScheduledQueryRuleResource - from ._models import ScheduledQueryRuleResourcePatch - from ._models import TrackedResource -from ._paged_models import ScheduledQueryRuleResourcePaged -from ._monitor_client_enums import ( - TimeAggregation, - DimensionOperator, + from ._models import Actions # type: ignore + from ._models import Condition # type: ignore + from ._models import ConditionFailingPeriods # type: ignore + from ._models import Dimension # type: ignore + from ._models import ErrorAdditionalInfo # type: ignore + from ._models import ErrorContract # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import Resource # type: ignore + from ._models import ScheduledQueryRuleCriteria # type: ignore + from ._models import ScheduledQueryRuleResource # type: ignore + from ._models import ScheduledQueryRuleResourceCollection # type: ignore + from ._models import ScheduledQueryRuleResourcePatch # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackedResource # type: ignore + +from ._monitor_management_client_enums import ( + AlertSeverity, ConditionOperator, + CreatedByType, + DimensionOperator, + Kind, + TimeAggregation, ) __all__ = [ - 'Action', - 'AzureEntityResource', + 'Actions', 'Condition', 'ConditionFailingPeriods', 'Dimension', 'ErrorAdditionalInfo', - 'ErrorContract', 'ErrorContractException', + 'ErrorContract', 'ErrorResponse', - 'ProxyResource', 'Resource', 'ScheduledQueryRuleCriteria', 'ScheduledQueryRuleResource', + 'ScheduledQueryRuleResourceCollection', 'ScheduledQueryRuleResourcePatch', + 'SystemData', 'TrackedResource', - 'ScheduledQueryRuleResourcePaged', - 'TimeAggregation', - 'DimensionOperator', + 'AlertSeverity', 'ConditionOperator', + 'CreatedByType', + 'DimensionOperator', + 'Kind', + 'TimeAggregation', ] diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_models.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_models.py index c5e78eef7c5..ba9ddba3519 100644 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_models.py +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_models.py @@ -1,160 +1,71 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError +from azure.core.exceptions import HttpResponseError +import msrest.serialization -class Action(Model): +class Actions(msrest.serialization.Model): """Actions to invoke when the alert fires. - :param action_group_id: Action Group resource Id to invoke when the alert - fires. - :type action_group_id: str - :param web_hook_properties: The properties of a webhook object. - :type web_hook_properties: dict[str, str] + :param action_groups: Action Group resource Ids to invoke when the alert fires. + :type action_groups: list[str] + :param custom_properties: The properties of an alert payload. + :type custom_properties: dict[str, str] """ _attribute_map = { - 'action_group_id': {'key': 'actionGroupId', 'type': 'str'}, - 'web_hook_properties': {'key': 'webHookProperties', 'type': '{str}'}, + 'action_groups': {'key': 'actionGroups', 'type': '[str]'}, + 'custom_properties': {'key': 'customProperties', 'type': '{str}'}, } - def __init__(self, **kwargs): - super(Action, self).__init__(**kwargs) - self.action_group_id = kwargs.get('action_group_id', None) - self.web_hook_properties = kwargs.get('web_hook_properties', None) + def __init__( + self, + **kwargs + ): + super(Actions, self).__init__(**kwargs) + self.action_groups = kwargs.get('action_groups', None) + self.custom_properties = kwargs.get('custom_properties', None) -class Resource(Model): - """Resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class AzureEntityResource(Resource): - """The resource model definition for a Azure Resource Manager resource with an - etag. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(AzureEntityResource, self).__init__(**kwargs) - self.etag = None - - -class CloudError(Model): - """CloudError. - """ - - _attribute_map = { - } - - -class Condition(Model): +class Condition(msrest.serialization.Model): """A condition of the scheduled query rule. - All required parameters must be populated in order to send to Azure. - - :param query: Log query alert + :param query: Log query alert. :type query: str - :param time_aggregation: Required. Aggregation type. Possible values - include: 'Count', 'Average', 'Minimum', 'Maximum', 'Total' + :param time_aggregation: Aggregation type. Relevant and required only for rules of the kind + LogAlert. Possible values include: "Count", "Average", "Minimum", "Maximum", "Total". :type time_aggregation: str or - ~azure.mgmt.monitor.v2020_05_01_preview.models.TimeAggregation - :param metric_measure_column: The column containing the metric measure - number. + ~$(python-base-namespace).v2021_02_preview.models.TimeAggregation + :param metric_measure_column: The column containing the metric measure number. Relevant only + for rules of the kind LogAlert. :type metric_measure_column: str - :param resource_id_column: The column containing the resource id. The - content of the column must be a uri formatted as resource id + :param resource_id_column: The column containing the resource id. The content of the column + must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert. :type resource_id_column: str - :param dimensions: List of Dimensions conditions - :type dimensions: - list[~azure.mgmt.monitor.v2020_05_01_preview.models.Dimension] - :param operator: Required. The criteria operator. Possible values include: - 'Equals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', - 'LessThanOrEqual' - :type operator: str or - ~azure.mgmt.monitor.v2020_05_01_preview.models.ConditionOperator - :param threshold: Required. the criteria threshold value that activates - the alert. - :type threshold: int - :param failing_periods: The minimum number of violations required within - the selected lookback time window required to raise an alert. + :param dimensions: List of Dimensions conditions. + :type dimensions: list[~$(python-base-namespace).v2021_02_preview.models.Dimension] + :param operator: The criteria operator. Relevant and required only for rules of the kind + LogAlert. Possible values include: "Equals", "GreaterThan", "GreaterThanOrEqual", "LessThan", + "LessThanOrEqual". + :type operator: str or ~$(python-base-namespace).v2021_02_preview.models.ConditionOperator + :param threshold: the criteria threshold value that activates the alert. Relevant and required + only for rules of the kind LogAlert. + :type threshold: float + :param failing_periods: The minimum number of violations required within the selected lookback + time window required to raise an alert. Relevant only for rules of the kind LogAlert. :type failing_periods: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ConditionFailingPeriods + ~$(python-base-namespace).v2021_02_preview.models.ConditionFailingPeriods + :param metric_name: The name of the metric to be sent. Relevant and required only for rules of + the kind LogToMetric. + :type metric_name: str """ - _validation = { - 'time_aggregation': {'required': True}, - 'operator': {'required': True}, - 'threshold': {'required': True}, - } - _attribute_map = { 'query': {'key': 'query', 'type': 'str'}, 'time_aggregation': {'key': 'timeAggregation', 'type': 'str'}, @@ -162,11 +73,15 @@ class Condition(Model): 'resource_id_column': {'key': 'resourceIdColumn', 'type': 'str'}, 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, 'operator': {'key': 'operator', 'type': 'str'}, - 'threshold': {'key': 'threshold', 'type': 'int'}, + 'threshold': {'key': 'threshold', 'type': 'float'}, 'failing_periods': {'key': 'failingPeriods', 'type': 'ConditionFailingPeriods'}, + 'metric_name': {'key': 'metricName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Condition, self).__init__(**kwargs) self.query = kwargs.get('query', None) self.time_aggregation = kwargs.get('time_aggregation', None) @@ -176,46 +91,46 @@ def __init__(self, **kwargs): self.operator = kwargs.get('operator', None) self.threshold = kwargs.get('threshold', None) self.failing_periods = kwargs.get('failing_periods', None) + self.metric_name = kwargs.get('metric_name', None) -class ConditionFailingPeriods(Model): - """The minimum number of violations required within the selected lookback time - window required to raise an alert. +class ConditionFailingPeriods(msrest.serialization.Model): + """The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert. - :param number_of_evaluation_periods: The number of aggregated lookback - points. The lookback time window is calculated based on the aggregation - granularity (windowSize) and the selected number of aggregated points. - Default value is 1 - :type number_of_evaluation_periods: int - :param min_failing_periods_to_alert: The number of violations to trigger - an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default - value is 1 - :type min_failing_periods_to_alert: int + :param number_of_evaluation_periods: The number of aggregated lookback points. The lookback + time window is calculated based on the aggregation granularity (windowSize) and the selected + number of aggregated points. Default value is 1. + :type number_of_evaluation_periods: long + :param min_failing_periods_to_alert: The number of violations to trigger an alert. Should be + smaller or equal to numberOfEvaluationPeriods. Default value is 1. + :type min_failing_periods_to_alert: long """ _attribute_map = { - 'number_of_evaluation_periods': {'key': 'numberOfEvaluationPeriods', 'type': 'int'}, - 'min_failing_periods_to_alert': {'key': 'minFailingPeriodsToAlert', 'type': 'int'}, + 'number_of_evaluation_periods': {'key': 'numberOfEvaluationPeriods', 'type': 'long'}, + 'min_failing_periods_to_alert': {'key': 'minFailingPeriodsToAlert', 'type': 'long'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConditionFailingPeriods, self).__init__(**kwargs) - self.number_of_evaluation_periods = kwargs.get('number_of_evaluation_periods', None) - self.min_failing_periods_to_alert = kwargs.get('min_failing_periods_to_alert', None) + self.number_of_evaluation_periods = kwargs.get('number_of_evaluation_periods', 1) + self.min_failing_periods_to_alert = kwargs.get('min_failing_periods_to_alert', 1) -class Dimension(Model): +class Dimension(msrest.serialization.Model): """Dimension splitting and filtering definition. All required parameters must be populated in order to send to Azure. - :param name: Required. Name of the dimension + :param name: Required. Name of the dimension. :type name: str - :param operator: Required. Operator for dimension values. Possible values - include: 'Include', 'Exclude' - :type operator: str or - ~azure.mgmt.monitor.v2020_05_01_preview.models.DimensionOperator - :param values: Required. List of dimension values + :param operator: Required. Operator for dimension values. Possible values include: "Include", + "Exclude". + :type operator: str or ~$(python-base-namespace).v2021_02_preview.models.DimensionOperator + :param values: Required. List of dimension values. :type values: list[str] """ @@ -231,23 +146,25 @@ class Dimension(Model): 'values': {'key': 'values', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Dimension, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.operator = kwargs.get('operator', None) - self.values = kwargs.get('values', None) + self.name = kwargs['name'] + self.operator = kwargs['operator'] + self.values = kwargs['values'] -class ErrorAdditionalInfo(Model): +class ErrorAdditionalInfo(msrest.serialization.Model): """The resource management error additional info. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. - :vartype info: object + :vartype info: any """ _validation = { @@ -260,45 +177,38 @@ class ErrorAdditionalInfo(Model): 'info': {'key': 'info', 'type': 'object'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ErrorAdditionalInfo, self).__init__(**kwargs) self.type = None self.info = None -class ErrorContract(Model): +class ErrorContract(msrest.serialization.Model): """Describes the format of Error response. :param error: The error details. - :type error: ~azure.mgmt.monitor.v2020_05_01_preview.models.ErrorResponse + :type error: ~$(python-base-namespace).v2021_02_preview.models.ErrorResponse """ _attribute_map = { 'error': {'key': 'error', 'type': 'ErrorResponse'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ErrorContract, self).__init__(**kwargs) self.error = kwargs.get('error', None) -class ErrorContractException(HttpOperationError): - """Server responsed with exception of type: 'ErrorContract'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): - - super(ErrorContractException, self).__init__(deserialize, response, 'ErrorContract', *args) - +class ErrorResponse(msrest.serialization.Model): + """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). -class ErrorResponse(Model): - """The resource management error response. - - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar code: The error code. :vartype code: str @@ -307,11 +217,10 @@ class ErrorResponse(Model): :ivar target: The error target. :vartype target: str :ivar details: The error details. - :vartype details: - list[~azure.mgmt.monitor.v2020_05_01_preview.models.ErrorResponse] + :vartype details: list[~$(python-base-namespace).v2021_02_preview.models.ErrorResponse] :ivar additional_info: The error additional info. :vartype additional_info: - list[~azure.mgmt.monitor.v2020_05_01_preview.models.ErrorAdditionalInfo] + list[~$(python-base-namespace).v2021_02_preview.models.ErrorAdditionalInfo] """ _validation = { @@ -330,7 +239,10 @@ class ErrorResponse(Model): 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ErrorResponse, self).__init__(**kwargs) self.code = None self.message = None @@ -339,20 +251,18 @@ def __init__(self, **kwargs): self.additional_info = None -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have - everything other than required location and tags. +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str """ @@ -368,47 +278,53 @@ class ProxyResource(Resource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs): - super(ProxyResource, self).__init__(**kwargs) + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None -class ScheduledQueryRuleCriteria(Model): +class ScheduledQueryRuleCriteria(msrest.serialization.Model): """The rule criteria that defines the conditions of the scheduled query rule. - :param all_of: A list of conditions to evaluate against the specified - scopes - :type all_of: - list[~azure.mgmt.monitor.v2020_05_01_preview.models.Condition] + :param all_of: A list of conditions to evaluate against the specified scopes. + :type all_of: list[~$(python-base-namespace).v2021_02_preview.models.Condition] """ _attribute_map = { 'all_of': {'key': 'allOf', 'type': '[Condition]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ScheduledQueryRuleCriteria, self).__init__(**kwargs) self.all_of = kwargs.get('all_of', None) class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives + :param location: Required. The geo-location where the resource lives. :type location: str """ @@ -427,65 +343,97 @@ class TrackedResource(Resource): 'location': {'key': 'location', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(TrackedResource, self).__init__(**kwargs) self.tags = kwargs.get('tags', None) - self.location = kwargs.get('location', None) + self.location = kwargs['location'] class ScheduledQueryRuleResource(TrackedResource): """The scheduled query rule resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives + :param location: Required. The geo-location where the resource lives. :type location: str + :param kind: Indicates the type of scheduled query rule. The default is LogAlert. Possible + values include: "LogAlert", "LogToMetric". + :type kind: str or ~$(python-base-namespace).v2021_02_preview.models.Kind + :ivar etag: The etag field is *not* required. If it is provided in the response body, it must + also be provided as a header per the normal etag convention. Entity tags are used for + comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in + the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range + (section 14.27) header fields. + :vartype etag: str + :ivar system_data: SystemData of ScheduledQueryRule. + :vartype system_data: ~$(python-base-namespace).v2021_02_preview.models.SystemData + :ivar created_with_api_version: The api-version used when creating this alert rule. + :vartype created_with_api_version: str + :ivar is_legacy_log_analytics_rule: True if alert rule is legacy Log Analytic rule. + :vartype is_legacy_log_analytics_rule: bool :param description: The description of the scheduled query rule. :type description: str - :param severity: Severity of the alert. Should be an integer between - [0-4]. Value of 0 is severest - :type severity: int - :param enabled: The flag which indicates whether this scheduled query rule - is enabled. Value should be true or false + :param display_name: The display name of the alert rule. + :type display_name: str + :param severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is + severest. Relevant and required only for rules of the kind LogAlert. Possible values include: + 0, 1, 2, 3, 4. + :type severity: str or ~$(python-base-namespace).v2021_02_preview.models.AlertSeverity + :param enabled: The flag which indicates whether this scheduled query rule is enabled. Value + should be true or false. :type enabled: bool - :param scopes: The list of resource id's that this scheduled query rule is - scoped to. + :param scopes: The list of resource id's that this scheduled query rule is scoped to. :type scopes: list[str] - :param evaluation_frequency: How often the scheduled query rule is - evaluated represented in ISO 8601 duration format. - :type evaluation_frequency: timedelta - :param window_size: The period of time (in ISO 8601 duration format) on - which the Alert query will be executed (bin size). - :type window_size: timedelta - :param target_resource_types: List of resource type of the target - resource(s) on which the alert is created/updated. For example if the - scope is a resource group and targetResourceTypes is - Microsoft.Compute/virtualMachines, then a different alert will be fired - for each virtual machine in the resource group which meet the alert - criteria + :param evaluation_frequency: How often the scheduled query rule is evaluated represented in ISO + 8601 duration format. Relevant and required only for rules of the kind LogAlert. + :type evaluation_frequency: ~datetime.timedelta + :param window_size: The period of time (in ISO 8601 duration format) on which the Alert query + will be executed (bin size). Relevant and required only for rules of the kind LogAlert. + :type window_size: ~datetime.timedelta + :param override_query_time_range: If specified then overrides the query time range (default is + WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. + :type override_query_time_range: ~datetime.timedelta + :param target_resource_types: List of resource type of the target resource(s) on which the + alert is created/updated. For example if the scope is a resource group and targetResourceTypes + is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual + machine in the resource group which meet the alert criteria. Relevant only for rules of the + kind LogAlert. :type target_resource_types: list[str] - :param criteria: The rule criteria that defines the conditions of the - scheduled query rule. - :type criteria: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleCriteria - :param mute_actions_duration: Mute actions for the chosen period of time - (in ISO 8601 duration format) after the alert is fired. - :type mute_actions_duration: timedelta - :param actions: - :type actions: list[~azure.mgmt.monitor.v2020_05_01_preview.models.Action] + :param criteria: The rule criteria that defines the conditions of the scheduled query rule. + :type criteria: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleCriteria + :param mute_actions_duration: Mute actions for the chosen period of time (in ISO 8601 duration + format) after the alert is fired. Relevant only for rules of the kind LogAlert. + :type mute_actions_duration: ~datetime.timedelta + :param actions: Actions to invoke when the alert fires. + :type actions: ~$(python-base-namespace).v2021_02_preview.models.Actions + :ivar is_workspace_alerts_storage_configured: The flag which indicates whether this scheduled + query rule has been configured to be stored in the customer's storage. The default is false. + :vartype is_workspace_alerts_storage_configured: bool + :param check_workspace_alerts_storage_configured: The flag which indicates whether this + scheduled query rule should be stored in the customer's storage. The default is false. Relevant + only for rules of the kind LogAlert. + :type check_workspace_alerts_storage_configured: bool + :param skip_query_validation: The flag which indicates whether the provided query should be + validated or not. The default is false. Relevant only for rules of the kind LogAlert. + :type skip_query_validation: bool + :param auto_mitigate: The flag that indicates whether the alert should be automatically + resolved or not. The default is true. Relevant only for rules of the kind LogAlert. + :type auto_mitigate: bool """ _validation = { @@ -493,6 +441,11 @@ class ScheduledQueryRuleResource(TrackedResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'etag': {'readonly': True}, + 'system_data': {'readonly': True}, + 'created_with_api_version': {'readonly': True}, + 'is_legacy_log_analytics_rule': {'readonly': True}, + 'is_workspace_alerts_storage_configured': {'readonly': True}, } _attribute_map = { @@ -501,96 +454,228 @@ class ScheduledQueryRuleResource(TrackedResource): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'created_with_api_version': {'key': 'properties.createdWithApiVersion', 'type': 'str'}, + 'is_legacy_log_analytics_rule': {'key': 'properties.isLegacyLogAnalyticsRule', 'type': 'bool'}, 'description': {'key': 'properties.description', 'type': 'str'}, + 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'severity': {'key': 'properties.severity', 'type': 'int'}, 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, 'scopes': {'key': 'properties.scopes', 'type': '[str]'}, 'evaluation_frequency': {'key': 'properties.evaluationFrequency', 'type': 'duration'}, 'window_size': {'key': 'properties.windowSize', 'type': 'duration'}, + 'override_query_time_range': {'key': 'properties.overrideQueryTimeRange', 'type': 'duration'}, 'target_resource_types': {'key': 'properties.targetResourceTypes', 'type': '[str]'}, 'criteria': {'key': 'properties.criteria', 'type': 'ScheduledQueryRuleCriteria'}, 'mute_actions_duration': {'key': 'properties.muteActionsDuration', 'type': 'duration'}, - 'actions': {'key': 'properties.actions', 'type': '[Action]'}, + 'actions': {'key': 'properties.actions', 'type': 'Actions'}, + 'is_workspace_alerts_storage_configured': {'key': 'properties.isWorkspaceAlertsStorageConfigured', 'type': 'bool'}, + 'check_workspace_alerts_storage_configured': {'key': 'properties.checkWorkspaceAlertsStorageConfigured', 'type': 'bool'}, + 'skip_query_validation': {'key': 'properties.skipQueryValidation', 'type': 'bool'}, + 'auto_mitigate': {'key': 'properties.autoMitigate', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ScheduledQueryRuleResource, self).__init__(**kwargs) + self.kind = kwargs.get('kind', None) + self.etag = None + self.system_data = None + self.created_with_api_version = None + self.is_legacy_log_analytics_rule = None self.description = kwargs.get('description', None) + self.display_name = kwargs.get('display_name', None) self.severity = kwargs.get('severity', None) self.enabled = kwargs.get('enabled', None) self.scopes = kwargs.get('scopes', None) self.evaluation_frequency = kwargs.get('evaluation_frequency', None) self.window_size = kwargs.get('window_size', None) + self.override_query_time_range = kwargs.get('override_query_time_range', None) self.target_resource_types = kwargs.get('target_resource_types', None) self.criteria = kwargs.get('criteria', None) self.mute_actions_duration = kwargs.get('mute_actions_duration', None) self.actions = kwargs.get('actions', None) + self.is_workspace_alerts_storage_configured = None + self.check_workspace_alerts_storage_configured = kwargs.get('check_workspace_alerts_storage_configured', None) + self.skip_query_validation = kwargs.get('skip_query_validation', None) + self.auto_mitigate = kwargs.get('auto_mitigate', None) -class ScheduledQueryRuleResourcePatch(Model): +class ScheduledQueryRuleResourceCollection(msrest.serialization.Model): + """Represents a collection of scheduled query rule resources. + + :param value: The values for the scheduled query rule resources. + :type value: list[~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ScheduledQueryRuleResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(ScheduledQueryRuleResourceCollection, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class ScheduledQueryRuleResourcePatch(msrest.serialization.Model): """The scheduled query rule resource for patch operations. - :param tags: Resource tags + Variables are only populated by the server, and will be ignored when sending a request. + + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :ivar created_with_api_version: The api-version used when creating this alert rule. + :vartype created_with_api_version: str + :ivar is_legacy_log_analytics_rule: True if alert rule is legacy Log Analytic rule. + :vartype is_legacy_log_analytics_rule: bool :param description: The description of the scheduled query rule. :type description: str - :param severity: Severity of the alert. Should be an integer between - [0-4]. Value of 0 is severest - :type severity: int - :param enabled: The flag which indicates whether this scheduled query rule - is enabled. Value should be true or false + :param display_name: The display name of the alert rule. + :type display_name: str + :param severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is + severest. Relevant and required only for rules of the kind LogAlert. Possible values include: + 0, 1, 2, 3, 4. + :type severity: str or ~$(python-base-namespace).v2021_02_preview.models.AlertSeverity + :param enabled: The flag which indicates whether this scheduled query rule is enabled. Value + should be true or false. :type enabled: bool - :param scopes: The list of resource id's that this scheduled query rule is - scoped to. + :param scopes: The list of resource id's that this scheduled query rule is scoped to. :type scopes: list[str] - :param evaluation_frequency: How often the scheduled query rule is - evaluated represented in ISO 8601 duration format. - :type evaluation_frequency: timedelta - :param window_size: The period of time (in ISO 8601 duration format) on - which the Alert query will be executed (bin size). - :type window_size: timedelta - :param target_resource_types: List of resource type of the target - resource(s) on which the alert is created/updated. For example if the - scope is a resource group and targetResourceTypes is - Microsoft.Compute/virtualMachines, then a different alert will be fired - for each virtual machine in the resource group which meet the alert - criteria + :param evaluation_frequency: How often the scheduled query rule is evaluated represented in ISO + 8601 duration format. Relevant and required only for rules of the kind LogAlert. + :type evaluation_frequency: ~datetime.timedelta + :param window_size: The period of time (in ISO 8601 duration format) on which the Alert query + will be executed (bin size). Relevant and required only for rules of the kind LogAlert. + :type window_size: ~datetime.timedelta + :param override_query_time_range: If specified then overrides the query time range (default is + WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. + :type override_query_time_range: ~datetime.timedelta + :param target_resource_types: List of resource type of the target resource(s) on which the + alert is created/updated. For example if the scope is a resource group and targetResourceTypes + is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual + machine in the resource group which meet the alert criteria. Relevant only for rules of the + kind LogAlert. :type target_resource_types: list[str] - :param criteria: The rule criteria that defines the conditions of the - scheduled query rule. - :type criteria: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleCriteria - :param mute_actions_duration: Mute actions for the chosen period of time - (in ISO 8601 duration format) after the alert is fired. - :type mute_actions_duration: timedelta - :param actions: - :type actions: list[~azure.mgmt.monitor.v2020_05_01_preview.models.Action] + :param criteria: The rule criteria that defines the conditions of the scheduled query rule. + :type criteria: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleCriteria + :param mute_actions_duration: Mute actions for the chosen period of time (in ISO 8601 duration + format) after the alert is fired. Relevant only for rules of the kind LogAlert. + :type mute_actions_duration: ~datetime.timedelta + :param actions: Actions to invoke when the alert fires. + :type actions: ~$(python-base-namespace).v2021_02_preview.models.Actions + :ivar is_workspace_alerts_storage_configured: The flag which indicates whether this scheduled + query rule has been configured to be stored in the customer's storage. The default is false. + :vartype is_workspace_alerts_storage_configured: bool + :param check_workspace_alerts_storage_configured: The flag which indicates whether this + scheduled query rule should be stored in the customer's storage. The default is false. Relevant + only for rules of the kind LogAlert. + :type check_workspace_alerts_storage_configured: bool + :param skip_query_validation: The flag which indicates whether the provided query should be + validated or not. The default is false. Relevant only for rules of the kind LogAlert. + :type skip_query_validation: bool + :param auto_mitigate: The flag that indicates whether the alert should be automatically + resolved or not. The default is true. Relevant only for rules of the kind LogAlert. + :type auto_mitigate: bool """ + _validation = { + 'created_with_api_version': {'readonly': True}, + 'is_legacy_log_analytics_rule': {'readonly': True}, + 'is_workspace_alerts_storage_configured': {'readonly': True}, + } + _attribute_map = { 'tags': {'key': 'tags', 'type': '{str}'}, + 'created_with_api_version': {'key': 'properties.createdWithApiVersion', 'type': 'str'}, + 'is_legacy_log_analytics_rule': {'key': 'properties.isLegacyLogAnalyticsRule', 'type': 'bool'}, 'description': {'key': 'properties.description', 'type': 'str'}, + 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'severity': {'key': 'properties.severity', 'type': 'int'}, 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, 'scopes': {'key': 'properties.scopes', 'type': '[str]'}, 'evaluation_frequency': {'key': 'properties.evaluationFrequency', 'type': 'duration'}, 'window_size': {'key': 'properties.windowSize', 'type': 'duration'}, + 'override_query_time_range': {'key': 'properties.overrideQueryTimeRange', 'type': 'duration'}, 'target_resource_types': {'key': 'properties.targetResourceTypes', 'type': '[str]'}, 'criteria': {'key': 'properties.criteria', 'type': 'ScheduledQueryRuleCriteria'}, 'mute_actions_duration': {'key': 'properties.muteActionsDuration', 'type': 'duration'}, - 'actions': {'key': 'properties.actions', 'type': '[Action]'}, + 'actions': {'key': 'properties.actions', 'type': 'Actions'}, + 'is_workspace_alerts_storage_configured': {'key': 'properties.isWorkspaceAlertsStorageConfigured', 'type': 'bool'}, + 'check_workspace_alerts_storage_configured': {'key': 'properties.checkWorkspaceAlertsStorageConfigured', 'type': 'bool'}, + 'skip_query_validation': {'key': 'properties.skipQueryValidation', 'type': 'bool'}, + 'auto_mitigate': {'key': 'properties.autoMitigate', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ScheduledQueryRuleResourcePatch, self).__init__(**kwargs) self.tags = kwargs.get('tags', None) + self.created_with_api_version = None + self.is_legacy_log_analytics_rule = None self.description = kwargs.get('description', None) + self.display_name = kwargs.get('display_name', None) self.severity = kwargs.get('severity', None) self.enabled = kwargs.get('enabled', None) self.scopes = kwargs.get('scopes', None) self.evaluation_frequency = kwargs.get('evaluation_frequency', None) self.window_size = kwargs.get('window_size', None) + self.override_query_time_range = kwargs.get('override_query_time_range', None) self.target_resource_types = kwargs.get('target_resource_types', None) self.criteria = kwargs.get('criteria', None) self.mute_actions_duration = kwargs.get('mute_actions_duration', None) self.actions = kwargs.get('actions', None) + self.is_workspace_alerts_storage_configured = None + self.check_workspace_alerts_storage_configured = kwargs.get('check_workspace_alerts_storage_configured', None) + self.skip_query_validation = kwargs.get('skip_query_validation', None) + self.auto_mitigate = kwargs.get('auto_mitigate', None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~$(python-base-namespace).v2021_02_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or + ~$(python-base-namespace).v2021_02_preview.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_models_py3.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_models_py3.py index e9d2d107998..2bf58582dfe 100644 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_models_py3.py +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_models_py3.py @@ -1,160 +1,79 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError +import datetime +from typing import Dict, List, Optional, Union +from azure.core.exceptions import HttpResponseError +import msrest.serialization -class Action(Model): - """Actions to invoke when the alert fires. - - :param action_group_id: Action Group resource Id to invoke when the alert - fires. - :type action_group_id: str - :param web_hook_properties: The properties of a webhook object. - :type web_hook_properties: dict[str, str] - """ - - _attribute_map = { - 'action_group_id': {'key': 'actionGroupId', 'type': 'str'}, - 'web_hook_properties': {'key': 'webHookProperties', 'type': '{str}'}, - } +from ._monitor_management_client_enums import * - def __init__(self, *, action_group_id: str=None, web_hook_properties=None, **kwargs) -> None: - super(Action, self).__init__(**kwargs) - self.action_group_id = action_group_id - self.web_hook_properties = web_hook_properties +class Actions(msrest.serialization.Model): + """Actions to invoke when the alert fires. -class Resource(Model): - """Resource. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - :vartype type: str + :param action_groups: Action Group resource Ids to invoke when the alert fires. + :type action_groups: list[str] + :param custom_properties: The properties of an alert payload. + :type custom_properties: dict[str, str] """ - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, + 'action_groups': {'key': 'actionGroups', 'type': '[str]'}, + 'custom_properties': {'key': 'customProperties', 'type': '{str}'}, } - def __init__(self, **kwargs) -> None: - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class AzureEntityResource(Resource): - """The resource model definition for a Azure Resource Manager resource with an - etag. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - """ + def __init__( + self, + *, + action_groups: Optional[List[str]] = None, + custom_properties: Optional[Dict[str, str]] = None, + **kwargs + ): + super(Actions, self).__init__(**kwargs) + self.action_groups = action_groups + self.custom_properties = custom_properties - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - def __init__(self, **kwargs) -> None: - super(AzureEntityResource, self).__init__(**kwargs) - self.etag = None - - -class CloudError(Model): - """CloudError. - """ - - _attribute_map = { - } - - -class Condition(Model): +class Condition(msrest.serialization.Model): """A condition of the scheduled query rule. - All required parameters must be populated in order to send to Azure. - - :param query: Log query alert + :param query: Log query alert. :type query: str - :param time_aggregation: Required. Aggregation type. Possible values - include: 'Count', 'Average', 'Minimum', 'Maximum', 'Total' + :param time_aggregation: Aggregation type. Relevant and required only for rules of the kind + LogAlert. Possible values include: "Count", "Average", "Minimum", "Maximum", "Total". :type time_aggregation: str or - ~azure.mgmt.monitor.v2020_05_01_preview.models.TimeAggregation - :param metric_measure_column: The column containing the metric measure - number. + ~$(python-base-namespace).v2021_02_preview.models.TimeAggregation + :param metric_measure_column: The column containing the metric measure number. Relevant only + for rules of the kind LogAlert. :type metric_measure_column: str - :param resource_id_column: The column containing the resource id. The - content of the column must be a uri formatted as resource id + :param resource_id_column: The column containing the resource id. The content of the column + must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert. :type resource_id_column: str - :param dimensions: List of Dimensions conditions - :type dimensions: - list[~azure.mgmt.monitor.v2020_05_01_preview.models.Dimension] - :param operator: Required. The criteria operator. Possible values include: - 'Equals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', - 'LessThanOrEqual' - :type operator: str or - ~azure.mgmt.monitor.v2020_05_01_preview.models.ConditionOperator - :param threshold: Required. the criteria threshold value that activates - the alert. - :type threshold: int - :param failing_periods: The minimum number of violations required within - the selected lookback time window required to raise an alert. + :param dimensions: List of Dimensions conditions. + :type dimensions: list[~$(python-base-namespace).v2021_02_preview.models.Dimension] + :param operator: The criteria operator. Relevant and required only for rules of the kind + LogAlert. Possible values include: "Equals", "GreaterThan", "GreaterThanOrEqual", "LessThan", + "LessThanOrEqual". + :type operator: str or ~$(python-base-namespace).v2021_02_preview.models.ConditionOperator + :param threshold: the criteria threshold value that activates the alert. Relevant and required + only for rules of the kind LogAlert. + :type threshold: float + :param failing_periods: The minimum number of violations required within the selected lookback + time window required to raise an alert. Relevant only for rules of the kind LogAlert. :type failing_periods: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ConditionFailingPeriods + ~$(python-base-namespace).v2021_02_preview.models.ConditionFailingPeriods + :param metric_name: The name of the metric to be sent. Relevant and required only for rules of + the kind LogToMetric. + :type metric_name: str """ - _validation = { - 'time_aggregation': {'required': True}, - 'operator': {'required': True}, - 'threshold': {'required': True}, - } - _attribute_map = { 'query': {'key': 'query', 'type': 'str'}, 'time_aggregation': {'key': 'timeAggregation', 'type': 'str'}, @@ -162,11 +81,25 @@ class Condition(Model): 'resource_id_column': {'key': 'resourceIdColumn', 'type': 'str'}, 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, 'operator': {'key': 'operator', 'type': 'str'}, - 'threshold': {'key': 'threshold', 'type': 'int'}, + 'threshold': {'key': 'threshold', 'type': 'float'}, 'failing_periods': {'key': 'failingPeriods', 'type': 'ConditionFailingPeriods'}, + 'metric_name': {'key': 'metricName', 'type': 'str'}, } - def __init__(self, *, time_aggregation, operator, threshold: int, query: str=None, metric_measure_column: str=None, resource_id_column: str=None, dimensions=None, failing_periods=None, **kwargs) -> None: + def __init__( + self, + *, + query: Optional[str] = None, + time_aggregation: Optional[Union[str, "TimeAggregation"]] = None, + metric_measure_column: Optional[str] = None, + resource_id_column: Optional[str] = None, + dimensions: Optional[List["Dimension"]] = None, + operator: Optional[Union[str, "ConditionOperator"]] = None, + threshold: Optional[float] = None, + failing_periods: Optional["ConditionFailingPeriods"] = None, + metric_name: Optional[str] = None, + **kwargs + ): super(Condition, self).__init__(**kwargs) self.query = query self.time_aggregation = time_aggregation @@ -176,46 +109,49 @@ def __init__(self, *, time_aggregation, operator, threshold: int, query: str=Non self.operator = operator self.threshold = threshold self.failing_periods = failing_periods + self.metric_name = metric_name -class ConditionFailingPeriods(Model): - """The minimum number of violations required within the selected lookback time - window required to raise an alert. +class ConditionFailingPeriods(msrest.serialization.Model): + """The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert. - :param number_of_evaluation_periods: The number of aggregated lookback - points. The lookback time window is calculated based on the aggregation - granularity (windowSize) and the selected number of aggregated points. - Default value is 1 - :type number_of_evaluation_periods: int - :param min_failing_periods_to_alert: The number of violations to trigger - an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default - value is 1 - :type min_failing_periods_to_alert: int + :param number_of_evaluation_periods: The number of aggregated lookback points. The lookback + time window is calculated based on the aggregation granularity (windowSize) and the selected + number of aggregated points. Default value is 1. + :type number_of_evaluation_periods: long + :param min_failing_periods_to_alert: The number of violations to trigger an alert. Should be + smaller or equal to numberOfEvaluationPeriods. Default value is 1. + :type min_failing_periods_to_alert: long """ _attribute_map = { - 'number_of_evaluation_periods': {'key': 'numberOfEvaluationPeriods', 'type': 'int'}, - 'min_failing_periods_to_alert': {'key': 'minFailingPeriodsToAlert', 'type': 'int'}, + 'number_of_evaluation_periods': {'key': 'numberOfEvaluationPeriods', 'type': 'long'}, + 'min_failing_periods_to_alert': {'key': 'minFailingPeriodsToAlert', 'type': 'long'}, } - def __init__(self, *, number_of_evaluation_periods: int=None, min_failing_periods_to_alert: int=None, **kwargs) -> None: + def __init__( + self, + *, + number_of_evaluation_periods: Optional[int] = 1, + min_failing_periods_to_alert: Optional[int] = 1, + **kwargs + ): super(ConditionFailingPeriods, self).__init__(**kwargs) self.number_of_evaluation_periods = number_of_evaluation_periods self.min_failing_periods_to_alert = min_failing_periods_to_alert -class Dimension(Model): +class Dimension(msrest.serialization.Model): """Dimension splitting and filtering definition. All required parameters must be populated in order to send to Azure. - :param name: Required. Name of the dimension + :param name: Required. Name of the dimension. :type name: str - :param operator: Required. Operator for dimension values. Possible values - include: 'Include', 'Exclude' - :type operator: str or - ~azure.mgmt.monitor.v2020_05_01_preview.models.DimensionOperator - :param values: Required. List of dimension values + :param operator: Required. Operator for dimension values. Possible values include: "Include", + "Exclude". + :type operator: str or ~$(python-base-namespace).v2021_02_preview.models.DimensionOperator + :param values: Required. List of dimension values. :type values: list[str] """ @@ -231,23 +167,29 @@ class Dimension(Model): 'values': {'key': 'values', 'type': '[str]'}, } - def __init__(self, *, name: str, operator, values, **kwargs) -> None: + def __init__( + self, + *, + name: str, + operator: Union[str, "DimensionOperator"], + values: List[str], + **kwargs + ): super(Dimension, self).__init__(**kwargs) self.name = name self.operator = operator self.values = values -class ErrorAdditionalInfo(Model): +class ErrorAdditionalInfo(msrest.serialization.Model): """The resource management error additional info. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. - :vartype info: object + :vartype info: any """ _validation = { @@ -260,45 +202,40 @@ class ErrorAdditionalInfo(Model): 'info': {'key': 'info', 'type': 'object'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ErrorAdditionalInfo, self).__init__(**kwargs) self.type = None self.info = None -class ErrorContract(Model): +class ErrorContract(msrest.serialization.Model): """Describes the format of Error response. :param error: The error details. - :type error: ~azure.mgmt.monitor.v2020_05_01_preview.models.ErrorResponse + :type error: ~$(python-base-namespace).v2021_02_preview.models.ErrorResponse """ _attribute_map = { 'error': {'key': 'error', 'type': 'ErrorResponse'}, } - def __init__(self, *, error=None, **kwargs) -> None: + def __init__( + self, + *, + error: Optional["ErrorResponse"] = None, + **kwargs + ): super(ErrorContract, self).__init__(**kwargs) self.error = error -class ErrorContractException(HttpOperationError): - """Server responsed with exception of type: 'ErrorContract'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): +class ErrorResponse(msrest.serialization.Model): + """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). - super(ErrorContractException, self).__init__(deserialize, response, 'ErrorContract', *args) - - -class ErrorResponse(Model): - """The resource management error response. - - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar code: The error code. :vartype code: str @@ -307,11 +244,10 @@ class ErrorResponse(Model): :ivar target: The error target. :vartype target: str :ivar details: The error details. - :vartype details: - list[~azure.mgmt.monitor.v2020_05_01_preview.models.ErrorResponse] + :vartype details: list[~$(python-base-namespace).v2021_02_preview.models.ErrorResponse] :ivar additional_info: The error additional info. :vartype additional_info: - list[~azure.mgmt.monitor.v2020_05_01_preview.models.ErrorAdditionalInfo] + list[~$(python-base-namespace).v2021_02_preview.models.ErrorAdditionalInfo] """ _validation = { @@ -330,7 +266,10 @@ class ErrorResponse(Model): 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ErrorResponse, self).__init__(**kwargs) self.code = None self.message = None @@ -339,20 +278,18 @@ def __init__(self, **kwargs) -> None: self.additional_info = None -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have - everything other than required location and tags. +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str """ @@ -368,47 +305,55 @@ class ProxyResource(Resource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: - super(ProxyResource, self).__init__(**kwargs) + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None -class ScheduledQueryRuleCriteria(Model): +class ScheduledQueryRuleCriteria(msrest.serialization.Model): """The rule criteria that defines the conditions of the scheduled query rule. - :param all_of: A list of conditions to evaluate against the specified - scopes - :type all_of: - list[~azure.mgmt.monitor.v2020_05_01_preview.models.Condition] + :param all_of: A list of conditions to evaluate against the specified scopes. + :type all_of: list[~$(python-base-namespace).v2021_02_preview.models.Condition] """ _attribute_map = { 'all_of': {'key': 'allOf', 'type': '[Condition]'}, } - def __init__(self, *, all_of=None, **kwargs) -> None: + def __init__( + self, + *, + all_of: Optional[List["Condition"]] = None, + **kwargs + ): super(ScheduledQueryRuleCriteria, self).__init__(**kwargs) self.all_of = all_of class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives + :param location: Required. The geo-location where the resource lives. :type location: str """ @@ -427,7 +372,13 @@ class TrackedResource(Resource): 'location': {'key': 'location', 'type': 'str'}, } - def __init__(self, *, location: str, tags=None, **kwargs) -> None: + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): super(TrackedResource, self).__init__(**kwargs) self.tags = tags self.location = location @@ -436,56 +387,85 @@ def __init__(self, *, location: str, tags=None, **kwargs) -> None: class ScheduledQueryRuleResource(TrackedResource): """The scheduled query rule resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Fully qualified resource Id for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. Ex- - Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives + :param location: Required. The geo-location where the resource lives. :type location: str + :param kind: Indicates the type of scheduled query rule. The default is LogAlert. Possible + values include: "LogAlert", "LogToMetric". + :type kind: str or ~$(python-base-namespace).v2021_02_preview.models.Kind + :ivar etag: The etag field is *not* required. If it is provided in the response body, it must + also be provided as a header per the normal etag convention. Entity tags are used for + comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in + the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range + (section 14.27) header fields. + :vartype etag: str + :ivar system_data: SystemData of ScheduledQueryRule. + :vartype system_data: ~$(python-base-namespace).v2021_02_preview.models.SystemData + :ivar created_with_api_version: The api-version used when creating this alert rule. + :vartype created_with_api_version: str + :ivar is_legacy_log_analytics_rule: True if alert rule is legacy Log Analytic rule. + :vartype is_legacy_log_analytics_rule: bool :param description: The description of the scheduled query rule. :type description: str - :param severity: Severity of the alert. Should be an integer between - [0-4]. Value of 0 is severest - :type severity: int - :param enabled: The flag which indicates whether this scheduled query rule - is enabled. Value should be true or false + :param display_name: The display name of the alert rule. + :type display_name: str + :param severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is + severest. Relevant and required only for rules of the kind LogAlert. Possible values include: + 0, 1, 2, 3, 4. + :type severity: str or ~$(python-base-namespace).v2021_02_preview.models.AlertSeverity + :param enabled: The flag which indicates whether this scheduled query rule is enabled. Value + should be true or false. :type enabled: bool - :param scopes: The list of resource id's that this scheduled query rule is - scoped to. + :param scopes: The list of resource id's that this scheduled query rule is scoped to. :type scopes: list[str] - :param evaluation_frequency: How often the scheduled query rule is - evaluated represented in ISO 8601 duration format. - :type evaluation_frequency: timedelta - :param window_size: The period of time (in ISO 8601 duration format) on - which the Alert query will be executed (bin size). - :type window_size: timedelta - :param target_resource_types: List of resource type of the target - resource(s) on which the alert is created/updated. For example if the - scope is a resource group and targetResourceTypes is - Microsoft.Compute/virtualMachines, then a different alert will be fired - for each virtual machine in the resource group which meet the alert - criteria + :param evaluation_frequency: How often the scheduled query rule is evaluated represented in ISO + 8601 duration format. Relevant and required only for rules of the kind LogAlert. + :type evaluation_frequency: ~datetime.timedelta + :param window_size: The period of time (in ISO 8601 duration format) on which the Alert query + will be executed (bin size). Relevant and required only for rules of the kind LogAlert. + :type window_size: ~datetime.timedelta + :param override_query_time_range: If specified then overrides the query time range (default is + WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. + :type override_query_time_range: ~datetime.timedelta + :param target_resource_types: List of resource type of the target resource(s) on which the + alert is created/updated. For example if the scope is a resource group and targetResourceTypes + is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual + machine in the resource group which meet the alert criteria. Relevant only for rules of the + kind LogAlert. :type target_resource_types: list[str] - :param criteria: The rule criteria that defines the conditions of the - scheduled query rule. - :type criteria: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleCriteria - :param mute_actions_duration: Mute actions for the chosen period of time - (in ISO 8601 duration format) after the alert is fired. - :type mute_actions_duration: timedelta - :param actions: - :type actions: list[~azure.mgmt.monitor.v2020_05_01_preview.models.Action] + :param criteria: The rule criteria that defines the conditions of the scheduled query rule. + :type criteria: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleCriteria + :param mute_actions_duration: Mute actions for the chosen period of time (in ISO 8601 duration + format) after the alert is fired. Relevant only for rules of the kind LogAlert. + :type mute_actions_duration: ~datetime.timedelta + :param actions: Actions to invoke when the alert fires. + :type actions: ~$(python-base-namespace).v2021_02_preview.models.Actions + :ivar is_workspace_alerts_storage_configured: The flag which indicates whether this scheduled + query rule has been configured to be stored in the customer's storage. The default is false. + :vartype is_workspace_alerts_storage_configured: bool + :param check_workspace_alerts_storage_configured: The flag which indicates whether this + scheduled query rule should be stored in the customer's storage. The default is false. Relevant + only for rules of the kind LogAlert. + :type check_workspace_alerts_storage_configured: bool + :param skip_query_validation: The flag which indicates whether the provided query should be + validated or not. The default is false. Relevant only for rules of the kind LogAlert. + :type skip_query_validation: bool + :param auto_mitigate: The flag that indicates whether the alert should be automatically + resolved or not. The default is true. Relevant only for rules of the kind LogAlert. + :type auto_mitigate: bool """ _validation = { @@ -493,6 +473,11 @@ class ScheduledQueryRuleResource(TrackedResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'etag': {'readonly': True}, + 'system_data': {'readonly': True}, + 'created_with_api_version': {'readonly': True}, + 'is_legacy_log_analytics_rule': {'readonly': True}, + 'is_workspace_alerts_storage_configured': {'readonly': True}, } _attribute_map = { @@ -501,96 +486,273 @@ class ScheduledQueryRuleResource(TrackedResource): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'created_with_api_version': {'key': 'properties.createdWithApiVersion', 'type': 'str'}, + 'is_legacy_log_analytics_rule': {'key': 'properties.isLegacyLogAnalyticsRule', 'type': 'bool'}, 'description': {'key': 'properties.description', 'type': 'str'}, + 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'severity': {'key': 'properties.severity', 'type': 'int'}, 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, 'scopes': {'key': 'properties.scopes', 'type': '[str]'}, 'evaluation_frequency': {'key': 'properties.evaluationFrequency', 'type': 'duration'}, 'window_size': {'key': 'properties.windowSize', 'type': 'duration'}, + 'override_query_time_range': {'key': 'properties.overrideQueryTimeRange', 'type': 'duration'}, 'target_resource_types': {'key': 'properties.targetResourceTypes', 'type': '[str]'}, 'criteria': {'key': 'properties.criteria', 'type': 'ScheduledQueryRuleCriteria'}, 'mute_actions_duration': {'key': 'properties.muteActionsDuration', 'type': 'duration'}, - 'actions': {'key': 'properties.actions', 'type': '[Action]'}, + 'actions': {'key': 'properties.actions', 'type': 'Actions'}, + 'is_workspace_alerts_storage_configured': {'key': 'properties.isWorkspaceAlertsStorageConfigured', 'type': 'bool'}, + 'check_workspace_alerts_storage_configured': {'key': 'properties.checkWorkspaceAlertsStorageConfigured', 'type': 'bool'}, + 'skip_query_validation': {'key': 'properties.skipQueryValidation', 'type': 'bool'}, + 'auto_mitigate': {'key': 'properties.autoMitigate', 'type': 'bool'}, } - def __init__(self, *, location: str, tags=None, description: str=None, severity: int=None, enabled: bool=None, scopes=None, evaluation_frequency=None, window_size=None, target_resource_types=None, criteria=None, mute_actions_duration=None, actions=None, **kwargs) -> None: + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + kind: Optional[Union[str, "Kind"]] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + severity: Optional[Union[int, "AlertSeverity"]] = None, + enabled: Optional[bool] = None, + scopes: Optional[List[str]] = None, + evaluation_frequency: Optional[datetime.timedelta] = None, + window_size: Optional[datetime.timedelta] = None, + override_query_time_range: Optional[datetime.timedelta] = None, + target_resource_types: Optional[List[str]] = None, + criteria: Optional["ScheduledQueryRuleCriteria"] = None, + mute_actions_duration: Optional[datetime.timedelta] = None, + actions: Optional["Actions"] = None, + check_workspace_alerts_storage_configured: Optional[bool] = None, + skip_query_validation: Optional[bool] = None, + auto_mitigate: Optional[bool] = None, + **kwargs + ): super(ScheduledQueryRuleResource, self).__init__(tags=tags, location=location, **kwargs) + self.kind = kind + self.etag = None + self.system_data = None + self.created_with_api_version = None + self.is_legacy_log_analytics_rule = None self.description = description + self.display_name = display_name self.severity = severity self.enabled = enabled self.scopes = scopes self.evaluation_frequency = evaluation_frequency self.window_size = window_size + self.override_query_time_range = override_query_time_range self.target_resource_types = target_resource_types self.criteria = criteria self.mute_actions_duration = mute_actions_duration self.actions = actions + self.is_workspace_alerts_storage_configured = None + self.check_workspace_alerts_storage_configured = check_workspace_alerts_storage_configured + self.skip_query_validation = skip_query_validation + self.auto_mitigate = auto_mitigate -class ScheduledQueryRuleResourcePatch(Model): +class ScheduledQueryRuleResourceCollection(msrest.serialization.Model): + """Represents a collection of scheduled query rule resources. + + :param value: The values for the scheduled query rule resources. + :type value: list[~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ScheduledQueryRuleResource]'}, + } + + def __init__( + self, + *, + value: Optional[List["ScheduledQueryRuleResource"]] = None, + **kwargs + ): + super(ScheduledQueryRuleResourceCollection, self).__init__(**kwargs) + self.value = value + + +class ScheduledQueryRuleResourcePatch(msrest.serialization.Model): """The scheduled query rule resource for patch operations. - :param tags: Resource tags + Variables are only populated by the server, and will be ignored when sending a request. + + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :ivar created_with_api_version: The api-version used when creating this alert rule. + :vartype created_with_api_version: str + :ivar is_legacy_log_analytics_rule: True if alert rule is legacy Log Analytic rule. + :vartype is_legacy_log_analytics_rule: bool :param description: The description of the scheduled query rule. :type description: str - :param severity: Severity of the alert. Should be an integer between - [0-4]. Value of 0 is severest - :type severity: int - :param enabled: The flag which indicates whether this scheduled query rule - is enabled. Value should be true or false + :param display_name: The display name of the alert rule. + :type display_name: str + :param severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is + severest. Relevant and required only for rules of the kind LogAlert. Possible values include: + 0, 1, 2, 3, 4. + :type severity: str or ~$(python-base-namespace).v2021_02_preview.models.AlertSeverity + :param enabled: The flag which indicates whether this scheduled query rule is enabled. Value + should be true or false. :type enabled: bool - :param scopes: The list of resource id's that this scheduled query rule is - scoped to. + :param scopes: The list of resource id's that this scheduled query rule is scoped to. :type scopes: list[str] - :param evaluation_frequency: How often the scheduled query rule is - evaluated represented in ISO 8601 duration format. - :type evaluation_frequency: timedelta - :param window_size: The period of time (in ISO 8601 duration format) on - which the Alert query will be executed (bin size). - :type window_size: timedelta - :param target_resource_types: List of resource type of the target - resource(s) on which the alert is created/updated. For example if the - scope is a resource group and targetResourceTypes is - Microsoft.Compute/virtualMachines, then a different alert will be fired - for each virtual machine in the resource group which meet the alert - criteria + :param evaluation_frequency: How often the scheduled query rule is evaluated represented in ISO + 8601 duration format. Relevant and required only for rules of the kind LogAlert. + :type evaluation_frequency: ~datetime.timedelta + :param window_size: The period of time (in ISO 8601 duration format) on which the Alert query + will be executed (bin size). Relevant and required only for rules of the kind LogAlert. + :type window_size: ~datetime.timedelta + :param override_query_time_range: If specified then overrides the query time range (default is + WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. + :type override_query_time_range: ~datetime.timedelta + :param target_resource_types: List of resource type of the target resource(s) on which the + alert is created/updated. For example if the scope is a resource group and targetResourceTypes + is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual + machine in the resource group which meet the alert criteria. Relevant only for rules of the + kind LogAlert. :type target_resource_types: list[str] - :param criteria: The rule criteria that defines the conditions of the - scheduled query rule. - :type criteria: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleCriteria - :param mute_actions_duration: Mute actions for the chosen period of time - (in ISO 8601 duration format) after the alert is fired. - :type mute_actions_duration: timedelta - :param actions: - :type actions: list[~azure.mgmt.monitor.v2020_05_01_preview.models.Action] + :param criteria: The rule criteria that defines the conditions of the scheduled query rule. + :type criteria: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleCriteria + :param mute_actions_duration: Mute actions for the chosen period of time (in ISO 8601 duration + format) after the alert is fired. Relevant only for rules of the kind LogAlert. + :type mute_actions_duration: ~datetime.timedelta + :param actions: Actions to invoke when the alert fires. + :type actions: ~$(python-base-namespace).v2021_02_preview.models.Actions + :ivar is_workspace_alerts_storage_configured: The flag which indicates whether this scheduled + query rule has been configured to be stored in the customer's storage. The default is false. + :vartype is_workspace_alerts_storage_configured: bool + :param check_workspace_alerts_storage_configured: The flag which indicates whether this + scheduled query rule should be stored in the customer's storage. The default is false. Relevant + only for rules of the kind LogAlert. + :type check_workspace_alerts_storage_configured: bool + :param skip_query_validation: The flag which indicates whether the provided query should be + validated or not. The default is false. Relevant only for rules of the kind LogAlert. + :type skip_query_validation: bool + :param auto_mitigate: The flag that indicates whether the alert should be automatically + resolved or not. The default is true. Relevant only for rules of the kind LogAlert. + :type auto_mitigate: bool """ + _validation = { + 'created_with_api_version': {'readonly': True}, + 'is_legacy_log_analytics_rule': {'readonly': True}, + 'is_workspace_alerts_storage_configured': {'readonly': True}, + } + _attribute_map = { 'tags': {'key': 'tags', 'type': '{str}'}, + 'created_with_api_version': {'key': 'properties.createdWithApiVersion', 'type': 'str'}, + 'is_legacy_log_analytics_rule': {'key': 'properties.isLegacyLogAnalyticsRule', 'type': 'bool'}, 'description': {'key': 'properties.description', 'type': 'str'}, + 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'severity': {'key': 'properties.severity', 'type': 'int'}, 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, 'scopes': {'key': 'properties.scopes', 'type': '[str]'}, 'evaluation_frequency': {'key': 'properties.evaluationFrequency', 'type': 'duration'}, 'window_size': {'key': 'properties.windowSize', 'type': 'duration'}, + 'override_query_time_range': {'key': 'properties.overrideQueryTimeRange', 'type': 'duration'}, 'target_resource_types': {'key': 'properties.targetResourceTypes', 'type': '[str]'}, 'criteria': {'key': 'properties.criteria', 'type': 'ScheduledQueryRuleCriteria'}, 'mute_actions_duration': {'key': 'properties.muteActionsDuration', 'type': 'duration'}, - 'actions': {'key': 'properties.actions', 'type': '[Action]'}, + 'actions': {'key': 'properties.actions', 'type': 'Actions'}, + 'is_workspace_alerts_storage_configured': {'key': 'properties.isWorkspaceAlertsStorageConfigured', 'type': 'bool'}, + 'check_workspace_alerts_storage_configured': {'key': 'properties.checkWorkspaceAlertsStorageConfigured', 'type': 'bool'}, + 'skip_query_validation': {'key': 'properties.skipQueryValidation', 'type': 'bool'}, + 'auto_mitigate': {'key': 'properties.autoMitigate', 'type': 'bool'}, } - def __init__(self, *, tags=None, description: str=None, severity: int=None, enabled: bool=None, scopes=None, evaluation_frequency=None, window_size=None, target_resource_types=None, criteria=None, mute_actions_duration=None, actions=None, **kwargs) -> None: + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + severity: Optional[Union[int, "AlertSeverity"]] = None, + enabled: Optional[bool] = None, + scopes: Optional[List[str]] = None, + evaluation_frequency: Optional[datetime.timedelta] = None, + window_size: Optional[datetime.timedelta] = None, + override_query_time_range: Optional[datetime.timedelta] = None, + target_resource_types: Optional[List[str]] = None, + criteria: Optional["ScheduledQueryRuleCriteria"] = None, + mute_actions_duration: Optional[datetime.timedelta] = None, + actions: Optional["Actions"] = None, + check_workspace_alerts_storage_configured: Optional[bool] = None, + skip_query_validation: Optional[bool] = None, + auto_mitigate: Optional[bool] = None, + **kwargs + ): super(ScheduledQueryRuleResourcePatch, self).__init__(**kwargs) self.tags = tags + self.created_with_api_version = None + self.is_legacy_log_analytics_rule = None self.description = description + self.display_name = display_name self.severity = severity self.enabled = enabled self.scopes = scopes self.evaluation_frequency = evaluation_frequency self.window_size = window_size + self.override_query_time_range = override_query_time_range self.target_resource_types = target_resource_types self.criteria = criteria self.mute_actions_duration = mute_actions_duration self.actions = actions + self.is_workspace_alerts_storage_configured = None + self.check_workspace_alerts_storage_configured = check_workspace_alerts_storage_configured + self.skip_query_validation = skip_query_validation + self.auto_mitigate = auto_mitigate + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~$(python-base-namespace).v2021_02_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or + ~$(python-base-namespace).v2021_02_preview.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_monitor_client_enums.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_monitor_client_enums.py deleted file mode 100644 index 93fa54eb856..00000000000 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_monitor_client_enums.py +++ /dev/null @@ -1,36 +0,0 @@ -# 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 enum import Enum - - -class TimeAggregation(str, Enum): - - count = "Count" - average = "Average" - minimum = "Minimum" - maximum = "Maximum" - total = "Total" - - -class DimensionOperator(str, Enum): - - include = "Include" - exclude = "Exclude" - - -class ConditionOperator(str, Enum): - - equals = "Equals" - greater_than = "GreaterThan" - greater_than_or_equal = "GreaterThanOrEqual" - less_than = "LessThan" - less_than_or_equal = "LessThanOrEqual" diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_monitor_management_client_enums.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_monitor_management_client_enums.py new file mode 100644 index 00000000000..89555e1c18b --- /dev/null +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_monitor_management_client_enums.py @@ -0,0 +1,81 @@ +# 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 enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AlertSeverity(with_metaclass(_CaseInsensitiveEnumMeta, int, Enum)): + """Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and + required only for rules of the kind LogAlert. + """ + + ZERO = 0 + ONE = 1 + TWO = 2 + THREE = 3 + FOUR = 4 + +class ConditionOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The criteria operator. Relevant and required only for rules of the kind LogAlert. + """ + + EQUALS = "Equals" + GREATER_THAN = "GreaterThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + LESS_THAN = "LessThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class DimensionOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Operator for dimension values + """ + + INCLUDE = "Include" + EXCLUDE = "Exclude" + +class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Indicates the type of scheduled query rule. The default is LogAlert. + """ + + LOG_ALERT = "LogAlert" + LOG_TO_METRIC = "LogToMetric" + +class TimeAggregation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Aggregation type. Relevant and required only for rules of the kind LogAlert. + """ + + COUNT = "Count" + AVERAGE = "Average" + MINIMUM = "Minimum" + MAXIMUM = "Maximum" + TOTAL = "Total" diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_paged_models.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_paged_models.py deleted file mode 100644 index f84d254075a..00000000000 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/models/_paged_models.py +++ /dev/null @@ -1,27 +0,0 @@ -# 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.paging import Paged - - -class ScheduledQueryRuleResourcePaged(Paged): - """ - A paging container for iterating over a list of :class:`ScheduledQueryRuleResource ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[ScheduledQueryRuleResource]'} - } - - def __init__(self, *args, **kwargs): - - super(ScheduledQueryRuleResourcePaged, self).__init__(*args, **kwargs) diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/operations/__init__.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/operations/__init__.py index c8cedc13e4d..f677702ed3d 100644 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/operations/__init__.py +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/operations/__init__.py @@ -1,12 +1,9 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from ._scheduled_query_rules_operations import ScheduledQueryRulesOperations diff --git a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/operations/_scheduled_query_rules_operations.py b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/operations/_scheduled_query_rules_operations.py index 448838fbdc5..00f969c1dae 100644 --- a/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/operations/_scheduled_query_rules_operations.py +++ b/src/scheduled-query/azext_scheduled_query/vendored_sdks/azure_mgmt_scheduled_query/operations/_scheduled_query_rules_operations.py @@ -1,423 +1,443 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ScheduledQueryRulesOperations(object): """ScheduledQueryRulesOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~$(python-base-namespace).v2021_02_preview.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client Api Version. Constant value: "2020-05-01-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-05-01-preview" - - self.config = config + self._config = config def list_by_subscription( - self, custom_headers=None, raw=False, **operation_config): + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ScheduledQueryRuleResourceCollection"] """Retrieve a scheduled query rule definitions in a subscription. - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of ScheduledQueryRuleResource - :rtype: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResourcePaged[~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResource] - :raises: - :class:`ErrorContractException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScheduledQueryRuleResourceCollection or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResourceCollection] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResourceCollection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_by_subscription.metadata['url'] + url = self.list_by_subscription.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ScheduledQueryRuleResourceCollection', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorContractException(self._deserialize, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - return response + return pipeline_response - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ScheduledQueryRuleResourcePaged(internal_paging, self._deserialize.dependencies, header_dict) - - return deserialized - list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Insights/scheduledQueryRules'} + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Insights/scheduledQueryRules'} # type: ignore def list_by_resource_group( - self, resource_group_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ScheduledQueryRuleResourceCollection"] """Retrieve scheduled query rule definitions in a resource group. - :param resource_group_name: The name of the resource group. + :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of ScheduledQueryRuleResource - :rtype: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResourcePaged[~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResource] - :raises: - :class:`ErrorContractException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScheduledQueryRuleResourceCollection or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResourceCollection] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResourceCollection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_by_resource_group.metadata['url'] + url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ScheduledQueryRuleResourceCollection', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorContractException(self._deserialize, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - return response + return pipeline_response - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ScheduledQueryRuleResourcePaged(internal_paging, self._deserialize.dependencies, header_dict) - - return deserialized - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules'} + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules'} # type: ignore def get( - self, resource_group_name, rule_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ScheduledQueryRuleResource" """Retrieve an scheduled query rule definition. - :param resource_group_name: The name of the resource group. + :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :param rule_name: The name of the rule. :type rule_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ScheduledQueryRuleResource or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResource - or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorContractException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ScheduledQueryRuleResource, or the result of cls(response) + :rtype: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'ruleName': self._serialize.url("rule_name", rule_name, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorContractException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ScheduledQueryRuleResource', response) + deserialized = self._deserialize('ScheduledQueryRuleResource', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} # type: ignore def create_or_update( - self, resource_group_name, rule_name, parameters, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + rule_name, # type: str + parameters, # type: "_models.ScheduledQueryRuleResource" + **kwargs # type: Any + ): + # type: (...) -> "_models.ScheduledQueryRuleResource" """Creates or updates a scheduled query rule. - :param resource_group_name: The name of the resource group. + :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :param rule_name: The name of the rule. :type rule_name: str :param parameters: The parameters of the rule to create or update. - :type parameters: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResource - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ScheduledQueryRuleResource or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResource - or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorContractException` + :type parameters: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ScheduledQueryRuleResource, or the result of cls(response) + :rtype: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.create_or_update.metadata['url'] + url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'ruleName': self._serialize.url("rule_name", rule_name, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ScheduledQueryRuleResource') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ScheduledQueryRuleResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 201]: - raise models.ErrorContractException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: - deserialized = self._deserialize('ScheduledQueryRuleResource', response) + deserialized = self._deserialize('ScheduledQueryRuleResource', pipeline_response) + if response.status_code == 201: - deserialized = self._deserialize('ScheduledQueryRuleResource', response) + deserialized = self._deserialize('ScheduledQueryRuleResource', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} # type: ignore def update( - self, resource_group_name, rule_name, parameters, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + rule_name, # type: str + parameters, # type: "_models.ScheduledQueryRuleResourcePatch" + **kwargs # type: Any + ): + # type: (...) -> "_models.ScheduledQueryRuleResource" """Update a scheduled query rule. - :param resource_group_name: The name of the resource group. + :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :param rule_name: The name of the rule. :type rule_name: str :param parameters: The parameters of the rule to update. - :type parameters: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResourcePatch - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ScheduledQueryRuleResource or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.monitor.v2020_05_01_preview.models.ScheduledQueryRuleResource - or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorContractException` + :type parameters: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResourcePatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ScheduledQueryRuleResource, or the result of cls(response) + :rtype: ~$(python-base-namespace).v2021_02_preview.models.ScheduledQueryRuleResource + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ScheduledQueryRuleResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.update.metadata['url'] + url = self.update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'ruleName': self._serialize.url("rule_name", rule_name, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ScheduledQueryRuleResourcePatch') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ScheduledQueryRuleResourcePatch') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorContractException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ScheduledQueryRuleResource', response) + deserialized = self._deserialize('ScheduledQueryRuleResource', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} # type: ignore def delete( - self, resource_group_name, rule_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None """Deletes a scheduled query rule. - :param resource_group_name: The name of the resource group. + :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :param rule_name: The name of the rule. :type rule_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: None or ClientRawResponse if raw=true - :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorContractException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self.delete.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'ruleName': self._serialize.url("rule_name", rule_name, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 204]: - raise models.ErrorContractException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorContract, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}'} # type: ignore diff --git a/src/scheduled-query/setup.py b/src/scheduled-query/setup.py index b8ff2e55dd0..d2a0e6f04dd 100644 --- a/src/scheduled-query/setup.py +++ b/src/scheduled-query/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '0.3.1' +VERSION = '0.4.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From b6bcbd239fad962a10ceca53541ad03ac7a34199 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Fri, 13 Aug 2021 15:19:08 +0800 Subject: [PATCH 08/43] [Release] Update index.json for extension [ scheduled-query ] (#3777) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1046685 Last commit: https://github.com/Azure/azure-cli-extensions/commit/7c8ae37b0fa8475dc3f378a0943a32ea6c6a6b47 --- src/index.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/index.json b/src/index.json index ecf2f75dbb3..f51ee77dd95 100644 --- a/src/index.json +++ b/src/index.json @@ -18206,6 +18206,49 @@ "version": "0.3.1" }, "sha256Digest": "0535be22855f9ab829421fc8f8d47704a0f7e2ea1067ea57d486e9b81a71c5cd" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/scheduled_query-0.4.0-py2.py3-none-any.whl", + "filename": "scheduled_query-0.4.0-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.20.0", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "scheduled-query", + "summary": "Microsoft Azure Command-Line Tools Scheduled_query Extension", + "version": "0.4.0" + }, + "sha256Digest": "9228691ea2baa13b11473c8ff9916f8bd1fa39fae33ee4386648d9bffb239617" } ], "sentinel": [ From 2955a127fce9a033e9645f2de109df70f021694b Mon Sep 17 00:00:00 2001 From: dibaskar <42174424+dibaskar@users.noreply.github.com> Date: Tue, 17 Aug 2021 13:07:16 +0530 Subject: [PATCH 09/43] new version for making public ip optional on repair vm (#3774) * public ipaddress as optional for rescue VMs * public ip address for rescue vm * public ip addr change for rescue vms * Reverted telemetry back to PROD * fixed code style * Add extra space before operator on line 36 as suggested by azdev style check * modified telemetryclient from TEST to PROD * removed duplicate entry for associate_public_ip param * specified specific error type in prompt_public_ip function * included class for testing publicip association on repair vm * new version for making public ip optional on repair vm Co-authored-by: root --- src/vm-repair/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm-repair/setup.py b/src/vm-repair/setup.py index c427ab66a2d..a787c54f20d 100644 --- a/src/vm-repair/setup.py +++ b/src/vm-repair/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.3.6" +VERSION = "0.3.7" CLASSIFIERS = [ 'Development Status :: 4 - Beta', From 7da5e437bab5f8ba0dffe189ddd23734546e8b35 Mon Sep 17 00:00:00 2001 From: Delora Bradish Date: Tue, 17 Aug 2021 21:50:04 -0400 Subject: [PATCH 10/43] fixed TOC entries to consolidate into Azure services (#3783) --- src/service_name.json | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/service_name.json b/src/service_name.json index 069ae3f3643..a8ac3eb6ca8 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -269,6 +269,11 @@ "AzureServiceName": "Azure Machine Learning", "URL": "https://docs.microsoft.com/azure/machine-learning/" }, + { + "Command": "az ml(v1)", + "AzureServiceName": "Azure Machine Learning", + "URL": "https://docs.microsoft.com/azure/machine-learning/" + }, { "Command": "az monitor", "AzureServiceName": "Azure Monitor", @@ -436,14 +441,24 @@ }, { "Command": "az serial-console", - "AzureServiceName": "Azure Serial Console", + "AzureServiceName": "Azure Virtual Machines", "URL": "https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/serial-console-overview" }, { "Command": "az arcdata", - "AzureServiceName": "Azure Data Services", + "AzureServiceName": "Azure Arc", "URL": "https://docs.microsoft.com/en-us/azure/azure-arc/data/" }, + { + "Command": "az arcappliance", + "AzureServiceName": "Azure Arc", + "URL": "https://docs.microsoft.com/en-us/azure/azure-arc/" + }, + { + "Command": "az customlocation", + "AzureServiceName": "Azure Arc", + "URL": "https://docs.microsoft.com/en-us/azure/azure-arc/kubernetes/conceptual-custom-locations" + }, { "Command": "az vm-repair", "AzureServiceName": "Azure CLI VM Repair Extension", From bd40998ee4e8903d2dcfe0db6219d8dcb9501e21 Mon Sep 17 00:00:00 2001 From: Artyom Pavlichenko Date: Tue, 17 Aug 2021 19:52:25 -0700 Subject: [PATCH 11/43] 2021 08 2 extension updates (#3740) --- src/dms-preview/HISTORY.rst | 8 + src/dms-preview/azext_dms/__init__.py | 4 +- src/dms-preview/azext_dms/_client_factory.py | 4 +- src/dms-preview/azext_dms/_help.py | 78 +- src/dms-preview/azext_dms/azext_metadata.json | 2 +- src/dms-preview/azext_dms/commands.py | 3 +- src/dms-preview/azext_dms/custom.py | 186 +- src/dms-preview/azext_dms/scenario_inputs.py | 51 +- src/dms-preview/azext_dms/tests/__init__.py | 28 + .../azext_dms/tests/latest/__init__.py | 28 + .../recordings/test_project_commands.yaml | 1821 ++++ .../latest/recordings/test_task_commands.yaml | 2544 +++++ .../tests/latest/test_service_scenarios.py | 484 + .../vendored_sdks/datamigration/__init__.py | 20 +- .../datamigration/_configuration.py | 81 +- .../_data_migration_management_client.py | 105 + .../_data_migration_service_client.py | 84 - .../datamigration/_metadata.json | 116 + .../datamigration/{version.py => _version.py} | 10 +- .../datamigration/aio/__init__.py | 10 + .../datamigration/aio/_configuration.py | 67 + .../aio/_data_migration_management_client.py | 99 + .../datamigration/aio/operations/__init__.py | 27 + .../aio/operations/_files_operations.py | 557 ++ .../aio/operations/_operations.py | 107 + .../aio/operations/_projects_operations.py | 406 + .../operations/_resource_skus_operations.py | 111 + .../operations/_service_tasks_operations.py | 487 + .../aio/operations/_services_operations.py | 1140 +++ .../aio/operations/_tasks_operations.py | 587 ++ .../aio/operations/_usages_operations.py | 116 + .../datamigration/models/__init__.py | 786 +- ..._data_migration_management_client_enums.py | 539 ++ .../_data_migration_service_client_enums.py | 468 - .../datamigration/models/_models.py | 7978 ++++++++-------- .../datamigration/models/_models_py3.py | 8499 +++++++++-------- .../datamigration/models/_paged_models.py | 118 - .../datamigration/operations/__init__.py | 7 +- .../operations/_files_operations.py | 665 +- .../datamigration/operations/_operations.py | 127 +- .../operations/_projects_operations.py | 492 +- .../operations/_resource_skus_operations.py | 124 +- .../operations/_service_tasks_operations.py | 600 +- .../operations/_services_operations.py | 1494 +-- .../operations/_tasks_operations.py | 712 +- .../operations/_usages_operations.py | 133 +- .../vendored_sdks/datamigration/py.typed | 1 + src/dms-preview/setup.py | 2 +- 48 files changed, 20991 insertions(+), 11125 deletions(-) create mode 100644 src/dms-preview/azext_dms/tests/__init__.py create mode 100644 src/dms-preview/azext_dms/tests/latest/__init__.py create mode 100644 src/dms-preview/azext_dms/tests/latest/recordings/test_project_commands.yaml create mode 100644 src/dms-preview/azext_dms/tests/latest/recordings/test_task_commands.yaml create mode 100644 src/dms-preview/azext_dms/tests/latest/test_service_scenarios.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/_data_migration_management_client.py delete mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/_data_migration_service_client.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/_metadata.json rename src/dms-preview/azext_dms/vendored_sdks/datamigration/{version.py => _version.py} (84%) create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/__init__.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/_configuration.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/_data_migration_management_client.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/__init__.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_files_operations.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_operations.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_projects_operations.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_resource_skus_operations.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_service_tasks_operations.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_services_operations.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_tasks_operations.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_usages_operations.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_data_migration_management_client_enums.py delete mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_data_migration_service_client_enums.py delete mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_paged_models.py create mode 100644 src/dms-preview/azext_dms/vendored_sdks/datamigration/py.typed diff --git a/src/dms-preview/HISTORY.rst b/src/dms-preview/HISTORY.rst index 3a83faba663..8167f973324 100644 --- a/src/dms-preview/HISTORY.rst +++ b/src/dms-preview/HISTORY.rst @@ -1,3 +1,11 @@ +0.15.0 +++++++++++++++++++ + +* Adding tests for extension. +* Removing online MySql migration. +* Removing PgSQL and using core instead. +* Migrating vendored SDKs to track2. + 0.14.0 ++++++++++++++++++ diff --git a/src/dms-preview/azext_dms/__init__.py b/src/dms-preview/azext_dms/__init__.py index 094c2df6207..be1b4920422 100755 --- a/src/dms-preview/azext_dms/__init__.py +++ b/src/dms-preview/azext_dms/__init__.py @@ -3,7 +3,6 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azure.cli.command_modules.dms.commands import dms_api_exception_handler from azure.cli.core import AzCommandsLoader from azure.cli.core.commands import CliCommandType from azext_dms.commands import load_command_table @@ -15,8 +14,7 @@ class DmsCommandsLoader(AzCommandsLoader): def __init__(self, cli_ctx=None): - dms_custom = CliCommandType(operations_tmpl='azext_dms.custom#{}', - exception_handler=dms_api_exception_handler) + dms_custom = CliCommandType(operations_tmpl='azext_dms.custom#{}') super().__init__(cli_ctx=cli_ctx, custom_command_type=dms_custom) def load_command_table(self, args): diff --git a/src/dms-preview/azext_dms/_client_factory.py b/src/dms-preview/azext_dms/_client_factory.py index 07e051bdff9..35fd8f19487 100644 --- a/src/dms-preview/azext_dms/_client_factory.py +++ b/src/dms-preview/azext_dms/_client_factory.py @@ -4,11 +4,11 @@ # -------------------------------------------------------------------------------------------- from azure.cli.core.commands.client_factory import get_mgmt_service_client -from azext_dms.vendored_sdks.datamigration import DataMigrationServiceClient +from azext_dms.vendored_sdks.datamigration import DataMigrationManagementClient def dms_client_factory(cli_ctx, **_): - return get_mgmt_service_client(cli_ctx, DataMigrationServiceClient) + return get_mgmt_service_client(cli_ctx, DataMigrationManagementClient) def dms_cf_projects(cli_ctx, *_): diff --git a/src/dms-preview/azext_dms/_help.py b/src/dms-preview/azext_dms/_help.py index b2b654b15d8..e67ad44f309 100644 --- a/src/dms-preview/azext_dms/_help.py +++ b/src/dms-preview/azext_dms/_help.py @@ -7,46 +7,47 @@ helps['dms project create'] = """ type: command - short-summary: Create a migration Project which can contain multiple Tasks. + short-summary: Create a migration project which can contain multiple tasks. long-summary: | The following project configurations are supported: -) source -> target 1) SQL -> SQLDB - 2) MySQL -> AzureDbForMySql - 3) PostgreSQL -> AzureDbForPostgreSQL - 4) MongoDB -> MongoDB (for migrating to Cosmos DB via their MongoDB API) + 2) PostgreSQL -> AzureDbForPostgreSQL + 3) MongoDB -> MongoDB (for migrating to Cosmos DB via their MongoDB API) parameters: - name: --source-platform type: string short-summary: > - The type of server for the source database. The supported types are: SQL, MySQL, PostgreSQL, MongoDB. + The type of server for the source database. The supported types are: SQL, PostgreSQL, MongoDB. - name: --target-platform type: string short-summary: > - The type of service for the target database. The supported types are: SQLDB, AzureDbForMySql, AzureDbForPostgreSQL, MongoDB. + The type of service for the target database. The supported types are: SQLDB, AzureDbForPostgreSQL, MongoDB. examples: - - name: Create a SQL Project for a DMS instance. + - name: Create a SQL to SQLDB project for a DMS instance. text: > - az dms project create -l westus -n myproject -g myresourcegroup --service-name mydms --source-platform SQL --target-platform SQLDB --tags tagName1=tagValue1 tagWithNoValue + az dms project create -l westus -n sqlproject -g myresourcegroup --service-name mydms --source-platform SQL --target-platform SQLDB --tags tagName1=tagValue1 tagWithNoValue + - name: Create a PostgreSql to AzureDbForPostgreSql project for a DMS instance. + text: > + az dms project create -l westus -n pgproject -g myresourcegroup --service-name mydms --source-platform PostgreSQL --target-platform AzureDbForPostgreSQL --tags tagName1=tagValue1 tagWithNoValue """ helps['dms project task create'] = """ type: command - short-summary: Create and start a migration Task. + short-summary: Create and start a migration task. long-summary: | The following task configurations are supported: -) source -> target :: task type 1) SQL -> SQLDB :: OfflineMigration - 2) MySQL -> AzureDbForMySql :: OnlineMigration - 3) PostgreSQL -> AzureDbForPostgreSQL :: OnlineMigration - 4) MongoDB -> MongoDB (for migrating to Cosmos DB via their MongoDB API) :: OfflineMigration + 2) PostgreSQL -> AzureDbForPostgreSQL :: OnlineMigration + 3) MongoDB -> MongoDB (for migrating to Cosmos DB via their MongoDB API) :: OfflineMigration parameters: - name: --task-type type: string short-summary: > - The type of data movement the task will support. The supported types are: OnlineMigration, OfflineMigration. + The type of data movement the task will support. The supported types are: OnlineMigration, OfflineMigration. If not provided, will default to OfflineMigration for SQL, MongoDB and OnlineMigration for PostgreSQL. - name: --database-options-json type: string short-summary: > @@ -68,7 +69,7 @@ ...n ] - For MySQL and PostgreSQL, the format of the database options JSON object. + For PostgreSQL, the format of the database options JSON object. [ { "name": "source database", @@ -91,8 +92,7 @@ "setting1": "value1", ...n }, - // Applies only for PostgreSQL - // List tables that you want included in the migration. + // Optional parameter to list tables that you want included in the migration. "selectedTables": [ "schemaName1.tableName1", ...n @@ -171,14 +171,6 @@ "trustServerCertificate": false // highly recommended to leave as false } - The format of the connection JSON object for MySql connections. - { - "userName": "user name", // if this is missing or null, you will be prompted - "password": null, // if this is missing or null (highly recommended) you will be prompted - "serverName": "server name", - "port": 3306 // if this is missing, it will default to 3306 - } - The format of the connection JSON object for PostgreSQL connections. { "userName": "user name", // if this is missing or null, you will be prompted @@ -186,8 +178,8 @@ "serverName": "server name", "databaseName": "database name", // if this is missing, it will default to the 'postgres' database "port": 5432, // if this is missing, it will default to 5432 - "encryptConnection": true, // highly recommended to leave as true (For PostgreSQL to Azure PostgreSQL migration only) - "trustServerCertificate": false // highly recommended to leave as false (For PostgreSQL to Azure PostgreSQL migration only) + "encryptConnection": true, // highly recommended to leave as true + "trustServerCertificate": false // highly recommended to leave as false } The format of the connection JSON object for MongoDB connections. @@ -204,19 +196,21 @@ - name: --enable-data-integrity-validation type: bool short-summary: > - (For SQL only) Whether to perform a checksum based data integrity validation between source and target for the selected database and tables. + For SQL only. Whether to perform a checksum based data integrity validation between source and target for the selected database and tables. - name: --enable-query-analysis-validation type: bool short-summary: > - (For SQL only) Whether to perform a quick and intelligent query analysis by retrieving queries from the source database and executing them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries. + For SQL only. Whether to perform a quick and intelligent query analysis by retrieving queries from the source database and + executing them in the target. The result will have execution statistics for executions in source and target databases + for the extracted queries. - name: --enable-schema-validation type: bool short-summary: > - (For SQL only) Whether to compare the schema information between source and target. + For SQL only. Whether to compare the schema information between source and target. - name: --validate-only type: bool short-summary: > - (For MongoDB to Cosmos DB only) Whether to run validation only and NOT run migration. It is mandatory to run a 'validate only' task before attempting an actual migration. Once the validation is complete, pass the name of this 'validate only' task to a new task's 'validated task name' argument. + For MongoDB to Cosmos DB only. Whether to run validation only and NOT run migration. It is mandatory to run a 'validate only' task before attempting an actual migration. Once the validation is complete, pass the name of this 'validate only' task to a new task's 'validated task name' argument. - name: --validated-task-name type: string short-summary: > @@ -245,31 +239,9 @@ The qualified name of the database or collection you wish to stop. Leave blank to stop the entire migration. """ -helps['dms project task cutover'] = """ - type: command - short-summary: For an online migration task, complete the migration by performing a cutover. - long-summary: | - To see the result of the request, please use the 'task show' command: - az dms project task show ... --expand command - - parameters: - - name: --object-name - type: string - short-summary: > - For MongoDB migrations, the qualified name of the database or collection you wish to cutover. - Leave blank to cutover the entire migration. - For all other migration types, the name of the database on the source you wish to cutover. - - name: --immediate - type: bool - short-summary: > - For MongoDB migrations, whether to cutover immediately or to let the currently loaded events - get migrated. - For all other migration types, this has no effect. -""" - helps['dms project task restart'] = """ type: command - short-sumary: Restart either the entire migration or just a specified object. Currently only supported by MongoDB migrations. + short-summary: Restart either the entire migration or just a specified object. Currently only supported by MongoDB migrations. long-summary: | To see the result of the request, please use the 'task show' command: az dms project task show ... --expand command diff --git a/src/dms-preview/azext_dms/azext_metadata.json b/src/dms-preview/azext_dms/azext_metadata.json index 340510a2365..3ad75266fcc 100644 --- a/src/dms-preview/azext_dms/azext_metadata.json +++ b/src/dms-preview/azext_dms/azext_metadata.json @@ -1,4 +1,4 @@ { - "azext.minCliCoreVersion": "2.0.43", + "azext.minCliCoreVersion": "2.27.0", "azext.isPreview": true } diff --git a/src/dms-preview/azext_dms/commands.py b/src/dms-preview/azext_dms/commands.py index b19c302616d..21553a0ba49 100644 --- a/src/dms-preview/azext_dms/commands.py +++ b/src/dms-preview/azext_dms/commands.py @@ -25,8 +25,7 @@ def load_command_table(self, _): g.custom_command('create', 'create_or_update_project') with self.command_group('dms project task', dms_tasks_sdk, client_factory=dms_cf_tasks) as g: - g.custom_command('cancel', 'stop_task') g.custom_command('create', 'create_task') - g.custom_command('cutover', 'cutover_sync_task') + g.custom_command('cancel', 'stop_task') g.custom_command('restart', 'restart_task') g.custom_command('stop', 'stop_task') diff --git a/src/dms-preview/azext_dms/custom.py b/src/dms-preview/azext_dms/custom.py index 401f9d6c1f0..fe6660f0fba 100644 --- a/src/dms-preview/azext_dms/custom.py +++ b/src/dms-preview/azext_dms/custom.py @@ -14,23 +14,16 @@ from azure.cli.command_modules.dms.custom import (create_or_update_project as core_create_or_update_project, create_task as core_create_task) from azext_dms.vendored_sdks.datamigration.models import (Project, + ProjectTask, MySqlConnectionInfo, PostgreSqlConnectionInfo, - MigrateSyncCompleteCommandInput, - MigrateMySqlAzureDbForMySqlSyncTaskProperties, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, - MigrateSyncCompleteCommandProperties, MigrateMongoDbTaskProperties, MongoDbConnectionInfo, MongoDbCancelCommand, MongoDbCommandInput, - MongoDbFinishCommand, - MongoDbFinishCommandInput, MongoDbRestartCommand, ValidateMongoDbTaskProperties) -from azext_dms.scenario_inputs import (get_migrate_mysql_to_azuredbformysql_sync_input, - get_migrate_postgresql_to_azuredbforpostgresql_sync_input, - get_mongo_to_mongo_input) +from azext_dms.scenario_inputs import (get_mongo_to_mongo_input) logger = get_logger(__name__) @@ -53,15 +46,7 @@ def create_or_update_project( # Validation: Test scenario eligibility if not scenario_handled_in_extension: - # If not an extension scenario, run CLI core method - # TODO: We currently don't have any CLI core code to perform any validations - # because of this we need to raise the error here. - - # TODO: Remove this check after validations are added to core - if source_platform != "sql" or target_platform != "sqldb": - raise CLIError("The provided source-platform, target-platform combination is not appropriate. \n\ -Please refer to the help file 'az dms project create -h' for the supported scenarios.") - + # If the core also doesn't handle this scenario, this will return with a failure. return core_create_or_update_project( client, project_name, @@ -86,22 +71,21 @@ def create_or_update_project( # region Task -def create_task( - cmd, - client, - resource_group_name, - service_name, - project_name, - task_name, - task_type, - source_connection_json, - target_connection_json, - database_options_json, - enable_schema_validation=False, - enable_data_integrity_validation=False, - enable_query_analysis_validation=False, - validate_only=False, - validated_task_name=None): +def create_task(cmd, + client, + resource_group_name, + service_name, + project_name, + task_name, + source_connection_json, + target_connection_json, + database_options_json, + task_type="", + enable_schema_validation=False, + enable_data_integrity_validation=False, + enable_query_analysis_validation=False, + validate_only=False, + validated_task_name=None): # Get source and target platform abd set inputs to lowercase source_platform, target_platform = get_project_platforms(cmd, @@ -116,22 +100,8 @@ def create_task( # Validation: Test scenario eligibility if not scenario_handled_in_extension: # If not an extension scenario, run CLI core method - - # TODO: Remove this check after validations are added to core - if source_platform != "sql" or target_platform != "sqldb": - raise CLIError("The combination of the provided task-type and the project's \ -source-platform and target-platform is not appropriate. \n\ -Please refer to the help file 'az dms project task create -h' \ -for the supported scenarios.") - - # TODO: Calling this validates our inputs. Remove this check after this function is added to core - transform_json_inputs(source_connection_json, - source_platform, - target_connection_json, - target_platform, - database_options_json) - - return core_create_task(client, + return core_create_task(cmd, + client, resource_group_name, service_name, project_name, @@ -139,6 +109,7 @@ def create_task( source_connection_json, target_connection_json, database_options_json, + task_type, enable_schema_validation, enable_data_integrity_validation, enable_query_analysis_validation) @@ -163,7 +134,7 @@ def create_task( project_name=project_name, task_name=validated_task_name, expand="output") - if not mongo_validation_succeeded(v_result.properties.output[0]): + if not mongo_validation_succeeded(v_result.properties): raise CLIError("Not all collections passed during the validation task. Fix your settings, \ validate those settings, and try again. \n\ To view the errors use 'az dms project task show' with the '--expand output' argument on your previous \ @@ -186,52 +157,12 @@ def create_task( source_connection_info, target_connection_info) + parameters = ProjectTask(properties=task_properties) return client.create_or_update(group_name=resource_group_name, service_name=service_name, project_name=project_name, task_name=task_name, - properties=task_properties) - - -def cutover_sync_task( - cmd, - client, - resource_group_name, - service_name, - project_name, - task_name, - object_name=None, - immediate=False): - # If object name is empty, treat this as cutting over the entire online migration. - # Otherwise, for scenarios that support it, just cut over the migration on the specified object. - # 'input' is a built in function. Even though we can technically use it, it's not recommended. - # https://stackoverflow.com/questions/20670732/is-input-a-keyword-in-python - - source_platform, target_platform = get_project_platforms(cmd, - project_name=project_name, - service_name=service_name, - resource_group_name=resource_group_name) - st = get_scenario_type(source_platform, target_platform, "onlinemigration") - - if st in [ScenarioType.mysql_azuremysql_online, - ScenarioType.postgres_azurepostgres_online]: - if object_name is None: - raise CLIError("The argument 'object_name' must be present for this task type.") - command_input = MigrateSyncCompleteCommandInput(database_name=object_name) - command_properties_model = MigrateSyncCompleteCommandProperties - elif st == ScenarioType.mongo_mongo_online: - command_input = MongoDbFinishCommandInput(object_name=object_name, immediate=immediate) - command_properties_model = MongoDbFinishCommand - else: - raise CLIError("The supplied project's source and target do not support cutting over the migration.") - - run_command(client, - command_input, - command_properties_model, - resource_group_name, - service_name, - project_name, - task_name) + parameters=parameters) def restart_task( @@ -276,33 +207,33 @@ def stop_task( # If object name is empty, treat this as stopping/cancelling the entire task. if object_name is None: - client.cancel(group_name=resource_group_name, - service_name=service_name, - project_name=project_name, - task_name=task_name) + return client.cancel(group_name=resource_group_name, + service_name=service_name, + project_name=project_name, + task_name=task_name) + # Otherwise, for scenarios that support it, just stop migration on the specified object. + source_platform, target_platform = get_project_platforms(cmd, + project_name=project_name, + service_name=service_name, + resource_group_name=resource_group_name) + st = get_scenario_type(source_platform, target_platform, "offlinemigration") + + if st in [ScenarioType.mongo_mongo_offline]: + command_input = MongoDbCommandInput(object_name=object_name) + command_properties_model = MongoDbCancelCommand else: - source_platform, target_platform = get_project_platforms(cmd, - project_name=project_name, - service_name=service_name, - resource_group_name=resource_group_name) - st = get_scenario_type(source_platform, target_platform, "offlinemigration") - - if st in [ScenarioType.mongo_mongo_offline]: - command_input = MongoDbCommandInput(object_name=object_name) - command_properties_model = MongoDbCancelCommand - else: - raise CLIError("The supplied project's source and target does not support \ + raise CLIError("The supplied project's source and target does not support \ cancelling at the object level. \n\ To cancel this task do not supply the object-name parameter.") - run_command(client, - command_input, - command_properties_model, - resource_group_name, - service_name, - project_name, - task_name) + return run_command(client, + command_input, + command_properties_model, + resource_group_name, + service_name, + project_name, + task_name) # endregion @@ -319,9 +250,6 @@ def extension_handles_scenario( task_type=""): # Remove scenario types from this list when moving them out of this extension (preview) and into the core CLI (GA) ExtensionScenarioTypes = [ - ScenarioType.sql_sqldb_online, - ScenarioType.mysql_azuremysql_online, - ScenarioType.postgres_azurepostgres_online, ScenarioType.mongo_mongo_offline, ScenarioType.mongo_mongo_online] return get_scenario_type(source_platform, target_platform, task_type) in ExtensionScenarioTypes @@ -411,13 +339,7 @@ def get_task_migration_properties( source_connection_info, target_connection_info): st = get_scenario_type(source_platform, target_platform, task_type) - if st.name == "mysql_azuremysql_online": - TaskProperties = MigrateMySqlAzureDbForMySqlSyncTaskProperties - GetInput = get_migrate_mysql_to_azuredbformysql_sync_input - elif st.name == "postgres_azurepostgres_online": - TaskProperties = MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties - GetInput = get_migrate_postgresql_to_azuredbforpostgresql_sync_input - elif "mongo_mongo" in st.name: + if "mongo_mongo" in st.name: TaskProperties = MigrateMongoDbTaskProperties GetInput = get_mongo_to_mongo_input else: @@ -480,11 +402,11 @@ def run_command(client, command_properties_params = {'input': command_input} command_properties = command_properties_model(**command_properties_params) - client.command(group_name=resource_group_name, - service_name=service_name, - project_name=project_name, - task_name=task_name, - parameters=command_properties) + return client.command(group_name=resource_group_name, + service_name=service_name, + project_name=project_name, + task_name=task_name, + parameters=command_properties) def get_scenario_type(source_platform, target_platform, task_type=""): @@ -510,7 +432,9 @@ def get_scenario_type(source_platform, target_platform, task_type=""): def mongo_validation_succeeded(migration_progress): - for dummy_key1, db in migration_progress.databases.items(): + if migration_progress.state == "Failed": + return False + for dummy_key1, db in migration_progress.output[0].databases.items(): if db.state == "Failed" or any(c.state == "Failed" for dummy_key2, c in db.collections.items()): return False diff --git a/src/dms-preview/azext_dms/scenario_inputs.py b/src/dms-preview/azext_dms/scenario_inputs.py index 9272b5bce7c..dcf79349d8f 100644 --- a/src/dms-preview/azext_dms/scenario_inputs.py +++ b/src/dms-preview/azext_dms/scenario_inputs.py @@ -3,56 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azext_dms.vendored_sdks.datamigration.models import (MigrateMySqlAzureDbForMySqlSyncDatabaseInput, - MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput, - MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput, - MigrateMySqlAzureDbForMySqlSyncTaskInput, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput, - MongoDbMigrationSettings) - - -def get_migrate_mysql_to_azuredbformysql_sync_input(database_options_json, - source_connection_info, - target_connection_info): - database_options = [] - - for d in database_options_json: - def_migration_setting_input = {"fullLoadSubTasks": "5", - "inlineLobMaxSize": "0", - "limitLOBSize": "true", - "lobChunkSize": "64", - "lobMaxSize": "32"} - database_options.append(MigrateMySqlAzureDbForMySqlSyncDatabaseInput( - name=d.get('name', None), - target_database_name=d.get('target_database_name', None), - migration_setting=d.get('migrationSetting', def_migration_setting_input), - source_setting=d.get('sourceSetting', None), - target_setting=d.get('targetSetting', None))) - - return MigrateMySqlAzureDbForMySqlSyncTaskInput(source_connection_info=source_connection_info, - target_connection_info=target_connection_info, - selected_databases=database_options) - - -def get_migrate_postgresql_to_azuredbforpostgresql_sync_input(database_options_json, - source_connection_info, - target_connection_info): - database_options = [] - - for d in database_options_json: - s_t = d.get('selectedTables', None) - t = None if s_t is None else [MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput(name=t) for t in s_t] - database_options.append(MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput( - name=d.get('name', None), - target_database_name=d.get('target_database_name', None), - migration_setting=d.get('migrationSetting', None), - source_setting=d.get('sourceSetting', None), - target_setting=d.get('targetSetting', None), - selected_tables=t)) - - return MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput(source_connection_info=source_connection_info, - target_connection_info=target_connection_info, - selected_databases=database_options) +from azext_dms.vendored_sdks.datamigration.models import (MongoDbMigrationSettings) def get_mongo_to_mongo_input(database_options_json, diff --git a/src/dms-preview/azext_dms/tests/__init__.py b/src/dms-preview/azext_dms/tests/__init__.py new file mode 100644 index 00000000000..be1b4920422 --- /dev/null +++ b/src/dms-preview/azext_dms/tests/__init__.py @@ -0,0 +1,28 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.core import AzCommandsLoader +from azure.cli.core.commands import CliCommandType +from azext_dms.commands import load_command_table +from azext_dms._params import load_arguments + +import azext_dms._help # pylint: disable=unused-import + + +class DmsCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + dms_custom = CliCommandType(operations_tmpl='azext_dms.custom#{}') + super().__init__(cli_ctx=cli_ctx, custom_command_type=dms_custom) + + def load_command_table(self, args): + load_command_table(self, args) + return self.command_table + + def load_arguments(self, command): + load_arguments(self, command) + + +COMMAND_LOADER_CLS = DmsCommandsLoader diff --git a/src/dms-preview/azext_dms/tests/latest/__init__.py b/src/dms-preview/azext_dms/tests/latest/__init__.py new file mode 100644 index 00000000000..be1b4920422 --- /dev/null +++ b/src/dms-preview/azext_dms/tests/latest/__init__.py @@ -0,0 +1,28 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.core import AzCommandsLoader +from azure.cli.core.commands import CliCommandType +from azext_dms.commands import load_command_table +from azext_dms._params import load_arguments + +import azext_dms._help # pylint: disable=unused-import + + +class DmsCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + dms_custom = CliCommandType(operations_tmpl='azext_dms.custom#{}') + super().__init__(cli_ctx=cli_ctx, custom_command_type=dms_custom) + + def load_command_table(self, args): + load_command_table(self, args) + return self.command_table + + def load_arguments(self, command): + load_arguments(self, command) + + +COMMAND_LOADER_CLS = DmsCommandsLoader diff --git a/src/dms-preview/azext_dms/tests/latest/recordings/test_project_commands.yaml b/src/dms-preview/azext_dms/tests/latest/recordings/test_project_commands.yaml new file mode 100644 index 00000000000..5c769a16ca0 --- /dev/null +++ b/src/dms-preview/azext_dms/tests/latest/recordings/test_project_commands.yaml @@ -0,0 +1,1821 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet show + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"Subnet-1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1\"\ + ,\r\n \"etag\": \"W/\\\"f65de22c-69ae-4d65-8e83-fe90145ca396\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"172.16.7.64/27\",\r\n \"ipConfigurations\": [\r\n \ + \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DMSLoadResources/providers/Microsoft.Network/networkInterfaces/sqlsource307/ipConfigurations/ipconfig1\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DMSLoadResources/providers/Microsoft.Network/networkInterfaces/mysqlsource947/ipConfigurations/ipconfig1\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yaly/providers/Microsoft.Network/networkInterfaces/yalyoneboxvm352/ipConfigurations/ipconfig1\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/brih-dec-train-2/providers/Microsoft.Network/networkInterfaces/NIC-i784xakgpk93g8uxkbhqaubv/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DMS-Tutorials-RG/providers/Microsoft.Network/networkInterfaces/NIC-2vgfwyyzz748bnv25rkjcsdx/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SiyaoSignoffT3Service/providers/Microsoft.Network/networkInterfaces/NIC-h7nsa3m7fa5dfng7ti4qfun8/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tzppe322/providers/Microsoft.Network/networkInterfaces/NIC-7rfjudjp9qadzdnnd6aqpanc/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/brih-dec-train-2/providers/Microsoft.Network/networkInterfaces/NIC-3h77idm9dbrsrs33n7hxpntz/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hijavappe/providers/Microsoft.Network/networkInterfaces/NIC-k7dqvk5gb9r2m6qip58yxep9/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/siyaosignoffRG/providers/Microsoft.Network/networkInterfaces/NIC-54wukfqgti84rk85if49yy4n/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AkmaOneboxTest/providers/Microsoft.Network/networkInterfaces/oneboxvm975/ipConfigurations/ipconfig1\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DMSSignOffTest/providers/Microsoft.Network/networkInterfaces/NIC-kdgap38rx8639wqd7vkq2ris/ipConfigurations/ipconfig\"\ + \r\n }\r\n ],\r\n \"serviceEndpoints\": [\r\n {\r\n \ + \ \"provisioningState\": \"Succeeded\",\r\n \"service\": \"Microsoft.Storage\"\ + ,\r\n \"locations\": [\r\n \"centralus\",\r\n \"\ + eastus2\"\r\n ]\r\n }\r\n ],\r\n \"delegations\": [],\r\n\ + \ \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\"\ + : \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\ + \r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3367' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:43:29 GMT + etag: + - W/"f65de22c-69ae-4d65-8e83-fe90145ca396" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 0b849ee2-6a37-4cdc-870e-d21118626d47 + status: + code: 200 + message: OK +- request: + body: '{"tags": {"area": "cli", "env": "test"}, "location": "centralus", "sku": + {"name": "Premium_4vCores"}, "properties": {"virtualSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + Content-Length: + - '305' + Content-Type: + - application/json + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1"},"etag":"wb5jvLO+/sVq8OLcc7M5nWDuJCnPOsj3pH6QtYEn1Tw=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003","kind":"Cloud","location":"centralus","name":"dmsextclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + cache-control: + - no-cache + content-length: + - '714' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:43:36 GMT + etag: + - '"wb5jvLO+/sVq8OLcc7M5nWDuJCnPOsj3pH6QtYEn1Tw="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:44:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:44:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:45:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:45:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:46:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:46:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:47:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:47:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:48:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:48:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:49:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:50:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:50:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:51:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:51:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04?api-version=2018-07-15-preview + response: + body: + string: '{"name":"ec43e1d7-d09d-4e70-8606-4eca10e3ae04","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ec43e1d7-d09d-4e70-8606-4eca10e3ae04","status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '236' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.Network/networkInterfaces/NIC-gdyib5u8qch2qqhanqxyj6si","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1"},"etag":"8N519BM4fVWAYtr1J42wout9XeLZBqDlTfg9HFrKy0s=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003","kind":"Cloud","location":"centralus","name":"dmsextclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' + headers: + cache-control: + - no-cache + content-length: + - '950' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:39 GMT + etag: + - '"8N519BM4fVWAYtr1J42wout9XeLZBqDlTfg9HFrKy0s="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project1000004?api-version=2018-07-15-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.DataMigration/services/dmsextclitest000003/projects/project1000004'' + under resource group ''dmsext_cli_test_000001'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: '{"tags": {"Type": "test", "Cli": ""}, "location": "centralus", "properties": + {"sourcePlatform": "sql", "targetPlatform": "sqldb"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project create + Connection: + - keep-alive + Content-Length: + - '130' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -l -n --source-platform --target-platform --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project1000004?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:52:48.7672691+00:00","provisioningState":"Succeeded"},"etag":"3nErQOiqphOmZloxtQ+YHws/jGmFVHmz7l4U1nVWF6c=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:48 GMT + etag: + - '"3nErQOiqphOmZloxtQ+YHws/jGmFVHmz7l4U1nVWF6c="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project1000004?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:52:48.7672691+00:00","provisioningState":"Succeeded"},"etag":"3nErQOiqphOmZloxtQ+YHws/jGmFVHmz7l4U1nVWF6c=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:50 GMT + etag: + - '"3nErQOiqphOmZloxtQ+YHws/jGmFVHmz7l4U1nVWF6c="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"tags": {"Type": "test", "Cli": ""}, "location": "centralus", "properties": + {"sourcePlatform": "postgresql", "targetPlatform": "azuredbforpostgresql"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project create + Connection: + - keep-alive + Content-Length: + - '152' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -l -n --source-platform --target-platform --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000006?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2021-08-17T23:52:57.7910688+00:00","provisioningState":"Succeeded"},"etag":"AZUb/8tSHpNuGnfH8fDoyUjnVHo3NafUn+8j8N/znNU=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000006","location":"centralus","name":"projectpg000006","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '603' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:57 GMT + etag: + - '"AZUb/8tSHpNuGnfH8fDoyUjnVHo3NafUn+8j8N/znNU="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000006?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2021-08-17T23:52:57.7910688+00:00","provisioningState":"Succeeded"},"etag":"AZUb/8tSHpNuGnfH8fDoyUjnVHo3NafUn+8j8N/znNU=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000006","location":"centralus","name":"projectpg000006","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '603' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:00 GMT + etag: + - '"AZUb/8tSHpNuGnfH8fDoyUjnVHo3NafUn+8j8N/znNU="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"tags": {"Type": "test", "Cli": ""}, "location": "centralus", "properties": + {"sourcePlatform": "mongodb", "targetPlatform": "mongodb"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project create + Connection: + - keep-alive + Content-Length: + - '136' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -l -n --source-platform --target-platform --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000007?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"MongoDb","targetPlatform":"MongoDb","creationTime":"2021-08-17T23:53:06.8304099+00:00","provisioningState":"Succeeded"},"etag":"9OpapXBac6/+ey/ud1S7f8pLAj236nVHo3pqzUgLm70=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000007","location":"centralus","name":"projectmg000007","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '587' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:06 GMT + etag: + - '"9OpapXBac6/+ey/ud1S7f8pLAj236nVHo3pqzUgLm70="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000007?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"MongoDb","targetPlatform":"MongoDb","creationTime":"2021-08-17T23:53:06.8304099+00:00","provisioningState":"Succeeded"},"etag":"9OpapXBac6/+ey/ud1S7f8pLAj236nVHo3pqzUgLm70=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000007","location":"centralus","name":"projectmg000007","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '587' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:09 GMT + etag: + - '"9OpapXBac6/+ey/ud1S7f8pLAj236nVHo3pqzUgLm70="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "centralus", "properties": {"sourcePlatform": "sql", "targetPlatform": + "sqldb"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project create + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -l -n --source-platform --target-platform + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project2000005?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:53:16.107505+00:00","provisioningState":"Succeeded"},"etag":"dKON84z//4r7ZGaLg7dENR95BBYJ3tyQ/aq1oplGiX8=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project2000005","location":"centralus","name":"project2000005","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '538' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:16 GMT + etag: + - '"dKON84z//4r7ZGaLg7dENR95BBYJ3tyQ/aq1oplGiX8="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project list + Connection: + - keep-alive + ParameterSetName: + - -g --service-name + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects?api-version=2018-07-15-preview + response: + body: + string: '{"value":[{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:52:48.7672691+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"},{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:53:16.107505+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project2000005","location":"centralus","name":"project2000005","type":"Microsoft.DataMigration/services/projects"},{"properties":{"sourcePlatform":"MongoDb","targetPlatform":"MongoDb","creationTime":"2021-08-17T23:53:06.8304099+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000007","location":"centralus","name":"projectmg000007","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"},{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2021-08-17T23:52:57.7910688+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000006","location":"centralus","name":"projectpg000006","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}]}' + headers: + cache-control: + - no-cache + content-length: + - '2098' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"name": "project2000005", "type": "projects"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project check-name + Connection: + - keep-alive + Content-Length: + - '47' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/checkNameAvailability?api-version=2018-07-15-preview + response: + body: + string: '{"reason":"AlreadyExists","message":"The resource name is already in + use.","nameAvailable":false}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --service-name -n -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project2000005?api-version=2018-07-15-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 17 Aug 2021 23:53:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +- request: + body: '{"name": "project2000005", "type": "projects"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project check-name + Connection: + - keep-alive + Content-Length: + - '47' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/checkNameAvailability?api-version=2018-07-15-preview + response: + body: + string: '{"nameAvailable":true}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dmsext_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003?api-version=2018-07-15-preview&deleteRunningTasks=true + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758?api-version=2018-07-15-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 17 Aug 2021 23:53:28 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/648af9de-f485-4c5e-a8ea-1555ad46c758?api-version=2018-07-15-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758?api-version=2018-07-15-preview + response: + body: + string: '{"name":"648af9de-f485-4c5e-a8ea-1555ad46c758","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758?api-version=2018-07-15-preview + response: + body: + string: '{"name":"648af9de-f485-4c5e-a8ea-1555ad46c758","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:54:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758?api-version=2018-07-15-preview + response: + body: + string: '{"name":"648af9de-f485-4c5e-a8ea-1555ad46c758","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:54:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758?api-version=2018-07-15-preview + response: + body: + string: '{"name":"648af9de-f485-4c5e-a8ea-1555ad46c758","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/648af9de-f485-4c5e-a8ea-1555ad46c758","status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '236' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:55:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/dms-preview/azext_dms/tests/latest/recordings/test_task_commands.yaml b/src/dms-preview/azext_dms/tests/latest/recordings/test_task_commands.yaml new file mode 100644 index 00000000000..9b6aae24059 --- /dev/null +++ b/src/dms-preview/azext_dms/tests/latest/recordings/test_task_commands.yaml @@ -0,0 +1,2544 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet show + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"Subnet-1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1\"\ + ,\r\n \"etag\": \"W/\\\"f65de22c-69ae-4d65-8e83-fe90145ca396\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"172.16.7.64/27\",\r\n \"ipConfigurations\": [\r\n \ + \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DMSLoadResources/providers/Microsoft.Network/networkInterfaces/sqlsource307/ipConfigurations/ipconfig1\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DMSLoadResources/providers/Microsoft.Network/networkInterfaces/mysqlsource947/ipConfigurations/ipconfig1\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yaly/providers/Microsoft.Network/networkInterfaces/yalyoneboxvm352/ipConfigurations/ipconfig1\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/brih-dec-train-2/providers/Microsoft.Network/networkInterfaces/NIC-i784xakgpk93g8uxkbhqaubv/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DMS-Tutorials-RG/providers/Microsoft.Network/networkInterfaces/NIC-2vgfwyyzz748bnv25rkjcsdx/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SiyaoSignoffT3Service/providers/Microsoft.Network/networkInterfaces/NIC-h7nsa3m7fa5dfng7ti4qfun8/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tzppe322/providers/Microsoft.Network/networkInterfaces/NIC-7rfjudjp9qadzdnnd6aqpanc/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/brih-dec-train-2/providers/Microsoft.Network/networkInterfaces/NIC-3h77idm9dbrsrs33n7hxpntz/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hijavappe/providers/Microsoft.Network/networkInterfaces/NIC-k7dqvk5gb9r2m6qip58yxep9/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/siyaosignoffRG/providers/Microsoft.Network/networkInterfaces/NIC-54wukfqgti84rk85if49yy4n/ipConfigurations/ipconfig\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AkmaOneboxTest/providers/Microsoft.Network/networkInterfaces/oneboxvm975/ipConfigurations/ipconfig1\"\ + \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DMSSignOffTest/providers/Microsoft.Network/networkInterfaces/NIC-kdgap38rx8639wqd7vkq2ris/ipConfigurations/ipconfig\"\ + \r\n }\r\n ],\r\n \"serviceEndpoints\": [\r\n {\r\n \ + \ \"provisioningState\": \"Succeeded\",\r\n \"service\": \"Microsoft.Storage\"\ + ,\r\n \"locations\": [\r\n \"centralus\",\r\n \"\ + eastus2\"\r\n ]\r\n }\r\n ],\r\n \"delegations\": [],\r\n\ + \ \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\"\ + : \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\ + \r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3367' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:43:30 GMT + etag: + - W/"f65de22c-69ae-4d65-8e83-fe90145ca396" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 7ab7d418-ee72-44c5-918f-e754a4ca01e4 + status: + code: 200 + message: OK +- request: + body: '{"tags": {"area": "cli", "env": "test"}, "location": "centralus", "sku": + {"name": "Premium_4vCores"}, "properties": {"virtualSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + Content-Length: + - '305' + Content-Type: + - application/json + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1"},"etag":"+Ek/x6AWutoUoPVmmXAmsNC74g3SFEdQyAXM9JuTVDk=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003","kind":"Cloud","location":"centralus","name":"dmsextclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + cache-control: + - no-cache + content-length: + - '714' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:43:36 GMT + etag: + - '"+Ek/x6AWutoUoPVmmXAmsNC74g3SFEdQyAXM9JuTVDk="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:44:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:44:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:45:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:45:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:46:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:46:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:47:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:47:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:48:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:48:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:49:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:49:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:50:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:50:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:51:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:51:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939?api-version=2018-07-15-preview + response: + body: + string: '{"name":"73e893ef-67f4-41f3-b09f-1a5b77758939","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/73e893ef-67f4-41f3-b09f-1a5b77758939","status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '236' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms create + Connection: + - keep-alive + ParameterSetName: + - -l -n -g --sku-name --subnet --tags + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/networkInterfaces/NIC-ep3k7pzqtcjpkphkvnrfpr3v","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1"},"etag":"wZDGK8lDeyYD2zip50r8jmDA2KFGmqfAyd8fOc4bp9U=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003","kind":"Cloud","location":"centralus","name":"dmsextclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' + headers: + cache-control: + - no-cache + content-length: + - '950' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:09 GMT + etag: + - '"wZDGK8lDeyYD2zip50r8jmDA2KFGmqfAyd8fOc4bp9U="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "centralus", "properties": {"sourcePlatform": "sql", "targetPlatform": + "sqldb"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project create + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -l -n --source-platform --target-platform + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:52:15.5642793+00:00","provisioningState":"Succeeded"},"etag":"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '539' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:15 GMT + etag: + - '"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: '{"location": "centralus", "properties": {"sourcePlatform": "postgresql", + "targetPlatform": "azuredbforpostgresql"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project create + Connection: + - keep-alive + Content-Length: + - '115' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -l -n --source-platform --target-platform + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2021-08-17T23:52:21.0178485+00:00","provisioningState":"Succeeded"},"etag":"o8mTPZ7W9XHoO+thgqjf6LPKYvlmMGNQrM+iTPT1C28=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007","location":"centralus","name":"projectpg000007","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:21 GMT + etag: + - '"o8mTPZ7W9XHoO+thgqjf6LPKYvlmMGNQrM+iTPT1C28="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: '{"location": "centralus", "properties": {"sourcePlatform": "mongodb", "targetPlatform": + "mongodb"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project create + Connection: + - keep-alive + Content-Length: + - '99' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name -l -n --source-platform --target-platform + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"MongoDb","targetPlatform":"MongoDb","creationTime":"2021-08-17T23:52:26.0220361+00:00","provisioningState":"Succeeded"},"etag":"X3hzc9K+TWm7WyvJ6C96b+PaUKx4SwfMmwXgFg5v/VY=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009","location":"centralus","name":"projectmg000009","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '555' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:25 GMT + etag: + - '"X3hzc9K+TWm7WyvJ6C96b+PaUKx4SwfMmwXgFg5v/VY="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005?api-version=2018-07-15-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 17 Aug 2021 23:52:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007/tasks/taskpg000008?api-version=2018-07-15-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 17 Aug 2021 23:52:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009/tasks/taskmgv000010?api-version=2018-07-15-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 17 Aug 2021 23:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:52:15.5642793+00:00","provisioningState":"Succeeded"},"etag":"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '539' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:35 GMT + etag: + - '"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:52:15.5642793+00:00","provisioningState":"Succeeded"},"etag":"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '539' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:36 GMT + etag: + - '"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"taskType": "Migrate.SqlServer.SqlDb", "input": {"sourceConnectionInfo": + {"type": "SqlConnectionInfo", "userName": "testuser", "password": "testpassword", + "dataSource": "notarealsourceserver", "authentication": "SqlAuthentication", + "encryptConnection": true, "trustServerCertificate": true}, "targetConnectionInfo": + {"type": "SqlConnectionInfo", "userName": "testuser", "password": "testpassword", + "dataSource": "notarealtargetserver", "authentication": "SqlAuthentication", + "encryptConnection": true, "trustServerCertificate": true}, "selectedDatabases": + [{"name": "SourceDatabase1", "targetDatabaseName": "TargetDatabase1", "makeSourceDbReadOnly": + false, "tableMap": {"dbo.TestTableSource1": "dbo.TestTableTarget1", "dbo.TestTableSource2": + "dbo.TestTableTarget2"}}], "validationOptions": {"enableSchemaValidation": false, + "enableDataIntegrityValidation": false, "enableQueryAnalysisValidation": false}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + Content-Length: + - '922' + Content-Type: + - application/json + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"sourceConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"zqa7haX9YV2rQb6/o9rZj3Us2yOsPmf4qcAwOnz+bdk=","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"zqa7haX9YV2rQb6/o9rZj3Us2yOsPmf4qcAwOnz+bdk=","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"P82xtQis7q7oGx57irT81/qwDpYW5je6e5DMqs/86Q7zde23oIDbJORxv/IuVo1aNxj/6g+9x2NRfkei1sIaF9jsYuvwcSZd6LbdTjAfqwPCaD029PAgAukai2fNz3VS8GvdYeou227zZ+qV27t0LKggI+KkBsxoQphsa/6OmNIzIoPsMQBhq2Y/dV4SUqR2KgO9mw/U7LKgwaTMwRxx+DXGBEOid8qzwW1Q1UhGYlQBBVdeNBAzNWhnckYvx/iyEUMwfhE1cmrBC5rg6btgVkaRyFm23qpfyMX9OI9TlSc+5XUGvRdr/ZL501fae/0YNUM9Qf+TGEiuMzRBB+Un7A=="},"taskId":"6f6f5fc1-1410-475c-a006-0d2f1bfe4b30","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2021-08-17T23:52:37.0330682+00:00"},"etag":"E8xUdUsuP33sIOcX1TD+5iKL9dNfqu9eYAD6qlNe+rI=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1840' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:37 GMT + etag: + - '"E8xUdUsuP33sIOcX1TD+5iKL9dNfqu9eYAD6qlNe+rI="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"sourceConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"zqa7haX9YV2rQb6/o9rZj3Us2yOsPmf4qcAwOnz+bdk=","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"zqa7haX9YV2rQb6/o9rZj3Us2yOsPmf4qcAwOnz+bdk=","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"P82xtQis7q7oGx57irT81/qwDpYW5je6e5DMqs/86Q7zde23oIDbJORxv/IuVo1aNxj/6g+9x2NRfkei1sIaF9jsYuvwcSZd6LbdTjAfqwPCaD029PAgAukai2fNz3VS8GvdYeou227zZ+qV27t0LKggI+KkBsxoQphsa/6OmNIzIoPsMQBhq2Y/dV4SUqR2KgO9mw/U7LKgwaTMwRxx+DXGBEOid8qzwW1Q1UhGYlQBBVdeNBAzNWhnckYvx/iyEUMwfhE1cmrBC5rg6btgVkaRyFm23qpfyMX9OI9TlSc+5XUGvRdr/ZL501fae/0YNUM9Qf+TGEiuMzRBB+Un7A=="},"taskId":"6f6f5fc1-1410-475c-a006-0d2f1bfe4b30","taskType":"Migrate.SqlServer.SqlDb","state":"Running","isCloneable":true,"createdOn":"2021-08-17T23:52:37.0330682+00:00"},"etag":"VWB6if0lTjcpBvzo2dXQ/CKML45NlfEkmqYJnkupsrI=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1841' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:38 GMT + etag: + - '"VWB6if0lTjcpBvzo2dXQ/CKML45NlfEkmqYJnkupsrI="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task cancel + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005/cancel?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"sourceConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"zqa7haX9YV2rQb6/o9rZj3Us2yOsPmf4qcAwOnz+bdk=","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"zqa7haX9YV2rQb6/o9rZj3Us2yOsPmf4qcAwOnz+bdk=","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"P82xtQis7q7oGx57irT81/qwDpYW5je6e5DMqs/86Q7zde23oIDbJORxv/IuVo1aNxj/6g+9x2NRfkei1sIaF9jsYuvwcSZd6LbdTjAfqwPCaD029PAgAukai2fNz3VS8GvdYeou227zZ+qV27t0LKggI+KkBsxoQphsa/6OmNIzIoPsMQBhq2Y/dV4SUqR2KgO9mw/U7LKgwaTMwRxx+DXGBEOid8qzwW1Q1UhGYlQBBVdeNBAzNWhnckYvx/iyEUMwfhE1cmrBC5rg6btgVkaRyFm23qpfyMX9OI9TlSc+5XUGvRdr/ZL501fae/0YNUM9Qf+TGEiuMzRBB+Un7A=="},"taskId":"6f6f5fc1-1410-475c-a006-0d2f1bfe4b30","taskType":"Migrate.SqlServer.SqlDb","state":"Canceling","isCloneable":true,"createdOn":"2021-08-17T23:52:37.0330682+00:00"},"etag":"YEIaLL1XRKvEt7ApEI1kY+Mhpo4a7rIfhRok38HCgzo=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1843' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:42 GMT + etag: + - '"YEIaLL1XRKvEt7ApEI1kY+Mhpo4a7rIfhRok38HCgzo="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2021-08-17T23:52:21.0178485+00:00","provisioningState":"Succeeded"},"etag":"o8mTPZ7W9XHoO+thgqjf6LPKYvlmMGNQrM+iTPT1C28=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007","location":"centralus","name":"projectpg000007","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:47 GMT + etag: + - '"o8mTPZ7W9XHoO+thgqjf6LPKYvlmMGNQrM+iTPT1C28="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2021-08-17T23:52:21.0178485+00:00","provisioningState":"Succeeded"},"etag":"o8mTPZ7W9XHoO+thgqjf6LPKYvlmMGNQrM+iTPT1C28=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007","location":"centralus","name":"projectpg000007","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:48 GMT + etag: + - '"o8mTPZ7W9XHoO+thgqjf6LPKYvlmMGNQrM+iTPT1C28="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"taskType": "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2", + "input": {"selectedDatabases": [{"name": "SourceDatabase1", "targetDatabaseName": + "TargetDatabase1", "selectedTables": [{"name": "public.TestTableSource1"}, {"name": + "public.TestTableSource2"}]}], "targetConnectionInfo": {"type": "PostgreSqlConnectionInfo", + "userName": "testuser", "password": "testpassword", "serverName": "notarealtargetserver", + "databaseName": "notarealdatabasename", "port": 5432, "encryptConnection": true, + "trustServerCertificate": false}, "sourceConnectionInfo": {"type": "PostgreSqlConnectionInfo", + "userName": "testuser", "password": "testpassword", "serverName": "notarealsourceserver", + "databaseName": "notarealdatabasename", "port": 5432, "encryptConnection": false, + "trustServerCertificate": true}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + Content-Length: + - '808' + Content-Type: + - application/json + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007/tasks/taskpg000008?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","selectedTables":[{"name":"public.TestTableSource1"},{"name":"public.TestTableSource2"}]}],"targetConnectionInfo":{"type":"PostgreSqlConnectionInfo","userName":"testuser","password":"4NMueDZTDLqj++WVblUrtymnO1zM18TjHH/2geOLUuM=","serverName":"notarealtargetserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":true,"trustServerCertificate":false},"sourceConnectionInfo":{"type":"PostgreSqlConnectionInfo","userName":"testuser","password":"4NMueDZTDLqj++WVblUrtymnO1zM18TjHH/2geOLUuM=","serverName":"notarealsourceserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":false,"trustServerCertificate":true},"encryptedKeyForSecureFields":"ZG0s1S620zPcuWLAxFeVXutBrwwtIYqQSdSy1Tta5dENMwGIXYOW1qbLPGQPbsiTMx3Llmd+59f7+lYR0Gda437M03fKlHyk2tyacmpLciO/qDhRoWEa34yk4rljzjklSTgWOwh6bbhnzxbujTGq6UOvYxcvX1EVDlaKt3gU5pAAFcKNrmqTrJeL4JwQ8jzdRdnt5dTe7GjOuvLTO31mfCdVRPajPxqPCiJIstMDS2vqYirBeGshXfUaChXfxEEe+mcxpQG0NLPnlS7vKpdifI1QKdQg6BH6r70m5J+KBVhj85uB5/3EVFCIlEG864Sjhl3C7M0hpEEj9IoydQcNIw=="},"taskId":"d2d5a535-bf01-49f0-82e2-76e64b335198","taskType":"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2","state":"Queued","isCloneable":true,"createdOn":"2021-08-17T23:52:49.7962557+00:00"},"etag":"sw1D0DDc5WzXhHe9YpZCOp87pJRBADzZ4YOdrXQdGWg=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007/tasks/taskpg000008","name":"taskpg000008","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1746' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:49 GMT + etag: + - '"sw1D0DDc5WzXhHe9YpZCOp87pJRBADzZ4YOdrXQdGWg="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007/tasks/taskpg000008?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","selectedTables":[{"name":"public.TestTableSource1"},{"name":"public.TestTableSource2"}]}],"targetConnectionInfo":{"type":"PostgreSqlConnectionInfo","userName":"testuser","password":"4NMueDZTDLqj++WVblUrtymnO1zM18TjHH/2geOLUuM=","serverName":"notarealtargetserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":true,"trustServerCertificate":false},"sourceConnectionInfo":{"type":"PostgreSqlConnectionInfo","userName":"testuser","password":"4NMueDZTDLqj++WVblUrtymnO1zM18TjHH/2geOLUuM=","serverName":"notarealsourceserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":false,"trustServerCertificate":true},"encryptedKeyForSecureFields":"ZG0s1S620zPcuWLAxFeVXutBrwwtIYqQSdSy1Tta5dENMwGIXYOW1qbLPGQPbsiTMx3Llmd+59f7+lYR0Gda437M03fKlHyk2tyacmpLciO/qDhRoWEa34yk4rljzjklSTgWOwh6bbhnzxbujTGq6UOvYxcvX1EVDlaKt3gU5pAAFcKNrmqTrJeL4JwQ8jzdRdnt5dTe7GjOuvLTO31mfCdVRPajPxqPCiJIstMDS2vqYirBeGshXfUaChXfxEEe+mcxpQG0NLPnlS7vKpdifI1QKdQg6BH6r70m5J+KBVhj85uB5/3EVFCIlEG864Sjhl3C7M0hpEEj9IoydQcNIw=="},"taskId":"d2d5a535-bf01-49f0-82e2-76e64b335198","taskType":"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2","state":"Queued","isCloneable":true,"createdOn":"2021-08-17T23:52:49.7962557+00:00"},"etag":"sw1D0DDc5WzXhHe9YpZCOp87pJRBADzZ4YOdrXQdGWg=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007/tasks/taskpg000008","name":"taskpg000008","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1746' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:51 GMT + etag: + - '"sw1D0DDc5WzXhHe9YpZCOp87pJRBADzZ4YOdrXQdGWg="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task cancel + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007/tasks/taskpg000008/cancel?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","selectedTables":[{"name":"public.TestTableSource1"},{"name":"public.TestTableSource2"}]}],"targetConnectionInfo":{"type":"PostgreSqlConnectionInfo","userName":"testuser","password":"4NMueDZTDLqj++WVblUrtymnO1zM18TjHH/2geOLUuM=","serverName":"notarealtargetserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":true,"trustServerCertificate":false},"sourceConnectionInfo":{"type":"PostgreSqlConnectionInfo","userName":"testuser","password":"4NMueDZTDLqj++WVblUrtymnO1zM18TjHH/2geOLUuM=","serverName":"notarealsourceserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":false,"trustServerCertificate":true},"encryptedKeyForSecureFields":"ZG0s1S620zPcuWLAxFeVXutBrwwtIYqQSdSy1Tta5dENMwGIXYOW1qbLPGQPbsiTMx3Llmd+59f7+lYR0Gda437M03fKlHyk2tyacmpLciO/qDhRoWEa34yk4rljzjklSTgWOwh6bbhnzxbujTGq6UOvYxcvX1EVDlaKt3gU5pAAFcKNrmqTrJeL4JwQ8jzdRdnt5dTe7GjOuvLTO31mfCdVRPajPxqPCiJIstMDS2vqYirBeGshXfUaChXfxEEe+mcxpQG0NLPnlS7vKpdifI1QKdQg6BH6r70m5J+KBVhj85uB5/3EVFCIlEG864Sjhl3C7M0hpEEj9IoydQcNIw=="},"taskId":"d2d5a535-bf01-49f0-82e2-76e64b335198","taskType":"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2","state":"Canceling","isCloneable":true,"createdOn":"2021-08-17T23:52:49.7962557+00:00"},"etag":"azPZOOXO+pv1V/ub031EFLmr250weVc8qw2SSybRNMU=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectpg000007/tasks/taskpg000008","name":"taskpg000008","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1749' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:52:56 GMT + etag: + - '"azPZOOXO+pv1V/ub031EFLmr250weVc8qw2SSybRNMU="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:52:15.5642793+00:00","provisioningState":"Succeeded"},"etag":"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '539' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:00 GMT + etag: + - '"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2021-08-17T23:52:15.5642793+00:00","provisioningState":"Succeeded"},"etag":"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '539' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:00 GMT + etag: + - '"BAHHotgMSllj7YWAipqG9/vMNCoEKOFoXUwrkPO0TQQ="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"taskType": "Migrate.SqlServer.SqlDb", "input": {"sourceConnectionInfo": + {"type": "SqlConnectionInfo", "userName": "testuser", "password": "testpassword", + "dataSource": "notarealsourceserver", "authentication": "SqlAuthentication", + "encryptConnection": true, "trustServerCertificate": true}, "targetConnectionInfo": + {"type": "SqlConnectionInfo", "userName": "testuser", "password": "testpassword", + "dataSource": "notarealtargetserver", "authentication": "SqlAuthentication", + "encryptConnection": true, "trustServerCertificate": true}, "selectedDatabases": + [{"name": "SourceDatabase2", "targetDatabaseName": "TargetDatabase2", "makeSourceDbReadOnly": + false, "tableMap": {"dbo.TestTableSource1": "dbo.TestTableTarget1", "dbo.TestTableSource2": + "dbo.TestTableTarget2"}}], "validationOptions": {"enableSchemaValidation": false, + "enableDataIntegrityValidation": false, "enableQueryAnalysisValidation": false}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + Content-Length: + - '922' + Content-Type: + - application/json + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task2000006?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"sourceConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"WEs9u77FMp4BS+yz5VfebbHLiptvyMytoSaWJbJKzrU=","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"WEs9u77FMp4BS+yz5VfebbHLiptvyMytoSaWJbJKzrU=","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase2","targetDatabaseName":"TargetDatabase2","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"zqyCjWyQa1poFINkLCxWh25QYIJLq/F7q8tsPeU1siHhGkOUiD6IAwM6MUYmEhbU0BCItawy36djxBk7Qjvp8MBZRLHlzbLO3Bro5whyadj2RDJxnVZ8yIsTtpHQJpZDZxDu6eScbFk20/4dxpELGhcaGDhtg7Nwd0c3OFaKL2rrSs7uuIDonnzkhpU9pxSAHDSPBNqhons/UGS+AuzP1Wk+qiKvjHuUU2be/Ppxe6XtQrVZ77+JGNp5IBcCOgM1LKZ5rFIQ7fzZYGrxfGthS9ZMqL/gsckCBx2Z1b1Ijpl1twqTYoJ/B1Cw+3kT+I7hn8c3diJL49FatgTc0jqVhw=="},"taskId":"fabf6537-2059-441a-bedf-bba6503a4f54","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2021-08-17T23:53:02.3022662+00:00"},"etag":"dNxIe5JrcZwMOcihBOZ+o5becBrpxiNIpYS4kmGyxk0=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task2000006","name":"task2000006","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1840' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:01 GMT + etag: + - '"dNxIe5JrcZwMOcihBOZ+o5becBrpxiNIpYS4kmGyxk0="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json --validate-only + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"MongoDb","targetPlatform":"MongoDb","creationTime":"2021-08-17T23:52:26.0220361+00:00","provisioningState":"Succeeded"},"etag":"X3hzc9K+TWm7WyvJ6C96b+PaUKx4SwfMmwXgFg5v/VY=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009","location":"centralus","name":"projectmg000009","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '555' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:05 GMT + etag: + - '"X3hzc9K+TWm7WyvJ6C96b+PaUKx4SwfMmwXgFg5v/VY="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"taskType": "Validate.MongoDb", "input": {"databases": + {"db1": {"collections": {"cdb11": {"canDelete": true}, "cdb12": {"canDelete": + true}}, "targetRUs": 0}, "db2": {"collections": {"cdb21": {"canDelete": true}, + "cdb22": {"canDelete": true}}, "targetRUs": 0}}, "replication": "OneTime", "source": + {"type": "MongoDbConnectionInfo", "userName": "mongoadmin", "password": "password", + "connectionString": "mongodb://127.0.0.1:27017"}, "target": {"type": "MongoDbConnectionInfo", + "userName": "mongoadmin", "password": "password", "connectionString": "mongodb://127.0.0.1:27017"}, + "throttling": {"minFreeCpu": 25, "minFreeMemoryMb": 1024, "maxParallelism": + 2}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + Content-Length: + - '672' + Content-Type: + - application/json + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json --validate-only + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009/tasks/taskmgv000010?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"databases":{"db1":{"collections":{"cdb11":{"canDelete":true},"cdb12":{"canDelete":true}},"targetRUs":0},"db2":{"collections":{"cdb21":{"canDelete":true},"cdb22":{"canDelete":true}},"targetRUs":0}},"replication":"OneTime","source":{"type":"MongoDbConnectionInfo","userName":"mongoadmin","password":"0R5+tVNUJHQhkMu2OVD8G/ZdKYvh3b2agYqS06Se+40=","connectionString":"0R5+tVNUJHQhkMu2OVD8G+yg+TMO7uGy59F4TVMBoMBSMzS+03ppLXiLDk9n+RKb"},"target":{"type":"MongoDbConnectionInfo","userName":"mongoadmin","password":"0R5+tVNUJHQhkMu2OVD8G/ZdKYvh3b2agYqS06Se+40=","connectionString":"0R5+tVNUJHQhkMu2OVD8G+yg+TMO7uGy59F4TVMBoMBSMzS+03ppLXiLDk9n+RKb"},"throttling":{"minFreeCpu":25,"minFreeMemoryMb":1024,"maxParallelism":2},"encryptedKeyForSecureFields":"ijuawWT0pwM9RibaoiT4dgv8bvkCmGQHQoTP9NL4mUIH/7Nyzfxj9BR16+crXTqh5Yw4FaE8Ig0man3kucUdgsbatc8ysVCELBzsMsQQq7J3bhyDwU15oNtR2qjZ50jzJhPDfe9LoU/PSUPflJ2x/AETuA6Gz5DBF2T2XzI2jtIreDlqOD/v5RhJ/cxsr3qV3IRegpfaQb2rRettaMPd8T2IGBt3YVIvlHsx9sBnLIsL8vKzCIcfEyygU4gg7Oeg5+CVQNNGlRkgObb/8VhESOD9dfZq/tMMvPODEaYzekW3fh04jzSNfr5fUu5+5I9klse5SpvRjMK9lkjbxzsslg=="},"taskId":"e0ba3185-44a1-4523-b689-360d9efef654","taskType":"Validate.MongoDb","state":"Queued","isCloneable":true,"createdOn":"2021-08-17T23:53:06.8426119+00:00"},"etag":"eamKIq0g0FeCZ07Maih5OM2Z6n3IQ2shCYK8EbuWvCg=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009/tasks/taskmgv000010","name":"taskmgv000010","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1692' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:06 GMT + etag: + - '"eamKIq0g0FeCZ07Maih5OM2Z6n3IQ2shCYK8EbuWvCg="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009/tasks/taskmgv000010?api-version=2018-07-15-preview + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"properties":{"input":{"databases":{"db1":{"collections":{"cdb11":{"canDelete":true},"cdb12":{"canDelete":true}},"targetRUs":0},"db2":{"collections":{"cdb21":{"canDelete":true},"cdb22":{"canDelete":true}},"targetRUs":0}},"replication":"OneTime","source":{"type":"MongoDbConnectionInfo","userName":"mongoadmin","password":"0R5+tVNUJHQhkMu2OVD8G/ZdKYvh3b2agYqS06Se+40=","connectionString":"0R5+tVNUJHQhkMu2OVD8G+yg+TMO7uGy59F4TVMBoMBSMzS+03ppLXiLDk9n+RKb"},"target":{"type":"MongoDbConnectionInfo","userName":"mongoadmin","password":"0R5+tVNUJHQhkMu2OVD8G/ZdKYvh3b2agYqS06Se+40=","connectionString":"0R5+tVNUJHQhkMu2OVD8G+yg+TMO7uGy59F4TVMBoMBSMzS+03ppLXiLDk9n+RKb"},"throttling":{"minFreeCpu":25,"minFreeMemoryMb":1024,"maxParallelism":2},"encryptedKeyForSecureFields":"ijuawWT0pwM9RibaoiT4dgv8bvkCmGQHQoTP9NL4mUIH/7Nyzfxj9BR16+crXTqh5Yw4FaE8Ig0man3kucUdgsbatc8ysVCELBzsMsQQq7J3bhyDwU15oNtR2qjZ50jzJhPDfe9LoU/PSUPflJ2x/AETuA6Gz5DBF2T2XzI2jtIreDlqOD/v5RhJ/cxsr3qV3IRegpfaQb2rRettaMPd8T2IGBt3YVIvlHsx9sBnLIsL8vKzCIcfEyygU4gg7Oeg5+CVQNNGlRkgObb/8VhESOD9dfZq/tMMvPODEaYzekW3fh04jzSNfr5fUu5+5I9klse5SpvRjMK9lkjbxzsslg=="},"taskId":"e0ba3185-44a1-4523-b689-360d9efef654","taskType":"Validate.MongoDb","state":"Queued","isCloneable":true,"createdOn":"2021-08-17T23:53:06.8426119+00:00"},"etag":"eamKIq0g0FeCZ07Maih5OM2Z6n3IQ2shCYK8EbuWvCg=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/projectmg000009/tasks/taskmgv000010","name":"taskmgv000010","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1692' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:08 GMT + etag: + - '"eamKIq0g0FeCZ07Maih5OM2Z6n3IQ2shCYK8EbuWvCg="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task list + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name --task-type + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks?api-version=2018-07-15-preview&taskType=Migrate.SqlServer.SqlDb + response: + body: + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="hash of non existent credential.")] + string: '{"value":[{"properties":{"input":{"sourceConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"zqa7haX9YV2rQb6/o9rZj3Us2yOsPmf4qcAwOnz+bdk=","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"zqa7haX9YV2rQb6/o9rZj3Us2yOsPmf4qcAwOnz+bdk=","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"P82xtQis7q7oGx57irT81/qwDpYW5je6e5DMqs/86Q7zde23oIDbJORxv/IuVo1aNxj/6g+9x2NRfkei1sIaF9jsYuvwcSZd6LbdTjAfqwPCaD029PAgAukai2fNz3VS8GvdYeou227zZ+qV27t0LKggI+KkBsxoQphsa/6OmNIzIoPsMQBhq2Y/dV4SUqR2KgO9mw/U7LKgwaTMwRxx+DXGBEOid8qzwW1Q1UhGYlQBBVdeNBAzNWhnckYvx/iyEUMwfhE1cmrBC5rg6btgVkaRyFm23qpfyMX9OI9TlSc+5XUGvRdr/ZL501fae/0YNUM9Qf+TGEiuMzRBB+Un7A=="},"taskId":"6f6f5fc1-1410-475c-a006-0d2f1bfe4b30","taskType":"Migrate.SqlServer.SqlDb","state":"Canceling","isCloneable":true,"createdOn":"2021-08-17T23:52:37.0330682+00:00"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"},{"properties":{"input":{"sourceConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"WEs9u77FMp4BS+yz5VfebbHLiptvyMytoSaWJbJKzrU=","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"type":"SqlConnectionInfo","userName":"testuser","password":"WEs9u77FMp4BS+yz5VfebbHLiptvyMytoSaWJbJKzrU=","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase2","targetDatabaseName":"TargetDatabase2","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"zqyCjWyQa1poFINkLCxWh25QYIJLq/F7q8tsPeU1siHhGkOUiD6IAwM6MUYmEhbU0BCItawy36djxBk7Qjvp8MBZRLHlzbLO3Bro5whyadj2RDJxnVZ8yIsTtpHQJpZDZxDu6eScbFk20/4dxpELGhcaGDhtg7Nwd0c3OFaKL2rrSs7uuIDonnzkhpU9pxSAHDSPBNqhons/UGS+AuzP1Wk+qiKvjHuUU2be/Ppxe6XtQrVZ77+JGNp5IBcCOgM1LKZ5rFIQ7fzZYGrxfGthS9ZMqL/gsckCBx2Z1b1Ijpl1twqTYoJ/B1Cw+3kT+I7hn8c3diJL49FatgTc0jqVhw=="},"taskId":"fabf6537-2059-441a-bedf-bba6503a4f54","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2021-08-17T23:53:02.3022662+00:00"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task2000006","name":"task2000006","type":"Microsoft.DataMigration/services/projects/tasks"}]}' + headers: + cache-control: + - no-cache + content-length: + - '3588' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"name": "task1000005", "type": "tasks"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task check-name + Connection: + - keep-alive + Content-Length: + - '44' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003%2Fprojects%2Fproject000004/checkNameAvailability?api-version=2018-07-15-preview + response: + body: + string: '{"reason":"AlreadyExists","message":"The resource name is already in + use.","nameAvailable":false}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --service-name --project-name -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003/projects/project000004/tasks/task1000005?api-version=2018-07-15-preview&deleteRunningTasks=true + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 17 Aug 2021 23:53:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +- request: + body: '{"name": "task1000005", "type": "tasks"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task check-name + Connection: + - keep-alive + Content-Length: + - '44' + Content-Type: + - application/json + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003%2Fprojects%2Fproject000004/checkNameAvailability?api-version=2018-07-15-preview + response: + body: + string: '{"nameAvailable":true}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsextclitest000003?api-version=2018-07-15-preview&deleteRunningTasks=true + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23?api-version=2018-07-15-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 17 Aug 2021 23:53:21 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/1419915b-8a01-41a7-a04d-980fdedccb23?api-version=2018-07-15-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23?api-version=2018-07-15-preview + response: + body: + string: '{"name":"1419915b-8a01-41a7-a04d-980fdedccb23","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:53:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23?api-version=2018-07-15-preview + response: + body: + string: '{"name":"1419915b-8a01-41a7-a04d-980fdedccb23","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:54:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23?api-version=2018-07-15-preview + response: + body: + string: '{"name":"1419915b-8a01-41a7-a04d-980fdedccb23","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:54:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23?api-version=2018-07-15-preview + response: + body: + string: '{"name":"1419915b-8a01-41a7-a04d-980fdedccb23","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:55:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-datamigration/9.0.0 Python/3.7.3 (Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-debian-10.10) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23?api-version=2018-07-15-preview + response: + body: + string: '{"name":"1419915b-8a01-41a7-a04d-980fdedccb23","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/1419915b-8a01-41a7-a04d-980fdedccb23","status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '236' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 Aug 2021 23:55:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/dms-preview/azext_dms/tests/latest/test_service_scenarios.py b/src/dms-preview/azext_dms/tests/latest/test_service_scenarios.py new file mode 100644 index 00000000000..6942472c91e --- /dev/null +++ b/src/dms-preview/azext_dms/tests/latest/test_service_scenarios.py @@ -0,0 +1,484 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +from azure.cli.testsdk import (ScenarioTest, + ResourceGroupPreparer, + VirtualNetworkPreparer, + JMESPathCheck) + + +class DmsServiceTests(ScenarioTest): + service_random_name_prefix = 'dmsextclitest' + location_name = 'centralus' + sku_name = 'Premium_4vCores' + vsubnet_rg = 'ERNetwork' + vsubnet_vn = 'AzureDMS-CORP-USC-VNET-5044' + vsubnet_sn = 'Subnet-1' + name_exists_checks = [JMESPathCheck('nameAvailable', False), + JMESPathCheck('reason', 'AlreadyExists')] + name_available_checks = [JMESPathCheck('nameAvailable', True)] + + @ResourceGroupPreparer(name_prefix='dmsext_cli_test_', location=location_name) + @VirtualNetworkPreparer(name_prefix='dmsext.clitest.vn') + def test_project_commands(self, resource_group): + service_name = self.create_random_name(self.service_random_name_prefix, 20) + project_name1 = self.create_random_name('project1', 15) + project_name2 = self.create_random_name('project2', 15) + project_name_pg = self.create_random_name('projectpg', 20) + project_name_mg = self.create_random_name('projectmg', 20) + + self.kwargs.update({ + 'vsubnet_rg': self.vsubnet_rg, + 'vsubnet_vn': self.vsubnet_vn, + 'vsubnet_sn': self.vsubnet_sn + }) + subnet = self.cmd(("az network vnet subnet show " + "-g {vsubnet_rg} " + "-n {vsubnet_sn} " + "--vnet-name {vsubnet_vn}")).get_output_in_json() + + self.kwargs.update({ + 'lname': self.location_name, + 'skuname': self.sku_name, + 'vnetid': subnet['id'], + 'sname': service_name, + 'pname1': project_name1, + 'pname2': project_name2, + 'pnamepg': project_name_pg, + 'pnamemg': project_name_mg + }) + + # Set up container service + self.cmd(("az dms create " + "-l {lname} " + "-n {sname} " + "-g {rg} " + "--sku-name {skuname} " + "--subnet {vnetid} " + "--tags area=cli env=test")) + + self.cmd(("az dms project show " + "-g {rg} " + "--service-name {sname} " + "-n {pname1}"), + expect_failure=True) + + create_checks = [JMESPathCheck('location', self.location_name), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('name', project_name1), + JMESPathCheck('sourcePlatform', 'SQL'), + JMESPathCheck('targetPlatform', 'SQLDB'), + JMESPathCheck('provisioningState', 'Succeeded'), + JMESPathCheck('tags.Cli', ''), + JMESPathCheck('tags.Type', 'test'), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects')] + self.cmd(("az dms project create " + "-g {rg} " + "--service-name {sname} " + "-l {lname} " + "-n {pname1} " + "--source-platform SQL " + "--target-platform SQLDB " + "--tags Type=test Cli"), + checks=create_checks) + + self.cmd(("az dms project show " + "-g {rg} " + "--service-name {sname} " + "-n {pname1}"), + create_checks) + + # Test PostgreSQL project creation and deletion + create_checks_pg = [JMESPathCheck('location', self.location_name), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('name', project_name_pg), + JMESPathCheck('sourcePlatform', 'PostgreSQL'), + JMESPathCheck('targetPlatform', 'AzureDbForPostgreSQL'), + JMESPathCheck('provisioningState', 'Succeeded'), + JMESPathCheck('tags.Cli', ''), + JMESPathCheck('tags.Type', 'test'), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects')] + self.cmd(("az dms project create " + "-g {rg} " + "--service-name {sname} " + "-l {lname} " + "-n {pnamepg} " + "--source-platform PostgreSQL " + "--target-platform AzureDbForPostgreSQL " + "--tags Type=test Cli"), + checks=create_checks_pg) + self.cmd(("az dms project show " + "-g {rg} " + "--service-name {sname} " + "-n {pnamepg}"), + create_checks_pg) + + # Test MongoDb project creation and deletion + create_checks_mg = [JMESPathCheck('location', self.location_name), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('name', project_name_mg), + JMESPathCheck('sourcePlatform', 'MongoDb'), + JMESPathCheck('targetPlatform', 'MongoDb'), + JMESPathCheck('provisioningState', 'Succeeded'), + JMESPathCheck('tags.Cli', ''), + JMESPathCheck('tags.Type', 'test'), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects')] + self.cmd(("az dms project create " + "-g {rg} " + "--service-name {sname} " + "-l {lname} " + "-n {pnamemg} " + "--source-platform MongoDb " + "--target-platform MongoDb " + "--tags Type=test Cli"), + checks=create_checks_mg) + self.cmd(("az dms project show " + "-g {rg} " + "--service-name {sname} " + "-n {pnamemg}"), + create_checks_mg) + + create_checks_notags = [JMESPathCheck('tags', None)] + self.cmd(("az dms project create " + "-g {rg} " + "--service-name {sname} " + "-l {lname} " + "-n {pname2} " + "--source-platform SQL " + "--target-platform SQLDB"), + checks=create_checks_notags) + + list_checks = [JMESPathCheck('length(@)', 4), + JMESPathCheck("length([?name == '{}'])".format(project_name1), 1)] + self.cmd(("az dms project list " + "-g {rg} " + "--service-name {sname}"), + list_checks) + + self.cmd(("az dms project check-name " + "-g {rg} " + "--service-name {sname} " + "-n {pname2}"), + checks=self.name_exists_checks) + + self.cmd(("az dms project delete " + "-g {rg} " + "--service-name {sname} " + "-n {pname2} -y")) + + self.cmd(("az dms project check-name " + "-g {rg} " + "--service-name {sname} " + "-n {pname2}"), + checks=self.name_available_checks) + + # Clean up service for live runs + self.cmd(("az dms delete " + "-g {rg} " + "-n {sname} " + "--delete-running-tasks true -y")) + + @ResourceGroupPreparer(name_prefix='dms_cli_test_', location=location_name) + @VirtualNetworkPreparer(name_prefix='dms.clitest.vn') + def test_task_commands(self, resource_group): + from azure.cli.testsdk.checkers import JMESPathPatternCheck + + local_vars = { + "service_name": self.create_random_name(self.service_random_name_prefix, 20), + "project_name": self.create_random_name('project', 15), + "task_name1": self.create_random_name('task1', 15), + "task_name2": self.create_random_name('task2', 15), + "database_options1": ("[ { 'name': 'SourceDatabase1', 'target_database_name': 'TargetDatabase1', " + "'make_source_db_read_only': False, 'table_map': { 'dbo.TestTableSource1': " + "'dbo.TestTableTarget1', 'dbo.TestTableSource2': 'dbo.TestTableTarget2' } } ]"), + "database_options2": ("[ { 'name': 'SourceDatabase2', 'target_database_name': 'TargetDatabase2', " + "'make_source_db_read_only': False, 'table_map': { 'dbo.TestTableSource1': " + "'dbo.TestTableTarget1', 'dbo.TestTableSource2': 'dbo.TestTableTarget2' } } ]"), + "source_connection_info": ("{ 'userName': 'testuser', 'password': 'testpassword', 'dataSource': " + "'notarealsourceserver', 'authentication': 'SqlAuthentication', " + "'encryptConnection': True, 'trustServerCertificate': True }"), + "target_connection_info": ("{ 'userName': 'testuser', 'password': 'testpassword', 'dataSource': " + "'notarealtargetserver', 'authentication': 'SqlAuthentication', " + "'encryptConnection': True, 'trustServerCertificate': True }"), + "project_name_pg": self.create_random_name('projectpg', 20), + "task_name_pg": self.create_random_name('taskpg', 20), + "source_connection_info_pg": ("{ 'userName': 'testuser', 'password': 'testpassword', 'serverName': " + "'notarealsourceserver', 'databaseName': 'notarealdatabasename', " + "'encryptConnection': False, 'trustServerCertificate': True }"), + "target_connection_info_pg": ("{ 'userName': 'testuser', 'password': 'testpassword', 'serverName': " + "'notarealtargetserver', 'databaseName': 'notarealdatabasename'}"), + "database_options_pg": ("[ { 'name': 'SourceDatabase1', 'target_database_name': 'TargetDatabase1', " + "'selectedTables': [ 'public.TestTableSource1', 'public.TestTableSource2'] } ]"), + "project_name_mg": self.create_random_name('projectmg', 20), + "task_name_mgv": self.create_random_name('taskmgv', 20), + "source_connection_info_mg": ("{ 'userName': 'mongoadmin', " + "'password': 'password', " + "'connectionString': 'mongodb://127.0.0.1:27017'}"), + "target_connection_info_mg": ("{ 'userName': 'mongoadmin', " + "'password': 'password', " + "'connectionString': 'mongodb://127.0.0.1:27017'}"), + "database_options_mg": ("{ \"boostRUs\": 0, \"replication\": \"OneTime\", " + "\"throttling\": { \"minFreeCpu\": 25, \"minFreeMemoryMb\": 1024, " + "\"maxParallelism\": 2 }, \"databases\": {\"db1\": {\"targetRUs\": 0, " + "\"collections\": { \"cdb11\": {\"canDelete\": true, \"shardKey\": null, " + "\"targetRUs\": null }, \"cdb12\": {\"canDelete\": true, \"shardKey\": null, " + "\"targetRUs\": null }}},\"db2\": {\"targetRUs\": 0, \"collections\": { " + "\"cdb21\": {\"canDelete\": true, \"shardKey\": null, \"targetRUs\": null }, " + "\"cdb22\": {\"canDelete\": true, \"shardKey\": null, \"targetRUs\": null }}}}}") + } + + self.kwargs.update({ + 'vsubnet_rg': self.vsubnet_rg, + 'vsubnet_vn': self.vsubnet_vn, + 'vsubnet_sn': self.vsubnet_sn + }) + subnet = self.cmd(("az network vnet subnet show " + "-g {vsubnet_rg} " + "-n {vsubnet_sn} " + "--vnet-name {vsubnet_vn}")).get_output_in_json() + + + + self.kwargs.update({ + 'lname': self.location_name, + 'skuname': self.sku_name, + 'vnetid': subnet['id'], + 'sname': local_vars["service_name"], + 'pname': local_vars["project_name"], + 'pnamepg': local_vars["project_name_pg"], + 'pnamemg': local_vars["project_name_mg"], + 'tname1': local_vars["task_name1"], + 'tname2': local_vars["task_name2"], + 'tnamepg': local_vars["task_name_pg"], + 'tnamemgv': local_vars["task_name_mgv"], + 'dboptions1': local_vars["database_options1"], + 'dboptions2': local_vars["database_options2"], + 'dboptionspg': local_vars["database_options_pg"], + 'dboptionsmg': local_vars["database_options_mg"], + 'sconn': local_vars["source_connection_info"], + 'sconnpg': local_vars["source_connection_info_pg"], + 'sconnmg': local_vars["source_connection_info_mg"], + 'tconn': local_vars["target_connection_info"], + 'tconnpg': local_vars["target_connection_info_pg"], + 'tconnmg': local_vars["target_connection_info_mg"] + }) + + # Set up container service and project + self.cmd(("az dms create " + "-l {lname} " + "-n {sname} " + "-g {rg} " + "--sku-name {skuname} " + "--subnet {vnetid} " + "--tags area=cli env=test")) + self.cmd(("az dms project create " + "-g {rg} " + "--service-name {sname} " + "-l {lname} " + "-n {pname} " + "--source-platform SQL " + "--target-platform SQLDB")) + self.cmd(("az dms project create " + "-g {rg} " + "--service-name {sname} " + "-l {lname} " + "-n {pnamepg} " + "--source-platform PostgreSQL " + "--target-platform AzureDbForPostgreSQL")) + self.cmd(("az dms project create " + "-g {rg} " + "--service-name {sname} " + "-l {lname} " + "-n {pnamemg} " + "--source-platform MongoDb " + "--target-platform MongoDb ")) + + self.cmd(("az dms project task show " + "-g {rg} " + "--service-name {sname} " + "--project-name {pname} " + "-n {tname1}"), + expect_failure=True) + self.cmd(("az dms project task show " + "-g {rg} " + "--service-name {sname} " + "--project-name {pnamepg} " + "-n {tnamepg}"), + expect_failure=True) + self.cmd(("az dms project task show " + "-g {rg} " + "--service-name {sname} " + "--project-name {pnamemg} " + "-n {tnamemgv}"), + expect_failure=True) + + create_checks = [JMESPathCheck('name', local_vars["task_name1"]), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects/tasks'), + JMESPathCheck('length(properties.input.selectedDatabases[0].tableMap)', 2), + JMESPathCheck('properties.input.sourceConnectionInfo.dataSource', 'notarealsourceserver'), + JMESPathCheck('properties.input.targetConnectionInfo.dataSource', 'notarealtargetserver'), + JMESPathCheck('properties.taskType', 'Migrate.SqlServer.SqlDb'), + JMESPathCheck('properties.input.validationOptions.enableDataIntegrityValidation', False), + JMESPathCheck('properties.input.validationOptions.enableQueryAnalysisValidation', False), + JMESPathCheck('properties.input.validationOptions.enableSchemaValidation', False)] + cancel_checks = [JMESPathCheck('name', local_vars["task_name1"]), + JMESPathPatternCheck('properties.state', 'Cancel(?:ed|ing)')] + create_checks_pg = [JMESPathCheck('name', local_vars["task_name_pg"]), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects/tasks'), + JMESPathCheck('length(properties.input.selectedDatabases[0].selectedTables)', 2), + JMESPathCheck('properties.input.sourceConnectionInfo.serverName', 'notarealsourceserver'), + JMESPathCheck('properties.input.sourceConnectionInfo.encryptConnection', False), + JMESPathCheck('properties.input.sourceConnectionInfo.trustServerCertificate', True), + JMESPathCheck('properties.input.targetConnectionInfo.serverName', 'notarealtargetserver'), + JMESPathCheck('properties.input.targetConnectionInfo.encryptConnection', True), + JMESPathCheck('properties.input.targetConnectionInfo.trustServerCertificate', False), + JMESPathCheck('properties.taskType', 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2')] + cancel_checks_pg = [JMESPathCheck('name', local_vars["task_name_pg"]), + JMESPathPatternCheck('properties.state', 'Cancel(?:ed|ing)')] + create_checks_mgv = [JMESPathCheck('name', local_vars["task_name_mgv"]), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects/tasks'), + JMESPathCheck('properties.input.throttling.maxParallelism', 2), + JMESPathCheck('properties.input.throttling.minFreeCpu', 25), + JMESPathCheck('properties.input.throttling.minFreeMemoryMb', 1024), + JMESPathCheck('properties.input.replication', 'OneTime'), + JMESPathCheck('length(properties.input.databases)', 2), + JMESPathCheck('properties.input.databases.db1.targetRUs', 0), + JMESPathCheck('length(properties.input.databases.db1.collections)', 2), + JMESPathCheck('properties.input.databases.db1.collections.cdb11.canDelete', True), + JMESPathCheck('properties.input.databases.db1.collections.cdb11.shardKey', 'None'), + JMESPathCheck('properties.input.databases.db1.collections.cdb11.targetRUs', 'None'), + JMESPathCheck('properties.input.databases.db1.collections.cdb12.canDelete', True), + JMESPathCheck('properties.input.databases.db1.collections.cdb12.shardKey', 'None'), + JMESPathCheck('properties.input.databases.db1.collections.cdb12.targetRUs', 'None'), + JMESPathCheck('properties.input.databases.db2.targetRUs', 0), + JMESPathCheck('length(properties.input.databases.db2.collections)', 2), + JMESPathCheck('properties.input.databases.db2.collections.cdb21.canDelete', True), + JMESPathCheck('properties.input.databases.db2.collections.cdb21.shardKey', 'None'), + JMESPathCheck('properties.input.databases.db2.collections.cdb21.targetRUs', 'None'), + JMESPathCheck('properties.input.databases.db2.collections.cdb22.canDelete', True), + JMESPathCheck('properties.input.databases.db2.collections.cdb22.shardKey', 'None'), + JMESPathCheck('properties.input.databases.db2.collections.cdb22.targetRUs', 'None'), + JMESPathCheck('properties.input.source.type', 'MongoDbConnectionInfo'), + JMESPathCheck('properties.input.source.userName', 'mongoadmin'), + JMESPathCheck('properties.input.target.type', 'MongoDbConnectionInfo'), + JMESPathCheck('properties.input.target.userName', 'mongoadmin'), + JMESPathCheck('properties.taskType', 'Validate.MongoDb')] + + # SQL Tests + self.cmd(("az dms project task create " + "--task-type OfflineMigration " + "--database-options-json \"{dboptions1}\" " + "-n {tname1} " + "--project-name {pname} " + "-g {rg} " + "--service-name {sname} " + "--source-connection-json \"{sconn}\" " + "--target-connection-json \"{tconn}\""), + checks=create_checks) + self.cmd(("az dms project task show " + "-g {rg} " + "--service-name {sname} " + "--project-name {pname} " + "-n {tname1}"), + checks=create_checks) + self.cmd(("az dms project task cancel " + "-g {rg} " + "--service-name {sname} " + "--project-name {pname} " + "-n {tname1}"), + checks=cancel_checks) + + # PG Tests + self.cmd(("az dms project task create " + "--task-type OnlineMigration " + "--database-options-json \"{dboptionspg}\" " + "-n {tnamepg} " + "--project-name {pnamepg} " + "-g {rg} " + "--service-name {sname} " + "--source-connection-json \"{sconnpg}\" " + "--target-connection-json \"{tconnpg}\""), + checks=create_checks_pg) + self.cmd(("az dms project task show " + "-g {rg} " + "--service-name {sname} " + "--project-name {pnamepg} " + "-n {tnamepg}"), + checks=create_checks_pg) + self.cmd(("az dms project task cancel " + "-g {rg} " + "--service-name {sname} " + "--project-name {pnamepg} " + "-n {tnamepg}"), + checks=cancel_checks_pg) + + self.cmd(("az dms project task create " + "--task-type OfflineMigration " + "--database-options-json \"{dboptions2}\" " + "-n {tname2} " + "--project-name {pname} " + "-g {rg} " + "--service-name {sname} " + "--source-connection-json \"{sconn}\" " + "--target-connection-json \"{tconn}\"")) + + # Mongo Tests + self.cmd(("az dms project task create " + "--task-type OfflineMigration " + "--database-options-json '{dboptionsmg}' " + "-n {tnamemgv} " + "--project-name {pnamemg} " + "-g {rg} " + "--service-name {sname} " + "--source-connection-json \"{sconnmg}\" " + "--target-connection-json \"{tconnmg}\" " + "--validate-only"), + checks=create_checks_mgv) + self.cmd(("az dms project task show " + "-g {rg} " + "--service-name {sname} " + "--project-name {pnamemg} " + "-n {tnamemgv}"), + checks=create_checks_mgv) + + list_checks = [JMESPathCheck('length(@)', 2), + JMESPathCheck("length([?name == '{}'])".format(local_vars["task_name1"]), 1)] + self.cmd(("az dms project task list " + "-g {rg} " + "--service-name {sname} " + "--project-name {pname} " + "--task-type \"Migrate.SqlServer.SqlDb\""), + checks=list_checks) + + self.cmd(("az dms project task check-name " + "-g {rg} " + "--service-name {sname} " + "--project-name {pname} " + "-n {tname1}"), + checks=self.name_exists_checks) + + self.cmd(("az dms project task delete " + "-g {rg} " + "--service-name {sname} " + "--project-name {pname} " + "-n {tname1} " + "--delete-running-tasks true -y")) + + self.cmd(("az dms project task check-name " + "-g {rg} " + "--service-name {sname} " + "--project-name {pname} " + "-n {tname1}"), + checks=self.name_available_checks) + + # Clean up service for live runs + self.cmd(("az dms delete " + "-g {rg} " + "-n {sname} " + "--delete-running-tasks true -y")) diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/__init__.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/__init__.py index 5a5dc56421e..b82e09a5b43 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/__init__.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/__init__.py @@ -1,19 +1,19 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._configuration import DataMigrationServiceClientConfiguration -from ._data_migration_service_client import DataMigrationServiceClient -__all__ = ['DataMigrationServiceClient', 'DataMigrationServiceClientConfiguration'] - -from .version import VERSION +from ._data_migration_management_client import DataMigrationManagementClient +from ._version import VERSION __version__ = VERSION +__all__ = ['DataMigrationManagementClient'] +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/_configuration.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_configuration.py index 2d5f7085ebf..fb14e90d4c1 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/_configuration.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_configuration.py @@ -1,48 +1,71 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrestazure import AzureConfiguration -from .version import VERSION +from typing import TYPE_CHECKING +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + + +class DataMigrationManagementClientConfiguration(Configuration): + """Configuration for DataMigrationManagementClient. -class DataMigrationServiceClientConfiguration(AzureConfiguration): - """Configuration for DataMigrationServiceClient Note that all parameters used to create this instance are saved as instance attributes. - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: Identifier of the subscription + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: Identifier of the subscription. :type subscription_id: str - :param str base_url: Service URL """ def __init__( - self, credentials, subscription_id, base_url=None): - - if credentials is None: - raise ValueError("Parameter 'credentials' must not be None.") + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - if not base_url: - base_url = 'https://management.azure.com' - - super(DataMigrationServiceClientConfiguration, self).__init__(base_url) - - # Starting Autorest.Python 4.0.64, make connection pool activated by default - self.keep_alive = True + super(DataMigrationManagementClientConfiguration, self).__init__(**kwargs) - self.add_user_agent('azure-mgmt-datamigration/{}'.format(VERSION)) - self.add_user_agent('Azure-SDK-For-Python') - - self.credentials = credentials + self.credential = credential self.subscription_id = subscription_id + self.api_version = "2018-07-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-datamigration/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/_data_migration_management_client.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_data_migration_management_client.py new file mode 100644 index 00000000000..5a89a72e4d7 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_data_migration_management_client.py @@ -0,0 +1,105 @@ +# 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 typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + +from ._configuration import DataMigrationManagementClientConfiguration +from .operations import ResourceSkusOperations +from .operations import ServicesOperations +from .operations import TasksOperations +from .operations import ServiceTasksOperations +from .operations import ProjectsOperations +from .operations import UsagesOperations +from .operations import Operations +from .operations import FilesOperations +from . import models + + +class DataMigrationManagementClient(object): + """Data Migration Client. + + :ivar resource_skus: ResourceSkusOperations operations + :vartype resource_skus: azure.mgmt.datamigration.operations.ResourceSkusOperations + :ivar services: ServicesOperations operations + :vartype services: azure.mgmt.datamigration.operations.ServicesOperations + :ivar tasks: TasksOperations operations + :vartype tasks: azure.mgmt.datamigration.operations.TasksOperations + :ivar service_tasks: ServiceTasksOperations operations + :vartype service_tasks: azure.mgmt.datamigration.operations.ServiceTasksOperations + :ivar projects: ProjectsOperations operations + :vartype projects: azure.mgmt.datamigration.operations.ProjectsOperations + :ivar usages: UsagesOperations operations + :vartype usages: azure.mgmt.datamigration.operations.UsagesOperations + :ivar operations: Operations operations + :vartype operations: azure.mgmt.datamigration.operations.Operations + :ivar files: FilesOperations operations + :vartype files: azure.mgmt.datamigration.operations.FilesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: Identifier of the subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataMigrationManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.resource_skus = ResourceSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.services = ServicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.tasks = TasksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_tasks = ServiceTasksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.projects = ProjectsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.usages = UsagesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.files = FilesOperations( + self._client, self._config, self._serialize, self._deserialize) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> DataMigrationManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/_data_migration_service_client.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_data_migration_service_client.py deleted file mode 100644 index 7afc2ba0630..00000000000 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/_data_migration_service_client.py +++ /dev/null @@ -1,84 +0,0 @@ -# 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.service_client import SDKClient -from msrest import Serializer, Deserializer - -from ._configuration import DataMigrationServiceClientConfiguration -from .operations import ResourceSkusOperations -from .operations import ServicesOperations -from .operations import TasksOperations -from .operations import ServiceTasksOperations -from .operations import ProjectsOperations -from .operations import UsagesOperations -from .operations import Operations -from .operations import FilesOperations -from . import models - - -class DataMigrationServiceClient(SDKClient): - """Data Migration Client - - :ivar config: Configuration for client. - :vartype config: DataMigrationServiceClientConfiguration - - :ivar resource_skus: ResourceSkus operations - :vartype resource_skus: azure.mgmt.datamigration.operations.ResourceSkusOperations - :ivar services: Services operations - :vartype services: azure.mgmt.datamigration.operations.ServicesOperations - :ivar tasks: Tasks operations - :vartype tasks: azure.mgmt.datamigration.operations.TasksOperations - :ivar service_tasks: ServiceTasks operations - :vartype service_tasks: azure.mgmt.datamigration.operations.ServiceTasksOperations - :ivar projects: Projects operations - :vartype projects: azure.mgmt.datamigration.operations.ProjectsOperations - :ivar usages: Usages operations - :vartype usages: azure.mgmt.datamigration.operations.UsagesOperations - :ivar operations: Operations operations - :vartype operations: azure.mgmt.datamigration.operations.Operations - :ivar files: Files operations - :vartype files: azure.mgmt.datamigration.operations.FilesOperations - - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: Identifier of the subscription - :type subscription_id: str - :param str base_url: Service URL - """ - - def __init__( - self, credentials, subscription_id, base_url=None): - - self.config = DataMigrationServiceClientConfiguration(credentials, subscription_id, base_url) - super(DataMigrationServiceClient, self).__init__(self.config.credentials, self.config) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2018-07-15-preview' - self._serialize = Serializer(client_models) - self._deserialize = Deserializer(client_models) - - self.resource_skus = ResourceSkusOperations( - self._client, self.config, self._serialize, self._deserialize) - self.services = ServicesOperations( - self._client, self.config, self._serialize, self._deserialize) - self.tasks = TasksOperations( - self._client, self.config, self._serialize, self._deserialize) - self.service_tasks = ServiceTasksOperations( - self._client, self.config, self._serialize, self._deserialize) - self.projects = ProjectsOperations( - self._client, self.config, self._serialize, self._deserialize) - self.usages = UsagesOperations( - self._client, self.config, self._serialize, self._deserialize) - self.operations = Operations( - self._client, self.config, self._serialize, self._deserialize) - self.files = FilesOperations( - self._client, self.config, self._serialize, self._deserialize) diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/_metadata.json b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_metadata.json new file mode 100644 index 00000000000..f1599761d51 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_metadata.json @@ -0,0 +1,116 @@ +{ + "chosen_version": "2018-07-15-preview", + "total_api_version_list": ["2018-07-15-preview"], + "client": { + "name": "DataMigrationManagementClient", + "filename": "_data_migration_management_client", + "description": "Data Migration Client.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataMigrationManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"DataMigrationManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "Identifier of the subscription.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "Identifier of the subscription.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" + }, + "operation_groups": { + "resource_skus": "ResourceSkusOperations", + "services": "ServicesOperations", + "tasks": "TasksOperations", + "service_tasks": "ServiceTasksOperations", + "projects": "ProjectsOperations", + "usages": "UsagesOperations", + "operations": "Operations", + "files": "FilesOperations" + }, + "operation_mixins": { + "sync_imports": "None", + "async_imports": "None", + "operations": { + } + } +} \ No newline at end of file diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/version.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_version.py similarity index 84% rename from src/dms-preview/azext_dms/vendored_sdks/datamigration/version.py rename to src/dms-preview/azext_dms/vendored_sdks/datamigration/_version.py index 20cee28211d..b77ac924608 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/version.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/_version.py @@ -1,13 +1,9 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "4.0.0" - +VERSION = "9.0.0" diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/__init__.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/__init__.py new file mode 100644 index 00000000000..29a86c66d2b --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/__init__.py @@ -0,0 +1,10 @@ +# 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 ._data_migration_management_client import DataMigrationManagementClient +__all__ = ['DataMigrationManagementClient'] diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/_configuration.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/_configuration.py new file mode 100644 index 00000000000..fd3f194391c --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/_configuration.py @@ -0,0 +1,67 @@ +# 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 typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from .._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class DataMigrationManagementClientConfiguration(Configuration): + """Configuration for DataMigrationManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: Identifier of the subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(DataMigrationManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2018-07-15-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-datamigration/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/_data_migration_management_client.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/_data_migration_management_client.py new file mode 100644 index 00000000000..afddfe9a67e --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/_data_migration_management_client.py @@ -0,0 +1,99 @@ +# 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 typing import Any, Optional, TYPE_CHECKING + +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import DataMigrationManagementClientConfiguration +from .operations import ResourceSkusOperations +from .operations import ServicesOperations +from .operations import TasksOperations +from .operations import ServiceTasksOperations +from .operations import ProjectsOperations +from .operations import UsagesOperations +from .operations import Operations +from .operations import FilesOperations +from .. import models + + +class DataMigrationManagementClient(object): + """Data Migration Client. + + :ivar resource_skus: ResourceSkusOperations operations + :vartype resource_skus: azure.mgmt.datamigration.aio.operations.ResourceSkusOperations + :ivar services: ServicesOperations operations + :vartype services: azure.mgmt.datamigration.aio.operations.ServicesOperations + :ivar tasks: TasksOperations operations + :vartype tasks: azure.mgmt.datamigration.aio.operations.TasksOperations + :ivar service_tasks: ServiceTasksOperations operations + :vartype service_tasks: azure.mgmt.datamigration.aio.operations.ServiceTasksOperations + :ivar projects: ProjectsOperations operations + :vartype projects: azure.mgmt.datamigration.aio.operations.ProjectsOperations + :ivar usages: UsagesOperations operations + :vartype usages: azure.mgmt.datamigration.aio.operations.UsagesOperations + :ivar operations: Operations operations + :vartype operations: azure.mgmt.datamigration.aio.operations.Operations + :ivar files: FilesOperations operations + :vartype files: azure.mgmt.datamigration.aio.operations.FilesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: Identifier of the subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = DataMigrationManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.resource_skus = ResourceSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.services = ServicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.tasks = TasksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_tasks = ServiceTasksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.projects = ProjectsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.usages = UsagesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.files = FilesOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "DataMigrationManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/__init__.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/__init__.py new file mode 100644 index 00000000000..6fcef949b4a --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/__init__.py @@ -0,0 +1,27 @@ +# 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_skus_operations import ResourceSkusOperations +from ._services_operations import ServicesOperations +from ._tasks_operations import TasksOperations +from ._service_tasks_operations import ServiceTasksOperations +from ._projects_operations import ProjectsOperations +from ._usages_operations import UsagesOperations +from ._operations import Operations +from ._files_operations import FilesOperations + +__all__ = [ + 'ResourceSkusOperations', + 'ServicesOperations', + 'TasksOperations', + 'ServiceTasksOperations', + 'ProjectsOperations', + 'UsagesOperations', + 'Operations', + 'FilesOperations', +] diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_files_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_files_operations.py new file mode 100644 index 00000000000..456bf819165 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_files_operations.py @@ -0,0 +1,557 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class FilesOperations: + """FilesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + group_name: str, + service_name: str, + project_name: str, + **kwargs + ) -> AsyncIterable["_models.FileList"]: + """Get files in a project. + + The project resource is a nested resource representing a stored migration project. This method + returns a list of files owned by a project resource. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FileList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.FileList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FileList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('FileList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files'} # type: ignore + + async def get( + self, + group_name: str, + service_name: str, + project_name: str, + file_name: str, + **kwargs + ) -> "_models.ProjectFile": + """Get file information. + + The files resource is a nested, proxy-only resource representing a file stored under the + project resource. This method retrieves information about a file. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param file_name: Name of the File. + :type file_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectFile, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectFile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectFile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'fileName': self._serialize.url("file_name", file_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ProjectFile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} # type: ignore + + async def create_or_update( + self, + group_name: str, + service_name: str, + project_name: str, + file_name: str, + parameters: "_models.ProjectFile", + **kwargs + ) -> "_models.ProjectFile": + """Create a file resource. + + The PUT method creates a new file or updates an existing one. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param file_name: Name of the File. + :type file_name: str + :param parameters: Information about the file. + :type parameters: ~azure.mgmt.datamigration.models.ProjectFile + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectFile, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectFile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectFile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'fileName': self._serialize.url("file_name", file_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectFile') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ProjectFile', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ProjectFile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} # type: ignore + + async def delete( + self, + group_name: str, + service_name: str, + project_name: str, + file_name: str, + **kwargs + ) -> None: + """Delete file. + + This method deletes a file. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param file_name: Name of the File. + :type file_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'fileName': self._serialize.url("file_name", file_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} # type: ignore + + async def update( + self, + group_name: str, + service_name: str, + project_name: str, + file_name: str, + parameters: "_models.ProjectFile", + **kwargs + ) -> "_models.ProjectFile": + """Update a file. + + This method updates an existing file. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param file_name: Name of the File. + :type file_name: str + :param parameters: Information about the file. + :type parameters: ~azure.mgmt.datamigration.models.ProjectFile + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectFile, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectFile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectFile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'fileName': self._serialize.url("file_name", file_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectFile') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ProjectFile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} # type: ignore + + async def read( + self, + group_name: str, + service_name: str, + project_name: str, + file_name: str, + **kwargs + ) -> "_models.FileStorageInfo": + """Request storage information for downloading the file content. + + This method is used for requesting storage information using which contents of the file can be + downloaded. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param file_name: Name of the File. + :type file_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FileStorageInfo, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.FileStorageInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FileStorageInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.read.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'fileName': self._serialize.url("file_name", file_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FileStorageInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + read.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read'} # type: ignore + + async def read_write( + self, + group_name: str, + service_name: str, + project_name: str, + file_name: str, + **kwargs + ) -> "_models.FileStorageInfo": + """Request information for reading and writing file content. + + This method is used for requesting information for reading and writing the file content. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param file_name: Name of the File. + :type file_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FileStorageInfo, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.FileStorageInfo + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FileStorageInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.read_write.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'fileName': self._serialize.url("file_name", file_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FileStorageInfo', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + read_write.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_operations.py new file mode 100644 index 00000000000..0c4fccb0365 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_operations.py @@ -0,0 +1,107 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ServiceOperationList"]: + """Get available resource provider actions (operations). + + Lists all available actions exposed by the Database Migration Service resource provider. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceOperationList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.ServiceOperationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceOperationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceOperationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataMigration/operations'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_projects_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_projects_operations.py new file mode 100644 index 00000000000..e5be74bf73b --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_projects_operations.py @@ -0,0 +1,406 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ProjectsOperations: + """ProjectsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + group_name: str, + service_name: str, + **kwargs + ) -> AsyncIterable["_models.ProjectList"]: + """Get projects in a service. + + The project resource is a nested resource representing a stored migration project. This method + returns a list of projects owned by a service resource. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ProjectList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.ProjectList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ProjectList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects'} # type: ignore + + async def create_or_update( + self, + group_name: str, + service_name: str, + project_name: str, + parameters: "_models.Project", + **kwargs + ) -> "_models.Project": + """Create or update project. + + The project resource is a nested resource representing a stored migration project. The PUT + method creates a new project or updates an existing one. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param parameters: Information about the project. + :type parameters: ~azure.mgmt.datamigration.models.Project + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Project, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.Project + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Project"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Project') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Project', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('Project', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} # type: ignore + + async def get( + self, + group_name: str, + service_name: str, + project_name: str, + **kwargs + ) -> "_models.Project": + """Get project information. + + The project resource is a nested resource representing a stored migration project. The GET + method retrieves information about a project. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Project, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.Project + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Project"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Project', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} # type: ignore + + async def delete( + self, + group_name: str, + service_name: str, + project_name: str, + delete_running_tasks: Optional[bool] = None, + **kwargs + ) -> None: + """Delete project. + + The project resource is a nested resource representing a stored migration project. The DELETE + method deletes a project. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param delete_running_tasks: Delete the resource even if it contains running tasks. + :type delete_running_tasks: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if delete_running_tasks is not None: + query_parameters['deleteRunningTasks'] = self._serialize.query("delete_running_tasks", delete_running_tasks, 'bool') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} # type: ignore + + async def update( + self, + group_name: str, + service_name: str, + project_name: str, + parameters: "_models.Project", + **kwargs + ) -> "_models.Project": + """Update project. + + The project resource is a nested resource representing a stored migration project. The PATCH + method updates an existing project. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param parameters: Information about the project. + :type parameters: ~azure.mgmt.datamigration.models.Project + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Project, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.Project + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Project"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Project') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Project', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_resource_skus_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_resource_skus_operations.py new file mode 100644 index 00000000000..c9d47f16c7c --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_resource_skus_operations.py @@ -0,0 +1,111 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ResourceSkusOperations: + """ResourceSkusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_skus( + self, + **kwargs + ) -> AsyncIterable["_models.ResourceSkusResult"]: + """Get supported SKUs. + + The skus action returns the list of SKUs that DMS supports. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ResourceSkusResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.ResourceSkusResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ResourceSkusResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_skus.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ResourceSkusResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_skus.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_service_tasks_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_service_tasks_operations.py new file mode 100644 index 00000000000..d90b7f6da56 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_service_tasks_operations.py @@ -0,0 +1,487 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ServiceTasksOperations: + """ServiceTasksOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + group_name: str, + service_name: str, + task_type: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.TaskList"]: + """Get service level tasks for a service. + + The services resource is the top-level resource that represents the Database Migration Service. + This method returns a list of service level tasks owned by a service resource. Some tasks may + have a status of Unknown, which indicates that an error occurred while querying the status of + that task. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param task_type: Filter tasks by task type. + :type task_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TaskList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.TaskList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TaskList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if task_type is not None: + query_parameters['taskType'] = self._serialize.query("task_type", task_type, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TaskList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks'} # type: ignore + + async def create_or_update( + self, + group_name: str, + service_name: str, + task_name: str, + parameters: "_models.ProjectTask", + **kwargs + ) -> "_models.ProjectTask": + """Create or update service task. + + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. The PUT method creates a new service task or updates an existing one, although + since service tasks have no mutable custom properties, there is little reason to update an + existing one. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param task_name: Name of the Task. + :type task_name: str + :param parameters: Information about the task. + :type parameters: ~azure.mgmt.datamigration.models.ProjectTask + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectTask') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} # type: ignore + + async def get( + self, + group_name: str, + service_name: str, + task_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.ProjectTask": + """Get service task information. + + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. The GET method retrieves information about a service task. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param task_name: Name of the Task. + :type task_name: str + :param expand: Expand the response. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} # type: ignore + + async def delete( + self, + group_name: str, + service_name: str, + task_name: str, + delete_running_tasks: Optional[bool] = None, + **kwargs + ) -> None: + """Delete service task. + + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. The DELETE method deletes a service task, canceling it first if it's running. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param task_name: Name of the Task. + :type task_name: str + :param delete_running_tasks: Delete the resource even if it contains running tasks. + :type delete_running_tasks: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if delete_running_tasks is not None: + query_parameters['deleteRunningTasks'] = self._serialize.query("delete_running_tasks", delete_running_tasks, 'bool') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} # type: ignore + + async def update( + self, + group_name: str, + service_name: str, + task_name: str, + parameters: "_models.ProjectTask", + **kwargs + ) -> "_models.ProjectTask": + """Create or update service task. + + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. The PATCH method updates an existing service task, but since service tasks have + no mutable custom properties, there is little reason to do so. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param task_name: Name of the Task. + :type task_name: str + :param parameters: Information about the task. + :type parameters: ~azure.mgmt.datamigration.models.ProjectTask + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectTask') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} # type: ignore + + async def cancel( + self, + group_name: str, + service_name: str, + task_name: str, + **kwargs + ) -> "_models.ProjectTask": + """Cancel a service task. + + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. This method cancels a service task if it's currently queued or running. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param task_name: Name of the Task. + :type task_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.cancel.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_services_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_services_operations.py new file mode 100644 index 00000000000..fc2df220921 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_services_operations.py @@ -0,0 +1,1140 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ServicesOperations: + """ServicesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + group_name: str, + service_name: str, + parameters: "_models.DataMigrationService", + **kwargs + ) -> Optional["_models.DataMigrationService"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.DataMigrationService"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataMigrationService') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('DataMigrationService', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('DataMigrationService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + async def begin_create_or_update( + self, + group_name: str, + service_name: str, + parameters: "_models.DataMigrationService", + **kwargs + ) -> AsyncLROPoller["_models.DataMigrationService"]: + """Create or update DMS Instance. + + The services resource is the top-level resource that represents the Database Migration Service. + The PUT method creates a new service or updates an existing one. When a service is updated, + existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, + "vm", which refers to a VM-based service, although other kinds may be added in the future. This + method can change the kind, SKU, and network of the service, but if tasks are currently running + (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider + will reply when successful with 200 OK or 201 Created. Long-running operations use the + provisioningState property. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param parameters: Information about the service. + :type parameters: ~azure.mgmt.datamigration.models.DataMigrationService + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataMigrationService or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.datamigration.models.DataMigrationService] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationService"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + group_name=group_name, + service_name=service_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataMigrationService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + async def get( + self, + group_name: str, + service_name: str, + **kwargs + ) -> "_models.DataMigrationService": + """Get DMS Service Instance. + + The services resource is the top-level resource that represents the Database Migration Service. + The GET method retrieves information about a service instance. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataMigrationService, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.DataMigrationService + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationService"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataMigrationService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + async def _delete_initial( + self, + group_name: str, + service_name: str, + delete_running_tasks: Optional[bool] = None, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if delete_running_tasks is not None: + query_parameters['deleteRunningTasks'] = self._serialize.query("delete_running_tasks", delete_running_tasks, 'bool') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + async def begin_delete( + self, + group_name: str, + service_name: str, + delete_running_tasks: Optional[bool] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete DMS Service Instance. + + The services resource is the top-level resource that represents the Database Migration Service. + The DELETE method deletes a service. Any running tasks will be canceled. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param delete_running_tasks: Delete the resource even if it contains running tasks. + :type delete_running_tasks: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + group_name=group_name, + service_name=service_name, + delete_running_tasks=delete_running_tasks, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + async def _update_initial( + self, + group_name: str, + service_name: str, + parameters: "_models.DataMigrationService", + **kwargs + ) -> Optional["_models.DataMigrationService"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.DataMigrationService"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataMigrationService') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('DataMigrationService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + async def begin_update( + self, + group_name: str, + service_name: str, + parameters: "_models.DataMigrationService", + **kwargs + ) -> AsyncLROPoller["_models.DataMigrationService"]: + """Create or update DMS Service Instance. + + The services resource is the top-level resource that represents the Database Migration Service. + The PATCH method updates an existing service. This method can change the kind, SKU, and network + of the service, but if tasks are currently running (i.e. the service is busy), this will fail + with 400 Bad Request ("ServiceIsBusy"). + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param parameters: Information about the service. + :type parameters: ~azure.mgmt.datamigration.models.DataMigrationService + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataMigrationService or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.datamigration.models.DataMigrationService] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationService"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + group_name=group_name, + service_name=service_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataMigrationService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + async def check_status( + self, + group_name: str, + service_name: str, + **kwargs + ) -> "_models.DataMigrationServiceStatusResponse": + """Check service health status. + + The services resource is the top-level resource that represents the Database Migration Service. + This action performs a health check and returns the status of the service and virtual machine + size. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataMigrationServiceStatusResponse, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.DataMigrationServiceStatusResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationServiceStatusResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.check_status.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DataMigrationServiceStatusResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus'} # type: ignore + + async def _start_initial( + self, + group_name: str, + service_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self._start_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start'} # type: ignore + + async def begin_start( + self, + group_name: str, + service_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Start service. + + The services resource is the top-level resource that represents the Database Migration Service. + This action starts the service and the service can be used for data migration. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._start_initial( + group_name=group_name, + service_name=service_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start'} # type: ignore + + async def _stop_initial( + self, + group_name: str, + service_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop'} # type: ignore + + async def begin_stop( + self, + group_name: str, + service_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Stop service. + + The services resource is the top-level resource that represents the Database Migration Service. + This action stops the service and the service cannot be used for data migration. The service + owner won't be billed when the service is stopped. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_initial( + group_name=group_name, + service_name=service_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop'} # type: ignore + + def list_skus( + self, + group_name: str, + service_name: str, + **kwargs + ) -> AsyncIterable["_models.ServiceSkuList"]: + """Get compatible SKUs. + + The services resource is the top-level resource that represents the Database Migration Service. + The skus action returns the list of SKUs that a service resource can be updated to. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceSkuList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.ServiceSkuList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_skus.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_skus.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus'} # type: ignore + + async def check_children_name_availability( + self, + group_name: str, + service_name: str, + parameters: "_models.NameAvailabilityRequest", + **kwargs + ) -> "_models.NameAvailabilityResponse": + """Check nested resource name validity and availability. + + This method checks whether a proposed nested resource name is valid and available. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param parameters: Requested name to validate. + :type parameters: ~azure.mgmt.datamigration.models.NameAvailabilityRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NameAvailabilityResponse, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.NameAvailabilityResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NameAvailabilityResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.check_children_name_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NameAvailabilityRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NameAvailabilityResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_children_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability'} # type: ignore + + def list_by_resource_group( + self, + group_name: str, + **kwargs + ) -> AsyncIterable["_models.DataMigrationServiceList"]: + """Get services in resource group. + + The Services resource is the top-level resource that represents the Database Migration Service. + This method returns a list of service resources in a resource group. + + :param group_name: Name of the resource group. + :type group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataMigrationServiceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.DataMigrationServiceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationServiceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataMigrationServiceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.DataMigrationServiceList"]: + """Get services in subscription. + + The services resource is the top-level resource that represents the Database Migration Service. + This method returns a list of service resources in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataMigrationServiceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.DataMigrationServiceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationServiceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DataMigrationServiceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services'} # type: ignore + + async def check_name_availability( + self, + location: str, + parameters: "_models.NameAvailabilityRequest", + **kwargs + ) -> "_models.NameAvailabilityResponse": + """Check name validity and availability. + + This method checks whether a proposed top-level resource name is valid and available. + + :param location: The Azure region of the operation. + :type location: str + :param parameters: Requested name to validate. + :type parameters: ~azure.mgmt.datamigration.models.NameAvailabilityRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NameAvailabilityResponse, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.NameAvailabilityResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NameAvailabilityResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.check_name_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NameAvailabilityRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NameAvailabilityResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_tasks_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_tasks_operations.py new file mode 100644 index 00000000000..26b7f533547 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_tasks_operations.py @@ -0,0 +1,587 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TasksOperations: + """TasksOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + group_name: str, + service_name: str, + project_name: str, + task_type: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.TaskList"]: + """Get tasks in a service. + + The services resource is the top-level resource that represents the Database Migration Service. + This method returns a list of tasks owned by a service resource. Some tasks may have a status + of Unknown, which indicates that an error occurred while querying the status of that task. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param task_type: Filter tasks by task type. + :type task_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TaskList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.TaskList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TaskList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if task_type is not None: + query_parameters['taskType'] = self._serialize.query("task_type", task_type, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TaskList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks'} # type: ignore + + async def create_or_update( + self, + group_name: str, + service_name: str, + project_name: str, + task_name: str, + parameters: "_models.ProjectTask", + **kwargs + ) -> "_models.ProjectTask": + """Create or update task. + + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. The PUT method creates a new task or updates an existing one, although since tasks + have no mutable custom properties, there is little reason to update an existing one. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param task_name: Name of the Task. + :type task_name: str + :param parameters: Information about the task. + :type parameters: ~azure.mgmt.datamigration.models.ProjectTask + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectTask') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} # type: ignore + + async def get( + self, + group_name: str, + service_name: str, + project_name: str, + task_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.ProjectTask": + """Get task information. + + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. The GET method retrieves information about a task. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param task_name: Name of the Task. + :type task_name: str + :param expand: Expand the response. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} # type: ignore + + async def delete( + self, + group_name: str, + service_name: str, + project_name: str, + task_name: str, + delete_running_tasks: Optional[bool] = None, + **kwargs + ) -> None: + """Delete task. + + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. The DELETE method deletes a task, canceling it first if it's running. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param task_name: Name of the Task. + :type task_name: str + :param delete_running_tasks: Delete the resource even if it contains running tasks. + :type delete_running_tasks: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if delete_running_tasks is not None: + query_parameters['deleteRunningTasks'] = self._serialize.query("delete_running_tasks", delete_running_tasks, 'bool') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} # type: ignore + + async def update( + self, + group_name: str, + service_name: str, + project_name: str, + task_name: str, + parameters: "_models.ProjectTask", + **kwargs + ) -> "_models.ProjectTask": + """Create or update task. + + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. The PATCH method updates an existing task, but since tasks have no mutable custom + properties, there is little reason to do so. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param task_name: Name of the Task. + :type task_name: str + :param parameters: Information about the task. + :type parameters: ~azure.mgmt.datamigration.models.ProjectTask + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectTask') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} # type: ignore + + async def cancel( + self, + group_name: str, + service_name: str, + project_name: str, + task_name: str, + **kwargs + ) -> "_models.ProjectTask": + """Cancel a task. + + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. This method cancels a task if it's currently queued or running. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param task_name: Name of the Task. + :type task_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + # Construct URL + url = self.cancel.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ProjectTask', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel'} # type: ignore + + async def command( + self, + group_name: str, + service_name: str, + project_name: str, + task_name: str, + parameters: "_models.CommandProperties", + **kwargs + ) -> "_models.CommandProperties": + """Execute a command on a task. + + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. This method executes a command on a running task. + + :param group_name: Name of the resource group. + :type group_name: str + :param service_name: Name of the service. + :type service_name: str + :param project_name: Name of the project. + :type project_name: str + :param task_name: Name of the Task. + :type task_name: str + :param parameters: Command to execute. + :type parameters: ~azure.mgmt.datamigration.models.CommandProperties + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CommandProperties, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.CommandProperties + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CommandProperties"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.command.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'projectName': self._serialize.url("project_name", project_name, 'str'), + 'taskName': self._serialize.url("task_name", task_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CommandProperties') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CommandProperties', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + command.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_usages_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_usages_operations.py new file mode 100644 index 00000000000..7e72a4270d1 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/aio/operations/_usages_operations.py @@ -0,0 +1,116 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class UsagesOperations: + """UsagesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location: str, + **kwargs + ) -> AsyncIterable["_models.QuotaList"]: + """Get resource quotas and usage information. + + This method returns region-specific quotas and resource usage information for the Database + Migration Service. + + :param location: The Azure region of the operation. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either QuotaList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datamigration.models.QuotaList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.QuotaList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('QuotaList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/__init__.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/__init__.py index 5b98da9c16a..e5c69ebe427 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/__init__.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/__init__.py @@ -1,16 +1,13 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- try: - from ._models_py3 import ApiError, ApiErrorException + from ._models_py3 import ApiError from ._models_py3 import AvailableServiceSku from ._models_py3 import AvailableServiceSkuCapacity from ._models_py3 import AvailableServiceSkuSku @@ -22,7 +19,6 @@ from ._models_py3 import CheckOCIDriverTaskOutput from ._models_py3 import CheckOCIDriverTaskProperties from ._models_py3 import CommandProperties - from ._models_py3 import ConnectionInfo from ._models_py3 import ConnectToMongoDbTaskProperties from ._models_py3 import ConnectToSourceMySqlTaskInput from ._models_py3 import ConnectToSourceMySqlTaskProperties @@ -51,6 +47,8 @@ from ._models_py3 import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput from ._models_py3 import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem from ._models_py3 import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties + from ._models_py3 import ConnectToTargetSqlDbSyncTaskInput + from ._models_py3 import ConnectToTargetSqlDbSyncTaskProperties from ._models_py3 import ConnectToTargetSqlDbTaskInput from ._models_py3 import ConnectToTargetSqlDbTaskOutput from ._models_py3 import ConnectToTargetSqlDbTaskProperties @@ -60,8 +58,14 @@ from ._models_py3 import ConnectToTargetSqlMITaskInput from ._models_py3 import ConnectToTargetSqlMITaskOutput from ._models_py3 import ConnectToTargetSqlMITaskProperties - from ._models_py3 import ConnectToTargetSqlSqlDbSyncTaskInput - from ._models_py3 import ConnectToTargetSqlSqlDbSyncTaskProperties + from ._models_py3 import ConnectionInfo + from ._models_py3 import DataIntegrityValidationResult + from ._models_py3 import DataItemMigrationSummaryResult + from ._models_py3 import DataMigrationError + from ._models_py3 import DataMigrationProjectMetadata + from ._models_py3 import DataMigrationService + from ._models_py3 import DataMigrationServiceList + from ._models_py3 import DataMigrationServiceStatusResponse from ._models_py3 import Database from ._models_py3 import DatabaseBackupInfo from ._models_py3 import DatabaseFileInfo @@ -70,23 +74,18 @@ from ._models_py3 import DatabaseObjectName from ._models_py3 import DatabaseSummaryResult from ._models_py3 import DatabaseTable - from ._models_py3 import DataIntegrityValidationResult - from ._models_py3 import DataItemMigrationSummaryResult - from ._models_py3 import DataMigrationError - from ._models_py3 import DataMigrationProjectMetadata - from ._models_py3 import DataMigrationService - from ._models_py3 import DataMigrationServiceStatusResponse from ._models_py3 import ExecutionStatistics + from ._models_py3 import FileList from ._models_py3 import FileShare from ._models_py3 import FileStorageInfo from ._models_py3 import GetProjectDetailsNonSqlTaskInput from ._models_py3 import GetTdeCertificatesSqlTaskInput from ._models_py3 import GetTdeCertificatesSqlTaskOutput from ._models_py3 import GetTdeCertificatesSqlTaskProperties - from ._models_py3 import GetUserTablesPostgreSqlTaskInput from ._models_py3 import GetUserTablesOracleTaskInput from ._models_py3 import GetUserTablesOracleTaskOutput from ._models_py3 import GetUserTablesOracleTaskProperties + from ._models_py3 import GetUserTablesPostgreSqlTaskInput from ._models_py3 import GetUserTablesPostgreSqlTaskOutput from ._models_py3 import GetUserTablesPostgreSqlTaskProperties from ._models_py3 import GetUserTablesSqlSyncTaskInput @@ -98,6 +97,7 @@ from ._models_py3 import InstallOCIDriverTaskInput from ._models_py3 import InstallOCIDriverTaskOutput from ._models_py3 import InstallOCIDriverTaskProperties + from ._models_py3 import MiSqlConnectionInfo from ._models_py3 import MigrateMISyncCompleteCommandInput from ._models_py3 import MigrateMISyncCompleteCommandOutput from ._models_py3 import MigrateMISyncCompleteCommandProperties @@ -111,7 +111,6 @@ from ._models_py3 import MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel from ._models_py3 import MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel from ._models_py3 import MigrateMySqlAzureDbForMySqlSyncTaskProperties - from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput from ._models_py3 import MigrateOracleAzureDbForPostgreSqlSyncTaskProperties from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncDatabaseInput from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncTaskInput @@ -121,6 +120,7 @@ from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncTaskOutputError from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel + from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput @@ -138,6 +138,7 @@ from ._models_py3 import MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel from ._models_py3 import MigrateSchemaSqlServerSqlDbTaskProperties from ._models_py3 import MigrateSchemaSqlTaskOutputError + from ._models_py3 import MigrateSqlServerDatabaseInput from ._models_py3 import MigrateSqlServerSqlDbDatabaseInput from ._models_py3 import MigrateSqlServerSqlDbSyncDatabaseInput from ._models_py3 import MigrateSqlServerSqlDbSyncTaskInput @@ -170,7 +171,6 @@ from ._models_py3 import MigrateSqlServerSqlMITaskOutputLoginLevel from ._models_py3 import MigrateSqlServerSqlMITaskOutputMigrationLevel from ._models_py3 import MigrateSqlServerSqlMITaskProperties - from ._models_py3 import MigrateSqlServerSqlServerDatabaseInput from ._models_py3 import MigrateSsisTaskInput from ._models_py3 import MigrateSsisTaskOutput from ._models_py3 import MigrateSsisTaskOutputMigrationLevel @@ -186,7 +186,6 @@ from ._models_py3 import MigrationValidationDatabaseSummaryResult from ._models_py3 import MigrationValidationOptions from ._models_py3 import MigrationValidationResult - from ._models_py3 import MiSqlConnectionInfo from ._models_py3 import MongoDbCancelCommand from ._models_py3 import MongoDbClusterInfo from ._models_py3 import MongoDbCollectionInfo @@ -217,18 +216,20 @@ from ._models_py3 import NonSqlMigrationTaskInput from ._models_py3 import NonSqlMigrationTaskOutput from ._models_py3 import ODataError - from ._models_py3 import OrphanedUserInfo from ._models_py3 import OracleConnectionInfo from ._models_py3 import OracleOCIDriverInfo + from ._models_py3 import OrphanedUserInfo from ._models_py3 import PostgreSqlConnectionInfo from ._models_py3 import Project from ._models_py3 import ProjectFile from ._models_py3 import ProjectFileProperties + from ._models_py3 import ProjectList from ._models_py3 import ProjectTask from ._models_py3 import ProjectTaskProperties from ._models_py3 import QueryAnalysisValidationResult from ._models_py3 import QueryExecutionResult from ._models_py3 import Quota + from ._models_py3 import QuotaList from ._models_py3 import QuotaName from ._models_py3 import ReportableException from ._models_py3 import Resource @@ -237,6 +238,7 @@ from ._models_py3 import ResourceSkuCapacity from ._models_py3 import ResourceSkuCosts from ._models_py3 import ResourceSkuRestrictions + from ._models_py3 import ResourceSkusResult from ._models_py3 import SchemaComparisonValidationResult from ._models_py3 import SchemaComparisonValidationResultType from ._models_py3 import SchemaMigrationSetting @@ -244,13 +246,16 @@ from ._models_py3 import ServerProperties from ._models_py3 import ServiceOperation from ._models_py3 import ServiceOperationDisplay + from ._models_py3 import ServiceOperationList from ._models_py3 import ServiceSku + from ._models_py3 import ServiceSkuList from ._models_py3 import SqlConnectionInfo from ._models_py3 import SqlMigrationTaskInput from ._models_py3 import SqlServerSqlMISyncTaskInput from ._models_py3 import SsisMigrationInfo from ._models_py3 import StartMigrationScenarioServerRoleResult from ._models_py3 import SyncMigrationDatabaseErrorEvent + from ._models_py3 import TaskList from ._models_py3 import TrackedResource from ._models_py3 import UploadOCIDriverTaskInput from ._models_py3 import UploadOCIDriverTaskOutput @@ -263,333 +268,335 @@ from ._models_py3 import ValidateMigrationInputSqlServerSqlMITaskOutput from ._models_py3 import ValidateMigrationInputSqlServerSqlMITaskProperties from ._models_py3 import ValidateMongoDbTaskProperties - from ._models_py3 import ValidateSyncMigrationInputSqlServerTaskInput from ._models_py3 import ValidateOracleAzureDbForPostgreSqlSyncTaskProperties from ._models_py3 import ValidateOracleAzureDbPostgreSqlSyncTaskOutput + from ._models_py3 import ValidateSyncMigrationInputSqlServerTaskInput from ._models_py3 import ValidateSyncMigrationInputSqlServerTaskOutput from ._models_py3 import ValidationError from ._models_py3 import WaitStatistics except (SyntaxError, ImportError): - from ._models import ApiError, ApiErrorException - from ._models import AvailableServiceSku - from ._models import AvailableServiceSkuCapacity - from ._models import AvailableServiceSkuSku - from ._models import AzureActiveDirectoryApp - from ._models import BackupFileInfo - from ._models import BackupSetInfo - from ._models import BlobShare - from ._models import CheckOCIDriverTaskInput - from ._models import CheckOCIDriverTaskOutput - from ._models import CheckOCIDriverTaskProperties - from ._models import CommandProperties - from ._models import ConnectionInfo - from ._models import ConnectToMongoDbTaskProperties - from ._models import ConnectToSourceMySqlTaskInput - from ._models import ConnectToSourceMySqlTaskProperties - from ._models import ConnectToSourceNonSqlTaskOutput - from ._models import ConnectToSourcePostgreSqlSyncTaskInput - from ._models import ConnectToSourceOracleSyncTaskInput - from ._models import ConnectToSourceOracleSyncTaskOutput - from ._models import ConnectToSourceOracleSyncTaskProperties - from ._models import ConnectToSourcePostgreSqlSyncTaskOutput - from ._models import ConnectToSourcePostgreSqlSyncTaskProperties - from ._models import ConnectToSourceSqlServerSyncTaskProperties - from ._models import ConnectToSourceSqlServerTaskInput - from ._models import ConnectToSourceSqlServerTaskOutput - from ._models import ConnectToSourceSqlServerTaskOutputAgentJobLevel - from ._models import ConnectToSourceSqlServerTaskOutputDatabaseLevel - from ._models import ConnectToSourceSqlServerTaskOutputLoginLevel - from ._models import ConnectToSourceSqlServerTaskOutputTaskLevel - from ._models import ConnectToSourceSqlServerTaskProperties - from ._models import ConnectToTargetAzureDbForMySqlTaskInput - from ._models import ConnectToTargetAzureDbForMySqlTaskOutput - from ._models import ConnectToTargetAzureDbForMySqlTaskProperties - from ._models import ConnectToTargetAzureDbForPostgreSqlSyncTaskInput - from ._models import ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput - from ._models import ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties - from ._models import ConnectToTargetSqlDbTaskInput - from ._models import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput - from ._models import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput - from ._models import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem - from ._models import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties - from ._models import ConnectToTargetSqlDbTaskOutput - from ._models import ConnectToTargetSqlDbTaskProperties - from ._models import ConnectToTargetSqlMISyncTaskInput - from ._models import ConnectToTargetSqlMISyncTaskOutput - from ._models import ConnectToTargetSqlMISyncTaskProperties - from ._models import ConnectToTargetSqlMITaskInput - from ._models import ConnectToTargetSqlMITaskOutput - from ._models import ConnectToTargetSqlMITaskProperties - from ._models import ConnectToTargetSqlSqlDbSyncTaskInput - from ._models import ConnectToTargetSqlSqlDbSyncTaskProperties - from ._models import Database - from ._models import DatabaseBackupInfo - from ._models import DatabaseFileInfo - from ._models import DatabaseFileInput - from ._models import DatabaseInfo - from ._models import DatabaseObjectName - from ._models import DatabaseSummaryResult - from ._models import DatabaseTable - from ._models import DataIntegrityValidationResult - from ._models import DataItemMigrationSummaryResult - from ._models import DataMigrationError - from ._models import DataMigrationProjectMetadata - from ._models import DataMigrationService - from ._models import DataMigrationServiceStatusResponse - from ._models import ExecutionStatistics - from ._models import FileShare - from ._models import FileStorageInfo - from ._models import GetProjectDetailsNonSqlTaskInput - from ._models import GetTdeCertificatesSqlTaskInput - from ._models import GetTdeCertificatesSqlTaskOutput - from ._models import GetTdeCertificatesSqlTaskProperties - from ._models import GetUserTablesPostgreSqlTaskInput - from ._models import GetUserTablesOracleTaskInput - from ._models import GetUserTablesOracleTaskOutput - from ._models import GetUserTablesOracleTaskProperties - from ._models import GetUserTablesPostgreSqlTaskOutput - from ._models import GetUserTablesPostgreSqlTaskProperties - from ._models import GetUserTablesSqlSyncTaskInput - from ._models import GetUserTablesSqlSyncTaskOutput - from ._models import GetUserTablesSqlSyncTaskProperties - from ._models import GetUserTablesSqlTaskInput - from ._models import GetUserTablesSqlTaskOutput - from ._models import GetUserTablesSqlTaskProperties - from ._models import InstallOCIDriverTaskInput - from ._models import InstallOCIDriverTaskOutput - from ._models import InstallOCIDriverTaskProperties - from ._models import MigrateMISyncCompleteCommandInput - from ._models import MigrateMISyncCompleteCommandOutput - from ._models import MigrateMISyncCompleteCommandProperties - from ._models import MigrateMongoDbTaskProperties - from ._models import MigrateMySqlAzureDbForMySqlSyncDatabaseInput - from ._models import MigrateMySqlAzureDbForMySqlSyncTaskInput - from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutput - from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError - from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel - from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputError - from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel - from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel - from ._models import MigrateMySqlAzureDbForMySqlSyncTaskProperties - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput - from ._models import MigrateOracleAzureDbForPostgreSqlSyncTaskProperties - from ._models import MigrateOracleAzureDbPostgreSqlSyncDatabaseInput - from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskInput - from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutput - from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError - from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel - from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputError - from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel - from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel - from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties - from ._models import MigrateSchemaSqlServerSqlDbDatabaseInput - from ._models import MigrateSchemaSqlServerSqlDbTaskInput - from ._models import MigrateSchemaSqlServerSqlDbTaskOutput - from ._models import MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel - from ._models import MigrateSchemaSqlServerSqlDbTaskOutputError - from ._models import MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel - from ._models import MigrateSchemaSqlServerSqlDbTaskProperties - from ._models import MigrateSchemaSqlTaskOutputError - from ._models import MigrateSqlServerSqlDbDatabaseInput - from ._models import MigrateSqlServerSqlDbSyncDatabaseInput - from ._models import MigrateSqlServerSqlDbSyncTaskInput - from ._models import MigrateSqlServerSqlDbSyncTaskOutput - from ._models import MigrateSqlServerSqlDbSyncTaskOutputDatabaseError - from ._models import MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel - from ._models import MigrateSqlServerSqlDbSyncTaskOutputError - from ._models import MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel - from ._models import MigrateSqlServerSqlDbSyncTaskOutputTableLevel - from ._models import MigrateSqlServerSqlDbSyncTaskProperties - from ._models import MigrateSqlServerSqlDbTaskInput - from ._models import MigrateSqlServerSqlDbTaskOutput - from ._models import MigrateSqlServerSqlDbTaskOutputDatabaseLevel - from ._models import MigrateSqlServerSqlDbTaskOutputError - from ._models import MigrateSqlServerSqlDbTaskOutputMigrationLevel - from ._models import MigrateSqlServerSqlDbTaskOutputTableLevel - from ._models import MigrateSqlServerSqlDbTaskProperties - from ._models import MigrateSqlServerSqlMIDatabaseInput - from ._models import MigrateSqlServerSqlMISyncTaskInput - from ._models import MigrateSqlServerSqlMISyncTaskOutput - from ._models import MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel - from ._models import MigrateSqlServerSqlMISyncTaskOutputError - from ._models import MigrateSqlServerSqlMISyncTaskOutputMigrationLevel - from ._models import MigrateSqlServerSqlMISyncTaskProperties - from ._models import MigrateSqlServerSqlMITaskInput - from ._models import MigrateSqlServerSqlMITaskOutput - from ._models import MigrateSqlServerSqlMITaskOutputAgentJobLevel - from ._models import MigrateSqlServerSqlMITaskOutputDatabaseLevel - from ._models import MigrateSqlServerSqlMITaskOutputError - from ._models import MigrateSqlServerSqlMITaskOutputLoginLevel - from ._models import MigrateSqlServerSqlMITaskOutputMigrationLevel - from ._models import MigrateSqlServerSqlMITaskProperties - from ._models import MigrateSqlServerSqlServerDatabaseInput - from ._models import MigrateSsisTaskInput - from ._models import MigrateSsisTaskOutput - from ._models import MigrateSsisTaskOutputMigrationLevel - from ._models import MigrateSsisTaskOutputProjectLevel - from ._models import MigrateSsisTaskProperties - from ._models import MigrateSyncCompleteCommandInput - from ._models import MigrateSyncCompleteCommandOutput - from ._models import MigrateSyncCompleteCommandProperties - from ._models import MigrationEligibilityInfo - from ._models import MigrationReportResult - from ._models import MigrationTableMetadata - from ._models import MigrationValidationDatabaseLevelResult - from ._models import MigrationValidationDatabaseSummaryResult - from ._models import MigrationValidationOptions - from ._models import MigrationValidationResult - from ._models import MiSqlConnectionInfo - from ._models import MongoDbCancelCommand - from ._models import MongoDbClusterInfo - from ._models import MongoDbCollectionInfo - from ._models import MongoDbCollectionProgress - from ._models import MongoDbCollectionSettings - from ._models import MongoDbCommandInput - from ._models import MongoDbConnectionInfo - from ._models import MongoDbDatabaseInfo - from ._models import MongoDbDatabaseProgress - from ._models import MongoDbDatabaseSettings - from ._models import MongoDbError - from ._models import MongoDbFinishCommand - from ._models import MongoDbFinishCommandInput - from ._models import MongoDbMigrationProgress - from ._models import MongoDbMigrationSettings - from ._models import MongoDbObjectInfo - from ._models import MongoDbProgress - from ._models import MongoDbRestartCommand - from ._models import MongoDbShardKeyField - from ._models import MongoDbShardKeyInfo - from ._models import MongoDbShardKeySetting - from ._models import MongoDbThrottlingSettings - from ._models import MySqlConnectionInfo - from ._models import NameAvailabilityRequest - from ._models import NameAvailabilityResponse - from ._models import NonSqlDataMigrationTable - from ._models import NonSqlDataMigrationTableResult - from ._models import NonSqlMigrationTaskInput - from ._models import NonSqlMigrationTaskOutput - from ._models import ODataError - from ._models import OrphanedUserInfo - from ._models import OracleConnectionInfo - from ._models import OracleOCIDriverInfo - from ._models import PostgreSqlConnectionInfo - from ._models import Project - from ._models import ProjectFile - from ._models import ProjectFileProperties - from ._models import ProjectTask - from ._models import ProjectTaskProperties - from ._models import QueryAnalysisValidationResult - from ._models import QueryExecutionResult - from ._models import Quota - from ._models import QuotaName - from ._models import ReportableException - from ._models import Resource - from ._models import ResourceSku - from ._models import ResourceSkuCapabilities - from ._models import ResourceSkuCapacity - from ._models import ResourceSkuCosts - from ._models import ResourceSkuRestrictions - from ._models import SchemaComparisonValidationResult - from ._models import SchemaComparisonValidationResultType - from ._models import SchemaMigrationSetting - from ._models import SelectedCertificateInput - from ._models import ServerProperties - from ._models import ServiceOperation - from ._models import ServiceOperationDisplay - from ._models import ServiceSku - from ._models import SqlConnectionInfo - from ._models import SqlMigrationTaskInput - from ._models import SqlServerSqlMISyncTaskInput - from ._models import SsisMigrationInfo - from ._models import StartMigrationScenarioServerRoleResult - from ._models import SyncMigrationDatabaseErrorEvent - from ._models import TrackedResource - from ._models import UploadOCIDriverTaskInput - from ._models import UploadOCIDriverTaskOutput - from ._models import UploadOCIDriverTaskProperties - from ._models import ValidateMigrationInputSqlServerSqlDbSyncTaskProperties - from ._models import ValidateMigrationInputSqlServerSqlMISyncTaskInput - from ._models import ValidateMigrationInputSqlServerSqlMISyncTaskOutput - from ._models import ValidateMigrationInputSqlServerSqlMISyncTaskProperties - from ._models import ValidateMigrationInputSqlServerSqlMITaskInput - from ._models import ValidateMigrationInputSqlServerSqlMITaskOutput - from ._models import ValidateMigrationInputSqlServerSqlMITaskProperties - from ._models import ValidateMongoDbTaskProperties - from ._models import ValidateSyncMigrationInputSqlServerTaskInput - from ._models import ValidateOracleAzureDbForPostgreSqlSyncTaskProperties - from ._models import ValidateOracleAzureDbPostgreSqlSyncTaskOutput - from ._models import ValidateSyncMigrationInputSqlServerTaskOutput - from ._models import ValidationError - from ._models import WaitStatistics -from ._paged_models import AvailableServiceSkuPaged -from ._paged_models import DataMigrationServicePaged -from ._paged_models import ProjectFilePaged -from ._paged_models import ProjectPaged -from ._paged_models import ProjectTaskPaged -from ._paged_models import QuotaPaged -from ._paged_models import ResourceSkuPaged -from ._paged_models import ServiceOperationPaged -from ._data_migration_service_client_enums import ( - CommandState, - SsisMigrationStage, - MigrationState, - MigrationStatus, - SsisMigrationOverwriteOption, - SsisStoreType, - SqlSourcePlatform, + from ._models import ApiError # type: ignore + from ._models import AvailableServiceSku # type: ignore + from ._models import AvailableServiceSkuCapacity # type: ignore + from ._models import AvailableServiceSkuSku # type: ignore + from ._models import AzureActiveDirectoryApp # type: ignore + from ._models import BackupFileInfo # type: ignore + from ._models import BackupSetInfo # type: ignore + from ._models import BlobShare # type: ignore + from ._models import CheckOCIDriverTaskInput # type: ignore + from ._models import CheckOCIDriverTaskOutput # type: ignore + from ._models import CheckOCIDriverTaskProperties # type: ignore + from ._models import CommandProperties # type: ignore + from ._models import ConnectToMongoDbTaskProperties # type: ignore + from ._models import ConnectToSourceMySqlTaskInput # type: ignore + from ._models import ConnectToSourceMySqlTaskProperties # type: ignore + from ._models import ConnectToSourceNonSqlTaskOutput # type: ignore + from ._models import ConnectToSourceOracleSyncTaskInput # type: ignore + from ._models import ConnectToSourceOracleSyncTaskOutput # type: ignore + from ._models import ConnectToSourceOracleSyncTaskProperties # type: ignore + from ._models import ConnectToSourcePostgreSqlSyncTaskInput # type: ignore + from ._models import ConnectToSourcePostgreSqlSyncTaskOutput # type: ignore + from ._models import ConnectToSourcePostgreSqlSyncTaskProperties # type: ignore + from ._models import ConnectToSourceSqlServerSyncTaskProperties # type: ignore + from ._models import ConnectToSourceSqlServerTaskInput # type: ignore + from ._models import ConnectToSourceSqlServerTaskOutput # type: ignore + from ._models import ConnectToSourceSqlServerTaskOutputAgentJobLevel # type: ignore + from ._models import ConnectToSourceSqlServerTaskOutputDatabaseLevel # type: ignore + from ._models import ConnectToSourceSqlServerTaskOutputLoginLevel # type: ignore + from ._models import ConnectToSourceSqlServerTaskOutputTaskLevel # type: ignore + from ._models import ConnectToSourceSqlServerTaskProperties # type: ignore + from ._models import ConnectToTargetAzureDbForMySqlTaskInput # type: ignore + from ._models import ConnectToTargetAzureDbForMySqlTaskOutput # type: ignore + from ._models import ConnectToTargetAzureDbForMySqlTaskProperties # type: ignore + from ._models import ConnectToTargetAzureDbForPostgreSqlSyncTaskInput # type: ignore + from ._models import ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput # type: ignore + from ._models import ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties # type: ignore + from ._models import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput # type: ignore + from ._models import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput # type: ignore + from ._models import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem # type: ignore + from ._models import ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties # type: ignore + from ._models import ConnectToTargetSqlDbSyncTaskInput # type: ignore + from ._models import ConnectToTargetSqlDbSyncTaskProperties # type: ignore + from ._models import ConnectToTargetSqlDbTaskInput # type: ignore + from ._models import ConnectToTargetSqlDbTaskOutput # type: ignore + from ._models import ConnectToTargetSqlDbTaskProperties # type: ignore + from ._models import ConnectToTargetSqlMISyncTaskInput # type: ignore + from ._models import ConnectToTargetSqlMISyncTaskOutput # type: ignore + from ._models import ConnectToTargetSqlMISyncTaskProperties # type: ignore + from ._models import ConnectToTargetSqlMITaskInput # type: ignore + from ._models import ConnectToTargetSqlMITaskOutput # type: ignore + from ._models import ConnectToTargetSqlMITaskProperties # type: ignore + from ._models import ConnectionInfo # type: ignore + from ._models import DataIntegrityValidationResult # type: ignore + from ._models import DataItemMigrationSummaryResult # type: ignore + from ._models import DataMigrationError # type: ignore + from ._models import DataMigrationProjectMetadata # type: ignore + from ._models import DataMigrationService # type: ignore + from ._models import DataMigrationServiceList # type: ignore + from ._models import DataMigrationServiceStatusResponse # type: ignore + from ._models import Database # type: ignore + from ._models import DatabaseBackupInfo # type: ignore + from ._models import DatabaseFileInfo # type: ignore + from ._models import DatabaseFileInput # type: ignore + from ._models import DatabaseInfo # type: ignore + from ._models import DatabaseObjectName # type: ignore + from ._models import DatabaseSummaryResult # type: ignore + from ._models import DatabaseTable # type: ignore + from ._models import ExecutionStatistics # type: ignore + from ._models import FileList # type: ignore + from ._models import FileShare # type: ignore + from ._models import FileStorageInfo # type: ignore + from ._models import GetProjectDetailsNonSqlTaskInput # type: ignore + from ._models import GetTdeCertificatesSqlTaskInput # type: ignore + from ._models import GetTdeCertificatesSqlTaskOutput # type: ignore + from ._models import GetTdeCertificatesSqlTaskProperties # type: ignore + from ._models import GetUserTablesOracleTaskInput # type: ignore + from ._models import GetUserTablesOracleTaskOutput # type: ignore + from ._models import GetUserTablesOracleTaskProperties # type: ignore + from ._models import GetUserTablesPostgreSqlTaskInput # type: ignore + from ._models import GetUserTablesPostgreSqlTaskOutput # type: ignore + from ._models import GetUserTablesPostgreSqlTaskProperties # type: ignore + from ._models import GetUserTablesSqlSyncTaskInput # type: ignore + from ._models import GetUserTablesSqlSyncTaskOutput # type: ignore + from ._models import GetUserTablesSqlSyncTaskProperties # type: ignore + from ._models import GetUserTablesSqlTaskInput # type: ignore + from ._models import GetUserTablesSqlTaskOutput # type: ignore + from ._models import GetUserTablesSqlTaskProperties # type: ignore + from ._models import InstallOCIDriverTaskInput # type: ignore + from ._models import InstallOCIDriverTaskOutput # type: ignore + from ._models import InstallOCIDriverTaskProperties # type: ignore + from ._models import MiSqlConnectionInfo # type: ignore + from ._models import MigrateMISyncCompleteCommandInput # type: ignore + from ._models import MigrateMISyncCompleteCommandOutput # type: ignore + from ._models import MigrateMISyncCompleteCommandProperties # type: ignore + from ._models import MigrateMongoDbTaskProperties # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncDatabaseInput # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncTaskInput # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutput # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputError # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel # type: ignore + from ._models import MigrateMySqlAzureDbForMySqlSyncTaskProperties # type: ignore + from ._models import MigrateOracleAzureDbForPostgreSqlSyncTaskProperties # type: ignore + from ._models import MigrateOracleAzureDbPostgreSqlSyncDatabaseInput # type: ignore + from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskInput # type: ignore + from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutput # type: ignore + from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError # type: ignore + from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel # type: ignore + from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputError # type: ignore + from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel # type: ignore + from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel # type: ignore + from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties # type: ignore + from ._models import MigrateSchemaSqlServerSqlDbDatabaseInput # type: ignore + from ._models import MigrateSchemaSqlServerSqlDbTaskInput # type: ignore + from ._models import MigrateSchemaSqlServerSqlDbTaskOutput # type: ignore + from ._models import MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel # type: ignore + from ._models import MigrateSchemaSqlServerSqlDbTaskOutputError # type: ignore + from ._models import MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel # type: ignore + from ._models import MigrateSchemaSqlServerSqlDbTaskProperties # type: ignore + from ._models import MigrateSchemaSqlTaskOutputError # type: ignore + from ._models import MigrateSqlServerDatabaseInput # type: ignore + from ._models import MigrateSqlServerSqlDbDatabaseInput # type: ignore + from ._models import MigrateSqlServerSqlDbSyncDatabaseInput # type: ignore + from ._models import MigrateSqlServerSqlDbSyncTaskInput # type: ignore + from ._models import MigrateSqlServerSqlDbSyncTaskOutput # type: ignore + from ._models import MigrateSqlServerSqlDbSyncTaskOutputDatabaseError # type: ignore + from ._models import MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel # type: ignore + from ._models import MigrateSqlServerSqlDbSyncTaskOutputError # type: ignore + from ._models import MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel # type: ignore + from ._models import MigrateSqlServerSqlDbSyncTaskOutputTableLevel # type: ignore + from ._models import MigrateSqlServerSqlDbSyncTaskProperties # type: ignore + from ._models import MigrateSqlServerSqlDbTaskInput # type: ignore + from ._models import MigrateSqlServerSqlDbTaskOutput # type: ignore + from ._models import MigrateSqlServerSqlDbTaskOutputDatabaseLevel # type: ignore + from ._models import MigrateSqlServerSqlDbTaskOutputError # type: ignore + from ._models import MigrateSqlServerSqlDbTaskOutputMigrationLevel # type: ignore + from ._models import MigrateSqlServerSqlDbTaskOutputTableLevel # type: ignore + from ._models import MigrateSqlServerSqlDbTaskProperties # type: ignore + from ._models import MigrateSqlServerSqlMIDatabaseInput # type: ignore + from ._models import MigrateSqlServerSqlMISyncTaskInput # type: ignore + from ._models import MigrateSqlServerSqlMISyncTaskOutput # type: ignore + from ._models import MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel # type: ignore + from ._models import MigrateSqlServerSqlMISyncTaskOutputError # type: ignore + from ._models import MigrateSqlServerSqlMISyncTaskOutputMigrationLevel # type: ignore + from ._models import MigrateSqlServerSqlMISyncTaskProperties # type: ignore + from ._models import MigrateSqlServerSqlMITaskInput # type: ignore + from ._models import MigrateSqlServerSqlMITaskOutput # type: ignore + from ._models import MigrateSqlServerSqlMITaskOutputAgentJobLevel # type: ignore + from ._models import MigrateSqlServerSqlMITaskOutputDatabaseLevel # type: ignore + from ._models import MigrateSqlServerSqlMITaskOutputError # type: ignore + from ._models import MigrateSqlServerSqlMITaskOutputLoginLevel # type: ignore + from ._models import MigrateSqlServerSqlMITaskOutputMigrationLevel # type: ignore + from ._models import MigrateSqlServerSqlMITaskProperties # type: ignore + from ._models import MigrateSsisTaskInput # type: ignore + from ._models import MigrateSsisTaskOutput # type: ignore + from ._models import MigrateSsisTaskOutputMigrationLevel # type: ignore + from ._models import MigrateSsisTaskOutputProjectLevel # type: ignore + from ._models import MigrateSsisTaskProperties # type: ignore + from ._models import MigrateSyncCompleteCommandInput # type: ignore + from ._models import MigrateSyncCompleteCommandOutput # type: ignore + from ._models import MigrateSyncCompleteCommandProperties # type: ignore + from ._models import MigrationEligibilityInfo # type: ignore + from ._models import MigrationReportResult # type: ignore + from ._models import MigrationTableMetadata # type: ignore + from ._models import MigrationValidationDatabaseLevelResult # type: ignore + from ._models import MigrationValidationDatabaseSummaryResult # type: ignore + from ._models import MigrationValidationOptions # type: ignore + from ._models import MigrationValidationResult # type: ignore + from ._models import MongoDbCancelCommand # type: ignore + from ._models import MongoDbClusterInfo # type: ignore + from ._models import MongoDbCollectionInfo # type: ignore + from ._models import MongoDbCollectionProgress # type: ignore + from ._models import MongoDbCollectionSettings # type: ignore + from ._models import MongoDbCommandInput # type: ignore + from ._models import MongoDbConnectionInfo # type: ignore + from ._models import MongoDbDatabaseInfo # type: ignore + from ._models import MongoDbDatabaseProgress # type: ignore + from ._models import MongoDbDatabaseSettings # type: ignore + from ._models import MongoDbError # type: ignore + from ._models import MongoDbFinishCommand # type: ignore + from ._models import MongoDbFinishCommandInput # type: ignore + from ._models import MongoDbMigrationProgress # type: ignore + from ._models import MongoDbMigrationSettings # type: ignore + from ._models import MongoDbObjectInfo # type: ignore + from ._models import MongoDbProgress # type: ignore + from ._models import MongoDbRestartCommand # type: ignore + from ._models import MongoDbShardKeyField # type: ignore + from ._models import MongoDbShardKeyInfo # type: ignore + from ._models import MongoDbShardKeySetting # type: ignore + from ._models import MongoDbThrottlingSettings # type: ignore + from ._models import MySqlConnectionInfo # type: ignore + from ._models import NameAvailabilityRequest # type: ignore + from ._models import NameAvailabilityResponse # type: ignore + from ._models import NonSqlDataMigrationTable # type: ignore + from ._models import NonSqlDataMigrationTableResult # type: ignore + from ._models import NonSqlMigrationTaskInput # type: ignore + from ._models import NonSqlMigrationTaskOutput # type: ignore + from ._models import ODataError # type: ignore + from ._models import OracleConnectionInfo # type: ignore + from ._models import OracleOCIDriverInfo # type: ignore + from ._models import OrphanedUserInfo # type: ignore + from ._models import PostgreSqlConnectionInfo # type: ignore + from ._models import Project # type: ignore + from ._models import ProjectFile # type: ignore + from ._models import ProjectFileProperties # type: ignore + from ._models import ProjectList # type: ignore + from ._models import ProjectTask # type: ignore + from ._models import ProjectTaskProperties # type: ignore + from ._models import QueryAnalysisValidationResult # type: ignore + from ._models import QueryExecutionResult # type: ignore + from ._models import Quota # type: ignore + from ._models import QuotaList # type: ignore + from ._models import QuotaName # type: ignore + from ._models import ReportableException # type: ignore + from ._models import Resource # type: ignore + from ._models import ResourceSku # type: ignore + from ._models import ResourceSkuCapabilities # type: ignore + from ._models import ResourceSkuCapacity # type: ignore + from ._models import ResourceSkuCosts # type: ignore + from ._models import ResourceSkuRestrictions # type: ignore + from ._models import ResourceSkusResult # type: ignore + from ._models import SchemaComparisonValidationResult # type: ignore + from ._models import SchemaComparisonValidationResultType # type: ignore + from ._models import SchemaMigrationSetting # type: ignore + from ._models import SelectedCertificateInput # type: ignore + from ._models import ServerProperties # type: ignore + from ._models import ServiceOperation # type: ignore + from ._models import ServiceOperationDisplay # type: ignore + from ._models import ServiceOperationList # type: ignore + from ._models import ServiceSku # type: ignore + from ._models import ServiceSkuList # type: ignore + from ._models import SqlConnectionInfo # type: ignore + from ._models import SqlMigrationTaskInput # type: ignore + from ._models import SqlServerSqlMISyncTaskInput # type: ignore + from ._models import SsisMigrationInfo # type: ignore + from ._models import StartMigrationScenarioServerRoleResult # type: ignore + from ._models import SyncMigrationDatabaseErrorEvent # type: ignore + from ._models import TaskList # type: ignore + from ._models import TrackedResource # type: ignore + from ._models import UploadOCIDriverTaskInput # type: ignore + from ._models import UploadOCIDriverTaskOutput # type: ignore + from ._models import UploadOCIDriverTaskProperties # type: ignore + from ._models import ValidateMigrationInputSqlServerSqlDbSyncTaskProperties # type: ignore + from ._models import ValidateMigrationInputSqlServerSqlMISyncTaskInput # type: ignore + from ._models import ValidateMigrationInputSqlServerSqlMISyncTaskOutput # type: ignore + from ._models import ValidateMigrationInputSqlServerSqlMISyncTaskProperties # type: ignore + from ._models import ValidateMigrationInputSqlServerSqlMITaskInput # type: ignore + from ._models import ValidateMigrationInputSqlServerSqlMITaskOutput # type: ignore + from ._models import ValidateMigrationInputSqlServerSqlMITaskProperties # type: ignore + from ._models import ValidateMongoDbTaskProperties # type: ignore + from ._models import ValidateOracleAzureDbForPostgreSqlSyncTaskProperties # type: ignore + from ._models import ValidateOracleAzureDbPostgreSqlSyncTaskOutput # type: ignore + from ._models import ValidateSyncMigrationInputSqlServerTaskInput # type: ignore + from ._models import ValidateSyncMigrationInputSqlServerTaskOutput # type: ignore + from ._models import ValidationError # type: ignore + from ._models import WaitStatistics # type: ignore + +from ._data_migration_management_client_enums import ( AuthenticationType, - MongoDbErrorType, - MongoDbMigrationState, - MongoDbShardKeyOrder, - MongoDbReplication, - BackupType, + BackupFileStatus, BackupMode, - SyncTableMigrationState, - SyncDatabaseMigrationReportingState, - ReplicateMigrationState, - ScenarioTarget, - ScenarioSource, - ValidationStatus, - Severity, - UpdateActionType, - ObjectType, + BackupType, + CommandState, + DataMigrationResultCode, + DatabaseCompatLevel, + DatabaseFileType, DatabaseMigrationStage, - BackupFileStatus, DatabaseMigrationState, + DatabaseState, + ErrorType, LoginMigrationStage, LoginType, - DatabaseState, - DatabaseCompatLevel, - DatabaseFileType, - ServerLevelPermissionsGroup, + MigrationState, + MigrationStatus, MongoDbClusterType, - TaskState, - ServiceProvisioningState, - ProjectTargetPlatform, - ProjectSourcePlatform, - ProjectProvisioningState, + MongoDbErrorType, + MongoDbMigrationState, + MongoDbProgressResultType, + MongoDbReplication, + MongoDbShardKeyOrder, + MySqlTargetPlatformType, NameCheckFailureReason, - ServiceScalability, - ResourceSkuRestrictionsType, - ResourceSkuRestrictionsReasonCode, + ObjectType, + ProjectProvisioningState, + ProjectSourcePlatform, + ProjectTargetPlatform, + ReplicateMigrationState, ResourceSkuCapacityScaleType, - MySqlTargetPlatformType, + ResourceSkuRestrictionsReasonCode, + ResourceSkuRestrictionsType, + ScenarioSource, + ScenarioTarget, SchemaMigrationOption, SchemaMigrationStage, - DataMigrationResultCode, - ErrorType, + ServerLevelPermissionsGroup, + ServiceProvisioningState, + ServiceScalability, + Severity, + SqlSourcePlatform, + SsisMigrationOverwriteOption, + SsisMigrationStage, + SsisStoreType, + SyncDatabaseMigrationReportingState, + SyncTableMigrationState, + TaskState, + UpdateActionType, + ValidationStatus, ) __all__ = [ - 'ApiError', 'ApiErrorException', + 'ApiError', 'AvailableServiceSku', 'AvailableServiceSkuCapacity', 'AvailableServiceSkuSku', @@ -601,15 +608,14 @@ 'CheckOCIDriverTaskOutput', 'CheckOCIDriverTaskProperties', 'CommandProperties', - 'ConnectionInfo', 'ConnectToMongoDbTaskProperties', 'ConnectToSourceMySqlTaskInput', 'ConnectToSourceMySqlTaskProperties', 'ConnectToSourceNonSqlTaskOutput', - 'ConnectToSourcePostgreSqlSyncTaskInput', 'ConnectToSourceOracleSyncTaskInput', 'ConnectToSourceOracleSyncTaskOutput', 'ConnectToSourceOracleSyncTaskProperties', + 'ConnectToSourcePostgreSqlSyncTaskInput', 'ConnectToSourcePostgreSqlSyncTaskOutput', 'ConnectToSourcePostgreSqlSyncTaskProperties', 'ConnectToSourceSqlServerSyncTaskProperties', @@ -626,11 +632,13 @@ 'ConnectToTargetAzureDbForPostgreSqlSyncTaskInput', 'ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput', 'ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties', - 'ConnectToTargetSqlDbTaskInput', 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput', 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput', 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem', 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties', + 'ConnectToTargetSqlDbSyncTaskInput', + 'ConnectToTargetSqlDbSyncTaskProperties', + 'ConnectToTargetSqlDbTaskInput', 'ConnectToTargetSqlDbTaskOutput', 'ConnectToTargetSqlDbTaskProperties', 'ConnectToTargetSqlMISyncTaskInput', @@ -639,8 +647,14 @@ 'ConnectToTargetSqlMITaskInput', 'ConnectToTargetSqlMITaskOutput', 'ConnectToTargetSqlMITaskProperties', - 'ConnectToTargetSqlSqlDbSyncTaskInput', - 'ConnectToTargetSqlSqlDbSyncTaskProperties', + 'ConnectionInfo', + 'DataIntegrityValidationResult', + 'DataItemMigrationSummaryResult', + 'DataMigrationError', + 'DataMigrationProjectMetadata', + 'DataMigrationService', + 'DataMigrationServiceList', + 'DataMigrationServiceStatusResponse', 'Database', 'DatabaseBackupInfo', 'DatabaseFileInfo', @@ -649,23 +663,18 @@ 'DatabaseObjectName', 'DatabaseSummaryResult', 'DatabaseTable', - 'DataIntegrityValidationResult', - 'DataItemMigrationSummaryResult', - 'DataMigrationError', - 'DataMigrationProjectMetadata', - 'DataMigrationService', - 'DataMigrationServiceStatusResponse', 'ExecutionStatistics', + 'FileList', 'FileShare', 'FileStorageInfo', 'GetProjectDetailsNonSqlTaskInput', 'GetTdeCertificatesSqlTaskInput', 'GetTdeCertificatesSqlTaskOutput', 'GetTdeCertificatesSqlTaskProperties', - 'GetUserTablesPostgreSqlTaskInput', 'GetUserTablesOracleTaskInput', 'GetUserTablesOracleTaskOutput', 'GetUserTablesOracleTaskProperties', + 'GetUserTablesPostgreSqlTaskInput', 'GetUserTablesPostgreSqlTaskOutput', 'GetUserTablesPostgreSqlTaskProperties', 'GetUserTablesSqlSyncTaskInput', @@ -677,6 +686,7 @@ 'InstallOCIDriverTaskInput', 'InstallOCIDriverTaskOutput', 'InstallOCIDriverTaskProperties', + 'MiSqlConnectionInfo', 'MigrateMISyncCompleteCommandInput', 'MigrateMISyncCompleteCommandOutput', 'MigrateMISyncCompleteCommandProperties', @@ -690,7 +700,6 @@ 'MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel', 'MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel', 'MigrateMySqlAzureDbForMySqlSyncTaskProperties', - 'MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput', 'MigrateOracleAzureDbForPostgreSqlSyncTaskProperties', 'MigrateOracleAzureDbPostgreSqlSyncDatabaseInput', 'MigrateOracleAzureDbPostgreSqlSyncTaskInput', @@ -700,6 +709,7 @@ 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputError', 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel', 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel', + 'MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput', 'MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput', 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput', 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput', @@ -717,6 +727,7 @@ 'MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel', 'MigrateSchemaSqlServerSqlDbTaskProperties', 'MigrateSchemaSqlTaskOutputError', + 'MigrateSqlServerDatabaseInput', 'MigrateSqlServerSqlDbDatabaseInput', 'MigrateSqlServerSqlDbSyncDatabaseInput', 'MigrateSqlServerSqlDbSyncTaskInput', @@ -749,7 +760,6 @@ 'MigrateSqlServerSqlMITaskOutputLoginLevel', 'MigrateSqlServerSqlMITaskOutputMigrationLevel', 'MigrateSqlServerSqlMITaskProperties', - 'MigrateSqlServerSqlServerDatabaseInput', 'MigrateSsisTaskInput', 'MigrateSsisTaskOutput', 'MigrateSsisTaskOutputMigrationLevel', @@ -765,7 +775,6 @@ 'MigrationValidationDatabaseSummaryResult', 'MigrationValidationOptions', 'MigrationValidationResult', - 'MiSqlConnectionInfo', 'MongoDbCancelCommand', 'MongoDbClusterInfo', 'MongoDbCollectionInfo', @@ -796,18 +805,20 @@ 'NonSqlMigrationTaskInput', 'NonSqlMigrationTaskOutput', 'ODataError', - 'OrphanedUserInfo', 'OracleConnectionInfo', 'OracleOCIDriverInfo', + 'OrphanedUserInfo', 'PostgreSqlConnectionInfo', 'Project', 'ProjectFile', 'ProjectFileProperties', + 'ProjectList', 'ProjectTask', 'ProjectTaskProperties', 'QueryAnalysisValidationResult', 'QueryExecutionResult', 'Quota', + 'QuotaList', 'QuotaName', 'ReportableException', 'Resource', @@ -816,6 +827,7 @@ 'ResourceSkuCapacity', 'ResourceSkuCosts', 'ResourceSkuRestrictions', + 'ResourceSkusResult', 'SchemaComparisonValidationResult', 'SchemaComparisonValidationResultType', 'SchemaMigrationSetting', @@ -823,13 +835,16 @@ 'ServerProperties', 'ServiceOperation', 'ServiceOperationDisplay', + 'ServiceOperationList', 'ServiceSku', + 'ServiceSkuList', 'SqlConnectionInfo', 'SqlMigrationTaskInput', 'SqlServerSqlMISyncTaskInput', 'SsisMigrationInfo', 'StartMigrationScenarioServerRoleResult', 'SyncMigrationDatabaseErrorEvent', + 'TaskList', 'TrackedResource', 'UploadOCIDriverTaskInput', 'UploadOCIDriverTaskOutput', @@ -842,66 +857,59 @@ 'ValidateMigrationInputSqlServerSqlMITaskOutput', 'ValidateMigrationInputSqlServerSqlMITaskProperties', 'ValidateMongoDbTaskProperties', - 'ValidateSyncMigrationInputSqlServerTaskInput', 'ValidateOracleAzureDbForPostgreSqlSyncTaskProperties', 'ValidateOracleAzureDbPostgreSqlSyncTaskOutput', + 'ValidateSyncMigrationInputSqlServerTaskInput', 'ValidateSyncMigrationInputSqlServerTaskOutput', 'ValidationError', 'WaitStatistics', - 'ResourceSkuPaged', - 'AvailableServiceSkuPaged', - 'DataMigrationServicePaged', - 'ProjectTaskPaged', - 'ProjectPaged', - 'QuotaPaged', - 'ServiceOperationPaged', - 'ProjectFilePaged', - 'CommandState', - 'SsisMigrationStage', - 'MigrationState', - 'MigrationStatus', - 'SsisMigrationOverwriteOption', - 'SsisStoreType', - 'SqlSourcePlatform', 'AuthenticationType', - 'MongoDbErrorType', - 'MongoDbMigrationState', - 'MongoDbShardKeyOrder', - 'MongoDbReplication', - 'BackupType', + 'BackupFileStatus', 'BackupMode', - 'SyncTableMigrationState', - 'SyncDatabaseMigrationReportingState', - 'ReplicateMigrationState', - 'ScenarioTarget', - 'ScenarioSource', - 'ValidationStatus', - 'Severity', - 'UpdateActionType', - 'ObjectType', + 'BackupType', + 'CommandState', + 'DataMigrationResultCode', + 'DatabaseCompatLevel', + 'DatabaseFileType', 'DatabaseMigrationStage', - 'BackupFileStatus', 'DatabaseMigrationState', + 'DatabaseState', + 'ErrorType', 'LoginMigrationStage', 'LoginType', - 'DatabaseState', - 'DatabaseCompatLevel', - 'DatabaseFileType', - 'ServerLevelPermissionsGroup', + 'MigrationState', + 'MigrationStatus', 'MongoDbClusterType', - 'TaskState', - 'ServiceProvisioningState', - 'ProjectTargetPlatform', - 'ProjectSourcePlatform', - 'ProjectProvisioningState', + 'MongoDbErrorType', + 'MongoDbMigrationState', + 'MongoDbProgressResultType', + 'MongoDbReplication', + 'MongoDbShardKeyOrder', + 'MySqlTargetPlatformType', 'NameCheckFailureReason', - 'ServiceScalability', - 'ResourceSkuRestrictionsType', - 'ResourceSkuRestrictionsReasonCode', + 'ObjectType', + 'ProjectProvisioningState', + 'ProjectSourcePlatform', + 'ProjectTargetPlatform', + 'ReplicateMigrationState', 'ResourceSkuCapacityScaleType', - 'MySqlTargetPlatformType', + 'ResourceSkuRestrictionsReasonCode', + 'ResourceSkuRestrictionsType', + 'ScenarioSource', + 'ScenarioTarget', 'SchemaMigrationOption', 'SchemaMigrationStage', - 'DataMigrationResultCode', - 'ErrorType', + 'ServerLevelPermissionsGroup', + 'ServiceProvisioningState', + 'ServiceScalability', + 'Severity', + 'SqlSourcePlatform', + 'SsisMigrationOverwriteOption', + 'SsisMigrationStage', + 'SsisStoreType', + 'SyncDatabaseMigrationReportingState', + 'SyncTableMigrationState', + 'TaskState', + 'UpdateActionType', + 'ValidationStatus', ] diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_data_migration_management_client_enums.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_data_migration_management_client_enums.py new file mode 100644 index 00000000000..dc68ebf34d3 --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_data_migration_management_client_enums.py @@ -0,0 +1,539 @@ +# 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 enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of possible authentication types when connecting + """ + + NONE = "None" + WINDOWS_AUTHENTICATION = "WindowsAuthentication" + SQL_AUTHENTICATION = "SqlAuthentication" + ACTIVE_DIRECTORY_INTEGRATED = "ActiveDirectoryIntegrated" + ACTIVE_DIRECTORY_PASSWORD = "ActiveDirectoryPassword" + +class BackupFileStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of Status of the log backup file. + """ + + ARRIVED = "Arrived" + QUEUED = "Queued" + UPLOADING = "Uploading" + UPLOADED = "Uploaded" + RESTORING = "Restoring" + RESTORED = "Restored" + CANCELLED = "Cancelled" + +class BackupMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of backup modes + """ + + CREATE_BACKUP = "CreateBackup" + EXISTING_BACKUP = "ExistingBackup" + +class BackupType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enum of the different backup types. + """ + + DATABASE = "Database" + TRANSACTION_LOG = "TransactionLog" + FILE = "File" + DIFFERENTIAL_DATABASE = "DifferentialDatabase" + DIFFERENTIAL_FILE = "DifferentialFile" + PARTIAL = "Partial" + DIFFERENTIAL_PARTIAL = "DifferentialPartial" + +class CommandState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The state of the command. This is ignored if submitted. + """ + + UNKNOWN = "Unknown" + ACCEPTED = "Accepted" + RUNNING = "Running" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + +class DatabaseCompatLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of SQL Server database compatibility levels + """ + + COMPAT_LEVEL80 = "CompatLevel80" + COMPAT_LEVEL90 = "CompatLevel90" + COMPAT_LEVEL100 = "CompatLevel100" + COMPAT_LEVEL110 = "CompatLevel110" + COMPAT_LEVEL120 = "CompatLevel120" + COMPAT_LEVEL130 = "CompatLevel130" + COMPAT_LEVEL140 = "CompatLevel140" + +class DatabaseFileType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of SQL Server database file types + """ + + ROWS = "Rows" + LOG = "Log" + FILESTREAM = "Filestream" + NOT_SUPPORTED = "NotSupported" + FULLTEXT = "Fulltext" + +class DatabaseMigrationStage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current stage of migration + """ + + NONE = "None" + INITIALIZE = "Initialize" + BACKUP = "Backup" + FILE_COPY = "FileCopy" + RESTORE = "Restore" + COMPLETED = "Completed" + +class DatabaseMigrationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Database level migration state. + """ + + UNDEFINED = "UNDEFINED" + INITIAL = "INITIAL" + FULL_BACKUP_UPLOAD_START = "FULL_BACKUP_UPLOAD_START" + LOG_SHIPPING_START = "LOG_SHIPPING_START" + UPLOAD_LOG_FILES_START = "UPLOAD_LOG_FILES_START" + CUTOVER_START = "CUTOVER_START" + POST_CUTOVER_COMPLETE = "POST_CUTOVER_COMPLETE" + COMPLETED = "COMPLETED" + CANCELLED = "CANCELLED" + FAILED = "FAILED" + +class DatabaseState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of SQL Server Database states + """ + + ONLINE = "Online" + RESTORING = "Restoring" + RECOVERING = "Recovering" + RECOVERY_PENDING = "RecoveryPending" + SUSPECT = "Suspect" + EMERGENCY = "Emergency" + OFFLINE = "Offline" + COPYING = "Copying" + OFFLINE_SECONDARY = "OfflineSecondary" + +class DataMigrationResultCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Result code of the data migration + """ + + INITIAL = "Initial" + COMPLETED = "Completed" + OBJECT_NOT_EXISTS_IN_SOURCE = "ObjectNotExistsInSource" + OBJECT_NOT_EXISTS_IN_TARGET = "ObjectNotExistsInTarget" + TARGET_OBJECT_IS_INACCESSIBLE = "TargetObjectIsInaccessible" + FATAL_ERROR = "FatalError" + +class ErrorType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Error type + """ + + DEFAULT = "Default" + WARNING = "Warning" + ERROR = "Error" + +class LoginMigrationStage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enum of the different stage of login migration. + """ + + NONE = "None" + INITIALIZE = "Initialize" + LOGIN_MIGRATION = "LoginMigration" + ESTABLISH_USER_MAPPING = "EstablishUserMapping" + ASSIGN_ROLE_MEMBERSHIP = "AssignRoleMembership" + ASSIGN_ROLE_OWNERSHIP = "AssignRoleOwnership" + ESTABLISH_SERVER_PERMISSIONS = "EstablishServerPermissions" + ESTABLISH_OBJECT_PERMISSIONS = "EstablishObjectPermissions" + COMPLETED = "Completed" + +class LoginType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enum mapping of SMO LoginType. + """ + + WINDOWS_USER = "WindowsUser" + WINDOWS_GROUP = "WindowsGroup" + SQL_LOGIN = "SqlLogin" + CERTIFICATE = "Certificate" + ASYMMETRIC_KEY = "AsymmetricKey" + EXTERNAL_USER = "ExternalUser" + EXTERNAL_GROUP = "ExternalGroup" + +class MigrationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current state of migration + """ + + NONE = "None" + IN_PROGRESS = "InProgress" + FAILED = "Failed" + WARNING = "Warning" + COMPLETED = "Completed" + SKIPPED = "Skipped" + STOPPED = "Stopped" + +class MigrationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of migration + """ + + DEFAULT = "Default" + CONNECTING = "Connecting" + SOURCE_AND_TARGET_SELECTED = "SourceAndTargetSelected" + SELECT_LOGINS = "SelectLogins" + CONFIGURED = "Configured" + RUNNING = "Running" + ERROR = "Error" + STOPPED = "Stopped" + COMPLETED = "Completed" + COMPLETED_WITH_WARNINGS = "CompletedWithWarnings" + +class MongoDbClusterType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of data source + """ + + BLOB_CONTAINER = "BlobContainer" + COSMOS_DB = "CosmosDb" + MONGO_DB = "MongoDb" + +class MongoDbErrorType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of error or warning + """ + + ERROR = "Error" + VALIDATION_ERROR = "ValidationError" + WARNING = "Warning" + +class MongoDbMigrationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + NOT_STARTED = "NotStarted" + VALIDATING_INPUT = "ValidatingInput" + INITIALIZING = "Initializing" + RESTARTING = "Restarting" + COPYING = "Copying" + INITIAL_REPLAY = "InitialReplay" + REPLAYING = "Replaying" + FINALIZING = "Finalizing" + COMPLETE = "Complete" + CANCELED = "Canceled" + FAILED = "Failed" + +class MongoDbProgressResultType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of progress object + """ + + MIGRATION = "Migration" + DATABASE = "Database" + COLLECTION = "Collection" + +class MongoDbReplication(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Describes how changes will be replicated from the source to the target. The default is OneTime. + """ + + DISABLED = "Disabled" + ONE_TIME = "OneTime" + CONTINUOUS = "Continuous" + +class MongoDbShardKeyOrder(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The field ordering + """ + + FORWARD = "Forward" + REVERSE = "Reverse" + HASHED = "Hashed" + +class MySqlTargetPlatformType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of possible target types when migrating from MySQL + """ + + SQL_SERVER = "SqlServer" + AZURE_DB_FOR_MY_SQL = "AzureDbForMySQL" + +class NameCheckFailureReason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The reason why the name is not available, if nameAvailable is false + """ + + ALREADY_EXISTS = "AlreadyExists" + INVALID = "Invalid" + +class ObjectType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of type of objects + """ + + STORED_PROCEDURES = "StoredProcedures" + TABLE = "Table" + USER = "User" + VIEW = "View" + FUNCTION = "Function" + +class ProjectProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The project's provisioning state + """ + + DELETING = "Deleting" + SUCCEEDED = "Succeeded" + +class ProjectSourcePlatform(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Source platform of the project + """ + + SQL = "SQL" + MY_SQL = "MySQL" + POSTGRE_SQL = "PostgreSql" + MONGO_DB = "MongoDb" + UNKNOWN = "Unknown" + +class ProjectTargetPlatform(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Target platform of the project + """ + + SQLDB = "SQLDB" + SQLMI = "SQLMI" + AZURE_DB_FOR_MY_SQL = "AzureDbForMySql" + AZURE_DB_FOR_POSTGRE_SQL = "AzureDbForPostgreSql" + MONGO_DB = "MongoDb" + UNKNOWN = "Unknown" + +class ReplicateMigrationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Wrapper for replicate reported migration states. + """ + + UNDEFINED = "UNDEFINED" + VALIDATING = "VALIDATING" + PENDING = "PENDING" + COMPLETE = "COMPLETE" + ACTION_REQUIRED = "ACTION_REQUIRED" + FAILED = "FAILED" + +class ResourceSkuCapacityScaleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The scale type applicable to the SKU. + """ + + AUTOMATIC = "Automatic" + MANUAL = "Manual" + NONE = "None" + +class ResourceSkuRestrictionsReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The reason code for restriction. + """ + + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" + +class ResourceSkuRestrictionsType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of restrictions. + """ + + LOCATION = "location" + +class ScenarioSource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of source type + """ + + ACCESS = "Access" + DB2 = "DB2" + MY_SQL = "MySQL" + ORACLE = "Oracle" + SQL = "SQL" + SYBASE = "Sybase" + POSTGRE_SQL = "PostgreSQL" + MONGO_DB = "MongoDB" + SQLRDS = "SQLRDS" + MY_SQLRDS = "MySQLRDS" + POSTGRE_SQLRDS = "PostgreSQLRDS" + +class ScenarioTarget(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of target type + """ + + SQL_SERVER = "SQLServer" + SQLDB = "SQLDB" + SQLDW = "SQLDW" + SQLMI = "SQLMI" + AZURE_DB_FOR_MY_SQL = "AzureDBForMySql" + AZURE_DB_FOR_POSTGRES_SQL = "AzureDBForPostgresSQL" + MONGO_DB = "MongoDB" + +class SchemaMigrationOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Option for how schema is extracted and applied to target + """ + + NONE = "None" + EXTRACT_FROM_SOURCE = "ExtractFromSource" + USE_STORAGE_FILE = "UseStorageFile" + +class SchemaMigrationStage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current stage of schema migration + """ + + NOT_STARTED = "NotStarted" + VALIDATING_INPUTS = "ValidatingInputs" + COLLECTING_OBJECTS = "CollectingObjects" + DOWNLOADING_SCRIPT = "DownloadingScript" + GENERATING_SCRIPT = "GeneratingScript" + UPLOADING_SCRIPT = "UploadingScript" + DEPLOYING_SCHEMA = "DeployingSchema" + COMPLETED = "Completed" + COMPLETED_WITH_WARNINGS = "CompletedWithWarnings" + FAILED = "Failed" + +class ServerLevelPermissionsGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Permission group for validations. These groups will run a set of permissions for validating + user activity. Select the permission group for the activity that you are performing. + """ + + DEFAULT = "Default" + MIGRATION_FROM_SQL_SERVER_TO_AZURE_DB = "MigrationFromSqlServerToAzureDB" + MIGRATION_FROM_SQL_SERVER_TO_AZURE_MI = "MigrationFromSqlServerToAzureMI" + MIGRATION_FROM_MY_SQL_TO_AZURE_DB_FOR_MY_SQL = "MigrationFromMySQLToAzureDBForMySQL" + +class ServiceProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The resource's provisioning state + """ + + ACCEPTED = "Accepted" + DELETING = "Deleting" + DEPLOYING = "Deploying" + STOPPED = "Stopped" + STOPPING = "Stopping" + STARTING = "Starting" + FAILED_TO_START = "FailedToStart" + FAILED_TO_STOP = "FailedToStop" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + +class ServiceScalability(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The scalability approach + """ + + NONE = "none" + MANUAL = "manual" + AUTOMATIC = "automatic" + +class Severity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Severity of the validation error + """ + + MESSAGE = "Message" + WARNING = "Warning" + ERROR = "Error" + +class SqlSourcePlatform(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of source platform types + """ + + SQL_ON_PREM = "SqlOnPrem" + +class SsisMigrationOverwriteOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The overwrite option for SSIS object migration, only ignore and overwrite are supported in DMS + now and future may add Reuse option for container object + """ + + IGNORE = "Ignore" + OVERWRITE = "Overwrite" + +class SsisMigrationStage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current stage of SSIS migration + """ + + NONE = "None" + INITIALIZE = "Initialize" + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + +class SsisStoreType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enumeration of supported source SSIS store type in DMS + """ + + SSIS_CATALOG = "SsisCatalog" + +class SyncDatabaseMigrationReportingState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enum of the different state of database level online migration. + """ + + UNDEFINED = "UNDEFINED" + CONFIGURING = "CONFIGURING" + INITIALIAZING = "INITIALIAZING" + STARTING = "STARTING" + RUNNING = "RUNNING" + READY_TO_COMPLETE = "READY_TO_COMPLETE" + COMPLETING = "COMPLETING" + COMPLETE = "COMPLETE" + CANCELLING = "CANCELLING" + CANCELLED = "CANCELLED" + FAILED = "FAILED" + VALIDATING = "VALIDATING" + VALIDATION_COMPLETE = "VALIDATION_COMPLETE" + VALIDATION_FAILED = "VALIDATION_FAILED" + RESTORE_IN_PROGRESS = "RESTORE_IN_PROGRESS" + RESTORE_COMPLETED = "RESTORE_COMPLETED" + BACKUP_IN_PROGRESS = "BACKUP_IN_PROGRESS" + BACKUP_COMPLETED = "BACKUP_COMPLETED" + +class SyncTableMigrationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enum of the different state of table level online migration. + """ + + BEFORE_LOAD = "BEFORE_LOAD" + FULL_LOAD = "FULL_LOAD" + COMPLETED = "COMPLETED" + CANCELED = "CANCELED" + ERROR = "ERROR" + FAILED = "FAILED" + +class TaskState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The state of the task. This is ignored if submitted. + """ + + UNKNOWN = "Unknown" + QUEUED = "Queued" + RUNNING = "Running" + CANCELED = "Canceled" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + FAILED_INPUT_VALIDATION = "FailedInputValidation" + FAULTED = "Faulted" + +class UpdateActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of the actual difference for the compared object, while performing schema comparison + """ + + DELETED_ON_TARGET = "DeletedOnTarget" + CHANGED_ON_TARGET = "ChangedOnTarget" + ADDED_ON_TARGET = "AddedOnTarget" + +class ValidationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Current status of the validation + """ + + DEFAULT = "Default" + NOT_STARTED = "NotStarted" + INITIALIZED = "Initialized" + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + COMPLETED_WITH_ISSUES = "CompletedWithIssues" + STOPPED = "Stopped" + FAILED = "Failed" diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_data_migration_service_client_enums.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_data_migration_service_client_enums.py deleted file mode 100644 index 44290a986eb..00000000000 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_data_migration_service_client_enums.py +++ /dev/null @@ -1,468 +0,0 @@ -# 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 enum import Enum - - -class CommandState(str, Enum): - - unknown = "Unknown" - accepted = "Accepted" - running = "Running" - succeeded = "Succeeded" - failed = "Failed" - - -class SsisMigrationStage(str, Enum): - - none = "None" - initialize = "Initialize" - in_progress = "InProgress" - completed = "Completed" - - -class MigrationState(str, Enum): - - none = "None" - in_progress = "InProgress" - failed = "Failed" - warning = "Warning" - completed = "Completed" - skipped = "Skipped" - stopped = "Stopped" - - -class MigrationStatus(str, Enum): - - default = "Default" - connecting = "Connecting" - source_and_target_selected = "SourceAndTargetSelected" - select_logins = "SelectLogins" - configured = "Configured" - running = "Running" - error = "Error" - stopped = "Stopped" - completed = "Completed" - completed_with_warnings = "CompletedWithWarnings" - - -class SsisMigrationOverwriteOption(str, Enum): - - ignore = "Ignore" - overwrite = "Overwrite" - - -class SsisStoreType(str, Enum): - - ssis_catalog = "SsisCatalog" - - -class SqlSourcePlatform(str, Enum): - - sql_on_prem = "SqlOnPrem" - - -class AuthenticationType(str, Enum): - - none = "None" - windows_authentication = "WindowsAuthentication" - sql_authentication = "SqlAuthentication" - active_directory_integrated = "ActiveDirectoryIntegrated" - active_directory_password = "ActiveDirectoryPassword" - - -class MongoDbErrorType(str, Enum): - - error = "Error" - validation_error = "ValidationError" - warning = "Warning" - - -class MongoDbMigrationState(str, Enum): - - not_started = "NotStarted" - validating_input = "ValidatingInput" - initializing = "Initializing" - restarting = "Restarting" - copying = "Copying" - initial_replay = "InitialReplay" - replaying = "Replaying" - finalizing = "Finalizing" - complete = "Complete" - canceled = "Canceled" - failed = "Failed" - - -class MongoDbShardKeyOrder(str, Enum): - - forward = "Forward" - reverse = "Reverse" - hashed = "Hashed" - - -class MongoDbReplication(str, Enum): - - disabled = "Disabled" - one_time = "OneTime" - continuous = "Continuous" - - -class BackupType(str, Enum): - - database = "Database" - transaction_log = "TransactionLog" - file = "File" - differential_database = "DifferentialDatabase" - differential_file = "DifferentialFile" - partial = "Partial" - differential_partial = "DifferentialPartial" - - -class BackupMode(str, Enum): - - create_backup = "CreateBackup" - existing_backup = "ExistingBackup" - - -class SyncTableMigrationState(str, Enum): - - before_load = "BEFORE_LOAD" - full_load = "FULL_LOAD" - completed = "COMPLETED" - canceled = "CANCELED" - error = "ERROR" - failed = "FAILED" - - -class SyncDatabaseMigrationReportingState(str, Enum): - - undefined = "UNDEFINED" - configuring = "CONFIGURING" - initialiazing = "INITIALIAZING" - starting = "STARTING" - running = "RUNNING" - ready_to_complete = "READY_TO_COMPLETE" - completing = "COMPLETING" - complete = "COMPLETE" - cancelling = "CANCELLING" - cancelled = "CANCELLED" - failed = "FAILED" - validating = "VALIDATING" - validation_complete = "VALIDATION_COMPLETE" - validation_failed = "VALIDATION_FAILED" - restore_in_progress = "RESTORE_IN_PROGRESS" - restore_completed = "RESTORE_COMPLETED" - backup_in_progress = "BACKUP_IN_PROGRESS" - backup_completed = "BACKUP_COMPLETED" - - -class ReplicateMigrationState(str, Enum): - - undefined = "UNDEFINED" - validating = "VALIDATING" - pending = "PENDING" - complete = "COMPLETE" - action_required = "ACTION_REQUIRED" - failed = "FAILED" - - -class ScenarioTarget(str, Enum): - - sql_server = "SQLServer" - sqldb = "SQLDB" - sqldw = "SQLDW" - sqlmi = "SQLMI" - azure_db_for_my_sql = "AzureDBForMySql" - azure_db_for_postgres_sql = "AzureDBForPostgresSQL" - mongo_db = "MongoDB" - - -class ScenarioSource(str, Enum): - - access = "Access" - db2 = "DB2" - my_sql = "MySQL" - oracle = "Oracle" - sql = "SQL" - sybase = "Sybase" - postgre_sql = "PostgreSQL" - mongo_db = "MongoDB" - sqlrds = "SQLRDS" - my_sqlrds = "MySQLRDS" - postgre_sqlrds = "PostgreSQLRDS" - - -class ValidationStatus(str, Enum): - - default = "Default" - not_started = "NotStarted" - initialized = "Initialized" - in_progress = "InProgress" - completed = "Completed" - completed_with_issues = "CompletedWithIssues" - stopped = "Stopped" - failed = "Failed" - - -class Severity(str, Enum): - - message = "Message" - warning = "Warning" - error = "Error" - - -class UpdateActionType(str, Enum): - - deleted_on_target = "DeletedOnTarget" - changed_on_target = "ChangedOnTarget" - added_on_target = "AddedOnTarget" - - -class ObjectType(str, Enum): - - stored_procedures = "StoredProcedures" - table = "Table" - user = "User" - view = "View" - function = "Function" - - -class DatabaseMigrationStage(str, Enum): - - none = "None" - initialize = "Initialize" - backup = "Backup" - file_copy = "FileCopy" - restore = "Restore" - completed = "Completed" - - -class BackupFileStatus(str, Enum): - - arrived = "Arrived" - queued = "Queued" - uploading = "Uploading" - uploaded = "Uploaded" - restoring = "Restoring" - restored = "Restored" - cancelled = "Cancelled" - - -class DatabaseMigrationState(str, Enum): - - undefined = "UNDEFINED" - initial = "INITIAL" - full_backup_upload_start = "FULL_BACKUP_UPLOAD_START" - log_shipping_start = "LOG_SHIPPING_START" - upload_log_files_start = "UPLOAD_LOG_FILES_START" - cutover_start = "CUTOVER_START" - post_cutover_complete = "POST_CUTOVER_COMPLETE" - completed = "COMPLETED" - cancelled = "CANCELLED" - failed = "FAILED" - - -class LoginMigrationStage(str, Enum): - - none = "None" - initialize = "Initialize" - login_migration = "LoginMigration" - establish_user_mapping = "EstablishUserMapping" - assign_role_membership = "AssignRoleMembership" - assign_role_ownership = "AssignRoleOwnership" - establish_server_permissions = "EstablishServerPermissions" - establish_object_permissions = "EstablishObjectPermissions" - completed = "Completed" - - -class LoginType(str, Enum): - - windows_user = "WindowsUser" - windows_group = "WindowsGroup" - sql_login = "SqlLogin" - certificate = "Certificate" - asymmetric_key = "AsymmetricKey" - external_user = "ExternalUser" - external_group = "ExternalGroup" - - -class DatabaseState(str, Enum): - - online = "Online" - restoring = "Restoring" - recovering = "Recovering" - recovery_pending = "RecoveryPending" - suspect = "Suspect" - emergency = "Emergency" - offline = "Offline" - copying = "Copying" - offline_secondary = "OfflineSecondary" - - -class DatabaseCompatLevel(str, Enum): - - compat_level80 = "CompatLevel80" - compat_level90 = "CompatLevel90" - compat_level100 = "CompatLevel100" - compat_level110 = "CompatLevel110" - compat_level120 = "CompatLevel120" - compat_level130 = "CompatLevel130" - compat_level140 = "CompatLevel140" - - -class DatabaseFileType(str, Enum): - - rows = "Rows" - log = "Log" - filestream = "Filestream" - not_supported = "NotSupported" - fulltext = "Fulltext" - - -class ServerLevelPermissionsGroup(str, Enum): - - default = "Default" - migration_from_sql_server_to_azure_db = "MigrationFromSqlServerToAzureDB" - migration_from_sql_server_to_azure_mi = "MigrationFromSqlServerToAzureMI" - migration_from_my_sql_to_azure_db_for_my_sql = "MigrationFromMySQLToAzureDBForMySQL" - - -class MongoDbClusterType(str, Enum): - - blob_container = "BlobContainer" - cosmos_db = "CosmosDb" - mongo_db = "MongoDb" - - -class TaskState(str, Enum): - - unknown = "Unknown" - queued = "Queued" - running = "Running" - canceled = "Canceled" - succeeded = "Succeeded" - failed = "Failed" - failed_input_validation = "FailedInputValidation" - faulted = "Faulted" - - -class ServiceProvisioningState(str, Enum): - - accepted = "Accepted" - deleting = "Deleting" - deploying = "Deploying" - stopped = "Stopped" - stopping = "Stopping" - starting = "Starting" - failed_to_start = "FailedToStart" - failed_to_stop = "FailedToStop" - succeeded = "Succeeded" - failed = "Failed" - - -class ProjectTargetPlatform(str, Enum): - - sqldb = "SQLDB" - sqlmi = "SQLMI" - azure_db_for_my_sql = "AzureDbForMySql" - azure_db_for_postgre_sql = "AzureDbForPostgreSql" - mongo_db = "MongoDb" - unknown = "Unknown" - - -class ProjectSourcePlatform(str, Enum): - - sql = "SQL" - my_sql = "MySQL" - postgre_sql = "PostgreSql" - mongo_db = "MongoDb" - unknown = "Unknown" - - -class ProjectProvisioningState(str, Enum): - - deleting = "Deleting" - succeeded = "Succeeded" - - -class NameCheckFailureReason(str, Enum): - - already_exists = "AlreadyExists" - invalid = "Invalid" - - -class ServiceScalability(str, Enum): - - none = "none" - manual = "manual" - automatic = "automatic" - - -class ResourceSkuRestrictionsType(str, Enum): - - location = "location" - - -class ResourceSkuRestrictionsReasonCode(str, Enum): - - quota_id = "QuotaId" - not_available_for_subscription = "NotAvailableForSubscription" - - -class ResourceSkuCapacityScaleType(str, Enum): - - automatic = "Automatic" - manual = "Manual" - none = "None" - - -class MySqlTargetPlatformType(str, Enum): - - sql_server = "SqlServer" - azure_db_for_my_sql = "AzureDbForMySQL" - - -class SchemaMigrationOption(str, Enum): - - none = "None" - extract_from_source = "ExtractFromSource" - use_storage_file = "UseStorageFile" - - -class SchemaMigrationStage(str, Enum): - - not_started = "NotStarted" - validating_inputs = "ValidatingInputs" - collecting_objects = "CollectingObjects" - downloading_script = "DownloadingScript" - generating_script = "GeneratingScript" - uploading_script = "UploadingScript" - deploying_schema = "DeployingSchema" - completed = "Completed" - completed_with_warnings = "CompletedWithWarnings" - failed = "Failed" - - -class DataMigrationResultCode(str, Enum): - - initial = "Initial" - completed = "Completed" - object_not_exists_in_source = "ObjectNotExistsInSource" - object_not_exists_in_target = "ObjectNotExistsInTarget" - target_object_is_inaccessible = "TargetObjectIsInaccessible" - fatal_error = "FatalError" - - -class ErrorType(str, Enum): - - default = "Default" - warning = "Warning" - error = "Error" diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_models.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_models.py index 7553aa8515e..5727adefdf0 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_models.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_models.py @@ -1,22 +1,19 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError +from azure.core.exceptions import HttpResponseError +import msrest.serialization -class ApiError(Model): +class ApiError(msrest.serialization.Model): """Error information. - :param error: Error information in OData format + :param error: Error information in OData format. :type error: ~azure.mgmt.datamigration.models.ODataError """ @@ -24,33 +21,23 @@ class ApiError(Model): 'error': {'key': 'error', 'type': 'ODataError'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ApiError, self).__init__(**kwargs) self.error = kwargs.get('error', None) -class ApiErrorException(HttpOperationError): - """Server responsed with exception of type: 'ApiError'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): - - super(ApiErrorException, self).__init__(deserialize, response, 'ApiError', *args) - - -class AvailableServiceSku(Model): +class AvailableServiceSku(msrest.serialization.Model): """Describes the available service SKU. - :param resource_type: The resource type, including the provider namespace + :param resource_type: The resource type, including the provider namespace. :type resource_type: str :param sku: SKU name, tier, etc. :type sku: ~azure.mgmt.datamigration.models.AvailableServiceSkuSku - :param capacity: A description of the scaling capacities of the SKU - :type capacity: - ~azure.mgmt.datamigration.models.AvailableServiceSkuCapacity + :param capacity: A description of the scaling capacities of the SKU. + :type capacity: ~azure.mgmt.datamigration.models.AvailableServiceSkuCapacity """ _attribute_map = { @@ -59,26 +46,28 @@ class AvailableServiceSku(Model): 'capacity': {'key': 'capacity', 'type': 'AvailableServiceSkuCapacity'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(AvailableServiceSku, self).__init__(**kwargs) self.resource_type = kwargs.get('resource_type', None) self.sku = kwargs.get('sku', None) self.capacity = kwargs.get('capacity', None) -class AvailableServiceSkuCapacity(Model): +class AvailableServiceSkuCapacity(msrest.serialization.Model): """A description of the scaling capacities of the SKU. :param minimum: The minimum capacity, usually 0 or 1. :type minimum: int - :param maximum: The maximum capacity + :param maximum: The maximum capacity. :type maximum: int - :param default: The default capacity + :param default: The default capacity. :type default: int - :param scale_type: The scalability approach. Possible values include: - 'none', 'manual', 'automatic' - :type scale_type: str or - ~azure.mgmt.datamigration.models.ServiceScalability + :param scale_type: The scalability approach. Possible values include: "none", "manual", + "automatic". + :type scale_type: str or ~azure.mgmt.datamigration.models.ServiceScalability """ _attribute_map = { @@ -88,7 +77,10 @@ class AvailableServiceSkuCapacity(Model): 'scale_type': {'key': 'scaleType', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(AvailableServiceSkuCapacity, self).__init__(**kwargs) self.minimum = kwargs.get('minimum', None) self.maximum = kwargs.get('maximum', None) @@ -96,17 +88,16 @@ def __init__(self, **kwargs): self.scale_type = kwargs.get('scale_type', None) -class AvailableServiceSkuSku(Model): +class AvailableServiceSkuSku(msrest.serialization.Model): """SKU name, tier, etc. - :param name: The name of the SKU + :param name: The name of the SKU. :type name: str - :param family: SKU family + :param family: SKU family. :type family: str - :param size: SKU size + :param size: SKU size. :type size: str - :param tier: The tier of the SKU, such as "Basic", "General Purpose", or - "Business Critical" + :param tier: The tier of the SKU, such as "Basic", "General Purpose", or "Business Critical". :type tier: str """ @@ -117,7 +108,10 @@ class AvailableServiceSkuSku(Model): 'tier': {'key': 'tier', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(AvailableServiceSkuSku, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.family = kwargs.get('family', None) @@ -125,18 +119,16 @@ def __init__(self, **kwargs): self.tier = kwargs.get('tier', None) -class AzureActiveDirectoryApp(Model): +class AzureActiveDirectoryApp(msrest.serialization.Model): """Azure Active Directory Application. All required parameters must be populated in order to send to Azure. - :param application_id: Required. Application ID of the Azure Active - Directory Application + :param application_id: Required. Application ID of the Azure Active Directory Application. :type application_id: str - :param app_key: Required. Key used to authenticate to the Azure Active - Directory Application + :param app_key: Required. Key used to authenticate to the Azure Active Directory Application. :type app_key: str - :param tenant_id: Required. Tenant id of the customer + :param tenant_id: Required. Tenant id of the customer. :type tenant_id: str """ @@ -152,24 +144,25 @@ class AzureActiveDirectoryApp(Model): 'tenant_id': {'key': 'tenantId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(AzureActiveDirectoryApp, self).__init__(**kwargs) - self.application_id = kwargs.get('application_id', None) - self.app_key = kwargs.get('app_key', None) - self.tenant_id = kwargs.get('tenant_id', None) + self.application_id = kwargs['application_id'] + self.app_key = kwargs['app_key'] + self.tenant_id = kwargs['tenant_id'] -class BackupFileInfo(Model): +class BackupFileInfo(msrest.serialization.Model): """Information of the backup file. - :param file_location: Location of the backup file in shared folder + :param file_location: Location of the backup file in shared folder. :type file_location: str - :param family_sequence_number: Sequence number of the backup file in the - backup set + :param family_sequence_number: Sequence number of the backup file in the backup set. :type family_sequence_number: int - :param status: Status of the backup file during migration. Possible values - include: 'Arrived', 'Queued', 'Uploading', 'Uploaded', 'Restoring', - 'Restored', 'Cancelled' + :param status: Status of the backup file during migration. Possible values include: "Arrived", + "Queued", "Uploading", "Uploaded", "Restoring", "Restored", "Cancelled". :type status: str or ~azure.mgmt.datamigration.models.BackupFileStatus """ @@ -179,40 +172,40 @@ class BackupFileInfo(Model): 'status': {'key': 'status', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(BackupFileInfo, self).__init__(**kwargs) self.file_location = kwargs.get('file_location', None) self.family_sequence_number = kwargs.get('family_sequence_number', None) self.status = kwargs.get('status', None) -class BackupSetInfo(Model): +class BackupSetInfo(msrest.serialization.Model): """Information of backup set. - :param backup_set_id: Id for the set of backup files + :param backup_set_id: Id for the set of backup files. :type backup_set_id: str - :param first_lsn: First log sequence number of the backup file + :param first_lsn: First log sequence number of the backup file. :type first_lsn: str - :param last_lsn: Last log sequence number of the backup file + :param last_lsn: Last log sequence number of the backup file. :type last_lsn: str - :param last_modified_time: Last modified time of the backup file in share - location - :type last_modified_time: datetime - :param backup_type: Enum of the different backup types. Possible values - include: 'Database', 'TransactionLog', 'File', 'DifferentialDatabase', - 'DifferentialFile', 'Partial', 'DifferentialPartial' + :param last_modified_time: Last modified time of the backup file in share location. + :type last_modified_time: ~datetime.datetime + :param backup_type: Enum of the different backup types. Possible values include: "Database", + "TransactionLog", "File", "DifferentialDatabase", "DifferentialFile", "Partial", + "DifferentialPartial". :type backup_type: str or ~azure.mgmt.datamigration.models.BackupType - :param list_of_backup_files: List of files in the backup set - :type list_of_backup_files: - list[~azure.mgmt.datamigration.models.BackupFileInfo] - :param database_name: Name of the database to which the backup set belongs + :param list_of_backup_files: List of files in the backup set. + :type list_of_backup_files: list[~azure.mgmt.datamigration.models.BackupFileInfo] + :param database_name: Name of the database to which the backup set belongs. :type database_name: str - :param backup_start_date: Date and time that the backup operation began - :type backup_start_date: datetime - :param backup_finished_date: Date and time that the backup operation - finished - :type backup_finished_date: datetime - :param is_backup_restored: Whether the backup set is restored or not + :param backup_start_date: Date and time that the backup operation began. + :type backup_start_date: ~datetime.datetime + :param backup_finished_date: Date and time that the backup operation finished. + :type backup_finished_date: ~datetime.datetime + :param is_backup_restored: Whether the backup set is restored or not. :type is_backup_restored: bool """ @@ -229,7 +222,10 @@ class BackupSetInfo(Model): 'is_backup_restored': {'key': 'isBackupRestored', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(BackupSetInfo, self).__init__(**kwargs) self.backup_set_id = kwargs.get('backup_set_id', None) self.first_lsn = kwargs.get('first_lsn', None) @@ -243,7 +239,7 @@ def __init__(self, **kwargs): self.is_backup_restored = kwargs.get('is_backup_restored', None) -class BlobShare(Model): +class BlobShare(msrest.serialization.Model): """Blob container storage information. All required parameters must be populated in order to send to Azure. @@ -260,16 +256,18 @@ class BlobShare(Model): 'sas_uri': {'key': 'sasUri', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(BlobShare, self).__init__(**kwargs) - self.sas_uri = kwargs.get('sas_uri', None) + self.sas_uri = kwargs['sas_uri'] -class CheckOCIDriverTaskInput(Model): +class CheckOCIDriverTaskInput(msrest.serialization.Model): """Input for the service task to check for OCI drivers. - :param server_version: Version of the source server to check against. - Optional. + :param server_version: Version of the source server to check against. Optional. :type server_version: str """ @@ -277,24 +275,23 @@ class CheckOCIDriverTaskInput(Model): 'server_version': {'key': 'serverVersion', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(CheckOCIDriverTaskInput, self).__init__(**kwargs) self.server_version = kwargs.get('server_version', None) -class CheckOCIDriverTaskOutput(Model): +class CheckOCIDriverTaskOutput(msrest.serialization.Model): """Output for the service task to check for OCI drivers. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :param installed_driver: Information about the installed driver if found - and valid. - :type installed_driver: - ~azure.mgmt.datamigration.models.OracleOCIDriverInfo - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :param installed_driver: Information about the installed driver if found and valid. + :type installed_driver: ~azure.mgmt.datamigration.models.OracleOCIDriverInfo + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -306,221 +303,182 @@ class CheckOCIDriverTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(CheckOCIDriverTaskOutput, self).__init__(**kwargs) self.installed_driver = kwargs.get('installed_driver', None) self.validation_errors = None -class ProjectTaskProperties(Model): - """Base class for all types of DMS task properties. If task is not supported - by current client, this object is returned. +class ProjectTaskProperties(msrest.serialization.Model): + """Base class for all types of DMS task properties. If task is not supported by current client, this object is returned. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSsisTaskProperties, - GetTdeCertificatesSqlTaskProperties, - ValidateOracleAzureDbForPostgreSqlSyncTaskProperties, - ValidateMongoDbTaskProperties, - ValidateMigrationInputSqlServerSqlMISyncTaskProperties, - ValidateMigrationInputSqlServerSqlMITaskProperties, - ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, - MigrateOracleAzureDbForPostgreSqlSyncTaskProperties, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, - MigrateMySqlAzureDbForMySqlSyncTaskProperties, - MigrateSqlServerSqlDbSyncTaskProperties, - MigrateSqlServerSqlDbTaskProperties, - MigrateSqlServerSqlMISyncTaskProperties, - MigrateSqlServerSqlMITaskProperties, MigrateMongoDbTaskProperties, - ConnectToTargetAzureDbForMySqlTaskProperties, - ConnectToTargetSqlMISyncTaskProperties, ConnectToTargetSqlMITaskProperties, - GetUserTablesPostgreSqlTaskProperties, GetUserTablesOracleTaskProperties, - GetUserTablesSqlSyncTaskProperties, GetUserTablesSqlTaskProperties, - ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties, - ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, - ConnectToTargetSqlSqlDbSyncTaskProperties, - ConnectToTargetSqlDbTaskProperties, - ConnectToSourceOracleSyncTaskProperties, - ConnectToSourcePostgreSqlSyncTaskProperties, - ConnectToSourceSqlServerSyncTaskProperties, - ConnectToSourceSqlServerTaskProperties, ConnectToMongoDbTaskProperties, - ConnectToSourceMySqlTaskProperties, - MigrateSchemaSqlServerSqlDbTaskProperties, CheckOCIDriverTaskProperties, - UploadOCIDriverTaskProperties, InstallOCIDriverTaskProperties - - Variables are only populated by the server, and will be ignored when - sending a request. + sub-classes are: ConnectToMongoDbTaskProperties, ConnectToSourceMySqlTaskProperties, ConnectToSourceOracleSyncTaskProperties, ConnectToSourcePostgreSqlSyncTaskProperties, ConnectToSourceSqlServerTaskProperties, ConnectToSourceSqlServerSyncTaskProperties, ConnectToTargetAzureDbForMySqlTaskProperties, ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, ConnectToTargetSqlMITaskProperties, ConnectToTargetSqlMISyncTaskProperties, ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties, ConnectToTargetSqlDbTaskProperties, ConnectToTargetSqlDbSyncTaskProperties, GetTdeCertificatesSqlTaskProperties, GetUserTablesSqlSyncTaskProperties, GetUserTablesSqlTaskProperties, GetUserTablesOracleTaskProperties, GetUserTablesPostgreSqlTaskProperties, MigrateMongoDbTaskProperties, MigrateMySqlAzureDbForMySqlSyncTaskProperties, MigrateOracleAzureDbForPostgreSqlSyncTaskProperties, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, MigrateSqlServerSqlDbSyncTaskProperties, MigrateSqlServerSqlMITaskProperties, MigrateSqlServerSqlMISyncTaskProperties, MigrateSqlServerSqlDbTaskProperties, MigrateSsisTaskProperties, MigrateSchemaSqlServerSqlDbTaskProperties, CheckOCIDriverTaskProperties, InstallOCIDriverTaskProperties, UploadOCIDriverTaskProperties, ValidateMongoDbTaskProperties, ValidateOracleAzureDbForPostgreSqlSyncTaskProperties, ValidateMigrationInputSqlServerSqlMITaskProperties, ValidateMigrationInputSqlServerSqlMISyncTaskProperties, ValidateMigrationInputSqlServerSqlDbSyncTaskProperties. + + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, } _subtype_map = { - 'task_type': {'Migrate.Ssis': 'MigrateSsisTaskProperties', 'GetTDECertificates.Sql': 'GetTdeCertificatesSqlTaskProperties', 'Validate.Oracle.AzureDbPostgreSql.Sync': 'ValidateOracleAzureDbForPostgreSqlSyncTaskProperties', 'Validate.MongoDb': 'ValidateMongoDbTaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS': 'ValidateMigrationInputSqlServerSqlMISyncTaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI': 'ValidateMigrationInputSqlServerSqlMITaskProperties', 'ValidateMigrationInput.SqlServer.SqlDb.Sync': 'ValidateMigrationInputSqlServerSqlDbSyncTaskProperties', 'Migrate.Oracle.AzureDbForPostgreSql.Sync': 'MigrateOracleAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.MySql.AzureDbForMySql.Sync': 'MigrateMySqlAzureDbForMySqlSyncTaskProperties', 'Migrate.SqlServer.AzureSqlDb.Sync': 'MigrateSqlServerSqlDbSyncTaskProperties', 'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS': 'MigrateSqlServerSqlMISyncTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI': 'MigrateSqlServerSqlMITaskProperties', 'Migrate.MongoDb': 'MigrateMongoDbTaskProperties', 'ConnectToTarget.AzureDbForMySql': 'ConnectToTargetAzureDbForMySqlTaskProperties', 'ConnectToTarget.AzureSqlDbMI.Sync.LRS': 'ConnectToTargetSqlMISyncTaskProperties', 'ConnectToTarget.AzureSqlDbMI': 'ConnectToTargetSqlMITaskProperties', 'GetUserTablesPostgreSql': 'GetUserTablesPostgreSqlTaskProperties', 'GetUserTablesOracle': 'GetUserTablesOracleTaskProperties', 'GetUserTables.AzureSqlDb.Sync': 'GetUserTablesSqlSyncTaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync': 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties', 'ConnectToTarget.AzureDbForPostgreSql.Sync': 'ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties', 'ConnectToTarget.SqlDb.Sync': 'ConnectToTargetSqlSqlDbSyncTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToSource.Oracle.Sync': 'ConnectToSourceOracleSyncTaskProperties', 'ConnectToSource.PostgreSql.Sync': 'ConnectToSourcePostgreSqlSyncTaskProperties', 'ConnectToSource.SqlServer.Sync': 'ConnectToSourceSqlServerSyncTaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties', 'Connect.MongoDb': 'ConnectToMongoDbTaskProperties', 'ConnectToSource.MySql': 'ConnectToSourceMySqlTaskProperties', 'MigrateSchemaSqlServerSqlDb': 'MigrateSchemaSqlServerSqlDbTaskProperties', 'Service.Check.OCI': 'CheckOCIDriverTaskProperties', 'Service.Upload.OCI': 'UploadOCIDriverTaskProperties', 'Service.Install.OCI': 'InstallOCIDriverTaskProperties'} + 'task_type': {'Connect.MongoDb': 'ConnectToMongoDbTaskProperties', 'ConnectToSource.MySql': 'ConnectToSourceMySqlTaskProperties', 'ConnectToSource.Oracle.Sync': 'ConnectToSourceOracleSyncTaskProperties', 'ConnectToSource.PostgreSql.Sync': 'ConnectToSourcePostgreSqlSyncTaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties', 'ConnectToSource.SqlServer.Sync': 'ConnectToSourceSqlServerSyncTaskProperties', 'ConnectToTarget.AzureDbForMySql': 'ConnectToTargetAzureDbForMySqlTaskProperties', 'ConnectToTarget.AzureDbForPostgreSql.Sync': 'ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties', 'ConnectToTarget.AzureSqlDbMI': 'ConnectToTargetSqlMITaskProperties', 'ConnectToTarget.AzureSqlDbMI.Sync.LRS': 'ConnectToTargetSqlMISyncTaskProperties', 'ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync': 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToTarget.SqlDb.Sync': 'ConnectToTargetSqlDbSyncTaskProperties', 'GetTDECertificates.Sql': 'GetTdeCertificatesSqlTaskProperties', 'GetUserTables.AzureSqlDb.Sync': 'GetUserTablesSqlSyncTaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'GetUserTablesOracle': 'GetUserTablesOracleTaskProperties', 'GetUserTablesPostgreSql': 'GetUserTablesPostgreSqlTaskProperties', 'Migrate.MongoDb': 'MigrateMongoDbTaskProperties', 'Migrate.MySql.AzureDbForMySql.Sync': 'MigrateMySqlAzureDbForMySqlSyncTaskProperties', 'Migrate.Oracle.AzureDbForPostgreSql.Sync': 'MigrateOracleAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.SqlServer.AzureSqlDb.Sync': 'MigrateSqlServerSqlDbSyncTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI': 'MigrateSqlServerSqlMITaskProperties', 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS': 'MigrateSqlServerSqlMISyncTaskProperties', 'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'Migrate.Ssis': 'MigrateSsisTaskProperties', 'MigrateSchemaSqlServerSqlDb': 'MigrateSchemaSqlServerSqlDbTaskProperties', 'Service.Check.OCI': 'CheckOCIDriverTaskProperties', 'Service.Install.OCI': 'InstallOCIDriverTaskProperties', 'Service.Upload.OCI': 'UploadOCIDriverTaskProperties', 'Validate.MongoDb': 'ValidateMongoDbTaskProperties', 'Validate.Oracle.AzureDbPostgreSql.Sync': 'ValidateOracleAzureDbForPostgreSqlSyncTaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI': 'ValidateMigrationInputSqlServerSqlMITaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS': 'ValidateMigrationInputSqlServerSqlMISyncTaskProperties', 'ValidateMigrationInput.SqlServer.SqlDb.Sync': 'ValidateMigrationInputSqlServerSqlDbSyncTaskProperties'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ProjectTaskProperties, self).__init__(**kwargs) + self.task_type = None # type: Optional[str] self.errors = None self.state = None self.commands = None self.client_data = kwargs.get('client_data', None) - self.task_type = None class CheckOCIDriverTaskProperties(ProjectTaskProperties): """Properties for the task that checks for OCI drivers. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Input for the service task to check for OCI drivers. :type input: ~azure.mgmt.datamigration.models.CheckOCIDriverTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.CheckOCIDriverTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.CheckOCIDriverTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'CheckOCIDriverTaskInput'}, 'output': {'key': 'output', 'type': '[CheckOCIDriverTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(CheckOCIDriverTaskProperties, self).__init__(**kwargs) + self.task_type = 'Service.Check.OCI' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Service.Check.OCI' - -class CloudError(Model): - """CloudError. - """ - - _attribute_map = { - } - -class CommandProperties(Model): - """Base class for all types of DMS command properties. If command is not - supported by current client, this object is returned. +class CommandProperties(msrest.serialization.Model): + """Base class for all types of DMS command properties. If command is not supported by current client, this object is returned. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateMISyncCompleteCommandProperties, - MigrateSyncCompleteCommandProperties, MongoDbCancelCommand, - MongoDbFinishCommand, MongoDbRestartCommand + sub-classes are: MigrateMISyncCompleteCommandProperties, MigrateSyncCompleteCommandProperties, MongoDbCancelCommand, MongoDbFinishCommand, MongoDbRestartCommand. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, } _subtype_map = { 'command_type': {'Migrate.SqlServer.AzureDbSqlMi.Complete': 'MigrateMISyncCompleteCommandProperties', 'Migrate.Sync.Complete.Database': 'MigrateSyncCompleteCommandProperties', 'cancel': 'MongoDbCancelCommand', 'finish': 'MongoDbFinishCommand', 'restart': 'MongoDbRestartCommand'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(CommandProperties, self).__init__(**kwargs) + self.command_type = None # type: Optional[str] self.errors = None self.state = None - self.command_type = None -class ConnectionInfo(Model): +class ConnectionInfo(msrest.serialization.Model): """Defines the connection properties of a server. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MiSqlConnectionInfo, PostgreSqlConnectionInfo, - OracleConnectionInfo, MySqlConnectionInfo, MongoDbConnectionInfo, - SqlConnectionInfo + sub-classes are: MiSqlConnectionInfo, MongoDbConnectionInfo, MySqlConnectionInfo, OracleConnectionInfo, PostgreSqlConnectionInfo, SqlConnectionInfo. All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str """ _validation = { @@ -528,92 +486,91 @@ class ConnectionInfo(Model): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { - 'type': {'MiSqlConnectionInfo': 'MiSqlConnectionInfo', 'PostgreSqlConnectionInfo': 'PostgreSqlConnectionInfo', 'OracleConnectionInfo': 'OracleConnectionInfo', 'MySqlConnectionInfo': 'MySqlConnectionInfo', 'MongoDbConnectionInfo': 'MongoDbConnectionInfo', 'SqlConnectionInfo': 'SqlConnectionInfo'} + 'type': {'MiSqlConnectionInfo': 'MiSqlConnectionInfo', 'MongoDbConnectionInfo': 'MongoDbConnectionInfo', 'MySqlConnectionInfo': 'MySqlConnectionInfo', 'OracleConnectionInfo': 'OracleConnectionInfo', 'PostgreSqlConnectionInfo': 'PostgreSqlConnectionInfo', 'SqlConnectionInfo': 'SqlConnectionInfo'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectionInfo, self).__init__(**kwargs) + self.type = None # type: Optional[str] self.user_name = kwargs.get('user_name', None) self.password = kwargs.get('password', None) - self.type = None class ConnectToMongoDbTaskProperties(ProjectTaskProperties): - """Properties for the task that validates the connection to and provides - information about a MongoDB server. + """Properties for the task that validates the connection to and provides information about a MongoDB server. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Describes a connection to a MongoDB data source. :type input: ~azure.mgmt.datamigration.models.MongoDbConnectionInfo - :ivar output: An array containing a single MongoDbClusterInfo object + :ivar output: An array containing a single MongoDbClusterInfo object. :vartype output: list[~azure.mgmt.datamigration.models.MongoDbClusterInfo] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbConnectionInfo'}, 'output': {'key': 'output', 'type': '[MongoDbClusterInfo]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToMongoDbTaskProperties, self).__init__(**kwargs) + self.task_type = 'Connect.MongoDb' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Connect.MongoDb' -class ConnectToSourceMySqlTaskInput(Model): +class ConnectToSourceMySqlTaskInput(msrest.serialization.Model): """Input for the task that validates MySQL database connection. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - MySQL source - :type source_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo - :param target_platform: Target Platform for the migration. Possible values - include: 'SqlServer', 'AzureDbForMySQL' - :type target_platform: str or - ~azure.mgmt.datamigration.models.MySqlTargetPlatformType - :param check_permissions_group: Permission group for validations. Possible - values include: 'Default', 'MigrationFromSqlServerToAzureDB', - 'MigrationFromSqlServerToAzureMI', 'MigrationFromMySQLToAzureDBForMySQL' + :param source_connection_info: Required. Information for connecting to MySQL source. + :type source_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param target_platform: Target Platform for the migration. Possible values include: + "SqlServer", "AzureDbForMySQL". + :type target_platform: str or ~azure.mgmt.datamigration.models.MySqlTargetPlatformType + :param check_permissions_group: Permission group for validations. Possible values include: + "Default", "MigrationFromSqlServerToAzureDB", "MigrationFromSqlServerToAzureMI", + "MigrationFromMySQLToAzureDBForMySQL". :type check_permissions_group: str or ~azure.mgmt.datamigration.models.ServerLevelPermissionsGroup """ @@ -625,12 +582,15 @@ class ConnectToSourceMySqlTaskInput(Model): _attribute_map = { 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'MySqlConnectionInfo'}, 'target_platform': {'key': 'targetPlatform', 'type': 'str'}, - 'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'ServerLevelPermissionsGroup'}, + 'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceMySqlTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) + self.source_connection_info = kwargs['source_connection_info'] self.target_platform = kwargs.get('target_platform', None) self.check_permissions_group = kwargs.get('check_permissions_group', None) @@ -638,76 +598,71 @@ def __init__(self, **kwargs): class ConnectToSourceMySqlTaskProperties(ProjectTaskProperties): """Properties for the task that validates MySQL database connection. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourceMySqlTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourceMySqlTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourceNonSqlTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourceNonSqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceMySqlTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceNonSqlTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceMySqlTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToSource.MySql' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToSource.MySql' -class ConnectToSourceNonSqlTaskOutput(Model): +class ConnectToSourceNonSqlTaskOutput(msrest.serialization.Model): """Output for connect to MySQL type source. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar source_server_brand_version: Server brand version + :ivar source_server_brand_version: Server brand version. :vartype source_server_brand_version: str - :ivar server_properties: Server properties - :vartype server_properties: - ~azure.mgmt.datamigration.models.ServerProperties - :ivar databases: List of databases on the server + :ivar server_properties: Server properties. + :vartype server_properties: ~azure.mgmt.datamigration.models.ServerProperties + :ivar databases: List of databases on the server. :vartype databases: list[str] - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -726,7 +681,10 @@ class ConnectToSourceNonSqlTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceNonSqlTaskOutput, self).__init__(**kwargs) self.id = None self.source_server_brand_version = None @@ -735,15 +693,13 @@ def __init__(self, **kwargs): self.validation_errors = None -class ConnectToSourceOracleSyncTaskInput(Model): +class ConnectToSourceOracleSyncTaskInput(msrest.serialization.Model): """Input for the task that validates Oracle database connection. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - Oracle source - :type source_connection_info: - ~azure.mgmt.datamigration.models.OracleConnectionInfo + :param source_connection_info: Required. Information for connecting to Oracle source. + :type source_connection_info: ~azure.mgmt.datamigration.models.OracleConnectionInfo """ _validation = { @@ -754,26 +710,27 @@ class ConnectToSourceOracleSyncTaskInput(Model): 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'OracleConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceOracleSyncTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) + self.source_connection_info = kwargs['source_connection_info'] -class ConnectToSourceOracleSyncTaskOutput(Model): +class ConnectToSourceOracleSyncTaskOutput(msrest.serialization.Model): """Output for the task that validates Oracle database connection. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar source_server_version: Version of the source server + :ivar source_server_version: Version of the source server. :vartype source_server_version: str - :ivar databases: List of schemas on source server + :ivar databases: List of schemas on source server. :vartype databases: list[str] - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -790,7 +747,10 @@ class ConnectToSourceOracleSyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceOracleSyncTaskOutput, self).__init__(**kwargs) self.source_server_version = None self.databases = None @@ -801,68 +761,63 @@ def __init__(self, **kwargs): class ConnectToSourceOracleSyncTaskProperties(ProjectTaskProperties): """Properties for the task that validates Oracle database connection. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourceOracleSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourceOracleSyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourceOracleSyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourceOracleSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceOracleSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceOracleSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceOracleSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToSource.Oracle.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToSource.Oracle.Sync' -class ConnectToSourcePostgreSqlSyncTaskInput(Model): - """Input for the task that validates connection to PostgreSQL and source - server requirements. +class ConnectToSourcePostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to PostgreSQL and source server requirements. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for source - PostgreSQL server - :type source_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param source_connection_info: Required. Connection information for source PostgreSQL server. + :type source_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo """ _validation = { @@ -873,29 +828,29 @@ class ConnectToSourcePostgreSqlSyncTaskInput(Model): 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'PostgreSqlConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourcePostgreSqlSyncTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) + self.source_connection_info = kwargs['source_connection_info'] -class ConnectToSourcePostgreSqlSyncTaskOutput(Model): - """Output for the task that validates connection to PostgreSQL and source - server requirements. +class ConnectToSourcePostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to PostgreSQL and source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar source_server_version: Version of the source server + :ivar source_server_version: Version of the source server. :vartype source_server_version: str - :ivar databases: List of databases on source server + :ivar databases: List of databases on source server. :vartype databases: list[str] - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -914,7 +869,10 @@ class ConnectToSourcePostgreSqlSyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourcePostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.id = None self.source_server_version = None @@ -924,146 +882,134 @@ def __init__(self, **kwargs): class ConnectToSourcePostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to PostgreSQL server and - source server requirements for online migration. + """Properties for the task that validates connection to PostgreSQL server and source server requirements for online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourcePostgreSqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourcePostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourcePostgreSqlSyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourcePostgreSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourcePostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourcePostgreSqlSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourcePostgreSqlSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToSource.PostgreSql.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToSource.PostgreSql.Sync' class ConnectToSourceSqlServerSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to SQL Server and source - server requirements for online migration. + """Properties for the task that validates connection to SQL Server and source server requirements for online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToSource.SqlServer.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToSource.SqlServer.Sync' -class ConnectToSourceSqlServerTaskInput(Model): - """Input for the task that validates connection to SQL Server and also - validates source server requirements. +class ConnectToSourceSqlServerTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to SQL Server and also validates source server requirements. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for Source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param check_permissions_group: Permission group for validations. Possible - values include: 'Default', 'MigrationFromSqlServerToAzureDB', - 'MigrationFromSqlServerToAzureMI', 'MigrationFromMySQLToAzureDBForMySQL' + :param source_connection_info: Required. Connection information for Source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param check_permissions_group: Permission group for validations. Possible values include: + "Default", "MigrationFromSqlServerToAzureDB", "MigrationFromSqlServerToAzureMI", + "MigrationFromMySQLToAzureDBForMySQL". :type check_permissions_group: str or ~azure.mgmt.datamigration.models.ServerLevelPermissionsGroup - :param collect_databases: Flag for whether to collect databases from - source server. Default value: True . + :param collect_databases: Flag for whether to collect databases from source server. :type collect_databases: bool - :param collect_logins: Flag for whether to collect logins from source - server. Default value: False . + :param collect_logins: Flag for whether to collect logins from source server. :type collect_logins: bool - :param collect_agent_jobs: Flag for whether to collect agent jobs from - source server. Default value: False . + :param collect_agent_jobs: Flag for whether to collect agent jobs from source server. :type collect_agent_jobs: bool - :param collect_tde_certificate_info: Flag for whether to collect TDE - Certificate names from source server. Default value: False . + :param collect_tde_certificate_info: Flag for whether to collect TDE Certificate names from + source server. :type collect_tde_certificate_info: bool - :param validate_ssis_catalog_only: Flag for whether to validate SSIS - catalog is reachable on the source server. Default value: False . + :param validate_ssis_catalog_only: Flag for whether to validate SSIS catalog is reachable on + the source server. :type validate_ssis_catalog_only: bool """ @@ -1073,7 +1019,7 @@ class ConnectToSourceSqlServerTaskInput(Model): _attribute_map = { 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'}, - 'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'ServerLevelPermissionsGroup'}, + 'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'str'}, 'collect_databases': {'key': 'collectDatabases', 'type': 'bool'}, 'collect_logins': {'key': 'collectLogins', 'type': 'bool'}, 'collect_agent_jobs': {'key': 'collectAgentJobs', 'type': 'bool'}, @@ -1081,9 +1027,12 @@ class ConnectToSourceSqlServerTaskInput(Model): 'validate_ssis_catalog_only': {'key': 'validateSsisCatalogOnly', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) + self.source_connection_info = kwargs['source_connection_info'] self.check_permissions_group = kwargs.get('check_permissions_group', None) self.collect_databases = kwargs.get('collect_databases', True) self.collect_logins = kwargs.get('collect_logins', False) @@ -1092,24 +1041,20 @@ def __init__(self, **kwargs): self.validate_ssis_catalog_only = kwargs.get('validate_ssis_catalog_only', False) -class ConnectToSourceSqlServerTaskOutput(Model): - """Output for the task that validates connection to SQL Server and also - validates source server requirements. +class ConnectToSourceSqlServerTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to SQL Server and also validates source server requirements. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: ConnectToSourceSqlServerTaskOutputAgentJobLevel, - ConnectToSourceSqlServerTaskOutputLoginLevel, - ConnectToSourceSqlServerTaskOutputDatabaseLevel, - ConnectToSourceSqlServerTaskOutputTaskLevel + sub-classes are: ConnectToSourceSqlServerTaskOutputAgentJobLevel, ConnectToSourceSqlServerTaskOutputDatabaseLevel, ConnectToSourceSqlServerTaskOutputLoginLevel, ConnectToSourceSqlServerTaskOutputTaskLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str """ @@ -1124,46 +1069,44 @@ class ConnectToSourceSqlServerTaskOutput(Model): } _subtype_map = { - 'result_type': {'AgentJobLevelOutput': 'ConnectToSourceSqlServerTaskOutputAgentJobLevel', 'LoginLevelOutput': 'ConnectToSourceSqlServerTaskOutputLoginLevel', 'DatabaseLevelOutput': 'ConnectToSourceSqlServerTaskOutputDatabaseLevel', 'TaskLevelOutput': 'ConnectToSourceSqlServerTaskOutputTaskLevel'} + 'result_type': {'AgentJobLevelOutput': 'ConnectToSourceSqlServerTaskOutputAgentJobLevel', 'DatabaseLevelOutput': 'ConnectToSourceSqlServerTaskOutputDatabaseLevel', 'LoginLevelOutput': 'ConnectToSourceSqlServerTaskOutputLoginLevel', 'TaskLevelOutput': 'ConnectToSourceSqlServerTaskOutputTaskLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class ConnectToSourceSqlServerTaskOutputAgentJobLevel(ConnectToSourceSqlServerTaskOutput): - """Agent Job level output for the task that validates connection to SQL Server - and also validates source server requirements. + """Agent Job level output for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str - :ivar name: Agent Job name + :ivar name: Agent Job name. :vartype name: str :ivar job_category: The type of Agent Job. :vartype job_category: str :ivar is_enabled: The state of the original Agent Job. :vartype is_enabled: bool - :ivar job_owner: The owner of the Agent Job + :ivar job_owner: The owner of the Agent Job. :vartype job_owner: str - :ivar last_executed_on: UTC Date and time when the Agent Job was last - executed. - :vartype last_executed_on: datetime - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] - :ivar migration_eligibility: Information about eligibility of agent job - for migration. - :vartype migration_eligibility: - ~azure.mgmt.datamigration.models.MigrationEligibilityInfo + :ivar last_executed_on: UTC Date and time when the Agent Job was last executed. + :vartype last_executed_on: ~datetime.datetime + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] + :ivar migration_eligibility: Information about eligibility of agent job for migration. + :vartype migration_eligibility: ~azure.mgmt.datamigration.models.MigrationEligibilityInfo """ _validation = { @@ -1190,8 +1133,12 @@ class ConnectToSourceSqlServerTaskOutputAgentJobLevel(ConnectToSourceSqlServerTa 'migration_eligibility': {'key': 'migrationEligibility', 'type': 'MigrationEligibilityInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutputAgentJobLevel, self).__init__(**kwargs) + self.result_type = 'AgentJobLevelOutput' # type: str self.name = None self.job_category = None self.is_enabled = None @@ -1199,40 +1146,34 @@ def __init__(self, **kwargs): self.last_executed_on = None self.validation_errors = None self.migration_eligibility = None - self.result_type = 'AgentJobLevelOutput' class ConnectToSourceSqlServerTaskOutputDatabaseLevel(ConnectToSourceSqlServerTaskOutput): - """Database level output for the task that validates connection to SQL Server - and also validates source server requirements. + """Database level output for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str - :ivar name: Database name + :ivar name: Database name. :vartype name: str - :ivar size_mb: Size of the file in megabytes + :ivar size_mb: Size of the file in megabytes. :vartype size_mb: float - :ivar database_files: The list of database files - :vartype database_files: - list[~azure.mgmt.datamigration.models.DatabaseFileInfo] - :ivar compatibility_level: SQL Server compatibility level of database. - Possible values include: 'CompatLevel80', 'CompatLevel90', - 'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130', - 'CompatLevel140' - :vartype compatibility_level: str or - ~azure.mgmt.datamigration.models.DatabaseCompatLevel - :ivar database_state: State of the database. Possible values include: - 'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect', - 'Emergency', 'Offline', 'Copying', 'OfflineSecondary' - :vartype database_state: str or - ~azure.mgmt.datamigration.models.DatabaseState + :ivar database_files: The list of database files. + :vartype database_files: list[~azure.mgmt.datamigration.models.DatabaseFileInfo] + :ivar compatibility_level: SQL Server compatibility level of database. Possible values include: + "CompatLevel80", "CompatLevel90", "CompatLevel100", "CompatLevel110", "CompatLevel120", + "CompatLevel130", "CompatLevel140". + :vartype compatibility_level: str or ~azure.mgmt.datamigration.models.DatabaseCompatLevel + :ivar database_state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :vartype database_state: str or ~azure.mgmt.datamigration.models.DatabaseState """ _validation = { @@ -1255,43 +1196,42 @@ class ConnectToSourceSqlServerTaskOutputDatabaseLevel(ConnectToSourceSqlServerTa 'database_state': {'key': 'databaseState', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.name = None self.size_mb = None self.database_files = None self.compatibility_level = None self.database_state = None - self.result_type = 'DatabaseLevelOutput' class ConnectToSourceSqlServerTaskOutputLoginLevel(ConnectToSourceSqlServerTaskOutput): - """Login level output for the task that validates connection to SQL Server and - also validates source server requirements. + """Login level output for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str :ivar name: Login name. :vartype name: str - :ivar login_type: The type of login. Possible values include: - 'WindowsUser', 'WindowsGroup', 'SqlLogin', 'Certificate', 'AsymmetricKey', - 'ExternalUser', 'ExternalGroup' + :ivar login_type: The type of login. Possible values include: "WindowsUser", "WindowsGroup", + "SqlLogin", "Certificate", "AsymmetricKey", "ExternalUser", "ExternalGroup". :vartype login_type: str or ~azure.mgmt.datamigration.models.LoginType :ivar default_database: The default database for the login. :vartype default_database: str :ivar is_enabled: The state of the login. :vartype is_enabled: bool - :ivar migration_eligibility: Information about eligibility of login for - migration. - :vartype migration_eligibility: - ~azure.mgmt.datamigration.models.MigrationEligibilityInfo + :ivar migration_eligibility: Information about eligibility of login for migration. + :vartype migration_eligibility: ~azure.mgmt.datamigration.models.MigrationEligibilityInfo """ _validation = { @@ -1314,46 +1254,46 @@ class ConnectToSourceSqlServerTaskOutputLoginLevel(ConnectToSourceSqlServerTaskO 'migration_eligibility': {'key': 'migrationEligibility', 'type': 'MigrationEligibilityInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutputLoginLevel, self).__init__(**kwargs) + self.result_type = 'LoginLevelOutput' # type: str self.name = None self.login_type = None self.default_database = None self.is_enabled = None self.migration_eligibility = None - self.result_type = 'LoginLevelOutput' class ConnectToSourceSqlServerTaskOutputTaskLevel(ConnectToSourceSqlServerTaskOutput): - """Task level output for the task that validates connection to SQL Server and - also validates source server requirements. + """Task level output for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str - :ivar databases: Source databases as a map from database name to database - id - :vartype databases: dict[str, str] + :ivar databases: Source databases as a map from database name to database id. + :vartype databases: str :ivar logins: Source logins as a map from login name to login id. - :vartype logins: dict[str, str] + :vartype logins: str :ivar agent_jobs: Source agent jobs as a map from agent job name to id. - :vartype agent_jobs: dict[str, str] - :ivar database_tde_certificate_mapping: Mapping from database name to TDE - certificate name, if applicable - :vartype database_tde_certificate_mapping: dict[str, str] - :ivar source_server_version: Source server version + :vartype agent_jobs: str + :ivar database_tde_certificate_mapping: Mapping from database name to TDE certificate name, if + applicable. + :vartype database_tde_certificate_mapping: str + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -1371,17 +1311,21 @@ class ConnectToSourceSqlServerTaskOutputTaskLevel(ConnectToSourceSqlServerTaskOu _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'result_type': {'key': 'resultType', 'type': 'str'}, - 'databases': {'key': 'databases', 'type': '{str}'}, - 'logins': {'key': 'logins', 'type': '{str}'}, - 'agent_jobs': {'key': 'agentJobs', 'type': '{str}'}, - 'database_tde_certificate_mapping': {'key': 'databaseTdeCertificateMapping', 'type': '{str}'}, + 'databases': {'key': 'databases', 'type': 'str'}, + 'logins': {'key': 'logins', 'type': 'str'}, + 'agent_jobs': {'key': 'agentJobs', 'type': 'str'}, + 'database_tde_certificate_mapping': {'key': 'databaseTdeCertificateMapping', 'type': 'str'}, 'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'}, 'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'}, 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutputTaskLevel, self).__init__(**kwargs) + self.result_type = 'TaskLevelOutput' # type: str self.databases = None self.logins = None self.agent_jobs = None @@ -1389,79 +1333,71 @@ def __init__(self, **kwargs): self.source_server_version = None self.source_server_brand_version = None self.validation_errors = None - self.result_type = 'TaskLevelOutput' class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to SQL Server and also - validates source server requirements. + """Properties for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToSource.SqlServer' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToSource.SqlServer' -class ConnectToTargetAzureDbForMySqlTaskInput(Model): - """Input for the task that validates connection to Azure Database for MySQL - and target server requirements. +class ConnectToTargetAzureDbForMySqlTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure Database for MySQL and target server requirements. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for source - MySQL server - :type source_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo - :param target_connection_info: Required. Connection information for target - Azure Database for MySQL server - :type target_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param source_connection_info: Required. Connection information for source MySQL server. + :type source_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + MySQL server. + :type target_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo """ _validation = { @@ -1474,30 +1410,30 @@ class ConnectToTargetAzureDbForMySqlTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'MySqlConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetAzureDbForMySqlTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] -class ConnectToTargetAzureDbForMySqlTaskOutput(Model): - """Output for the task that validates connection to Azure Database for MySQL - and target server requirements. +class ConnectToTargetAzureDbForMySqlTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure Database for MySQL and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar server_version: Version of the target server + :ivar server_version: Version of the target server. :vartype server_version: str - :ivar databases: List of databases on target server + :ivar databases: List of databases on target server. :vartype databases: list[str] - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -1516,7 +1452,10 @@ class ConnectToTargetAzureDbForMySqlTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetAzureDbForMySqlTaskOutput, self).__init__(**kwargs) self.id = None self.server_version = None @@ -1526,75 +1465,69 @@ def __init__(self, **kwargs): class ConnectToTargetAzureDbForMySqlTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure Database for - MySQL and target server requirements. + """Properties for the task that validates connection to Azure Database for MySQL and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForMySqlTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForMySqlTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForMySqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetAzureDbForMySqlTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetAzureDbForMySqlTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetAzureDbForMySqlTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToTarget.AzureDbForMySql' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToTarget.AzureDbForMySql' -class ConnectToTargetAzureDbForPostgreSqlSyncTaskInput(Model): - """Input for the task that validates connection to Azure Database for - PostgreSQL and target server requirements. +class ConnectToTargetAzureDbForPostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for source - PostgreSQL server - :type source_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo - :param target_connection_info: Required. Connection information for target - Azure Database for PostgreSQL server - :type target_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param source_connection_info: Required. Connection information for source PostgreSQL server. + :type source_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + PostgreSQL server. + :type target_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo """ _validation = { @@ -1607,30 +1540,30 @@ class ConnectToTargetAzureDbForPostgreSqlSyncTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'PostgreSqlConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetAzureDbForPostgreSqlSyncTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] -class ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput(Model): - """Output for the task that validates connection to Azure Database for - PostgreSQL and target server requirements. +class ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure Database for PostgreSQL and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar target_server_version: Version of the target server + :ivar target_server_version: Version of the target server. :vartype target_server_version: str - :ivar databases: List of databases on target server + :ivar databases: List of databases on target server. :vartype databases: list[str] - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -1649,7 +1582,10 @@ class ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.id = None self.target_server_version = None @@ -1659,71 +1595,67 @@ def __init__(self, **kwargs): class ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure Database For - PostgreSQL server and target server requirements for online migration. + """Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForPostgreSqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForPostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetAzureDbForPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToTarget.AzureDbForPostgreSql.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToTarget.AzureDbForPostgreSql.Sync' -class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput(Model): - """Input for the task that validates connection to Azure Database for - PostgreSQL and target server requirements for Oracle source. +class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements for Oracle source. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Connection information for target - Azure Database for PostgreSQL server - :type target_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + PostgreSQL server. + :type target_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo """ _validation = { @@ -1734,28 +1666,28 @@ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'PostgreSqlConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput, self).__init__(**kwargs) - self.target_connection_info = kwargs.get('target_connection_info', None) + self.target_connection_info = kwargs['target_connection_info'] -class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput(Model): - """Output for the task that validates connection to Azure Database for - PostgreSQL and target server requirements for Oracle source. +class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure Database for PostgreSQL and target server requirements for Oracle source. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar target_server_version: Version of the target server + :ivar target_server_version: Version of the target server. :vartype target_server_version: str - :ivar databases: List of databases on target server + :ivar databases: List of databases on target server. :vartype databases: list[str] - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] - :param database_schema_map: Mapping of schemas per database + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] + :param database_schema_map: Mapping of schemas per database. :type database_schema_map: list[~azure.mgmt.datamigration.models.ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem] """ @@ -1775,7 +1707,10 @@ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput(Model): 'database_schema_map': {'key': 'databaseSchemaMap', 'type': '[ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.target_server_version = None self.databases = None @@ -1784,7 +1719,7 @@ def __init__(self, **kwargs): self.database_schema_map = kwargs.get('database_schema_map', None) -class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem(Model): +class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem(msrest.serialization.Model): """ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem. :param database: @@ -1798,37 +1733,35 @@ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapIt 'schemas': {'key': 'schemas', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem, self).__init__(**kwargs) self.database = kwargs.get('database', None) self.schemas = kwargs.get('schemas', None) class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure Database For - PostgreSQL server and target server requirements for online migration for - Oracle source. + """Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration for Oracle source. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. @@ -1837,40 +1770,123 @@ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskPro """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync' # type: str + self.input = kwargs.get('input', None) + self.output = None + + +class ConnectToTargetSqlDbSyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure SQL DB and target server requirements. + + All required parameters must be populated in order to send to Azure. + + :param source_connection_info: Required. Connection information for source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for target SQL DB. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + """ + + _validation = { + 'source_connection_info': {'required': True}, + 'target_connection_info': {'required': True}, + } + + _attribute_map = { + 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'}, + 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectToTargetSqlDbSyncTaskInput, self).__init__(**kwargs) + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] + + +class ConnectToTargetSqlDbSyncTaskProperties(ProjectTaskProperties): + """Properties for the task that validates connection to SQL DB and target server requirements for online migration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str + :ivar errors: Array of errors. This is ignored if submitted. + :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". + :vartype state: str or ~azure.mgmt.datamigration.models.TaskState + :ivar commands: Array of command properties. + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. + :type client_data: dict[str, str] + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetSqlDbSyncTaskInput + :ivar output: Task output. This is ignored if submitted. + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskOutput] + """ + + _validation = { + 'task_type': {'required': True}, + 'errors': {'readonly': True}, + 'state': {'readonly': True}, + 'commands': {'readonly': True}, + 'output': {'readonly': True}, + } + + _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, + 'errors': {'key': 'errors', 'type': '[ODataError]'}, + 'state': {'key': 'state', 'type': 'str'}, + 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, + 'input': {'key': 'input', 'type': 'ConnectToTargetSqlDbSyncTaskInput'}, + 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectToTargetSqlDbSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToTarget.SqlDb.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync' -class ConnectToTargetSqlDbTaskInput(Model): - """Input for the task that validates connection to SQL DB and target server - requirements. +class ConnectToTargetSqlDbTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to SQL DB and target server requirements. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Connection information for target - SQL DB - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for target SQL DB. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo """ _validation = { @@ -1881,26 +1897,26 @@ class ConnectToTargetSqlDbTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlDbTaskInput, self).__init__(**kwargs) - self.target_connection_info = kwargs.get('target_connection_info', None) + self.target_connection_info = kwargs['target_connection_info'] -class ConnectToTargetSqlDbTaskOutput(Model): - """Output for the task that validates connection to SQL DB and target server - requirements. +class ConnectToTargetSqlDbTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to SQL DB and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar databases: Source databases as a map from database name to database - id - :vartype databases: dict[str, str] - :ivar target_server_version: Version of the target server + :ivar databases: Source databases as a map from database name to database id. + :vartype databases: str + :ivar target_server_version: Version of the target server. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str """ @@ -1913,12 +1929,15 @@ class ConnectToTargetSqlDbTaskOutput(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'databases': {'key': 'databases', 'type': '{str}'}, + 'databases': {'key': 'databases', 'type': 'str'}, 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'}, 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlDbTaskOutput, self).__init__(**kwargs) self.id = None self.databases = None @@ -1927,74 +1946,69 @@ def __init__(self, **kwargs): class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to SQL DB and target - server requirements. + """Properties for the task that validates connection to SQL DB and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlDbTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToTarget.SqlDb' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToTarget.SqlDb' -class ConnectToTargetSqlMISyncTaskInput(Model): - """Input for the task that validates connection to Azure SQL Database Managed - Instance online scenario. +class ConnectToTargetSqlMISyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure SQL Database Managed Instance online scenario. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Connection information for Azure - SQL Database Managed Instance - :type target_connection_info: - ~azure.mgmt.datamigration.models.MiSqlConnectionInfo - :param azure_app: Required. Azure Active Directory Application the DMS - instance will use to connect to the target instance of Azure SQL Database - Managed Instance and the Azure Storage Account + :param target_connection_info: Required. Connection information for Azure SQL Database Managed + Instance. + :type target_connection_info: ~azure.mgmt.datamigration.models.MiSqlConnectionInfo + :param azure_app: Required. Azure Active Directory Application the DMS instance will use to + connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage + Account. :type azure_app: ~azure.mgmt.datamigration.models.AzureActiveDirectoryApp """ @@ -2008,26 +2022,26 @@ class ConnectToTargetSqlMISyncTaskInput(Model): 'azure_app': {'key': 'azureApp', 'type': 'AzureActiveDirectoryApp'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlMISyncTaskInput, self).__init__(**kwargs) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.azure_app = kwargs.get('azure_app', None) + self.target_connection_info = kwargs['target_connection_info'] + self.azure_app = kwargs['azure_app'] -class ConnectToTargetSqlMISyncTaskOutput(Model): - """Output for the task that validates connection to Azure SQL Database Managed - Instance. +class ConnectToTargetSqlMISyncTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -2042,7 +2056,10 @@ class ConnectToTargetSqlMISyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlMISyncTaskOutput, self).__init__(**kwargs) self.target_server_version = None self.target_server_brand_version = None @@ -2050,79 +2067,71 @@ def __init__(self, **kwargs): class ConnectToTargetSqlMISyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure SQL Database - Managed Instance. + """Properties for the task that validates connection to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetSqlMISyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetSqlMISyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMISyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMISyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlMISyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlMISyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlMISyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToTarget.AzureSqlDbMI.Sync.LRS' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToTarget.AzureSqlDbMI.Sync.LRS' -class ConnectToTargetSqlMITaskInput(Model): - """Input for the task that validates connection to Azure SQL Database Managed - Instance. +class ConnectToTargetSqlMITaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure SQL Database Managed Instance. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Connection information for target - SQL Server - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param collect_logins: Flag for whether to collect logins from target SQL - MI server. Default value: True . + :param target_connection_info: Required. Connection information for target SQL Server. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param collect_logins: Flag for whether to collect logins from target SQL MI server. :type collect_logins: bool - :param collect_agent_jobs: Flag for whether to collect agent jobs from - target SQL MI server. Default value: True . + :param collect_agent_jobs: Flag for whether to collect agent jobs from target SQL MI server. :type collect_agent_jobs: bool - :param validate_ssis_catalog_only: Flag for whether to validate SSIS - catalog is reachable on the target SQL MI server. Default value: False . + :param validate_ssis_catalog_only: Flag for whether to validate SSIS catalog is reachable on + the target SQL MI server. :type validate_ssis_catalog_only: bool """ @@ -2137,34 +2146,34 @@ class ConnectToTargetSqlMITaskInput(Model): 'validate_ssis_catalog_only': {'key': 'validateSsisCatalogOnly', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlMITaskInput, self).__init__(**kwargs) - self.target_connection_info = kwargs.get('target_connection_info', None) + self.target_connection_info = kwargs['target_connection_info'] self.collect_logins = kwargs.get('collect_logins', True) self.collect_agent_jobs = kwargs.get('collect_agent_jobs', True) self.validate_ssis_catalog_only = kwargs.get('validate_ssis_catalog_only', False) -class ConnectToTargetSqlMITaskOutput(Model): - """Output for the task that validates connection to Azure SQL Database Managed - Instance. +class ConnectToTargetSqlMITaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str :ivar logins: List of logins on the target server. :vartype logins: list[str] :ivar agent_jobs: List of agent jobs on the target server. :vartype agent_jobs: list[str] - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -2185,7 +2194,10 @@ class ConnectToTargetSqlMITaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlMITaskOutput, self).__init__(**kwargs) self.id = None self.target_server_version = None @@ -2196,193 +2208,99 @@ def __init__(self, **kwargs): class ConnectToTargetSqlMITaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure SQL Database - Managed Instance. + """Properties for the task that validates connection to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlMITaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlMITaskProperties, self).__init__(**kwargs) + self.task_type = 'ConnectToTarget.AzureSqlDbMI' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ConnectToTarget.AzureSqlDbMI' - - -class ConnectToTargetSqlSqlDbSyncTaskInput(Model): - """Input for the task that validates connection to Azure SQL DB and target - server requirements. - - All required parameters must be populated in order to send to Azure. - - :param source_connection_info: Required. Connection information for source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for target - SQL DB - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - """ - - _validation = { - 'source_connection_info': {'required': True}, - 'target_connection_info': {'required': True}, - } - - _attribute_map = { - 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'}, - 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'}, - } - - def __init__(self, **kwargs): - super(ConnectToTargetSqlSqlDbSyncTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) - - -class ConnectToTargetSqlSqlDbSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to SQL DB and target - server requirements for online migration. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar errors: Array of errors. This is ignored if submitted. - :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' - :vartype state: str or ~azure.mgmt.datamigration.models.TaskState - :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task - :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetSqlSqlDbSyncTaskInput - :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskOutput] - """ - - _validation = { - 'errors': {'readonly': True}, - 'state': {'readonly': True}, - 'commands': {'readonly': True}, - 'task_type': {'required': True}, - 'output': {'readonly': True}, - } - - _attribute_map = { - 'errors': {'key': 'errors', 'type': '[ODataError]'}, - 'state': {'key': 'state', 'type': 'str'}, - 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, - 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, - 'input': {'key': 'input', 'type': 'ConnectToTargetSqlSqlDbSyncTaskInput'}, - 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, - } - - def __init__(self, **kwargs): - super(ConnectToTargetSqlSqlDbSyncTaskProperties, self).__init__(**kwargs) - self.input = kwargs.get('input', None) - self.output = None - self.task_type = 'ConnectToTarget.SqlDb.Sync' -class Database(Model): +class Database(msrest.serialization.Model): """Information about a single database. - :param id: Unique identifier for the database + :param id: Unique identifier for the database. :type id: str - :param name: Name of the database + :param name: Name of the database. :type name: str - :param compatibility_level: SQL Server compatibility level of database. - Possible values include: 'CompatLevel80', 'CompatLevel90', - 'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130', - 'CompatLevel140' - :type compatibility_level: str or - ~azure.mgmt.datamigration.models.DatabaseCompatLevel - :param collation: Collation name of the database + :param compatibility_level: SQL Server compatibility level of database. Possible values + include: "CompatLevel80", "CompatLevel90", "CompatLevel100", "CompatLevel110", + "CompatLevel120", "CompatLevel130", "CompatLevel140". + :type compatibility_level: str or ~azure.mgmt.datamigration.models.DatabaseCompatLevel + :param collation: Collation name of the database. :type collation: str - :param server_name: Name of the server + :param server_name: Name of the server. :type server_name: str - :param fqdn: Fully qualified name + :param fqdn: Fully qualified name. :type fqdn: str - :param install_id: Install id of the database + :param install_id: Install id of the database. :type install_id: str - :param server_version: Version of the server + :param server_version: Version of the server. :type server_version: str - :param server_edition: Edition of the server + :param server_edition: Edition of the server. :type server_edition: str :param server_level: Product level of the server (RTM, SP, CTP). :type server_level: str - :param server_default_data_path: Default path of the data files + :param server_default_data_path: Default path of the data files. :type server_default_data_path: str - :param server_default_log_path: Default path of the log files + :param server_default_log_path: Default path of the log files. :type server_default_log_path: str - :param server_default_backup_path: Default path of the backup folder + :param server_default_backup_path: Default path of the backup folder. :type server_default_backup_path: str - :param server_core_count: Number of cores on the server + :param server_core_count: Number of cores on the server. :type server_core_count: int - :param server_visible_online_core_count: Number of cores on the server - that have VISIBLE ONLINE status + :param server_visible_online_core_count: Number of cores on the server that have VISIBLE ONLINE + status. :type server_visible_online_core_count: int - :param database_state: State of the database. Possible values include: - 'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect', - 'Emergency', 'Offline', 'Copying', 'OfflineSecondary' - :type database_state: str or - ~azure.mgmt.datamigration.models.DatabaseState - :param server_id: The unique Server Id + :param database_state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :type database_state: str or ~azure.mgmt.datamigration.models.DatabaseState + :param server_id: The unique Server Id. :type server_id: str """ @@ -2406,7 +2324,10 @@ class Database(Model): 'server_id': {'key': 'serverId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Database, self).__init__(**kwargs) self.id = kwargs.get('id', None) self.name = kwargs.get('name', None) @@ -2427,32 +2348,29 @@ def __init__(self, **kwargs): self.server_id = kwargs.get('server_id', None) -class DatabaseBackupInfo(Model): +class DatabaseBackupInfo(msrest.serialization.Model): """Information about backup files when existing backup mode is used. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar database_name: Database name. :vartype database_name: str - :ivar backup_type: Backup Type. Possible values include: 'Database', - 'TransactionLog', 'File', 'DifferentialDatabase', 'DifferentialFile', - 'Partial', 'DifferentialPartial' + :ivar backup_type: Backup Type. Possible values include: "Database", "TransactionLog", "File", + "DifferentialDatabase", "DifferentialFile", "Partial", "DifferentialPartial". :vartype backup_type: str or ~azure.mgmt.datamigration.models.BackupType :ivar backup_files: The list of backup files for the current database. :vartype backup_files: list[str] :ivar position: Position of current database backup in the file. :vartype position: int - :ivar is_damaged: Database was damaged when backed up, but the backup - operation was requested to continue despite errors. + :ivar is_damaged: Database was damaged when backed up, but the backup operation was requested + to continue despite errors. :vartype is_damaged: bool - :ivar is_compressed: Whether the backup set is compressed + :ivar is_compressed: Whether the backup set is compressed. :vartype is_compressed: bool :ivar family_count: Number of files in the backup set. :vartype family_count: int - :ivar backup_finish_date: Date and time when the backup operation - finished. - :vartype backup_finish_date: datetime + :ivar backup_finish_date: Date and time when the backup operation finished. + :vartype backup_finish_date: ~datetime.datetime """ _validation = { @@ -2477,7 +2395,10 @@ class DatabaseBackupInfo(Model): 'backup_finish_date': {'key': 'backupFinishDate', 'type': 'iso-8601'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DatabaseBackupInfo, self).__init__(**kwargs) self.database_name = None self.backup_type = None @@ -2489,23 +2410,23 @@ def __init__(self, **kwargs): self.backup_finish_date = None -class DatabaseFileInfo(Model): +class DatabaseFileInfo(msrest.serialization.Model): """Database file specific information. - :param database_name: Name of the database + :param database_name: Name of the database. :type database_name: str - :param id: Unique identifier for database file + :param id: Unique identifier for database file. :type id: str - :param logical_name: Logical name of the file + :param logical_name: Logical name of the file. :type logical_name: str - :param physical_full_name: Operating-system full path of the file + :param physical_full_name: Operating-system full path of the file. :type physical_full_name: str - :param restore_full_name: Suggested full path of the file for restoring + :param restore_full_name: Suggested full path of the file for restoring. :type restore_full_name: str - :param file_type: Database file type. Possible values include: 'Rows', - 'Log', 'Filestream', 'NotSupported', 'Fulltext' + :param file_type: Database file type. Possible values include: "Rows", "Log", "Filestream", + "NotSupported", "Fulltext". :type file_type: str or ~azure.mgmt.datamigration.models.DatabaseFileType - :param size_mb: Size of the file in megabytes + :param size_mb: Size of the file in megabytes. :type size_mb: float """ @@ -2519,7 +2440,10 @@ class DatabaseFileInfo(Model): 'size_mb': {'key': 'sizeMB', 'type': 'float'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DatabaseFileInfo, self).__init__(**kwargs) self.database_name = kwargs.get('database_name', None) self.id = kwargs.get('id', None) @@ -2530,19 +2454,19 @@ def __init__(self, **kwargs): self.size_mb = kwargs.get('size_mb', None) -class DatabaseFileInput(Model): +class DatabaseFileInput(msrest.serialization.Model): """Database file specific information for input. - :param id: Unique identifier for database file + :param id: Unique identifier for database file. :type id: str - :param logical_name: Logical name of the file + :param logical_name: Logical name of the file. :type logical_name: str - :param physical_full_name: Operating-system full path of the file + :param physical_full_name: Operating-system full path of the file. :type physical_full_name: str - :param restore_full_name: Suggested full path of the file for restoring + :param restore_full_name: Suggested full path of the file for restoring. :type restore_full_name: str - :param file_type: Database file type. Possible values include: 'Rows', - 'Log', 'Filestream', 'NotSupported', 'Fulltext' + :param file_type: Database file type. Possible values include: "Rows", "Log", "Filestream", + "NotSupported", "Fulltext". :type file_type: str or ~azure.mgmt.datamigration.models.DatabaseFileType """ @@ -2554,7 +2478,10 @@ class DatabaseFileInput(Model): 'file_type': {'key': 'fileType', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DatabaseFileInput, self).__init__(**kwargs) self.id = kwargs.get('id', None) self.logical_name = kwargs.get('logical_name', None) @@ -2563,12 +2490,12 @@ def __init__(self, **kwargs): self.file_type = kwargs.get('file_type', None) -class DatabaseInfo(Model): +class DatabaseInfo(msrest.serialization.Model): """Project Database Details. All required parameters must be populated in order to send to Azure. - :param source_database_name: Required. Name of the database + :param source_database_name: Required. Name of the database. :type source_database_name: str """ @@ -2580,26 +2507,27 @@ class DatabaseInfo(Model): 'source_database_name': {'key': 'sourceDatabaseName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DatabaseInfo, self).__init__(**kwargs) - self.source_database_name = kwargs.get('source_database_name', None) + self.source_database_name = kwargs['source_database_name'] -class DatabaseObjectName(Model): +class DatabaseObjectName(msrest.serialization.Model): """A representation of the name of an object in a database. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar database_name: The unescaped name of the database containing the - object + :ivar database_name: The unescaped name of the database containing the object. :vartype database_name: str - :ivar object_name: The unescaped name of the object + :ivar object_name: The unescaped name of the object. :vartype object_name: str - :ivar schema_name: The unescaped name of the schema containing the object + :ivar schema_name: The unescaped name of the schema containing the object. :vartype schema_name: str - :param object_type: Type of the object in the database. Possible values - include: 'StoredProcedures', 'Table', 'User', 'View', 'Function' + :param object_type: Type of the object in the database. Possible values include: + "StoredProcedures", "Table", "User", "View", "Function". :type object_type: str or ~azure.mgmt.datamigration.models.ObjectType """ @@ -2616,7 +2544,10 @@ class DatabaseObjectName(Model): 'object_type': {'key': 'objectType', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DatabaseObjectName, self).__init__(**kwargs) self.database_name = None self.object_name = None @@ -2624,32 +2555,30 @@ def __init__(self, **kwargs): self.object_type = kwargs.get('object_type', None) -class DataItemMigrationSummaryResult(Model): +class DataItemMigrationSummaryResult(msrest.serialization.Model): """Basic summary of a data item migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar name: Name of the item + :ivar name: Name of the item. :vartype name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar status_message: Status message + :ivar status_message: Status message. :vartype status_message: str - :ivar items_count: Number of items + :ivar items_count: Number of items. :vartype items_count: long - :ivar items_completed_count: Number of successfully completed items + :ivar items_completed_count: Number of successfully completed items. :vartype items_completed_count: long - :ivar error_prefix: Wildcard string prefix to use for querying all errors - of the item + :ivar error_prefix: Wildcard string prefix to use for querying all errors of the item. :vartype error_prefix: str - :ivar result_prefix: Wildcard string prefix to use for querying all - sub-tem results of the item + :ivar result_prefix: Wildcard string prefix to use for querying all sub-tem results of the + item. :vartype result_prefix: str """ @@ -2677,7 +2606,10 @@ class DataItemMigrationSummaryResult(Model): 'result_prefix': {'key': 'resultPrefix', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DataItemMigrationSummaryResult, self).__init__(**kwargs) self.name = None self.started_on = None @@ -2693,31 +2625,29 @@ def __init__(self, **kwargs): class DatabaseSummaryResult(DataItemMigrationSummaryResult): """Summary of database results in the migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar name: Name of the item + :ivar name: Name of the item. :vartype name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar status_message: Status message + :ivar status_message: Status message. :vartype status_message: str - :ivar items_count: Number of items + :ivar items_count: Number of items. :vartype items_count: long - :ivar items_completed_count: Number of successfully completed items + :ivar items_completed_count: Number of successfully completed items. :vartype items_completed_count: long - :ivar error_prefix: Wildcard string prefix to use for querying all errors - of the item + :ivar error_prefix: Wildcard string prefix to use for querying all errors of the item. :vartype error_prefix: str - :ivar result_prefix: Wildcard string prefix to use for querying all - sub-tem results of the item + :ivar result_prefix: Wildcard string prefix to use for querying all sub-tem results of the + item. :vartype result_prefix: str - :ivar size_mb: Size of the database in megabytes + :ivar size_mb: Size of the database in megabytes. :vartype size_mb: float """ @@ -2747,20 +2677,22 @@ class DatabaseSummaryResult(DataItemMigrationSummaryResult): 'size_mb': {'key': 'sizeMB', 'type': 'float'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DatabaseSummaryResult, self).__init__(**kwargs) self.size_mb = None -class DatabaseTable(Model): +class DatabaseTable(msrest.serialization.Model): """Table properties. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar has_rows: Indicates whether table is empty or not + :ivar has_rows: Indicates whether table is empty or not. :vartype has_rows: bool - :ivar name: Schema-qualified name of the table + :ivar name: Schema-qualified name of the table. :vartype name: str """ @@ -2774,20 +2706,22 @@ class DatabaseTable(Model): 'name': {'key': 'name', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DatabaseTable, self).__init__(**kwargs) self.has_rows = None self.name = None -class DataIntegrityValidationResult(Model): +class DataIntegrityValidationResult(msrest.serialization.Model): """Results for checksum based Data Integrity validation results. - :param failed_objects: List of failed table names of source and target - pair + :param failed_objects: List of failed table names of source and target pair. :type failed_objects: dict[str, str] - :param validation_errors: List of errors that happened while performing - data integrity validation + :param validation_errors: List of errors that happened while performing data integrity + validation. :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError """ @@ -2796,21 +2730,23 @@ class DataIntegrityValidationResult(Model): 'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DataIntegrityValidationResult, self).__init__(**kwargs) self.failed_objects = kwargs.get('failed_objects', None) self.validation_errors = kwargs.get('validation_errors', None) -class DataMigrationError(Model): +class DataMigrationError(msrest.serialization.Model): """Migration Task errors. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar message: Error description + :ivar message: Error description. :vartype message: str - :param type: Possible values include: 'Default', 'Warning', 'Error' + :param type: Error type. Possible values include: "Default", "Warning", "Error". :type type: str or ~azure.mgmt.datamigration.models.ErrorType """ @@ -2823,34 +2759,35 @@ class DataMigrationError(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DataMigrationError, self).__init__(**kwargs) self.message = None self.type = kwargs.get('type', None) -class DataMigrationProjectMetadata(Model): +class DataMigrationProjectMetadata(msrest.serialization.Model): """Common metadata for migration projects. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar source_server_name: Source server name + :ivar source_server_name: Source server name. :vartype source_server_name: str - :ivar source_server_port: Source server port number + :ivar source_server_port: Source server port number. :vartype source_server_port: str - :ivar source_username: Source username + :ivar source_username: Source username. :vartype source_username: str - :ivar target_server_name: Target server name + :ivar target_server_name: Target server name. :vartype target_server_name: str - :ivar target_username: Target username + :ivar target_username: Target username. :vartype target_username: str - :ivar target_db_name: Target database name + :ivar target_db_name: Target database name. :vartype target_db_name: str - :ivar target_using_win_auth: Whether target connection is Windows - authentication + :ivar target_using_win_auth: Whether target connection is Windows authentication. :vartype target_using_win_auth: bool - :ivar selected_migration_tables: List of tables selected for migration + :ivar selected_migration_tables: List of tables selected for migration. :vartype selected_migration_tables: list[~azure.mgmt.datamigration.models.MigrationTableMetadata] """ @@ -2877,7 +2814,10 @@ class DataMigrationProjectMetadata(Model): 'selected_migration_tables': {'key': 'selectedMigrationTables', 'type': '[MigrationTableMetadata]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DataMigrationProjectMetadata, self).__init__(**kwargs) self.source_server_name = None self.source_server_port = None @@ -2889,11 +2829,10 @@ def __init__(self, **kwargs): self.selected_migration_tables = None -class Resource(Model): +class Resource(msrest.serialization.Model): """ARM resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Resource ID. :vartype id: str @@ -2915,7 +2854,10 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Resource, self).__init__(**kwargs) self.id = None self.name = None @@ -2925,8 +2867,7 @@ def __init__(self, **kwargs): class TrackedResource(Resource): """ARM tracked top level resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -2936,7 +2877,7 @@ class TrackedResource(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. Resource location. :type location: str @@ -2957,17 +2898,19 @@ class TrackedResource(Resource): 'location': {'key': 'location', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(TrackedResource, self).__init__(**kwargs) self.tags = kwargs.get('tags', None) - self.location = kwargs.get('location', None) + self.location = kwargs['location'] class DataMigrationService(TrackedResource): """A Database Migration Service resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -2977,29 +2920,28 @@ class DataMigrationService(TrackedResource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. Resource location. :type location: str - :param etag: HTTP strong entity tag value. Ignored if submitted + :param etag: HTTP strong entity tag value. Ignored if submitted. :type etag: str :param kind: The resource kind. Only 'vm' (the default) is supported. :type kind: str - :ivar provisioning_state: The resource's provisioning state. Possible - values include: 'Accepted', 'Deleting', 'Deploying', 'Stopped', - 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop', 'Succeeded', - 'Failed' - :vartype provisioning_state: str or - ~azure.mgmt.datamigration.models.ServiceProvisioningState - :param public_key: The public key of the service, used to encrypt secrets - sent to the service + :param sku: Service SKU. + :type sku: ~azure.mgmt.datamigration.models.ServiceSku + :ivar provisioning_state: The resource's provisioning state. Possible values include: + "Accepted", "Deleting", "Deploying", "Stopped", "Stopping", "Starting", "FailedToStart", + "FailedToStop", "Succeeded", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.datamigration.models.ServiceProvisioningState + :param public_key: The public key of the service, used to encrypt secrets sent to the service. :type public_key: str - :param virtual_subnet_id: Required. The ID of the - Microsoft.Network/virtualNetworks/subnets resource to which the service - should be joined + :param virtual_subnet_id: The ID of the Microsoft.Network/virtualNetworks/subnets resource to + which the service should be joined. :type virtual_subnet_id: str - :param sku: Service SKU - :type sku: ~azure.mgmt.datamigration.models.ServiceSku + :param virtual_nic_id: The ID of the Microsoft.Network/networkInterfaces resource which the + service have. + :type virtual_nic_id: str """ _validation = { @@ -3008,7 +2950,6 @@ class DataMigrationService(TrackedResource): 'type': {'readonly': True}, 'location': {'required': True}, 'provisioning_state': {'readonly': True}, - 'virtual_subnet_id': {'required': True}, } _attribute_map = { @@ -3019,35 +2960,62 @@ class DataMigrationService(TrackedResource): 'location': {'key': 'location', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'kind': {'key': 'kind', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'ServiceSku'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'public_key': {'key': 'properties.publicKey', 'type': 'str'}, 'virtual_subnet_id': {'key': 'properties.virtualSubnetId', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'ServiceSku'}, + 'virtual_nic_id': {'key': 'properties.virtualNicId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DataMigrationService, self).__init__(**kwargs) self.etag = kwargs.get('etag', None) self.kind = kwargs.get('kind', None) + self.sku = kwargs.get('sku', None) self.provisioning_state = None self.public_key = kwargs.get('public_key', None) self.virtual_subnet_id = kwargs.get('virtual_subnet_id', None) - self.sku = kwargs.get('sku', None) + self.virtual_nic_id = kwargs.get('virtual_nic_id', None) + + +class DataMigrationServiceList(msrest.serialization.Model): + """OData page of service objects. + + :param value: List of services. + :type value: list[~azure.mgmt.datamigration.models.DataMigrationService] + :param next_link: URL to load the next page of services. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataMigrationService]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DataMigrationServiceList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) -class DataMigrationServiceStatusResponse(Model): +class DataMigrationServiceStatusResponse(msrest.serialization.Model): """Service health status. - :param agent_version: The DMS instance agent version + :param agent_version: The DMS instance agent version. :type agent_version: str - :param status: The machine-readable status, such as 'Initializing', - 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', - 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed' + :param status: The machine-readable status, such as 'Initializing', 'Offline', 'Online', + 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or + 'Failed'. :type status: str - :param vm_size: The services virtual machine size, such as - 'Standard_D2_v2' + :param vm_size: The services virtual machine size, such as 'Standard_D2_v2'. :type vm_size: str - :param supported_task_types: The list of supported task types + :param supported_task_types: The list of supported task types. :type supported_task_types: list[str] """ @@ -3058,7 +3026,10 @@ class DataMigrationServiceStatusResponse(Model): 'supported_task_types': {'key': 'supportedTaskTypes', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DataMigrationServiceStatusResponse, self).__init__(**kwargs) self.agent_version = kwargs.get('agent_version', None) self.status = kwargs.get('status', None) @@ -3066,23 +3037,20 @@ def __init__(self, **kwargs): self.supported_task_types = kwargs.get('supported_task_types', None) -class ExecutionStatistics(Model): +class ExecutionStatistics(msrest.serialization.Model): """Description about the errors happen while performing migration validation. - :param execution_count: No. of query executions + :param execution_count: No. of query executions. :type execution_count: long - :param cpu_time_ms: CPU Time in millisecond(s) for the query execution + :param cpu_time_ms: CPU Time in millisecond(s) for the query execution. :type cpu_time_ms: float - :param elapsed_time_ms: Time taken in millisecond(s) for executing the - query + :param elapsed_time_ms: Time taken in millisecond(s) for executing the query. :type elapsed_time_ms: float - :param wait_stats: Dictionary of sql query execution wait types and the - respective statistics - :type wait_stats: dict[str, - ~azure.mgmt.datamigration.models.WaitStatistics] - :param has_errors: Indicates whether the query resulted in an error + :param wait_stats: Dictionary of sql query execution wait types and the respective statistics. + :type wait_stats: dict[str, ~azure.mgmt.datamigration.models.WaitStatistics] + :param has_errors: Indicates whether the query resulted in an error. :type has_errors: bool - :param sql_errors: List of sql Errors + :param sql_errors: List of sql Errors. :type sql_errors: list[str] """ @@ -3095,7 +3063,10 @@ class ExecutionStatistics(Model): 'sql_errors': {'key': 'sqlErrors', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ExecutionStatistics, self).__init__(**kwargs) self.execution_count = kwargs.get('execution_count', None) self.cpu_time_ms = kwargs.get('cpu_time_ms', None) @@ -3105,15 +3076,37 @@ def __init__(self, **kwargs): self.sql_errors = kwargs.get('sql_errors', None) -class FileShare(Model): +class FileList(msrest.serialization.Model): + """OData page of files. + + :param value: List of files. + :type value: list[~azure.mgmt.datamigration.models.ProjectFile] + :param next_link: URL to load the next page of files. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ProjectFile]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class FileShare(msrest.serialization.Model): """File share information with Path, Username, and Password. All required parameters must be populated in order to send to Azure. - :param user_name: User name credential to connect to the share location + :param user_name: User name credential to connect to the share location. :type user_name: str - :param password: Password credential used to connect to the share - location. + :param password: Password credential used to connect to the share location. :type password: str :param path: Required. The folder path for this share. :type path: str @@ -3129,19 +3122,22 @@ class FileShare(Model): 'path': {'key': 'path', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(FileShare, self).__init__(**kwargs) self.user_name = kwargs.get('user_name', None) self.password = kwargs.get('password', None) - self.path = kwargs.get('path', None) + self.path = kwargs['path'] -class FileStorageInfo(Model): +class FileStorageInfo(msrest.serialization.Model): """File storage information. :param uri: A URI that can be used to access the file content. :type uri: str - :param headers: + :param headers: Dictionary of :code:``. :type headers: dict[str, str] """ @@ -3150,21 +3146,24 @@ class FileStorageInfo(Model): 'headers': {'key': 'headers', 'type': '{str}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(FileStorageInfo, self).__init__(**kwargs) self.uri = kwargs.get('uri', None) self.headers = kwargs.get('headers', None) -class GetProjectDetailsNonSqlTaskInput(Model): +class GetProjectDetailsNonSqlTaskInput(msrest.serialization.Model): """Input for the task that reads configuration from project artifacts. All required parameters must be populated in order to send to Azure. - :param project_name: Required. Name of the migration project + :param project_name: Required. Name of the migration project. :type project_name: str - :param project_location: Required. A URL that points to the location to - access project artifacts + :param project_location: Required. A URL that points to the location to access project + artifacts. :type project_location: str """ @@ -3178,26 +3177,28 @@ class GetProjectDetailsNonSqlTaskInput(Model): 'project_location': {'key': 'projectLocation', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetProjectDetailsNonSqlTaskInput, self).__init__(**kwargs) - self.project_name = kwargs.get('project_name', None) - self.project_location = kwargs.get('project_location', None) + self.project_name = kwargs['project_name'] + self.project_location = kwargs['project_location'] -class GetTdeCertificatesSqlTaskInput(Model): +class GetTdeCertificatesSqlTaskInput(msrest.serialization.Model): """Input for the task that gets TDE certificates in Base64 encoded format. All required parameters must be populated in order to send to Azure. - :param connection_info: Required. Connection information for SQL Server + :param connection_info: Required. Connection information for SQL Server. :type connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param backup_file_share: Required. Backup file share information for file - share to be used for temporarily storing files. + :param backup_file_share: Required. Backup file share information for file share to be used for + temporarily storing files. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param selected_certificates: Required. List containing certificate names - and corresponding password to use for encrypting the exported certificate. - :type selected_certificates: - list[~azure.mgmt.datamigration.models.SelectedCertificateInput] + :param selected_certificates: Required. List containing certificate names and corresponding + password to use for encrypting the exported certificate. + :type selected_certificates: list[~azure.mgmt.datamigration.models.SelectedCertificateInput] """ _validation = { @@ -3212,25 +3213,25 @@ class GetTdeCertificatesSqlTaskInput(Model): 'selected_certificates': {'key': 'selectedCertificates', 'type': '[SelectedCertificateInput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetTdeCertificatesSqlTaskInput, self).__init__(**kwargs) - self.connection_info = kwargs.get('connection_info', None) - self.backup_file_share = kwargs.get('backup_file_share', None) - self.selected_certificates = kwargs.get('selected_certificates', None) + self.connection_info = kwargs['connection_info'] + self.backup_file_share = kwargs['backup_file_share'] + self.selected_certificates = kwargs['selected_certificates'] -class GetTdeCertificatesSqlTaskOutput(Model): +class GetTdeCertificatesSqlTaskOutput(msrest.serialization.Model): """Output of the task that gets TDE certificates in Base64 encoded format. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar base64_encoded_certificates: Mapping from certificate name to base - 64 encoded format. - :vartype base64_encoded_certificates: dict[str, list[str]] - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar base64_encoded_certificates: Mapping from certificate name to base 64 encoded format. + :vartype base64_encoded_certificates: str + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3239,84 +3240,80 @@ class GetTdeCertificatesSqlTaskOutput(Model): } _attribute_map = { - 'base64_encoded_certificates': {'key': 'base64EncodedCertificates', 'type': '{[str]}'}, + 'base64_encoded_certificates': {'key': 'base64EncodedCertificates', 'type': 'str'}, 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetTdeCertificatesSqlTaskOutput, self).__init__(**kwargs) self.base64_encoded_certificates = None self.validation_errors = None class GetTdeCertificatesSqlTaskProperties(ProjectTaskProperties): - """Properties for the task that gets TDE certificates in Base64 encoded - format. + """Properties for the task that gets TDE certificates in Base64 encoded format. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.GetTdeCertificatesSqlTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.GetTdeCertificatesSqlTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetTdeCertificatesSqlTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetTdeCertificatesSqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetTdeCertificatesSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetTdeCertificatesSqlTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetTdeCertificatesSqlTaskProperties, self).__init__(**kwargs) + self.task_type = 'GetTDECertificates.Sql' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'GetTDECertificates.Sql' -class GetUserTablesOracleTaskInput(Model): - """Input for the task that gets the list of tables contained within a provided - list of Oracle schemas. +class GetUserTablesOracleTaskInput(msrest.serialization.Model): + """Input for the task that gets the list of tables contained within a provided list of Oracle schemas. All required parameters must be populated in order to send to Azure. - :param connection_info: Required. Information for connecting to Oracle - source - :type connection_info: - ~azure.mgmt.datamigration.models.OracleConnectionInfo - :param selected_schemas: Required. List of Oracle schemas for which to - collect tables + :param connection_info: Required. Information for connecting to Oracle source. + :type connection_info: ~azure.mgmt.datamigration.models.OracleConnectionInfo + :param selected_schemas: Required. List of Oracle schemas for which to collect tables. :type selected_schemas: list[str] """ @@ -3330,26 +3327,26 @@ class GetUserTablesOracleTaskInput(Model): 'selected_schemas': {'key': 'selectedSchemas', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesOracleTaskInput, self).__init__(**kwargs) - self.connection_info = kwargs.get('connection_info', None) - self.selected_schemas = kwargs.get('selected_schemas', None) + self.connection_info = kwargs['connection_info'] + self.selected_schemas = kwargs['selected_schemas'] -class GetUserTablesOracleTaskOutput(Model): - """Output for the task that gets the list of tables contained within a - provided list of Oracle schemas. +class GetUserTablesOracleTaskOutput(msrest.serialization.Model): + """Output for the task that gets the list of tables contained within a provided list of Oracle schemas. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar schema_name: The schema this result is for + :ivar schema_name: The schema this result is for. :vartype schema_name: str - :ivar tables: List of valid tables found for this schema + :ivar tables: List of valid tables found for this schema. :vartype tables: list[~azure.mgmt.datamigration.models.DatabaseTable] - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3364,7 +3361,10 @@ class GetUserTablesOracleTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesOracleTaskOutput, self).__init__(**kwargs) self.schema_name = None self.tables = None @@ -3372,72 +3372,66 @@ def __init__(self, **kwargs): class GetUserTablesOracleTaskProperties(ProjectTaskProperties): - """Properties for the task that collects user tables for the given list of - Oracle schemas. + """Properties for the task that collects user tables for the given list of Oracle schemas. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.GetUserTablesOracleTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetUserTablesOracleTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetUserTablesOracleTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesOracleTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesOracleTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesOracleTaskProperties, self).__init__(**kwargs) + self.task_type = 'GetUserTablesOracle' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'GetUserTablesOracle' -class GetUserTablesPostgreSqlTaskInput(Model): - """Input for the task that gets the list of tables for a provided list of - PostgreSQL databases. +class GetUserTablesPostgreSqlTaskInput(msrest.serialization.Model): + """Input for the task that gets the list of tables for a provided list of PostgreSQL databases. All required parameters must be populated in order to send to Azure. - :param connection_info: Required. Information for connecting to PostgreSQL - source - :type connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo - :param selected_databases: Required. List of PostgreSQL databases for - which to collect tables + :param connection_info: Required. Information for connecting to PostgreSQL source. + :type connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param selected_databases: Required. List of PostgreSQL databases for which to collect tables. :type selected_databases: list[str] """ @@ -3451,26 +3445,26 @@ class GetUserTablesPostgreSqlTaskInput(Model): 'selected_databases': {'key': 'selectedDatabases', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesPostgreSqlTaskInput, self).__init__(**kwargs) - self.connection_info = kwargs.get('connection_info', None) - self.selected_databases = kwargs.get('selected_databases', None) + self.connection_info = kwargs['connection_info'] + self.selected_databases = kwargs['selected_databases'] -class GetUserTablesPostgreSqlTaskOutput(Model): - """Output for the task that gets the list of tables for a provided list of - PostgreSQL databases. +class GetUserTablesPostgreSqlTaskOutput(msrest.serialization.Model): + """Output for the task that gets the list of tables for a provided list of PostgreSQL databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar database_name: The database this result is for + :ivar database_name: The database this result is for. :vartype database_name: str - :ivar tables: List of valid tables found for this database + :ivar tables: List of valid tables found for this database. :vartype tables: list[~azure.mgmt.datamigration.models.DatabaseTable] - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3485,7 +3479,10 @@ class GetUserTablesPostgreSqlTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesPostgreSqlTaskOutput, self).__init__(**kwargs) self.database_name = None self.tables = None @@ -3493,79 +3490,72 @@ def __init__(self, **kwargs): class GetUserTablesPostgreSqlTaskProperties(ProjectTaskProperties): - """Properties for the task that collects user tables for the given list of - databases. + """Properties for the task that collects user tables for the given list of databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.GetUserTablesPostgreSqlTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.GetUserTablesPostgreSqlTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetUserTablesPostgreSqlTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetUserTablesPostgreSqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesPostgreSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesPostgreSqlTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesPostgreSqlTaskProperties, self).__init__(**kwargs) + self.task_type = 'GetUserTablesPostgreSql' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'GetUserTablesPostgreSql' -class GetUserTablesSqlSyncTaskInput(Model): - """Input for the task that collects user tables for the given list of - databases. +class GetUserTablesSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that collects user tables for the given list of databases. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for SQL - Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for SQL DB - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_source_databases: Required. List of source database names - to collect tables for + :param source_connection_info: Required. Connection information for SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for SQL DB. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_source_databases: Required. List of source database names to collect tables + for. :type selected_source_databases: list[str] - :param selected_target_databases: Required. List of target database names - to collect tables for + :param selected_target_databases: Required. List of target database names to collect tables + for. :type selected_target_databases: list[str] """ @@ -3583,35 +3573,30 @@ class GetUserTablesSqlSyncTaskInput(Model): 'selected_target_databases': {'key': 'selectedTargetDatabases', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesSqlSyncTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.selected_source_databases = kwargs.get('selected_source_databases', None) - self.selected_target_databases = kwargs.get('selected_target_databases', None) - - -class GetUserTablesSqlSyncTaskOutput(Model): - """Output of the task that collects user tables for the given list of - databases. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar databases_to_source_tables: Mapping from database name to list of - source tables - :vartype databases_to_source_tables: dict[str, - list[~azure.mgmt.datamigration.models.DatabaseTable]] - :ivar databases_to_target_tables: Mapping from database name to list of - target tables - :vartype databases_to_target_tables: dict[str, - list[~azure.mgmt.datamigration.models.DatabaseTable]] - :ivar table_validation_errors: Mapping from database name to list of - validation errors - :vartype table_validation_errors: dict[str, list[str]] - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] + self.selected_source_databases = kwargs['selected_source_databases'] + self.selected_target_databases = kwargs['selected_target_databases'] + + +class GetUserTablesSqlSyncTaskOutput(msrest.serialization.Model): + """Output of the task that collects user tables for the given list of databases. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar databases_to_source_tables: Mapping from database name to list of source tables. + :vartype databases_to_source_tables: str + :ivar databases_to_target_tables: Mapping from database name to list of target tables. + :vartype databases_to_target_tables: str + :ivar table_validation_errors: Mapping from database name to list of validation errors. + :vartype table_validation_errors: str + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3622,13 +3607,16 @@ class GetUserTablesSqlSyncTaskOutput(Model): } _attribute_map = { - 'databases_to_source_tables': {'key': 'databasesToSourceTables', 'type': '{[DatabaseTable]}'}, - 'databases_to_target_tables': {'key': 'databasesToTargetTables', 'type': '{[DatabaseTable]}'}, - 'table_validation_errors': {'key': 'tableValidationErrors', 'type': '{[str]}'}, + 'databases_to_source_tables': {'key': 'databasesToSourceTables', 'type': 'str'}, + 'databases_to_target_tables': {'key': 'databasesToTargetTables', 'type': 'str'}, + 'table_validation_errors': {'key': 'tableValidationErrors', 'type': 'str'}, 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesSqlSyncTaskOutput, self).__init__(**kwargs) self.databases_to_source_tables = None self.databases_to_target_tables = None @@ -3637,71 +3625,66 @@ def __init__(self, **kwargs): class GetUserTablesSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that collects user tables for the given list of - databases. + """Properties for the task that collects user tables for the given list of databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.GetUserTablesSqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.GetUserTablesSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetUserTablesSqlSyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetUserTablesSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesSqlSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesSqlSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'GetUserTables.AzureSqlDb.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'GetUserTables.AzureSqlDb.Sync' -class GetUserTablesSqlTaskInput(Model): - """Input for the task that collects user tables for the given list of - databases. +class GetUserTablesSqlTaskInput(msrest.serialization.Model): + """Input for the task that collects user tables for the given list of databases. All required parameters must be populated in order to send to Azure. - :param connection_info: Required. Connection information for SQL Server + :param connection_info: Required. Connection information for SQL Server. :type connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. List of database names to collect - tables for + :param selected_databases: Required. List of database names to collect tables for. :type selected_databases: list[str] """ @@ -3715,27 +3698,26 @@ class GetUserTablesSqlTaskInput(Model): 'selected_databases': {'key': 'selectedDatabases', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesSqlTaskInput, self).__init__(**kwargs) - self.connection_info = kwargs.get('connection_info', None) - self.selected_databases = kwargs.get('selected_databases', None) + self.connection_info = kwargs['connection_info'] + self.selected_databases = kwargs['selected_databases'] -class GetUserTablesSqlTaskOutput(Model): - """Output of the task that collects user tables for the given list of - databases. +class GetUserTablesSqlTaskOutput(msrest.serialization.Model): + """Output of the task that collects user tables for the given list of databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar databases_to_tables: Mapping from database name to list of tables - :vartype databases_to_tables: dict[str, - list[~azure.mgmt.datamigration.models.DatabaseTable]] - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar databases_to_tables: Mapping from database name to list of tables. + :vartype databases_to_tables: str + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3746,11 +3728,14 @@ class GetUserTablesSqlTaskOutput(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'databases_to_tables': {'key': 'databasesToTables', 'type': '{[DatabaseTable]}'}, + 'databases_to_tables': {'key': 'databasesToTables', 'type': 'str'}, 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesSqlTaskOutput, self).__init__(**kwargs) self.id = None self.databases_to_tables = None @@ -3758,65 +3743,62 @@ def __init__(self, **kwargs): class GetUserTablesSqlTaskProperties(ProjectTaskProperties): - """Properties for the task that collects user tables for the given list of - databases. + """Properties for the task that collects user tables for the given list of databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.GetUserTablesSqlTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetUserTablesSqlTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetUserTablesSqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesSqlTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GetUserTablesSqlTaskProperties, self).__init__(**kwargs) + self.task_type = 'GetUserTables.Sql' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'GetUserTables.Sql' -class InstallOCIDriverTaskInput(Model): +class InstallOCIDriverTaskInput(msrest.serialization.Model): """Input for the service task to install an OCI driver. - :param driver_package_name: Name of the uploaded driver package to - install. + :param driver_package_name: Name of the uploaded driver package to install. :type driver_package_name: str """ @@ -3824,20 +3806,21 @@ class InstallOCIDriverTaskInput(Model): 'driver_package_name': {'key': 'driverPackageName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(InstallOCIDriverTaskInput, self).__init__(**kwargs) self.driver_package_name = kwargs.get('driver_package_name', None) -class InstallOCIDriverTaskOutput(Model): +class InstallOCIDriverTaskOutput(msrest.serialization.Model): """Output for the service task to install an OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3848,7 +3831,10 @@ class InstallOCIDriverTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(InstallOCIDriverTaskOutput, self).__init__(**kwargs) self.validation_errors = None @@ -3856,64 +3842,62 @@ def __init__(self, **kwargs): class InstallOCIDriverTaskProperties(ProjectTaskProperties): """Properties for the task that installs an OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Input for the service task to install an OCI driver. :type input: ~azure.mgmt.datamigration.models.InstallOCIDriverTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.InstallOCIDriverTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.InstallOCIDriverTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'InstallOCIDriverTaskInput'}, 'output': {'key': 'output', 'type': '[InstallOCIDriverTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(InstallOCIDriverTaskProperties, self).__init__(**kwargs) + self.task_type = 'Service.Install.OCI' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Service.Install.OCI' -class MigrateMISyncCompleteCommandInput(Model): - """Input for command that completes online migration for an Azure SQL Database - Managed Instance. +class MigrateMISyncCompleteCommandInput(msrest.serialization.Model): + """Input for command that completes online migration for an Azure SQL Database Managed Instance. All required parameters must be populated in order to send to Azure. - :param source_database_name: Required. Name of managed instance database + :param source_database_name: Required. Name of managed instance database. :type source_database_name: str """ @@ -3925,16 +3909,18 @@ class MigrateMISyncCompleteCommandInput(Model): 'source_database_name': {'key': 'sourceDatabaseName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMISyncCompleteCommandInput, self).__init__(**kwargs) - self.source_database_name = kwargs.get('source_database_name', None) + self.source_database_name = kwargs['source_database_name'] -class MigrateMISyncCompleteCommandOutput(Model): - """Output for command that completes online migration for an Azure SQL - Database Managed Instance. +class MigrateMISyncCompleteCommandOutput(msrest.serialization.Model): + """Output for command that completes online migration for an Azure SQL Database Managed Instance. - :param errors: List of errors that happened during the command execution + :param errors: List of errors that happened during the command execution. :type errors: list[~azure.mgmt.datamigration.models.ReportableException] """ @@ -3942,130 +3928,127 @@ class MigrateMISyncCompleteCommandOutput(Model): 'errors': {'key': 'errors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMISyncCompleteCommandOutput, self).__init__(**kwargs) self.errors = kwargs.get('errors', None) class MigrateMISyncCompleteCommandProperties(CommandProperties): - """Properties for the command that completes online migration for an Azure SQL - Database Managed Instance. + """Properties for the command that completes online migration for an Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input - :type input: - ~azure.mgmt.datamigration.models.MigrateMISyncCompleteCommandInput + :param input: Command input. + :type input: ~azure.mgmt.datamigration.models.MigrateMISyncCompleteCommandInput :ivar output: Command output. This is ignored if submitted. - :vartype output: - ~azure.mgmt.datamigration.models.MigrateMISyncCompleteCommandOutput + :vartype output: ~azure.mgmt.datamigration.models.MigrateMISyncCompleteCommandOutput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateMISyncCompleteCommandInput'}, 'output': {'key': 'output', 'type': 'MigrateMISyncCompleteCommandOutput'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMISyncCompleteCommandProperties, self).__init__(**kwargs) + self.command_type = 'Migrate.SqlServer.AzureDbSqlMi.Complete' # type: str self.input = kwargs.get('input', None) self.output = None - self.command_type = 'Migrate.SqlServer.AzureDbSqlMi.Complete' class MigrateMongoDbTaskProperties(ProjectTaskProperties): """Properties for the task that migrates data between MongoDB data sources. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Describes how a MongoDB data migration should be performed. :type input: ~azure.mgmt.datamigration.models.MongoDbMigrationSettings :ivar output: :vartype output: list[~azure.mgmt.datamigration.models.MongoDbProgress] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbMigrationSettings'}, 'output': {'key': 'output', 'type': '[MongoDbProgress]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMongoDbTaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.MongoDb' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.MongoDb' -class MigrateMySqlAzureDbForMySqlSyncDatabaseInput(Model): - """Database specific information for MySQL to Azure Database for MySQL - migration task inputs. +class MigrateMySqlAzureDbForMySqlSyncDatabaseInput(msrest.serialization.Model): + """Database specific information for MySQL to Azure Database for MySQL migration task inputs. - :param name: Name of the database + :param name: Name of the database. :type name: str - :param target_database_name: Name of target database. Note: Target - database will be truncated before starting migration. + :param target_database_name: Name of target database. Note: Target database will be truncated + before starting migration. :type target_database_name: str - :param migration_setting: Migration settings which tune the migration - behavior + :param migration_setting: Migration settings which tune the migration behavior. :type migration_setting: dict[str, str] - :param source_setting: Source settings to tune source endpoint migration - behavior + :param source_setting: Source settings to tune source endpoint migration behavior. :type source_setting: dict[str, str] - :param target_setting: Target settings to tune target endpoint migration - behavior + :param target_setting: Target settings to tune target endpoint migration behavior. :type target_setting: dict[str, str] - :param table_map: Mapping of source to target tables + :param table_map: Mapping of source to target tables. :type table_map: dict[str, str] """ @@ -4078,7 +4061,10 @@ class MigrateMySqlAzureDbForMySqlSyncDatabaseInput(Model): 'table_map': {'key': 'tableMap', 'type': '{str}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncDatabaseInput, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.target_database_name = kwargs.get('target_database_name', None) @@ -4088,21 +4074,17 @@ def __init__(self, **kwargs): self.table_map = kwargs.get('table_map', None) -class MigrateMySqlAzureDbForMySqlSyncTaskInput(Model): - """Input for the task that migrates MySQL databases to Azure Database for - MySQL for online migrations. +class MigrateMySqlAzureDbForMySqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for source - MySQL - :type source_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo - :param target_connection_info: Required. Connection information for target - Azure Database for MySQL - :type target_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Connection information for source MySQL. + :type source_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + MySQL. + :type target_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateMySqlAzureDbForMySqlSyncDatabaseInput] """ @@ -4119,32 +4101,29 @@ class MigrateMySqlAzureDbForMySqlSyncTaskInput(Model): 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateMySqlAzureDbForMySqlSyncDatabaseInput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.selected_databases = kwargs.get('selected_databases', None) + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] + self.selected_databases = kwargs['selected_databases'] -class MigrateMySqlAzureDbForMySqlSyncTaskOutput(Model): - """Output for the task that migrates MySQL databases to Azure Database for - MySQL for online migrations. +class MigrateMySqlAzureDbForMySqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that migrates MySQL databases to Azure Database for MySQL for online migrations. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError, - MigrateMySqlAzureDbForMySqlSyncTaskOutputError, - MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel, - MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel, - MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel + sub-classes are: MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError, MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel, MigrateMySqlAzureDbForMySqlSyncTaskOutputError, MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel, MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -4159,32 +4138,33 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'DatabaseLevelErrorOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError', 'ErrorOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputError', 'TableLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelErrorOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError', 'DatabaseLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputError', 'MigrationLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel', 'TableLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :param error_message: Error message + :param error_message: Error message. :type error_message: str :param events: List of error events. - :type events: - list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] + :type events: list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] """ _validation = { @@ -4199,61 +4179,61 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError(MigrateMySqlAzureDb 'events': {'key': 'events', 'type': '[SyncMigrationDatabaseErrorEvent]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelErrorOutput' # type: str self.error_message = kwargs.get('error_message', None) self.events = kwargs.get('events', None) - self.result_type = 'DatabaseLevelErrorOutput' class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar migration_state: Migration state that this database is in. Possible - values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', - 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', - 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', - 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', - 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar migration_state: Migration state that this database is in. Possible values include: + "UNDEFINED", "CONFIGURING", "INITIALIAZING", "STARTING", "RUNNING", "READY_TO_COMPLETE", + "COMPLETING", "COMPLETE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATING", + "VALIDATION_COMPLETE", "VALIDATION_FAILED", "RESTORE_IN_PROGRESS", "RESTORE_COMPLETED", + "BACKUP_IN_PROGRESS", "BACKUP_COMPLETED". :vartype migration_state: str or ~azure.mgmt.datamigration.models.SyncDatabaseMigrationReportingState - :ivar incoming_changes: Number of incoming changes + :ivar incoming_changes: Number of incoming changes. :vartype incoming_changes: long - :ivar applied_changes: Number of applied changes + :ivar applied_changes: Number of applied changes. :vartype applied_changes: long - :ivar cdc_insert_counter: Number of cdc inserts + :ivar cdc_insert_counter: Number of cdc inserts. :vartype cdc_insert_counter: long - :ivar cdc_delete_counter: Number of cdc deletes + :ivar cdc_delete_counter: Number of cdc deletes. :vartype cdc_delete_counter: long - :ivar cdc_update_counter: Number of cdc updates + :ivar cdc_update_counter: Number of cdc updates. :vartype cdc_update_counter: long - :ivar full_load_completed_tables: Number of tables completed in full load + :ivar full_load_completed_tables: Number of tables completed in full load. :vartype full_load_completed_tables: long - :ivar full_load_loading_tables: Number of tables loading in full load + :ivar full_load_loading_tables: Number of tables loading in full load. :vartype full_load_loading_tables: long - :ivar full_load_queued_tables: Number of tables queued in full load + :ivar full_load_queued_tables: Number of tables queued in full load. :vartype full_load_queued_tables: long - :ivar full_load_errored_tables: Number of tables errored in full load + :ivar full_load_errored_tables: Number of tables errored in full load. :vartype full_load_errored_tables: long - :ivar initialization_completed: Indicates if initial load (full load) has - been completed + :ivar initialization_completed: Indicates if initial load (full load) has been completed. :vartype initialization_completed: bool - :ivar latency: CDC apply latency + :ivar latency: CDC apply latency. :vartype latency: long """ @@ -4297,8 +4277,12 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel(MigrateMySqlAzureDb 'latency': {'key': 'latency', 'type': 'long'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -4314,22 +4298,20 @@ def __init__(self, **kwargs): self.full_load_errored_tables = None self.initialization_completed = None self.latency = None - self.result_type = 'DatabaseLevelOutput' class MigrateMySqlAzureDbForMySqlSyncTaskOutputError(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -4345,35 +4327,37 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputError(MigrateMySqlAzureDbForMySql 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server: Source server name + :ivar source_server: Source server name. :vartype source_server: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server: Target server name + :ivar target_server: Target server name. :vartype target_server: str """ @@ -4399,58 +4383,58 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel(MigrateMySqlAzureD 'target_server': {'key': 'targetServer', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.source_server_version = None self.source_server = None self.target_server_version = None self.target_server = None - self.result_type = 'MigrationLevelOutput' class MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar table_name: Name of the table + :ivar table_name: Name of the table. :vartype table_name: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar cdc_insert_counter: Number of applied inserts + :ivar cdc_insert_counter: Number of applied inserts. :vartype cdc_insert_counter: str - :ivar cdc_update_counter: Number of applied updates + :ivar cdc_update_counter: Number of applied updates. :vartype cdc_update_counter: str - :ivar cdc_delete_counter: Number of applied deletes + :ivar cdc_delete_counter: Number of applied deletes. :vartype cdc_delete_counter: str - :ivar full_load_est_finish_time: Estimate to finish full load - :vartype full_load_est_finish_time: datetime - :ivar full_load_started_on: Full load start time - :vartype full_load_started_on: datetime - :ivar full_load_ended_on: Full load end time - :vartype full_load_ended_on: datetime - :ivar full_load_total_rows: Number of rows applied in full load + :ivar full_load_est_finish_time: Estimate to finish full load. + :vartype full_load_est_finish_time: ~datetime.datetime + :ivar full_load_started_on: Full load start time. + :vartype full_load_started_on: ~datetime.datetime + :ivar full_load_ended_on: Full load end time. + :vartype full_load_ended_on: ~datetime.datetime + :ivar full_load_total_rows: Number of rows applied in full load. :vartype full_load_total_rows: long - :ivar state: Current state of the table migration. Possible values - include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED', 'CANCELED', 'ERROR', - 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.SyncTableMigrationState - :ivar total_changes_applied: Total number of applied changes + :ivar state: Current state of the table migration. Possible values include: "BEFORE_LOAD", + "FULL_LOAD", "COMPLETED", "CANCELED", "ERROR", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.SyncTableMigrationState + :ivar total_changes_applied: Total number of applied changes. :vartype total_changes_applied: long - :ivar data_errors_counter: Number of data errors occurred + :ivar data_errors_counter: Number of data errors occurred. :vartype data_errors_counter: long - :ivar last_modified_time: Last modified time on target - :vartype last_modified_time: datetime + :ivar last_modified_time: Last modified time on target. + :vartype last_modified_time: ~datetime.datetime """ _validation = { @@ -4489,8 +4473,12 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel(MigrateMySqlAzureDbFor 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.table_name = None self.database_name = None self.cdc_insert_counter = None @@ -4504,145 +4492,135 @@ def __init__(self, **kwargs): self.total_changes_applied = None self.data_errors_counter = None self.last_modified_time = None - self.result_type = 'TableLevelOutput' class MigrateMySqlAzureDbForMySqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates MySQL databases to Azure Database for - MySQL for online migrations. + """Properties for the task that migrates MySQL databases to Azure Database for MySQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateMySqlAzureDbForMySqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateMySqlAzureDbForMySqlSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.MySql.AzureDbForMySql.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.MySql.AzureDbForMySql.Sync' class MigrateOracleAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates Oracle to Azure Database for - PostgreSQL for online migrations. + """Properties for the task that migrates Oracle to Azure Database for PostgreSQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateOracleAzureDbPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateOracleAzureDbPostgreSqlSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbForPostgreSqlSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.Oracle.AzureDbForPostgreSql.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.Oracle.AzureDbForPostgreSql.Sync' -class MigrateOracleAzureDbPostgreSqlSyncDatabaseInput(Model): - """Database specific information for Oracle to Azure Database for PostgreSQL - migration task inputs. +class MigrateOracleAzureDbPostgreSqlSyncDatabaseInput(msrest.serialization.Model): + """Database specific information for Oracle to Azure Database for PostgreSQL migration task inputs. - :param case_manipulation: How to handle object name casing: either - Preserve or ToLower + :param case_manipulation: How to handle object name casing: either Preserve or ToLower. :type case_manipulation: str - :param name: Name of the migration pipeline + :param name: Name of the migration pipeline. :type name: str - :param schema_name: Name of the source schema + :param schema_name: Name of the source schema. :type schema_name: str - :param table_map: Mapping of source to target tables + :param table_map: Mapping of source to target tables. :type table_map: dict[str, str] - :param target_database_name: Name of target database. Note: Target - database will be truncated before starting migration. + :param target_database_name: Name of target database. Note: Target database will be truncated + before starting migration. :type target_database_name: str - :param migration_setting: Migration settings which tune the migration - behavior + :param migration_setting: Migration settings which tune the migration behavior. :type migration_setting: dict[str, str] - :param source_setting: Source settings to tune source endpoint migration - behavior + :param source_setting: Source settings to tune source endpoint migration behavior. :type source_setting: dict[str, str] - :param target_setting: Target settings to tune target endpoint migration - behavior + :param target_setting: Target settings to tune target endpoint migration behavior. :type target_setting: dict[str, str] """ @@ -4657,7 +4635,10 @@ class MigrateOracleAzureDbPostgreSqlSyncDatabaseInput(Model): 'target_setting': {'key': 'targetSetting', 'type': '{str}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncDatabaseInput, self).__init__(**kwargs) self.case_manipulation = kwargs.get('case_manipulation', None) self.name = kwargs.get('name', None) @@ -4669,23 +4650,19 @@ def __init__(self, **kwargs): self.target_setting = kwargs.get('target_setting', None) -class MigrateOracleAzureDbPostgreSqlSyncTaskInput(Model): - """Input for the task that migrates Oracle databases to Azure Database for - PostgreSQL for online migrations. +class MigrateOracleAzureDbPostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncDatabaseInput] - :param target_connection_info: Required. Connection information for target - Azure Database for PostgreSQL - :type target_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo - :param source_connection_info: Required. Connection information for source - Oracle - :type source_connection_info: - ~azure.mgmt.datamigration.models.OracleConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + PostgreSQL. + :type target_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param source_connection_info: Required. Connection information for source Oracle. + :type source_connection_info: ~azure.mgmt.datamigration.models.OracleConnectionInfo """ _validation = { @@ -4700,32 +4677,29 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskInput(Model): 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'OracleConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskInput, self).__init__(**kwargs) - self.selected_databases = kwargs.get('selected_databases', None) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.source_connection_info = kwargs.get('source_connection_info', None) + self.selected_databases = kwargs['selected_databases'] + self.target_connection_info = kwargs['target_connection_info'] + self.source_connection_info = kwargs['source_connection_info'] -class MigrateOracleAzureDbPostgreSqlSyncTaskOutput(Model): - """Output for the task that migrates Oracle databases to Azure Database for - PostgreSQL for online migrations. +class MigrateOracleAzureDbPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError, - MigrateOracleAzureDbPostgreSqlSyncTaskOutputError, - MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel, - MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel, - MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel + sub-classes are: MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError, MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel, MigrateOracleAzureDbPostgreSqlSyncTaskOutputError, MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel, MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -4740,32 +4714,33 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'DatabaseLevelErrorOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError', 'ErrorOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputError', 'TableLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelErrorOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError', 'DatabaseLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputError', 'MigrationLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel', 'TableLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :param error_message: Error message + :param error_message: Error message. :type error_message: str :param events: List of error events. - :type events: - list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] + :type events: list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] """ _validation = { @@ -4780,61 +4755,61 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError(MigrateOracleAzu 'events': {'key': 'events', 'type': '[SyncMigrationDatabaseErrorEvent]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelErrorOutput' # type: str self.error_message = kwargs.get('error_message', None) self.events = kwargs.get('events', None) - self.result_type = 'DatabaseLevelErrorOutput' class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar migration_state: Migration state that this database is in. Possible - values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', - 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', - 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', - 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', - 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar migration_state: Migration state that this database is in. Possible values include: + "UNDEFINED", "CONFIGURING", "INITIALIAZING", "STARTING", "RUNNING", "READY_TO_COMPLETE", + "COMPLETING", "COMPLETE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATING", + "VALIDATION_COMPLETE", "VALIDATION_FAILED", "RESTORE_IN_PROGRESS", "RESTORE_COMPLETED", + "BACKUP_IN_PROGRESS", "BACKUP_COMPLETED". :vartype migration_state: str or ~azure.mgmt.datamigration.models.SyncDatabaseMigrationReportingState - :ivar incoming_changes: Number of incoming changes + :ivar incoming_changes: Number of incoming changes. :vartype incoming_changes: long - :ivar applied_changes: Number of applied changes + :ivar applied_changes: Number of applied changes. :vartype applied_changes: long - :ivar cdc_insert_counter: Number of cdc inserts + :ivar cdc_insert_counter: Number of cdc inserts. :vartype cdc_insert_counter: long - :ivar cdc_delete_counter: Number of cdc deletes + :ivar cdc_delete_counter: Number of cdc deletes. :vartype cdc_delete_counter: long - :ivar cdc_update_counter: Number of cdc updates + :ivar cdc_update_counter: Number of cdc updates. :vartype cdc_update_counter: long - :ivar full_load_completed_tables: Number of tables completed in full load + :ivar full_load_completed_tables: Number of tables completed in full load. :vartype full_load_completed_tables: long - :ivar full_load_loading_tables: Number of tables loading in full load + :ivar full_load_loading_tables: Number of tables loading in full load. :vartype full_load_loading_tables: long - :ivar full_load_queued_tables: Number of tables queued in full load + :ivar full_load_queued_tables: Number of tables queued in full load. :vartype full_load_queued_tables: long - :ivar full_load_errored_tables: Number of tables errored in full load + :ivar full_load_errored_tables: Number of tables errored in full load. :vartype full_load_errored_tables: long - :ivar initialization_completed: Indicates if initial load (full load) has - been completed + :ivar initialization_completed: Indicates if initial load (full load) has been completed. :vartype initialization_completed: bool - :ivar latency: CDC apply latency + :ivar latency: CDC apply latency. :vartype latency: long """ @@ -4878,8 +4853,12 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel(MigrateOracleAzu 'latency': {'key': 'latency', 'type': 'long'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -4895,22 +4874,20 @@ def __init__(self, **kwargs): self.full_load_errored_tables = None self.initialization_completed = None self.latency = None - self.result_type = 'DatabaseLevelOutput' class MigrateOracleAzureDbPostgreSqlSyncTaskOutputError(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -4926,35 +4903,37 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputError(MigrateOracleAzureDbPost 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server: Source server name + :ivar source_server: Source server name. :vartype source_server: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server: Target server name + :ivar target_server: Target server name. :vartype target_server: str """ @@ -4980,58 +4959,58 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel(MigrateOracleAz 'target_server': {'key': 'targetServer', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.source_server_version = None self.source_server = None self.target_server_version = None self.target_server = None - self.result_type = 'MigrationLevelOutput' class MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar table_name: Name of the table + :ivar table_name: Name of the table. :vartype table_name: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar cdc_insert_counter: Number of applied inserts + :ivar cdc_insert_counter: Number of applied inserts. :vartype cdc_insert_counter: long - :ivar cdc_update_counter: Number of applied updates + :ivar cdc_update_counter: Number of applied updates. :vartype cdc_update_counter: long - :ivar cdc_delete_counter: Number of applied deletes + :ivar cdc_delete_counter: Number of applied deletes. :vartype cdc_delete_counter: long - :ivar full_load_est_finish_time: Estimate to finish full load - :vartype full_load_est_finish_time: datetime - :ivar full_load_started_on: Full load start time - :vartype full_load_started_on: datetime - :ivar full_load_ended_on: Full load end time - :vartype full_load_ended_on: datetime - :ivar full_load_total_rows: Number of rows applied in full load + :ivar full_load_est_finish_time: Estimate to finish full load. + :vartype full_load_est_finish_time: ~datetime.datetime + :ivar full_load_started_on: Full load start time. + :vartype full_load_started_on: ~datetime.datetime + :ivar full_load_ended_on: Full load end time. + :vartype full_load_ended_on: ~datetime.datetime + :ivar full_load_total_rows: Number of rows applied in full load. :vartype full_load_total_rows: long - :ivar state: Current state of the table migration. Possible values - include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED', 'CANCELED', 'ERROR', - 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.SyncTableMigrationState - :ivar total_changes_applied: Total number of applied changes + :ivar state: Current state of the table migration. Possible values include: "BEFORE_LOAD", + "FULL_LOAD", "COMPLETED", "CANCELED", "ERROR", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.SyncTableMigrationState + :ivar total_changes_applied: Total number of applied changes. :vartype total_changes_applied: long - :ivar data_errors_counter: Number of data errors occurred + :ivar data_errors_counter: Number of data errors occurred. :vartype data_errors_counter: long - :ivar last_modified_time: Last modified time on target - :vartype last_modified_time: datetime + :ivar last_modified_time: Last modified time on target. + :vartype last_modified_time: ~datetime.datetime """ _validation = { @@ -5070,8 +5049,12 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel(MigrateOracleAzureD 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.table_name = None self.database_name = None self.cdc_insert_counter = None @@ -5085,28 +5068,23 @@ def __init__(self, **kwargs): self.total_changes_applied = None self.data_errors_counter = None self.last_modified_time = None - self.result_type = 'TableLevelOutput' -class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput(Model): - """Database specific information for PostgreSQL to Azure Database for - PostgreSQL migration task inputs. +class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput(msrest.serialization.Model): + """Database specific information for PostgreSQL to Azure Database for PostgreSQL migration task inputs. - :param name: Name of the database + :param name: Name of the database. :type name: str - :param target_database_name: Name of target database. Note: Target - database will be truncated before starting migration. + :param target_database_name: Name of target database. Note: Target database will be truncated + before starting migration. :type target_database_name: str - :param migration_setting: Migration settings which tune the migration - behavior + :param migration_setting: Migration settings which tune the migration behavior. :type migration_setting: dict[str, str] - :param source_setting: Source settings to tune source endpoint migration - behavior + :param source_setting: Source settings to tune source endpoint migration behavior. :type source_setting: dict[str, str] - :param target_setting: Target settings to tune target endpoint migration - behavior + :param target_setting: Target settings to tune target endpoint migration behavior. :type target_setting: dict[str, str] - :param selected_tables: Tables selected for migration + :param selected_tables: Tables selected for migration. :type selected_tables: list[~azure.mgmt.datamigration.models.MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput] """ @@ -5120,7 +5098,10 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput(Model): 'selected_tables': {'key': 'selectedTables', 'type': '[MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.target_database_name = kwargs.get('target_database_name', None) @@ -5130,10 +5111,10 @@ def __init__(self, **kwargs): self.selected_tables = kwargs.get('selected_tables', None) -class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput(Model): +class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput(msrest.serialization.Model): """Selected tables for the migration. - :param name: Name of the table to migrate + :param name: Name of the table to migrate. :type name: str """ @@ -5141,28 +5122,27 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput(Model): 'name': {'key': 'name', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput, self).__init__(**kwargs) self.name = kwargs.get('name', None) -class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput(Model): - """Input for the task that migrates PostgreSQL databases to Azure Database for - PostgreSQL for online migrations. +class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput] - :param target_connection_info: Required. Connection information for target - Azure Database for PostgreSQL - :type target_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo - :param source_connection_info: Required. Connection information for source - PostgreSQL - :type source_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + PostgreSQL. + :type target_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param source_connection_info: Required. Connection information for source PostgreSQL. + :type source_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo """ _validation = { @@ -5177,33 +5157,29 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput(Model): 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'PostgreSqlConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput, self).__init__(**kwargs) - self.selected_databases = kwargs.get('selected_databases', None) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.source_connection_info = kwargs.get('source_connection_info', None) + self.selected_databases = kwargs['selected_databases'] + self.target_connection_info = kwargs['target_connection_info'] + self.source_connection_info = kwargs['source_connection_info'] -class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput(Model): - """Output for the task that migrates PostgreSQL databases to Azure Database - for PostgreSQL for online migrations. +class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel + sub-classes are: MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -5218,32 +5194,33 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'DatabaseLevelErrorOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError', 'ErrorOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError', 'TableLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelErrorOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError', 'DatabaseLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError', 'MigrationLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel', 'TableLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :param error_message: Error message + :param error_message: Error message. :type error_message: str :param events: List of error events. - :type events: - list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] + :type events: list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] """ _validation = { @@ -5258,61 +5235,61 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError(MigratePo 'events': {'key': 'events', 'type': '[SyncMigrationDatabaseErrorEvent]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelErrorOutput' # type: str self.error_message = kwargs.get('error_message', None) self.events = kwargs.get('events', None) - self.result_type = 'DatabaseLevelErrorOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar migration_state: Migration state that this database is in. Possible - values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', - 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', - 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', - 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', - 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar migration_state: Migration state that this database is in. Possible values include: + "UNDEFINED", "CONFIGURING", "INITIALIAZING", "STARTING", "RUNNING", "READY_TO_COMPLETE", + "COMPLETING", "COMPLETE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATING", + "VALIDATION_COMPLETE", "VALIDATION_FAILED", "RESTORE_IN_PROGRESS", "RESTORE_COMPLETED", + "BACKUP_IN_PROGRESS", "BACKUP_COMPLETED". :vartype migration_state: str or ~azure.mgmt.datamigration.models.SyncDatabaseMigrationReportingState - :ivar incoming_changes: Number of incoming changes + :ivar incoming_changes: Number of incoming changes. :vartype incoming_changes: long - :ivar applied_changes: Number of applied changes + :ivar applied_changes: Number of applied changes. :vartype applied_changes: long - :ivar cdc_insert_counter: Number of cdc inserts + :ivar cdc_insert_counter: Number of cdc inserts. :vartype cdc_insert_counter: long - :ivar cdc_delete_counter: Number of cdc deletes + :ivar cdc_delete_counter: Number of cdc deletes. :vartype cdc_delete_counter: long - :ivar cdc_update_counter: Number of cdc updates + :ivar cdc_update_counter: Number of cdc updates. :vartype cdc_update_counter: long - :ivar full_load_completed_tables: Number of tables completed in full load + :ivar full_load_completed_tables: Number of tables completed in full load. :vartype full_load_completed_tables: long - :ivar full_load_loading_tables: Number of tables loading in full load + :ivar full_load_loading_tables: Number of tables loading in full load. :vartype full_load_loading_tables: long - :ivar full_load_queued_tables: Number of tables queued in full load + :ivar full_load_queued_tables: Number of tables queued in full load. :vartype full_load_queued_tables: long - :ivar full_load_errored_tables: Number of tables errored in full load + :ivar full_load_errored_tables: Number of tables errored in full load. :vartype full_load_errored_tables: long - :ivar initialization_completed: Indicates if initial load (full load) has - been completed + :ivar initialization_completed: Indicates if initial load (full load) has been completed. :vartype initialization_completed: bool - :ivar latency: CDC apply latency + :ivar latency: CDC apply latency. :vartype latency: long """ @@ -5356,8 +5333,12 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel(MigratePo 'latency': {'key': 'latency', 'type': 'long'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -5373,22 +5354,20 @@ def __init__(self, **kwargs): self.full_load_errored_tables = None self.initialization_completed = None self.latency = None - self.result_type = 'DatabaseLevelOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -5404,50 +5383,48 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError(MigratePostgreSql 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server: Source server name + :ivar source_server: Source server name. :vartype source_server: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server: Target server name + :ivar target_server: Target server name. :vartype target_server: str - :ivar source_server_type: Source server type. Possible values include: - 'Access', 'DB2', 'MySQL', 'Oracle', 'SQL', 'Sybase', 'PostgreSQL', - 'MongoDB', 'SQLRDS', 'MySQLRDS', 'PostgreSQLRDS' - :vartype source_server_type: str or - ~azure.mgmt.datamigration.models.ScenarioSource - :ivar target_server_type: Target server type. Possible values include: - 'SQLServer', 'SQLDB', 'SQLDW', 'SQLMI', 'AzureDBForMySql', - 'AzureDBForPostgresSQL', 'MongoDB' - :vartype target_server_type: str or - ~azure.mgmt.datamigration.models.ScenarioTarget - :ivar state: Migration status. Possible values include: 'UNDEFINED', - 'VALIDATING', 'PENDING', 'COMPLETE', 'ACTION_REQUIRED', 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.ReplicateMigrationState + :ivar source_server_type: Source server type. Possible values include: "Access", "DB2", + "MySQL", "Oracle", "SQL", "Sybase", "PostgreSQL", "MongoDB", "SQLRDS", "MySQLRDS", + "PostgreSQLRDS". + :vartype source_server_type: str or ~azure.mgmt.datamigration.models.ScenarioSource + :ivar target_server_type: Target server type. Possible values include: "SQLServer", "SQLDB", + "SQLDW", "SQLMI", "AzureDBForMySql", "AzureDBForPostgresSQL", "MongoDB". + :vartype target_server_type: str or ~azure.mgmt.datamigration.models.ScenarioTarget + :ivar state: Migration status. Possible values include: "UNDEFINED", "VALIDATING", "PENDING", + "COMPLETE", "ACTION_REQUIRED", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.ReplicateMigrationState """ _validation = { @@ -5478,8 +5455,12 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel(MigrateP 'state': {'key': 'state', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.source_server_version = None @@ -5489,50 +5470,46 @@ def __init__(self, **kwargs): self.source_server_type = None self.target_server_type = None self.state = None - self.result_type = 'MigrationLevelOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar table_name: Name of the table + :ivar table_name: Name of the table. :vartype table_name: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar cdc_insert_counter: Number of applied inserts + :ivar cdc_insert_counter: Number of applied inserts. :vartype cdc_insert_counter: long - :ivar cdc_update_counter: Number of applied updates + :ivar cdc_update_counter: Number of applied updates. :vartype cdc_update_counter: long - :ivar cdc_delete_counter: Number of applied deletes + :ivar cdc_delete_counter: Number of applied deletes. :vartype cdc_delete_counter: long - :ivar full_load_est_finish_time: Estimate to finish full load - :vartype full_load_est_finish_time: datetime - :ivar full_load_started_on: Full load start time - :vartype full_load_started_on: datetime - :ivar full_load_ended_on: Full load end time - :vartype full_load_ended_on: datetime - :ivar full_load_total_rows: Number of rows applied in full load + :ivar full_load_est_finish_time: Estimate to finish full load. + :vartype full_load_est_finish_time: ~datetime.datetime + :ivar full_load_started_on: Full load start time. + :vartype full_load_started_on: ~datetime.datetime + :ivar full_load_ended_on: Full load end time. + :vartype full_load_ended_on: ~datetime.datetime + :ivar full_load_total_rows: Number of rows applied in full load. :vartype full_load_total_rows: long - :ivar state: Current state of the table migration. Possible values - include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED', 'CANCELED', 'ERROR', - 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.SyncTableMigrationState - :ivar total_changes_applied: Total number of applied changes + :ivar state: Current state of the table migration. Possible values include: "BEFORE_LOAD", + "FULL_LOAD", "COMPLETED", "CANCELED", "ERROR", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.SyncTableMigrationState + :ivar total_changes_applied: Total number of applied changes. :vartype total_changes_applied: long - :ivar data_errors_counter: Number of data errors occurred + :ivar data_errors_counter: Number of data errors occurred. :vartype data_errors_counter: long - :ivar last_modified_time: Last modified time on target - :vartype last_modified_time: datetime + :ivar last_modified_time: Last modified time on target. + :vartype last_modified_time: ~datetime.datetime """ _validation = { @@ -5571,8 +5548,12 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel(MigratePostg 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.table_name = None self.database_name = None self.cdc_insert_counter = None @@ -5586,33 +5567,28 @@ def __init__(self, **kwargs): self.total_changes_applied = None self.data_errors_counter = None self.last_modified_time = None - self.result_type = 'TableLevelOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates PostgreSQL databases to Azure - Database for PostgreSQL for online migrations. + """Properties for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. @@ -5621,40 +5597,42 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskPropert """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2' -class MigrateSchemaSqlServerSqlDbDatabaseInput(Model): +class MigrateSchemaSqlServerSqlDbDatabaseInput(msrest.serialization.Model): """Database input for migrate schema Sql Server to Azure SQL Server scenario. - :param name: Name of source database + :param name: Name of source database. :type name: str - :param target_database_name: Name of target database + :param target_database_name: Name of target database. :type target_database_name: str - :param schema_setting: Database schema migration settings - :type schema_setting: - ~azure.mgmt.datamigration.models.SchemaMigrationSetting + :param schema_setting: Database schema migration settings. + :type schema_setting: ~azure.mgmt.datamigration.models.SchemaMigrationSetting """ _attribute_map = { @@ -5663,26 +5641,25 @@ class MigrateSchemaSqlServerSqlDbDatabaseInput(Model): 'schema_setting': {'key': 'schemaSetting', 'type': 'SchemaMigrationSetting'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbDatabaseInput, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.target_database_name = kwargs.get('target_database_name', None) self.schema_setting = kwargs.get('schema_setting', None) -class SqlMigrationTaskInput(Model): +class SqlMigrationTaskInput(msrest.serialization.Model): """Base class for migration task input. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo """ _validation = { @@ -5695,27 +5672,25 @@ class SqlMigrationTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SqlMigrationTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] class MigrateSchemaSqlServerSqlDbTaskInput(SqlMigrationTaskInput): - """Input for task that migrates Schema for SQL Server databases to Azure SQL - databases. + """Input for task that migrates Schema for SQL Server databases to Azure SQL databases. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbDatabaseInput] """ @@ -5732,34 +5707,31 @@ class MigrateSchemaSqlServerSqlDbTaskInput(SqlMigrationTaskInput): 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateSchemaSqlServerSqlDbDatabaseInput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskInput, self).__init__(**kwargs) - self.selected_databases = kwargs.get('selected_databases', None) + self.selected_databases = kwargs['selected_databases'] -class MigrateSchemaSqlServerSqlDbTaskOutput(Model): - """Output for the task that migrates Schema for SQL Server databases to Azure - SQL databases. +class MigrateSchemaSqlServerSqlDbTaskOutput(msrest.serialization.Model): + """Output for the task that migrates Schema for SQL Server databases to Azure SQL databases. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel, - MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel, - MigrateSchemaSqlServerSqlDbTaskOutputError, MigrateSchemaSqlTaskOutputError + sub-classes are: MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel, MigrateSchemaSqlTaskOutputError, MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel, MigrateSchemaSqlServerSqlDbTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, } _attribute_map = { @@ -5768,63 +5740,56 @@ class MigrateSchemaSqlServerSqlDbTaskOutput(Model): } _subtype_map = { - 'result_type': {'MigrationLevelOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel', 'DatabaseLevelOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel', 'SchemaErrorOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputError', 'ErrorOutput': 'MigrateSchemaSqlTaskOutputError'} + 'result_type': {'DatabaseLevelOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSchemaSqlTaskOutputError', 'MigrationLevelOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel', 'SchemaErrorOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputError'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSchemaSqlServerSqlDbTaskOutput): """MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str - :ivar database_name: The name of the database + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str + :ivar database_name: The name of the database. :vartype database_name: str - :ivar state: State of the schema migration for this database. Possible - values include: 'None', 'InProgress', 'Failed', 'Warning', 'Completed', - 'Skipped', 'Stopped' + :ivar state: State of the schema migration for this database. Possible values include: "None", + "InProgress", "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Schema migration stage for this database. Possible values - include: 'NotStarted', 'ValidatingInputs', 'CollectingObjects', - 'DownloadingScript', 'GeneratingScript', 'UploadingScript', - 'DeployingSchema', 'Completed', 'CompletedWithWarnings', 'Failed' - :vartype stage: str or - ~azure.mgmt.datamigration.models.SchemaMigrationStage - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar database_error_result_prefix: Prefix string to use for querying - errors for this database + :ivar stage: Schema migration stage for this database. Possible values include: "NotStarted", + "ValidatingInputs", "CollectingObjects", "DownloadingScript", "GeneratingScript", + "UploadingScript", "DeployingSchema", "Completed", "CompletedWithWarnings", "Failed". + :vartype stage: str or ~azure.mgmt.datamigration.models.SchemaMigrationStage + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar database_error_result_prefix: Prefix string to use for querying errors for this database. :vartype database_error_result_prefix: str - :ivar schema_error_result_prefix: Prefix string to use for querying schema - errors for this database + :ivar schema_error_result_prefix: Prefix string to use for querying schema errors for this + database. :vartype schema_error_result_prefix: str - :ivar number_of_successful_operations: Number of successful operations for - this database + :ivar number_of_successful_operations: Number of successful operations for this database. :vartype number_of_successful_operations: long - :ivar number_of_failed_operations: Number of failed operations for this - database + :ivar number_of_failed_operations: Number of failed operations for this database. :vartype number_of_failed_operations: long - :ivar file_id: Identifier for the file resource containing the schema of - this database + :ivar file_id: Identifier for the file resource containing the schema of this database. :vartype file_id: str """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, 'database_name': {'readonly': True}, 'state': {'readonly': True}, 'stage': {'readonly': True}, @@ -5852,8 +5817,12 @@ class MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSchemaSqlServerS 'file_id': {'key': 'fileId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.state = None self.stage = None @@ -5864,30 +5833,26 @@ def __init__(self, **kwargs): self.number_of_successful_operations = None self.number_of_failed_operations = None self.file_id = None - self.result_type = 'DatabaseLevelOutput' class MigrateSchemaSqlServerSqlDbTaskOutputError(MigrateSchemaSqlServerSqlDbTaskOutput): """MigrateSchemaSqlServerSqlDbTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str - :ivar command_text: Schema command which failed + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str + :ivar command_text: Schema command which failed. :vartype command_text: str - :ivar error_text: Reason of failure + :ivar error_text: Reason of failure. :vartype error_text: str """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, 'command_text': {'readonly': True}, 'error_text': {'readonly': True}, } @@ -5899,46 +5864,45 @@ class MigrateSchemaSqlServerSqlDbTaskOutputError(MigrateSchemaSqlServerSqlDbTask 'error_text': {'key': 'errorText', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskOutputError, self).__init__(**kwargs) + self.result_type = 'SchemaErrorOutput' # type: str self.command_text = None self.error_text = None - self.result_type = 'SchemaErrorOutput' class MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel(MigrateSchemaSqlServerSqlDbTaskOutput): """MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str - :ivar state: Overall state of the schema migration. Possible values - include: 'None', 'InProgress', 'Failed', 'Warning', 'Completed', - 'Skipped', 'Stopped' + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str + :ivar state: Overall state of the schema migration. Possible values include: "None", + "InProgress", "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, 'state': {'readonly': True}, 'started_on': {'readonly': True}, 'ended_on': {'readonly': True}, @@ -5960,8 +5924,12 @@ class MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel(MigrateSchemaSqlServer 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.state = None self.started_on = None self.ended_on = None @@ -5969,84 +5937,77 @@ def __init__(self, **kwargs): self.source_server_brand_version = None self.target_server_version = None self.target_server_brand_version = None - self.result_type = 'MigrationLevelOutput' class MigrateSchemaSqlServerSqlDbTaskProperties(ProjectTaskProperties): - """Properties for task that migrates Schema for SQL Server databases to Azure - SQL databases. + """Properties for task that migrates Schema for SQL Server databases to Azure SQL databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSchemaSqlServerSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSchemaSqlServerSqlDbTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskProperties, self).__init__(**kwargs) + self.task_type = 'MigrateSchemaSqlServerSqlDb' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'MigrateSchemaSqlServerSqlDb' class MigrateSchemaSqlTaskOutputError(MigrateSchemaSqlServerSqlDbTaskOutput): """MigrateSchemaSqlTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str - :ivar error: Migration error + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, 'error': {'readonly': True}, } @@ -6056,25 +6017,57 @@ class MigrateSchemaSqlTaskOutputError(MigrateSchemaSqlServerSqlDbTaskOutput): 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' -class MigrateSqlServerSqlDbDatabaseInput(Model): - """Database specific information for SQL to Azure SQL DB migration task - inputs. +class MigrateSqlServerDatabaseInput(msrest.serialization.Model): + """Database specific information for SQL to SQL migration task inputs. - :param name: Name of the database + :param name: Name of the database. :type name: str - :param target_database_name: Name of target database. Note: Target - database will be truncated before starting migration. + :param restore_database_name: Name of the database at destination. + :type restore_database_name: str + :param backup_and_restore_folder: The backup and restore folder. + :type backup_and_restore_folder: str + :param database_files: The list of database files. + :type database_files: list[~azure.mgmt.datamigration.models.DatabaseFileInput] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'restore_database_name': {'key': 'restoreDatabaseName', 'type': 'str'}, + 'backup_and_restore_folder': {'key': 'backupAndRestoreFolder', 'type': 'str'}, + 'database_files': {'key': 'databaseFiles', 'type': '[DatabaseFileInput]'}, + } + + def __init__( + self, + **kwargs + ): + super(MigrateSqlServerDatabaseInput, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.restore_database_name = kwargs.get('restore_database_name', None) + self.backup_and_restore_folder = kwargs.get('backup_and_restore_folder', None) + self.database_files = kwargs.get('database_files', None) + + +class MigrateSqlServerSqlDbDatabaseInput(msrest.serialization.Model): + """Database specific information for SQL to Azure SQL DB migration task inputs. + + :param name: Name of the database. + :type name: str + :param target_database_name: Name of target database. Note: Target database will be truncated + before starting migration. :type target_database_name: str - :param make_source_db_read_only: Whether to set database read only before - migration + :param make_source_db_read_only: Whether to set database read only before migration. :type make_source_db_read_only: bool - :param table_map: Mapping of source to target tables + :param table_map: Mapping of source to target tables. :type table_map: dict[str, str] """ @@ -6085,7 +6078,10 @@ class MigrateSqlServerSqlDbDatabaseInput(Model): 'table_map': {'key': 'tableMap', 'type': '{str}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbDatabaseInput, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.target_database_name = kwargs.get('target_database_name', None) @@ -6093,28 +6089,24 @@ def __init__(self, **kwargs): self.table_map = kwargs.get('table_map', None) -class MigrateSqlServerSqlDbSyncDatabaseInput(Model): - """Database specific information for SQL to Azure SQL DB sync migration task - inputs. +class MigrateSqlServerSqlDbSyncDatabaseInput(msrest.serialization.Model): + """Database specific information for SQL to Azure SQL DB sync migration task inputs. - :param id: Unique identifier for database + :param id: Unique identifier for database. :type id: str - :param name: Name of database + :param name: Name of database. :type name: str - :param target_database_name: Target database name + :param target_database_name: Target database name. :type target_database_name: str - :param schema_name: Schema name to be migrated + :param schema_name: Schema name to be migrated. :type schema_name: str - :param table_map: Mapping of source to target tables + :param table_map: Mapping of source to target tables. :type table_map: dict[str, str] - :param migration_setting: Migration settings which tune the migration - behavior + :param migration_setting: Migration settings which tune the migration behavior. :type migration_setting: dict[str, str] - :param source_setting: Source settings to tune source endpoint migration - behavior + :param source_setting: Source settings to tune source endpoint migration behavior. :type source_setting: dict[str, str] - :param target_setting: Target settings to tune target endpoint migration - behavior + :param target_setting: Target settings to tune target endpoint migration behavior. :type target_setting: dict[str, str] """ @@ -6129,7 +6121,10 @@ class MigrateSqlServerSqlDbSyncDatabaseInput(Model): 'target_setting': {'key': 'targetSetting', 'type': '{str}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncDatabaseInput, self).__init__(**kwargs) self.id = kwargs.get('id', None) self.name = kwargs.get('name', None) @@ -6142,25 +6137,19 @@ def __init__(self, **kwargs): class MigrateSqlServerSqlDbSyncTaskInput(SqlMigrationTaskInput): - """Input for the task that migrates on-prem SQL Server databases to Azure SQL - Database for online migrations. + """Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncDatabaseInput] - :param validation_options: Validation options - :type validation_options: - ~azure.mgmt.datamigration.models.MigrationValidationOptions + :param validation_options: Validation options. + :type validation_options: ~azure.mgmt.datamigration.models.MigrationValidationOptions """ _validation = { @@ -6176,31 +6165,28 @@ class MigrateSqlServerSqlDbSyncTaskInput(SqlMigrationTaskInput): 'validation_options': {'key': 'validationOptions', 'type': 'MigrationValidationOptions'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskInput, self).__init__(**kwargs) - self.selected_databases = kwargs.get('selected_databases', None) + self.selected_databases = kwargs['selected_databases'] self.validation_options = kwargs.get('validation_options', None) -class MigrateSqlServerSqlDbSyncTaskOutput(Model): - """Output for the task that migrates on-prem SQL Server databases to Azure SQL - Database for online migrations. +class MigrateSqlServerSqlDbSyncTaskOutput(msrest.serialization.Model): + """Output for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSqlServerSqlDbSyncTaskOutputDatabaseError, - MigrateSqlServerSqlDbSyncTaskOutputError, - MigrateSqlServerSqlDbSyncTaskOutputTableLevel, - MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel, - MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel + sub-classes are: MigrateSqlServerSqlDbSyncTaskOutputDatabaseError, MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel, MigrateSqlServerSqlDbSyncTaskOutputError, MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel, MigrateSqlServerSqlDbSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -6215,32 +6201,33 @@ class MigrateSqlServerSqlDbSyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'DatabaseLevelErrorOutput': 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseError', 'ErrorOutput': 'MigrateSqlServerSqlDbSyncTaskOutputError', 'TableLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelErrorOutput': 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseError', 'DatabaseLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSqlServerSqlDbSyncTaskOutputError', 'MigrationLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel', 'TableLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputTableLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSqlServerSqlDbSyncTaskOutputDatabaseError(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputDatabaseError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :param error_message: Error message + :param error_message: Error message. :type error_message: str :param events: List of error events. - :type events: - list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] + :type events: list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] """ _validation = { @@ -6255,61 +6242,61 @@ class MigrateSqlServerSqlDbSyncTaskOutputDatabaseError(MigrateSqlServerSqlDbSync 'events': {'key': 'events', 'type': '[SyncMigrationDatabaseErrorEvent]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputDatabaseError, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelErrorOutput' # type: str self.error_message = kwargs.get('error_message', None) self.events = kwargs.get('events', None) - self.result_type = 'DatabaseLevelErrorOutput' class MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar migration_state: Migration state that this database is in. Possible - values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', - 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', - 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', - 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', - 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar migration_state: Migration state that this database is in. Possible values include: + "UNDEFINED", "CONFIGURING", "INITIALIAZING", "STARTING", "RUNNING", "READY_TO_COMPLETE", + "COMPLETING", "COMPLETE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATING", + "VALIDATION_COMPLETE", "VALIDATION_FAILED", "RESTORE_IN_PROGRESS", "RESTORE_COMPLETED", + "BACKUP_IN_PROGRESS", "BACKUP_COMPLETED". :vartype migration_state: str or ~azure.mgmt.datamigration.models.SyncDatabaseMigrationReportingState - :ivar incoming_changes: Number of incoming changes + :ivar incoming_changes: Number of incoming changes. :vartype incoming_changes: long - :ivar applied_changes: Number of applied changes + :ivar applied_changes: Number of applied changes. :vartype applied_changes: long - :ivar cdc_insert_counter: Number of cdc inserts + :ivar cdc_insert_counter: Number of cdc inserts. :vartype cdc_insert_counter: long - :ivar cdc_delete_counter: Number of cdc deletes + :ivar cdc_delete_counter: Number of cdc deletes. :vartype cdc_delete_counter: long - :ivar cdc_update_counter: Number of cdc updates + :ivar cdc_update_counter: Number of cdc updates. :vartype cdc_update_counter: long - :ivar full_load_completed_tables: Number of tables completed in full load + :ivar full_load_completed_tables: Number of tables completed in full load. :vartype full_load_completed_tables: long - :ivar full_load_loading_tables: Number of tables loading in full load + :ivar full_load_loading_tables: Number of tables loading in full load. :vartype full_load_loading_tables: long - :ivar full_load_queued_tables: Number of tables queued in full load + :ivar full_load_queued_tables: Number of tables queued in full load. :vartype full_load_queued_tables: long - :ivar full_load_errored_tables: Number of tables errored in full load + :ivar full_load_errored_tables: Number of tables errored in full load. :vartype full_load_errored_tables: long - :ivar initialization_completed: Indicates if initial load (full load) has - been completed + :ivar initialization_completed: Indicates if initial load (full load) has been completed. :vartype initialization_completed: bool - :ivar latency: CDC apply latency + :ivar latency: CDC apply latency. :vartype latency: long """ @@ -6353,8 +6340,12 @@ class MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel(MigrateSqlServerSqlDbSync 'latency': {'key': 'latency', 'type': 'long'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -6370,22 +6361,20 @@ def __init__(self, **kwargs): self.full_load_errored_tables = None self.initialization_completed = None self.latency = None - self.result_type = 'DatabaseLevelOutput' class MigrateSqlServerSqlDbSyncTaskOutputError(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -6401,37 +6390,39 @@ class MigrateSqlServerSqlDbSyncTaskOutputError(MigrateSqlServerSqlDbSyncTaskOutp 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server: Source server name + :ivar source_server: Source server name. :vartype source_server: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server: Target server name + :ivar target_server: Target server name. :vartype target_server: str - :ivar database_count: Count of databases + :ivar database_count: Count of databases. :vartype database_count: int """ @@ -6459,8 +6450,12 @@ class MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel(MigrateSqlServerSqlDbSyn 'database_count': {'key': 'databaseCount', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.source_server_version = None @@ -6468,50 +6463,46 @@ def __init__(self, **kwargs): self.target_server_version = None self.target_server = None self.database_count = None - self.result_type = 'MigrationLevelOutput' class MigrateSqlServerSqlDbSyncTaskOutputTableLevel(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar table_name: Name of the table + :ivar table_name: Name of the table. :vartype table_name: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar cdc_insert_counter: Number of applied inserts + :ivar cdc_insert_counter: Number of applied inserts. :vartype cdc_insert_counter: long - :ivar cdc_update_counter: Number of applied updates + :ivar cdc_update_counter: Number of applied updates. :vartype cdc_update_counter: long - :ivar cdc_delete_counter: Number of applied deletes + :ivar cdc_delete_counter: Number of applied deletes. :vartype cdc_delete_counter: long - :ivar full_load_est_finish_time: Estimate to finish full load - :vartype full_load_est_finish_time: datetime - :ivar full_load_started_on: Full load start time - :vartype full_load_started_on: datetime - :ivar full_load_ended_on: Full load end time - :vartype full_load_ended_on: datetime - :ivar full_load_total_rows: Number of rows applied in full load + :ivar full_load_est_finish_time: Estimate to finish full load. + :vartype full_load_est_finish_time: ~datetime.datetime + :ivar full_load_started_on: Full load start time. + :vartype full_load_started_on: ~datetime.datetime + :ivar full_load_ended_on: Full load end time. + :vartype full_load_ended_on: ~datetime.datetime + :ivar full_load_total_rows: Number of rows applied in full load. :vartype full_load_total_rows: long - :ivar state: Current state of the table migration. Possible values - include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED', 'CANCELED', 'ERROR', - 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.SyncTableMigrationState - :ivar total_changes_applied: Total number of applied changes + :ivar state: Current state of the table migration. Possible values include: "BEFORE_LOAD", + "FULL_LOAD", "COMPLETED", "CANCELED", "ERROR", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.SyncTableMigrationState + :ivar total_changes_applied: Total number of applied changes. :vartype total_changes_applied: long - :ivar data_errors_counter: Number of data errors occurred + :ivar data_errors_counter: Number of data errors occurred. :vartype data_errors_counter: long - :ivar last_modified_time: Last modified time on target - :vartype last_modified_time: datetime + :ivar last_modified_time: Last modified time on target. + :vartype last_modified_time: ~datetime.datetime """ _validation = { @@ -6550,8 +6541,12 @@ class MigrateSqlServerSqlDbSyncTaskOutputTableLevel(MigrateSqlServerSqlDbSyncTas 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.table_name = None self.database_name = None self.cdc_insert_counter = None @@ -6565,95 +6560,83 @@ def __init__(self, **kwargs): self.total_changes_applied = None self.data_errors_counter = None self.last_modified_time = None - self.result_type = 'TableLevelOutput' class MigrateSqlServerSqlDbSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates on-prem SQL Server databases to Azure - SQL Database for online migrations. + """Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlDbSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.SqlServer.AzureSqlDb.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.SqlServer.AzureSqlDb.Sync' class MigrateSqlServerSqlDbTaskInput(SqlMigrationTaskInput): - """Input for the task that migrates on-prem SQL Server databases to Azure SQL - Database. + """Input for the task that migrates on-prem SQL Server databases to Azure SQL Database. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbDatabaseInput] - :param validation_options: Options for enabling various post migration - validations. Available options, - 1.) Data Integrity Check: Performs a checksum based comparison on source - and target tables after the migration to ensure the correctness of the - data. - 2.) Schema Validation: Performs a thorough schema comparison between the - source and target tables and provides a list of differences between the - source and target database, 3.) Query Analysis: Executes a set of queries - picked up automatically either from the Query Plan Cache or Query Store - and execute them and compares the execution time between the source and - target database. - :type validation_options: - ~azure.mgmt.datamigration.models.MigrationValidationOptions + :param validation_options: Options for enabling various post migration validations. Available + options, + 1.) Data Integrity Check: Performs a checksum based comparison on source and target tables + after the migration to ensure the correctness of the data. + 2.) Schema Validation: Performs a thorough schema comparison between the source and target + tables and provides a list of differences between the source and target database, 3.) Query + Analysis: Executes a set of queries picked up automatically either from the Query Plan Cache or + Query Store and execute them and compares the execution time between the source and target + database. + :type validation_options: ~azure.mgmt.datamigration.models.MigrationValidationOptions """ _validation = { @@ -6669,30 +6652,28 @@ class MigrateSqlServerSqlDbTaskInput(SqlMigrationTaskInput): 'validation_options': {'key': 'validationOptions', 'type': 'MigrationValidationOptions'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskInput, self).__init__(**kwargs) - self.selected_databases = kwargs.get('selected_databases', None) + self.selected_databases = kwargs['selected_databases'] self.validation_options = kwargs.get('validation_options', None) -class MigrateSqlServerSqlDbTaskOutput(Model): - """Output for the task that migrates on-prem SQL Server databases to Azure SQL - Database. +class MigrateSqlServerSqlDbTaskOutput(msrest.serialization.Model): + """Output for the task that migrates on-prem SQL Server databases to Azure SQL Database. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSqlServerSqlDbTaskOutputError, - MigrateSqlServerSqlDbTaskOutputTableLevel, - MigrateSqlServerSqlDbTaskOutputDatabaseLevel, - MigrateSqlServerSqlDbTaskOutputMigrationLevel + sub-classes are: MigrateSqlServerSqlDbTaskOutputDatabaseLevel, MigrateSqlServerSqlDbTaskOutputError, MigrateSqlServerSqlDbTaskOutputMigrationLevel, MigrateSqlServerSqlDbTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -6707,64 +6688,60 @@ class MigrateSqlServerSqlDbTaskOutput(Model): } _subtype_map = { - 'result_type': {'ErrorOutput': 'MigrateSqlServerSqlDbTaskOutputError', 'TableLevelOutput': 'MigrateSqlServerSqlDbTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlDbTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlDbTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelOutput': 'MigrateSqlServerSqlDbTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSqlServerSqlDbTaskOutputError', 'MigrationLevelOutput': 'MigrateSqlServerSqlDbTaskOutputMigrationLevel', 'TableLevelOutput': 'MigrateSqlServerSqlDbTaskOutputTableLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSqlServerSqlDbTaskOutput): """MigrateSqlServerSqlDbTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the item + :ivar database_name: Name of the item. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Migration stage that this database is in. Possible values - include: 'None', 'Initialize', 'Backup', 'FileCopy', 'Restore', - 'Completed' - :vartype stage: str or - ~azure.mgmt.datamigration.models.DatabaseMigrationStage - :ivar status_message: Status message + :ivar stage: Migration stage that this database is in. Possible values include: "None", + "Initialize", "Backup", "FileCopy", "Restore", "Completed". + :vartype stage: str or ~azure.mgmt.datamigration.models.DatabaseMigrationStage + :ivar status_message: Status message. :vartype status_message: str - :ivar message: Migration progress message + :ivar message: Migration progress message. :vartype message: str - :ivar number_of_objects: Number of objects + :ivar number_of_objects: Number of objects. :vartype number_of_objects: long - :ivar number_of_objects_completed: Number of successfully completed - objects + :ivar number_of_objects_completed: Number of successfully completed objects. :vartype number_of_objects_completed: long :ivar error_count: Number of database/object errors. :vartype error_count: long - :ivar error_prefix: Wildcard string prefix to use for querying all errors - of the item + :ivar error_prefix: Wildcard string prefix to use for querying all errors of the item. :vartype error_prefix: str - :ivar result_prefix: Wildcard string prefix to use for querying all - sub-tem results of the item + :ivar result_prefix: Wildcard string prefix to use for querying all sub-tem results of the + item. :vartype result_prefix: str :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] - :ivar object_summary: Summary of object results in the migration - :vartype object_summary: dict[str, - ~azure.mgmt.datamigration.models.DataItemMigrationSummaryResult] + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] + :ivar object_summary: Summary of object results in the migration. + :vartype object_summary: str """ _validation = { @@ -6802,11 +6779,15 @@ class MigrateSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSqlServerSqlDbTaskOutp 'error_prefix': {'key': 'errorPrefix', 'type': 'str'}, 'result_prefix': {'key': 'resultPrefix', 'type': 'str'}, 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, - 'object_summary': {'key': 'objectSummary', 'type': '{DataItemMigrationSummaryResult}'}, + 'object_summary': {'key': 'objectSummary', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -6821,22 +6802,20 @@ def __init__(self, **kwargs): self.result_prefix = None self.exceptions_and_warnings = None self.object_summary = None - self.result_type = 'DatabaseLevelOutput' class MigrateSqlServerSqlDbTaskOutputError(MigrateSqlServerSqlDbTaskOutput): """MigrateSqlServerSqlDbTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -6852,63 +6831,59 @@ class MigrateSqlServerSqlDbTaskOutputError(MigrateSqlServerSqlDbTaskOutput): 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOutput): """MigrateSqlServerSqlDbTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime :ivar duration_in_seconds: Duration of task execution in seconds. :vartype duration_in_seconds: long - :ivar status: Current status of migration. Possible values include: - 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', - 'Configured', 'Running', 'Error', 'Stopped', 'Completed', - 'CompletedWithWarnings' + :ivar status: Current status of migration. Possible values include: "Default", "Connecting", + "SourceAndTargetSelected", "SelectLogins", "Configured", "Running", "Error", "Stopped", + "Completed", "CompletedWithWarnings". :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus - :ivar status_message: Migration status message + :ivar status_message: Migration status message. :vartype status_message: str - :ivar message: Migration progress message + :ivar message: Migration progress message. :vartype message: str - :ivar databases: Selected databases as a map from database name to - database id - :vartype databases: dict[str, str] - :ivar database_summary: Summary of database results in the migration - :vartype database_summary: dict[str, - ~azure.mgmt.datamigration.models.DatabaseSummaryResult] - :param migration_validation_result: Migration Validation Results - :type migration_validation_result: - ~azure.mgmt.datamigration.models.MigrationValidationResult - :param migration_report_result: Migration Report Result, provides unique - url for downloading your migration report. - :type migration_report_result: - ~azure.mgmt.datamigration.models.MigrationReportResult - :ivar source_server_version: Source server version + :ivar databases: Selected databases as a map from database name to database id. + :vartype databases: str + :ivar database_summary: Summary of database results in the migration. + :vartype database_summary: str + :param migration_validation_result: Migration Validation Results. + :type migration_validation_result: ~azure.mgmt.datamigration.models.MigrationValidationResult + :param migration_report_result: Migration Report Result, provides unique url for downloading + your migration report. + :type migration_report_result: ~azure.mgmt.datamigration.models.MigrationReportResult + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -6938,8 +6913,8 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut 'status': {'key': 'status', 'type': 'str'}, 'status_message': {'key': 'statusMessage', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, - 'databases': {'key': 'databases', 'type': '{str}'}, - 'database_summary': {'key': 'databaseSummary', 'type': '{DatabaseSummaryResult}'}, + 'databases': {'key': 'databases', 'type': 'str'}, + 'database_summary': {'key': 'databaseSummary', 'type': 'str'}, 'migration_validation_result': {'key': 'migrationValidationResult', 'type': 'MigrationValidationResult'}, 'migration_report_result': {'key': 'migrationReportResult', 'type': 'MigrationReportResult'}, 'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'}, @@ -6949,8 +6924,12 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.duration_in_seconds = None @@ -6966,41 +6945,38 @@ def __init__(self, **kwargs): self.target_server_version = None self.target_server_brand_version = None self.exceptions_and_warnings = None - self.result_type = 'MigrationLevelOutput' class MigrateSqlServerSqlDbTaskOutputTableLevel(MigrateSqlServerSqlDbTaskOutput): """MigrateSqlServerSqlDbTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar object_name: Name of the item + :ivar object_name: Name of the item. :vartype object_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar status_message: Status message + :ivar status_message: Status message. :vartype status_message: str - :ivar items_count: Number of items + :ivar items_count: Number of items. :vartype items_count: long - :ivar items_completed_count: Number of successfully completed items + :ivar items_completed_count: Number of successfully completed items. :vartype items_completed_count: long - :ivar error_prefix: Wildcard string prefix to use for querying all errors - of the item + :ivar error_prefix: Wildcard string prefix to use for querying all errors of the item. :vartype error_prefix: str - :ivar result_prefix: Wildcard string prefix to use for querying all - sub-tem results of the item + :ivar result_prefix: Wildcard string prefix to use for querying all sub-tem results of the + item. :vartype result_prefix: str """ @@ -7032,8 +7008,12 @@ class MigrateSqlServerSqlDbTaskOutputTableLevel(MigrateSqlServerSqlDbTaskOutput) 'result_prefix': {'key': 'resultPrefix', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.object_name = None self.started_on = None self.ended_on = None @@ -7043,81 +7023,73 @@ def __init__(self, **kwargs): self.items_completed_count = None self.error_prefix = None self.result_prefix = None - self.result_type = 'TableLevelOutput' class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates on-prem SQL Server databases to Azure - SQL Database. + """Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.SqlServer.SqlDb' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.SqlServer.SqlDb' -class MigrateSqlServerSqlMIDatabaseInput(Model): - """Database specific information for SQL to Azure SQL DB Managed Instance - migration task inputs. +class MigrateSqlServerSqlMIDatabaseInput(msrest.serialization.Model): + """Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs. All required parameters must be populated in order to send to Azure. - :param name: Required. Name of the database + :param name: Required. Name of the database. :type name: str - :param restore_database_name: Required. Name of the database at - destination + :param restore_database_name: Required. Name of the database at destination. :type restore_database_name: str - :param backup_file_share: Backup file share information for backing up - this database. + :param backup_file_share: Backup file share information for backing up this database. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param backup_file_paths: The list of backup files to be used in case of - existing backups. + :param backup_file_paths: The list of backup files to be used in case of existing backups. :type backup_file_paths: list[str] """ @@ -7133,40 +7105,37 @@ class MigrateSqlServerSqlMIDatabaseInput(Model): 'backup_file_paths': {'key': 'backupFilePaths', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMIDatabaseInput, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.restore_database_name = kwargs.get('restore_database_name', None) + self.name = kwargs['name'] + self.restore_database_name = kwargs['restore_database_name'] self.backup_file_share = kwargs.get('backup_file_share', None) self.backup_file_paths = kwargs.get('backup_file_paths', None) -class SqlServerSqlMISyncTaskInput(Model): - """Input for task that migrates SQL Server databases to Azure SQL Database - Managed Instance online scenario. +class SqlServerSqlMISyncTaskInput(msrest.serialization.Model): + """Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param storage_resource_id: Required. Fully qualified resourceId of - storage + :param storage_resource_id: Required. Fully qualified resourceId of storage. :type storage_resource_id: str - :param source_connection_info: Required. Connection information for source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for Azure - SQL Database Managed Instance - :type target_connection_info: - ~azure.mgmt.datamigration.models.MiSqlConnectionInfo - :param azure_app: Required. Azure Active Directory Application the DMS - instance will use to connect to the target instance of Azure SQL Database - Managed Instance and the Azure Storage Account + :param source_connection_info: Required. Connection information for source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for Azure SQL Database Managed + Instance. + :type target_connection_info: ~azure.mgmt.datamigration.models.MiSqlConnectionInfo + :param azure_app: Required. Azure Active Directory Application the DMS instance will use to + connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage + Account. :type azure_app: ~azure.mgmt.datamigration.models.AzureActiveDirectoryApp """ @@ -7187,42 +7156,39 @@ class SqlServerSqlMISyncTaskInput(Model): 'azure_app': {'key': 'azureApp', 'type': 'AzureActiveDirectoryApp'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SqlServerSqlMISyncTaskInput, self).__init__(**kwargs) - self.selected_databases = kwargs.get('selected_databases', None) + self.selected_databases = kwargs['selected_databases'] self.backup_file_share = kwargs.get('backup_file_share', None) - self.storage_resource_id = kwargs.get('storage_resource_id', None) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.azure_app = kwargs.get('azure_app', None) + self.storage_resource_id = kwargs['storage_resource_id'] + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] + self.azure_app = kwargs['azure_app'] class MigrateSqlServerSqlMISyncTaskInput(SqlServerSqlMISyncTaskInput): - """Input for task that migrates SQL Server databases to Azure SQL Database - Managed Instance online scenario. + """Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param storage_resource_id: Required. Fully qualified resourceId of - storage + :param storage_resource_id: Required. Fully qualified resourceId of storage. :type storage_resource_id: str - :param source_connection_info: Required. Connection information for source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for Azure - SQL Database Managed Instance - :type target_connection_info: - ~azure.mgmt.datamigration.models.MiSqlConnectionInfo - :param azure_app: Required. Azure Active Directory Application the DMS - instance will use to connect to the target instance of Azure SQL Database - Managed Instance and the Azure Storage Account + :param source_connection_info: Required. Connection information for source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for Azure SQL Database Managed + Instance. + :type target_connection_info: ~azure.mgmt.datamigration.models.MiSqlConnectionInfo + :param azure_app: Required. Azure Active Directory Application the DMS instance will use to + connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage + Account. :type azure_app: ~azure.mgmt.datamigration.models.AzureActiveDirectoryApp """ @@ -7243,27 +7209,26 @@ class MigrateSqlServerSqlMISyncTaskInput(SqlServerSqlMISyncTaskInput): 'azure_app': {'key': 'azureApp', 'type': 'AzureActiveDirectoryApp'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskInput, self).__init__(**kwargs) -class MigrateSqlServerSqlMISyncTaskOutput(Model): - """Output for task that migrates SQL Server databases to Azure SQL Database - Managed Instance using Log Replay Service. +class MigrateSqlServerSqlMISyncTaskOutput(msrest.serialization.Model): + """Output for task that migrates SQL Server databases to Azure SQL Database Managed Instance using Log Replay Service. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSqlServerSqlMISyncTaskOutputError, - MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel, - MigrateSqlServerSqlMISyncTaskOutputMigrationLevel + sub-classes are: MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel, MigrateSqlServerSqlMISyncTaskOutputError, MigrateSqlServerSqlMISyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -7278,61 +7243,56 @@ class MigrateSqlServerSqlMISyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'ErrorOutput': 'MigrateSqlServerSqlMISyncTaskOutputError', 'DatabaseLevelOutput': 'MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlMISyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelOutput': 'MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSqlServerSqlMISyncTaskOutputError', 'MigrationLevelOutput': 'MigrateSqlServerSqlMISyncTaskOutputMigrationLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel(MigrateSqlServerSqlMISyncTaskOutput): """MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar source_database_name: Name of the database + :ivar source_database_name: Name of the database. :vartype source_database_name: str - :ivar migration_state: Current state of database. Possible values include: - 'UNDEFINED', 'INITIAL', 'FULL_BACKUP_UPLOAD_START', 'LOG_SHIPPING_START', - 'UPLOAD_LOG_FILES_START', 'CUTOVER_START', 'POST_CUTOVER_COMPLETE', - 'COMPLETED', 'CANCELLED', 'FAILED' - :vartype migration_state: str or - ~azure.mgmt.datamigration.models.DatabaseMigrationState - :ivar started_on: Database migration start time - :vartype started_on: datetime - :ivar ended_on: Database migration end time - :vartype ended_on: datetime - :ivar full_backup_set_info: Details of full backup set - :vartype full_backup_set_info: - ~azure.mgmt.datamigration.models.BackupSetInfo - :ivar last_restored_backup_set_info: Last applied backup set information - :vartype last_restored_backup_set_info: - ~azure.mgmt.datamigration.models.BackupSetInfo - :ivar active_backup_sets: Backup sets that are currently active (Either - being uploaded or getting restored) - :vartype active_backup_sets: - list[~azure.mgmt.datamigration.models.BackupSetInfo] - :ivar container_name: Name of container created in the Azure Storage - account where backups are copied to + :ivar migration_state: Current state of database. Possible values include: "UNDEFINED", + "INITIAL", "FULL_BACKUP_UPLOAD_START", "LOG_SHIPPING_START", "UPLOAD_LOG_FILES_START", + "CUTOVER_START", "POST_CUTOVER_COMPLETE", "COMPLETED", "CANCELLED", "FAILED". + :vartype migration_state: str or ~azure.mgmt.datamigration.models.DatabaseMigrationState + :ivar started_on: Database migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Database migration end time. + :vartype ended_on: ~datetime.datetime + :ivar full_backup_set_info: Details of full backup set. + :vartype full_backup_set_info: ~azure.mgmt.datamigration.models.BackupSetInfo + :ivar last_restored_backup_set_info: Last applied backup set information. + :vartype last_restored_backup_set_info: ~azure.mgmt.datamigration.models.BackupSetInfo + :ivar active_backup_sets: Backup sets that are currently active (Either being uploaded or + getting restored). + :vartype active_backup_sets: list[~azure.mgmt.datamigration.models.BackupSetInfo] + :ivar container_name: Name of container created in the Azure Storage account where backups are + copied to. :vartype container_name: str - :ivar error_prefix: prefix string to use for querying errors for this - database + :ivar error_prefix: prefix string to use for querying errors for this database. :vartype error_prefix: str - :ivar is_full_backup_restored: Whether full backup has been applied to the - target database or not + :ivar is_full_backup_restored: Whether full backup has been applied to the target database or + not. :vartype is_full_backup_restored: bool - :ivar exceptions_and_warnings: Migration exceptions and warnings - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Migration exceptions and warnings. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7367,8 +7327,12 @@ class MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel(MigrateSqlServerSqlMISync 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.source_database_name = None self.migration_state = None self.started_on = None @@ -7380,22 +7344,20 @@ def __init__(self, **kwargs): self.error_prefix = None self.is_full_backup_restored = None self.exceptions_and_warnings = None - self.result_type = 'DatabaseLevelOutput' class MigrateSqlServerSqlMISyncTaskOutputError(MigrateSqlServerSqlMISyncTaskOutput): """MigrateSqlServerSqlMISyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -7411,46 +7373,48 @@ class MigrateSqlServerSqlMISyncTaskOutputError(MigrateSqlServerSqlMISyncTaskOutp 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateSqlServerSqlMISyncTaskOutputMigrationLevel(MigrateSqlServerSqlMISyncTaskOutput): """MigrateSqlServerSqlMISyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_count: Count of databases + :ivar database_count: Count of databases. :vartype database_count: int - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_name: Source server name + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_name: Source server name. :vartype source_server_name: str - :ivar source_server_version: Source server version + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_name: Target server name + :ivar target_server_name: Target server name. :vartype target_server_name: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar database_error_count: Number of database level errors + :ivar database_error_count: Number of database level errors. :vartype database_error_count: int """ @@ -7486,8 +7450,12 @@ class MigrateSqlServerSqlMISyncTaskOutputMigrationLevel(MigrateSqlServerSqlMISyn 'database_error_count': {'key': 'databaseErrorCount', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.database_count = None self.state = None self.started_on = None @@ -7499,100 +7467,89 @@ def __init__(self, **kwargs): self.target_server_version = None self.target_server_brand_version = None self.database_error_count = None - self.result_type = 'MigrationLevelOutput' class MigrateSqlServerSqlMISyncTaskProperties(ProjectTaskProperties): - """Properties for task that migrates SQL Server databases to Azure SQL - Database Managed Instance sync scenario. + """Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance sync scenario. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMISyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMISyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMISyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMISyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlMISyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlMISyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS' class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput): - """Input for task that migrates SQL Server databases to Azure SQL Database - Managed Instance. + """Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] :param selected_logins: Logins to migrate. :type selected_logins: list[str] :param selected_agent_jobs: Agent Jobs to migrate. :type selected_agent_jobs: list[str] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param backup_blob_share: Required. SAS URI of Azure Storage Account - Container to be used for storing backup files. + :param backup_blob_share: Required. SAS URI of Azure Storage Account Container to be used for + storing backup files. :type backup_blob_share: ~azure.mgmt.datamigration.models.BlobShare - :param backup_mode: Backup Mode to specify whether to use existing backup - or create new backup. If using existing backups, backup file paths are - required to be provided in selectedDatabases. Possible values include: - 'CreateBackup', 'ExistingBackup' + :param backup_mode: Backup Mode to specify whether to use existing backup or create new backup. + If using existing backups, backup file paths are required to be provided in selectedDatabases. + Possible values include: "CreateBackup", "ExistingBackup". :type backup_mode: str or ~azure.mgmt.datamigration.models.BackupMode - :param aad_domain_name: Azure Active Directory domain name in the format - of 'contoso.com' for federated Azure AD or 'contoso.onmicrosoft.com' for - managed domain, required if and only if Windows logins are selected + :param aad_domain_name: Azure Active Directory domain name in the format of 'contoso.com' for + federated Azure AD or 'contoso.onmicrosoft.com' for managed domain, required if and only if + Windows logins are selected. :type aad_domain_name: str """ @@ -7615,36 +7572,33 @@ class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput): 'aad_domain_name': {'key': 'aadDomainName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskInput, self).__init__(**kwargs) - self.selected_databases = kwargs.get('selected_databases', None) + self.selected_databases = kwargs['selected_databases'] self.selected_logins = kwargs.get('selected_logins', None) self.selected_agent_jobs = kwargs.get('selected_agent_jobs', None) self.backup_file_share = kwargs.get('backup_file_share', None) - self.backup_blob_share = kwargs.get('backup_blob_share', None) + self.backup_blob_share = kwargs['backup_blob_share'] self.backup_mode = kwargs.get('backup_mode', None) self.aad_domain_name = kwargs.get('aad_domain_name', None) -class MigrateSqlServerSqlMITaskOutput(Model): - """Output for task that migrates SQL Server databases to Azure SQL Database - Managed Instance. +class MigrateSqlServerSqlMITaskOutput(msrest.serialization.Model): + """Output for task that migrates SQL Server databases to Azure SQL Database Managed Instance. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSqlServerSqlMITaskOutputError, - MigrateSqlServerSqlMITaskOutputLoginLevel, - MigrateSqlServerSqlMITaskOutputAgentJobLevel, - MigrateSqlServerSqlMITaskOutputDatabaseLevel, - MigrateSqlServerSqlMITaskOutputMigrationLevel + sub-classes are: MigrateSqlServerSqlMITaskOutputAgentJobLevel, MigrateSqlServerSqlMITaskOutputDatabaseLevel, MigrateSqlServerSqlMITaskOutputError, MigrateSqlServerSqlMITaskOutputLoginLevel, MigrateSqlServerSqlMITaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -7659,43 +7613,44 @@ class MigrateSqlServerSqlMITaskOutput(Model): } _subtype_map = { - 'result_type': {'ErrorOutput': 'MigrateSqlServerSqlMITaskOutputError', 'LoginLevelOutput': 'MigrateSqlServerSqlMITaskOutputLoginLevel', 'AgentJobLevelOutput': 'MigrateSqlServerSqlMITaskOutputAgentJobLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlMITaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlMITaskOutputMigrationLevel'} + 'result_type': {'AgentJobLevelOutput': 'MigrateSqlServerSqlMITaskOutputAgentJobLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlMITaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSqlServerSqlMITaskOutputError', 'LoginLevelOutput': 'MigrateSqlServerSqlMITaskOutputLoginLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlMITaskOutputMigrationLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSqlServerSqlMITaskOutputAgentJobLevel(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputAgentJobLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str :ivar name: Agent Job name. :vartype name: str :ivar is_enabled: The state of the original Agent Job. :vartype is_enabled: bool - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar message: Migration progress message + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar message: Migration progress message. :vartype message: str - :ivar exceptions_and_warnings: Migration errors and warnings per job - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Migration errors and warnings per job. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7722,8 +7677,12 @@ class MigrateSqlServerSqlMITaskOutputAgentJobLevel(MigrateSqlServerSqlMITaskOutp 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputAgentJobLevel, self).__init__(**kwargs) + self.result_type = 'AgentJobLevelOutput' # type: str self.name = None self.is_enabled = None self.state = None @@ -7731,41 +7690,37 @@ def __init__(self, **kwargs): self.ended_on = None self.message = None self.exceptions_and_warnings = None - self.result_type = 'AgentJobLevelOutput' class MigrateSqlServerSqlMITaskOutputDatabaseLevel(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar size_mb: Size of the database in megabytes + :ivar size_mb: Size of the database in megabytes. :vartype size_mb: float - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Current stage of migration. Possible values include: 'None', - 'Initialize', 'Backup', 'FileCopy', 'Restore', 'Completed' - :vartype stage: str or - ~azure.mgmt.datamigration.models.DatabaseMigrationStage - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar message: Migration progress message + :ivar stage: Current stage of migration. Possible values include: "None", "Initialize", + "Backup", "FileCopy", "Restore", "Completed". + :vartype stage: str or ~azure.mgmt.datamigration.models.DatabaseMigrationStage + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar message: Migration progress message. :vartype message: str - :ivar exceptions_and_warnings: Migration exceptions and warnings - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Migration exceptions and warnings. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7794,8 +7749,12 @@ class MigrateSqlServerSqlMITaskOutputDatabaseLevel(MigrateSqlServerSqlMITaskOutp 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.size_mb = None self.state = None @@ -7804,22 +7763,20 @@ def __init__(self, **kwargs): self.ended_on = None self.message = None self.exceptions_and_warnings = None - self.result_type = 'DatabaseLevelOutput' class MigrateSqlServerSqlMITaskOutputError(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -7835,45 +7792,43 @@ class MigrateSqlServerSqlMITaskOutputError(MigrateSqlServerSqlMITaskOutput): 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateSqlServerSqlMITaskOutputLoginLevel(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputLoginLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str :ivar login_name: Login name. :vartype login_name: str - :ivar state: Current state of login. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of login. Possible values include: "None", "InProgress", "Failed", + "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Current stage of login. Possible values include: 'None', - 'Initialize', 'LoginMigration', 'EstablishUserMapping', - 'AssignRoleMembership', 'AssignRoleOwnership', - 'EstablishServerPermissions', 'EstablishObjectPermissions', 'Completed' - :vartype stage: str or - ~azure.mgmt.datamigration.models.LoginMigrationStage - :ivar started_on: Login migration start time - :vartype started_on: datetime - :ivar ended_on: Login migration end time - :vartype ended_on: datetime - :ivar message: Login migration progress message + :ivar stage: Current stage of login. Possible values include: "None", "Initialize", + "LoginMigration", "EstablishUserMapping", "AssignRoleMembership", "AssignRoleOwnership", + "EstablishServerPermissions", "EstablishObjectPermissions", "Completed". + :vartype stage: str or ~azure.mgmt.datamigration.models.LoginMigrationStage + :ivar started_on: Login migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Login migration end time. + :vartype ended_on: ~datetime.datetime + :ivar message: Login migration progress message. :vartype message: str - :ivar exceptions_and_warnings: Login migration errors and warnings per - login - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Login migration errors and warnings per login. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7900,8 +7855,12 @@ class MigrateSqlServerSqlMITaskOutputLoginLevel(MigrateSqlServerSqlMITaskOutput) 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputLoginLevel, self).__init__(**kwargs) + self.result_type = 'LoginLevelOutput' # type: str self.login_name = None self.state = None self.stage = None @@ -7909,59 +7868,52 @@ def __init__(self, **kwargs): self.ended_on = None self.message = None self.exceptions_and_warnings = None - self.result_type = 'LoginLevelOutput' class MigrateSqlServerSqlMITaskOutputMigrationLevel(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar status: Current status of migration. Possible values include: - 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', - 'Configured', 'Running', 'Error', 'Stopped', 'Completed', - 'CompletedWithWarnings' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar status: Current status of migration. Possible values include: "Default", "Connecting", + "SourceAndTargetSelected", "SelectLogins", "Configured", "Running", "Error", "Stopped", + "Completed", "CompletedWithWarnings". :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar agent_jobs: Selected agent jobs as a map from name to id - :vartype agent_jobs: dict[str, str] - :ivar logins: Selected logins as a map from name to id - :vartype logins: dict[str, str] - :ivar message: Migration progress message + :ivar agent_jobs: Selected agent jobs as a map from name to id. + :vartype agent_jobs: str + :ivar logins: Selected logins as a map from name to id. + :vartype logins: str + :ivar message: Migration progress message. :vartype message: str :ivar server_role_results: Map of server role migration results. - :vartype server_role_results: dict[str, - ~azure.mgmt.datamigration.models.StartMigrationScenarioServerRoleResult] + :vartype server_role_results: str :ivar orphaned_users_info: List of orphaned users. - :vartype orphaned_users_info: - list[~azure.mgmt.datamigration.models.OrphanedUserInfo] - :ivar databases: Selected databases as a map from database name to - database id - :vartype databases: dict[str, str] - :ivar source_server_version: Source server version + :vartype orphaned_users_info: list[~azure.mgmt.datamigration.models.OrphanedUserInfo] + :ivar databases: Selected databases as a map from database name to database id. + :vartype databases: str + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7991,12 +7943,12 @@ class MigrateSqlServerSqlMITaskOutputMigrationLevel(MigrateSqlServerSqlMITaskOut 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, - 'agent_jobs': {'key': 'agentJobs', 'type': '{str}'}, - 'logins': {'key': 'logins', 'type': '{str}'}, + 'agent_jobs': {'key': 'agentJobs', 'type': 'str'}, + 'logins': {'key': 'logins', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, - 'server_role_results': {'key': 'serverRoleResults', 'type': '{StartMigrationScenarioServerRoleResult}'}, + 'server_role_results': {'key': 'serverRoleResults', 'type': 'str'}, 'orphaned_users_info': {'key': 'orphanedUsersInfo', 'type': '[OrphanedUserInfo]'}, - 'databases': {'key': 'databases', 'type': '{str}'}, + 'databases': {'key': 'databases', 'type': 'str'}, 'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'}, 'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'}, 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'}, @@ -8004,8 +7956,12 @@ class MigrateSqlServerSqlMITaskOutputMigrationLevel(MigrateSqlServerSqlMITaskOut 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.status = None @@ -8021,111 +7977,72 @@ def __init__(self, **kwargs): self.target_server_version = None self.target_server_brand_version = None self.exceptions_and_warnings = None - self.result_type = 'MigrationLevelOutput' class MigrateSqlServerSqlMITaskProperties(ProjectTaskProperties): - """Properties for task that migrates SQL Server databases to Azure SQL - Database Managed Instance. + """Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlMITaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.SqlServer.AzureSqlDbMI' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.SqlServer.AzureSqlDbMI' - - -class MigrateSqlServerSqlServerDatabaseInput(Model): - """Database specific information for SQL to SQL migration task inputs. - - :param name: Name of the database - :type name: str - :param restore_database_name: Name of the database at destination - :type restore_database_name: str - :param backup_and_restore_folder: The backup and restore folder - :type backup_and_restore_folder: str - :param database_files: The list of database files - :type database_files: - list[~azure.mgmt.datamigration.models.DatabaseFileInput] - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'restore_database_name': {'key': 'restoreDatabaseName', 'type': 'str'}, - 'backup_and_restore_folder': {'key': 'backupAndRestoreFolder', 'type': 'str'}, - 'database_files': {'key': 'databaseFiles', 'type': '[DatabaseFileInput]'}, - } - - def __init__(self, **kwargs): - super(MigrateSqlServerSqlServerDatabaseInput, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.restore_database_name = kwargs.get('restore_database_name', None) - self.backup_and_restore_folder = kwargs.get('backup_and_restore_folder', None) - self.database_files = kwargs.get('database_files', None) class MigrateSsisTaskInput(SqlMigrationTaskInput): - """Input for task that migrates SSIS packages from SQL Server to Azure SQL - Database Managed Instance. + """Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo :param ssis_migration_info: Required. SSIS package migration information. - :type ssis_migration_info: - ~azure.mgmt.datamigration.models.SsisMigrationInfo + :type ssis_migration_info: ~azure.mgmt.datamigration.models.SsisMigrationInfo """ _validation = { @@ -8140,27 +8057,27 @@ class MigrateSsisTaskInput(SqlMigrationTaskInput): 'ssis_migration_info': {'key': 'ssisMigrationInfo', 'type': 'SsisMigrationInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSsisTaskInput, self).__init__(**kwargs) - self.ssis_migration_info = kwargs.get('ssis_migration_info', None) + self.ssis_migration_info = kwargs['ssis_migration_info'] -class MigrateSsisTaskOutput(Model): - """Output for task that migrates SSIS packages from SQL Server to Azure SQL - Database Managed Instance. +class MigrateSsisTaskOutput(msrest.serialization.Model): + """Output for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSsisTaskOutputProjectLevel, - MigrateSsisTaskOutputMigrationLevel + sub-classes are: MigrateSsisTaskOutputMigrationLevel, MigrateSsisTaskOutputProjectLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -8175,51 +8092,51 @@ class MigrateSsisTaskOutput(Model): } _subtype_map = { - 'result_type': {'SsisProjectLevelOutput': 'MigrateSsisTaskOutputProjectLevel', 'MigrationLevelOutput': 'MigrateSsisTaskOutputMigrationLevel'} + 'result_type': {'MigrationLevelOutput': 'MigrateSsisTaskOutputMigrationLevel', 'SsisProjectLevelOutput': 'MigrateSsisTaskOutputProjectLevel'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSsisTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSsisTaskOutputMigrationLevel(MigrateSsisTaskOutput): """MigrateSsisTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar status: Current status of migration. Possible values include: - 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', - 'Configured', 'Running', 'Error', 'Stopped', 'Completed', - 'CompletedWithWarnings' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar status: Current status of migration. Possible values include: "Default", "Connecting", + "SourceAndTargetSelected", "SelectLogins", "Configured", "Running", "Error", "Stopped", + "Completed", "CompletedWithWarnings". :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus - :ivar message: Migration progress message + :ivar message: Migration progress message. :vartype message: str - :ivar source_server_version: Source server version + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] - :ivar stage: Stage of SSIS migration. Possible values include: 'None', - 'Initialize', 'InProgress', 'Completed' + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] + :ivar stage: Stage of SSIS migration. Possible values include: "None", "Initialize", + "InProgress", "Completed". :vartype stage: str or ~azure.mgmt.datamigration.models.SsisMigrationStage """ @@ -8253,8 +8170,12 @@ class MigrateSsisTaskOutputMigrationLevel(MigrateSsisTaskOutput): 'stage': {'key': 'stage', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSsisTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.status = None @@ -8265,40 +8186,37 @@ def __init__(self, **kwargs): self.target_server_brand_version = None self.exceptions_and_warnings = None self.stage = None - self.result_type = 'MigrationLevelOutput' class MigrateSsisTaskOutputProjectLevel(MigrateSsisTaskOutput): """MigrateSsisTaskOutputProjectLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar folder_name: Name of the folder + :ivar folder_name: Name of the folder. :vartype folder_name: str - :ivar project_name: Name of the project + :ivar project_name: Name of the project. :vartype project_name: str - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Stage of SSIS migration. Possible values include: 'None', - 'Initialize', 'InProgress', 'Completed' + :ivar stage: Stage of SSIS migration. Possible values include: "None", "Initialize", + "InProgress", "Completed". :vartype stage: str or ~azure.mgmt.datamigration.models.SsisMigrationStage - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar message: Migration progress message + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar message: Migration progress message. :vartype message: str - :ivar exceptions_and_warnings: Migration exceptions and warnings - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Migration exceptions and warnings. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -8327,8 +8245,12 @@ class MigrateSsisTaskOutputProjectLevel(MigrateSsisTaskOutput): 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSsisTaskOutputProjectLevel, self).__init__(**kwargs) + self.result_type = 'SsisProjectLevelOutput' # type: str self.folder_name = None self.project_name = None self.state = None @@ -8337,73 +8259,70 @@ def __init__(self, **kwargs): self.ended_on = None self.message = None self.exceptions_and_warnings = None - self.result_type = 'SsisProjectLevelOutput' class MigrateSsisTaskProperties(ProjectTaskProperties): - """Properties for task that migrates SSIS packages from SQL Server databases - to Azure SQL Database Managed Instance. + """Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.MigrateSsisTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSsisTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSsisTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSsisTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSsisTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSsisTaskProperties, self).__init__(**kwargs) + self.task_type = 'Migrate.Ssis' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Migrate.Ssis' -class MigrateSyncCompleteCommandInput(Model): +class MigrateSyncCompleteCommandInput(msrest.serialization.Model): """Input for command that completes sync migration for a database. All required parameters must be populated in order to send to Azure. - :param database_name: Required. Name of database + :param database_name: Required. Name of database. :type database_name: str - :param commit_time_stamp: Time stamp to complete - :type commit_time_stamp: datetime + :param commit_time_stamp: Time stamp to complete. + :type commit_time_stamp: ~datetime.datetime """ _validation = { @@ -8415,23 +8334,24 @@ class MigrateSyncCompleteCommandInput(Model): 'commit_time_stamp': {'key': 'commitTimeStamp', 'type': 'iso-8601'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSyncCompleteCommandInput, self).__init__(**kwargs) - self.database_name = kwargs.get('database_name', None) + self.database_name = kwargs['database_name'] self.commit_time_stamp = kwargs.get('commit_time_stamp', None) -class MigrateSyncCompleteCommandOutput(Model): +class MigrateSyncCompleteCommandOutput(msrest.serialization.Model): """Output for command that completes sync migration for a database. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar errors: List of errors that happened during the command execution - :vartype errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar errors: List of errors that happened during the command execution. + :vartype errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -8444,7 +8364,10 @@ class MigrateSyncCompleteCommandOutput(Model): 'errors': {'key': 'errors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSyncCompleteCommandOutput, self).__init__(**kwargs) self.id = None self.errors = None @@ -8453,60 +8376,56 @@ def __init__(self, **kwargs): class MigrateSyncCompleteCommandProperties(CommandProperties): """Properties for the command that completes sync migration for a database. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input - :type input: - ~azure.mgmt.datamigration.models.MigrateSyncCompleteCommandInput + :param input: Command input. + :type input: ~azure.mgmt.datamigration.models.MigrateSyncCompleteCommandInput :ivar output: Command output. This is ignored if submitted. - :vartype output: - ~azure.mgmt.datamigration.models.MigrateSyncCompleteCommandOutput + :vartype output: ~azure.mgmt.datamigration.models.MigrateSyncCompleteCommandOutput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSyncCompleteCommandInput'}, 'output': {'key': 'output', 'type': 'MigrateSyncCompleteCommandOutput'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrateSyncCompleteCommandProperties, self).__init__(**kwargs) + self.command_type = 'Migrate.Sync.Complete.Database' # type: str self.input = kwargs.get('input', None) self.output = None - self.command_type = 'Migrate.Sync.Complete.Database' -class MigrationEligibilityInfo(Model): +class MigrationEligibilityInfo(msrest.serialization.Model): """Information about migration eligibility of a server object. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar is_eligible_for_migration: Whether object is eligible for migration - or not. + :ivar is_eligible_for_migration: Whether object is eligible for migration or not. :vartype is_eligible_for_migration: bool - :ivar validation_messages: Information about eligibility failure for the - server object. + :ivar validation_messages: Information about eligibility failure for the server object. :vartype validation_messages: list[str] """ @@ -8520,17 +8439,19 @@ class MigrationEligibilityInfo(Model): 'validation_messages': {'key': 'validationMessages', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrationEligibilityInfo, self).__init__(**kwargs) self.is_eligible_for_migration = None self.validation_messages = None -class MigrationReportResult(Model): - """Migration validation report result, contains the url for downloading the - generated report. +class MigrationReportResult(msrest.serialization.Model): + """Migration validation report result, contains the url for downloading the generated report. - :param id: Migration validation result identifier + :param id: Migration validation result identifier. :type id: str :param report_url: The url of the report. :type report_url: str @@ -8541,21 +8462,23 @@ class MigrationReportResult(Model): 'report_url': {'key': 'reportUrl', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrationReportResult, self).__init__(**kwargs) self.id = kwargs.get('id', None) self.report_url = kwargs.get('report_url', None) -class MigrationTableMetadata(Model): +class MigrationTableMetadata(msrest.serialization.Model): """Metadata for tables selected in migration project. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar source_table_name: Source table name + :ivar source_table_name: Source table name. :vartype source_table_name: str - :ivar target_table_name: Target table name + :ivar target_table_name: Target table name. :vartype target_table_name: str """ @@ -8569,45 +8492,47 @@ class MigrationTableMetadata(Model): 'target_table_name': {'key': 'targetTableName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrationTableMetadata, self).__init__(**kwargs) self.source_table_name = None self.target_table_name = None -class MigrationValidationDatabaseLevelResult(Model): +class MigrationValidationDatabaseLevelResult(msrest.serialization.Model): """Database level validation results. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar migration_id: Migration Identifier + :ivar migration_id: Migration Identifier. :vartype migration_id: str - :ivar source_database_name: Name of the source database + :ivar source_database_name: Name of the source database. :vartype source_database_name: str - :ivar target_database_name: Name of the target database + :ivar target_database_name: Name of the target database. :vartype target_database_name: str - :ivar started_on: Validation start time - :vartype started_on: datetime - :ivar ended_on: Validation end time - :vartype ended_on: datetime - :ivar data_integrity_validation_result: Provides data integrity validation - result between the source and target tables that are migrated. + :ivar started_on: Validation start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Validation end time. + :vartype ended_on: ~datetime.datetime + :ivar data_integrity_validation_result: Provides data integrity validation result between the + source and target tables that are migrated. :vartype data_integrity_validation_result: ~azure.mgmt.datamigration.models.DataIntegrityValidationResult - :ivar schema_validation_result: Provides schema comparison result between - source and target database + :ivar schema_validation_result: Provides schema comparison result between source and target + database. :vartype schema_validation_result: ~azure.mgmt.datamigration.models.SchemaComparisonValidationResult - :ivar query_analysis_validation_result: Results of some of the query - execution result between source and target database + :ivar query_analysis_validation_result: Results of some of the query execution result between + source and target database. :vartype query_analysis_validation_result: ~azure.mgmt.datamigration.models.QueryAnalysisValidationResult - :ivar status: Current status of validation at the database level. Possible - values include: 'Default', 'NotStarted', 'Initialized', 'InProgress', - 'Completed', 'CompletedWithIssues', 'Stopped', 'Failed' + :ivar status: Current status of validation at the database level. Possible values include: + "Default", "NotStarted", "Initialized", "InProgress", "Completed", "CompletedWithIssues", + "Stopped", "Failed". :vartype status: str or ~azure.mgmt.datamigration.models.ValidationStatus """ @@ -8637,7 +8562,10 @@ class MigrationValidationDatabaseLevelResult(Model): 'status': {'key': 'status', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrationValidationDatabaseLevelResult, self).__init__(**kwargs) self.id = None self.migration_id = None @@ -8651,27 +8579,26 @@ def __init__(self, **kwargs): self.status = None -class MigrationValidationDatabaseSummaryResult(Model): +class MigrationValidationDatabaseSummaryResult(msrest.serialization.Model): """Migration Validation Database level summary result. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar migration_id: Migration Identifier + :ivar migration_id: Migration Identifier. :vartype migration_id: str - :ivar source_database_name: Name of the source database + :ivar source_database_name: Name of the source database. :vartype source_database_name: str - :ivar target_database_name: Name of the target database + :ivar target_database_name: Name of the target database. :vartype target_database_name: str - :ivar started_on: Validation start time - :vartype started_on: datetime - :ivar ended_on: Validation end time - :vartype ended_on: datetime - :ivar status: Current status of validation at the database level. Possible - values include: 'Default', 'NotStarted', 'Initialized', 'InProgress', - 'Completed', 'CompletedWithIssues', 'Stopped', 'Failed' + :ivar started_on: Validation start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Validation end time. + :vartype ended_on: ~datetime.datetime + :ivar status: Current status of validation at the database level. Possible values include: + "Default", "NotStarted", "Initialized", "InProgress", "Completed", "CompletedWithIssues", + "Stopped", "Failed". :vartype status: str or ~azure.mgmt.datamigration.models.ValidationStatus """ @@ -8695,7 +8622,10 @@ class MigrationValidationDatabaseSummaryResult(Model): 'status': {'key': 'status', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrationValidationDatabaseSummaryResult, self).__init__(**kwargs) self.id = None self.migration_id = None @@ -8706,20 +8636,19 @@ def __init__(self, **kwargs): self.status = None -class MigrationValidationOptions(Model): +class MigrationValidationOptions(msrest.serialization.Model): """Types of validations to run after the migration. - :param enable_schema_validation: Allows to compare the schema information - between source and target. + :param enable_schema_validation: Allows to compare the schema information between source and + target. :type enable_schema_validation: bool - :param enable_data_integrity_validation: Allows to perform a checksum - based data integrity validation between source and target for the selected - database / tables . + :param enable_data_integrity_validation: Allows to perform a checksum based data integrity + validation between source and target for the selected database / tables . :type enable_data_integrity_validation: bool - :param enable_query_analysis_validation: Allows to perform a quick and - intelligent query analysis by retrieving queries from the source database - and executes them in the target. The result will have execution statistics - for executions in source and target databases for the extracted queries. + :param enable_query_analysis_validation: Allows to perform a quick and intelligent query + analysis by retrieving queries from the source database and executes them in the target. The + result will have execution statistics for executions in source and target databases for the + extracted queries. :type enable_query_analysis_validation: bool """ @@ -8729,30 +8658,32 @@ class MigrationValidationOptions(Model): 'enable_query_analysis_validation': {'key': 'enableQueryAnalysisValidation', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrationValidationOptions, self).__init__(**kwargs) self.enable_schema_validation = kwargs.get('enable_schema_validation', None) self.enable_data_integrity_validation = kwargs.get('enable_data_integrity_validation', None) self.enable_query_analysis_validation = kwargs.get('enable_query_analysis_validation', None) -class MigrationValidationResult(Model): +class MigrationValidationResult(msrest.serialization.Model): """Migration Validation Result. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Migration validation result identifier + :ivar id: Migration validation result identifier. :vartype id: str - :ivar migration_id: Migration Identifier + :ivar migration_id: Migration Identifier. :vartype migration_id: str - :param summary_results: Validation summary results for each database + :param summary_results: Validation summary results for each database. :type summary_results: dict[str, ~azure.mgmt.datamigration.models.MigrationValidationDatabaseSummaryResult] - :ivar status: Current status of validation at the migration level. Status - from the database validation result status will be aggregated here. - Possible values include: 'Default', 'NotStarted', 'Initialized', - 'InProgress', 'Completed', 'CompletedWithIssues', 'Stopped', 'Failed' + :ivar status: Current status of validation at the migration level. Status from the database + validation result status will be aggregated here. Possible values include: "Default", + "NotStarted", "Initialized", "InProgress", "Completed", "CompletedWithIssues", "Stopped", + "Failed". :vartype status: str or ~azure.mgmt.datamigration.models.ValidationStatus """ @@ -8769,7 +8700,10 @@ class MigrationValidationResult(Model): 'status': {'key': 'status', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MigrationValidationResult, self).__init__(**kwargs) self.id = None self.migration_id = None @@ -8778,19 +8712,18 @@ def __init__(self, **kwargs): class MiSqlConnectionInfo(ConnectionInfo): - """Properties required to create a connection to Azure SQL database Managed - instance. + """Properties required to create a connection to Azure SQL database Managed instance. All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str - :param managed_instance_resource_id: Required. Resource id for Azure SQL - database Managed instance + :param managed_instance_resource_id: Required. Resource id for Azure SQL database Managed + instance. :type managed_instance_resource_id: str """ @@ -8800,73 +8733,75 @@ class MiSqlConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'managed_instance_resource_id': {'key': 'managedInstanceResourceId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MiSqlConnectionInfo, self).__init__(**kwargs) - self.managed_instance_resource_id = kwargs.get('managed_instance_resource_id', None) - self.type = 'MiSqlConnectionInfo' + self.type = 'MiSqlConnectionInfo' # type: str + self.managed_instance_resource_id = kwargs['managed_instance_resource_id'] class MongoDbCancelCommand(CommandProperties): """Properties for the command that cancels a migration in whole or in part. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input + :param input: Command input. :type input: ~azure.mgmt.datamigration.models.MongoDbCommandInput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbCommandInput'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbCancelCommand, self).__init__(**kwargs) + self.command_type = 'cancel' # type: str self.input = kwargs.get('input', None) - self.command_type = 'cancel' -class MongoDbClusterInfo(Model): +class MongoDbClusterInfo(msrest.serialization.Model): """Describes a MongoDB data source. All required parameters must be populated in order to send to Azure. - :param databases: Required. A list of non-system databases in the cluster - :type databases: - list[~azure.mgmt.datamigration.models.MongoDbDatabaseInfo] - :param supports_sharding: Required. Whether the cluster supports sharded - collections + :param databases: Required. A list of non-system databases in the cluster. + :type databases: list[~azure.mgmt.datamigration.models.MongoDbDatabaseInfo] + :param supports_sharding: Required. Whether the cluster supports sharded collections. :type supports_sharding: bool - :param type: Required. The type of data source. Possible values include: - 'BlobContainer', 'CosmosDb', 'MongoDb' + :param type: Required. The type of data source. Possible values include: "BlobContainer", + "CosmosDb", "MongoDb". :type type: str or ~azure.mgmt.datamigration.models.MongoDbClusterType - :param version: Required. The version of the data source in the form x.y.z - (e.g. 3.6.7). Not used if Type is BlobContainer. + :param version: Required. The version of the data source in the form x.y.z (e.g. 3.6.7). Not + used if Type is BlobContainer. :type version: str """ @@ -8884,32 +8819,35 @@ class MongoDbClusterInfo(Model): 'version': {'key': 'version', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbClusterInfo, self).__init__(**kwargs) - self.databases = kwargs.get('databases', None) - self.supports_sharding = kwargs.get('supports_sharding', None) - self.type = kwargs.get('type', None) - self.version = kwargs.get('version', None) + self.databases = kwargs['databases'] + self.supports_sharding = kwargs['supports_sharding'] + self.type = kwargs['type'] + self.version = kwargs['version'] -class MongoDbObjectInfo(Model): +class MongoDbObjectInfo(msrest.serialization.Model): """Describes a database or collection within a MongoDB data source. All required parameters must be populated in order to send to Azure. - :param average_document_size: Required. The average document size, or -1 - if the average size is unknown + :param average_document_size: Required. The average document size, or -1 if the average size is + unknown. :type average_document_size: long - :param data_size: Required. The estimated total data size, in bytes, or -1 - if the size is unknown. + :param data_size: Required. The estimated total data size, in bytes, or -1 if the size is + unknown. :type data_size: long - :param document_count: Required. The estimated total number of documents, - or -1 if the document count is unknown + :param document_count: Required. The estimated total number of documents, or -1 if the document + count is unknown. :type document_count: long - :param name: Required. The unqualified name of the database or collection + :param name: Required. The unqualified name of the database or collection. :type name: str - :param qualified_name: Required. The qualified name of the database or - collection. For a collection, this is the database-qualified name. + :param qualified_name: Required. The qualified name of the database or collection. For a + collection, this is the database-qualified name. :type qualified_name: str """ @@ -8929,13 +8867,16 @@ class MongoDbObjectInfo(Model): 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbObjectInfo, self).__init__(**kwargs) - self.average_document_size = kwargs.get('average_document_size', None) - self.data_size = kwargs.get('data_size', None) - self.document_count = kwargs.get('document_count', None) - self.name = kwargs.get('name', None) - self.qualified_name = kwargs.get('qualified_name', None) + self.average_document_size = kwargs['average_document_size'] + self.data_size = kwargs['data_size'] + self.document_count = kwargs['document_count'] + self.name = kwargs['name'] + self.qualified_name = kwargs['qualified_name'] class MongoDbCollectionInfo(MongoDbObjectInfo): @@ -8943,41 +8884,35 @@ class MongoDbCollectionInfo(MongoDbObjectInfo): All required parameters must be populated in order to send to Azure. - :param average_document_size: Required. The average document size, or -1 - if the average size is unknown + :param average_document_size: Required. The average document size, or -1 if the average size is + unknown. :type average_document_size: long - :param data_size: Required. The estimated total data size, in bytes, or -1 - if the size is unknown. + :param data_size: Required. The estimated total data size, in bytes, or -1 if the size is + unknown. :type data_size: long - :param document_count: Required. The estimated total number of documents, - or -1 if the document count is unknown + :param document_count: Required. The estimated total number of documents, or -1 if the document + count is unknown. :type document_count: long - :param name: Required. The unqualified name of the database or collection + :param name: Required. The unqualified name of the database or collection. :type name: str - :param qualified_name: Required. The qualified name of the database or - collection. For a collection, this is the database-qualified name. + :param qualified_name: Required. The qualified name of the database or collection. For a + collection, this is the database-qualified name. :type qualified_name: str - :param database_name: Required. The name of the database containing the - collection + :param database_name: Required. The name of the database containing the collection. :type database_name: str - :param is_capped: Required. Whether the collection is a capped collection - (i.e. whether it has a fixed size and acts like a circular buffer) + :param is_capped: Required. Whether the collection is a capped collection (i.e. whether it has + a fixed size and acts like a circular buffer). :type is_capped: bool - :param is_system_collection: Required. Whether the collection is system - collection + :param is_system_collection: Required. Whether the collection is system collection. :type is_system_collection: bool - :param is_view: Required. Whether the collection is a view of another - collection + :param is_view: Required. Whether the collection is a view of another collection. :type is_view: bool - :param shard_key: The shard key on the collection, or null if the - collection is not sharded + :param shard_key: The shard key on the collection, or null if the collection is not sharded. :type shard_key: ~azure.mgmt.datamigration.models.MongoDbShardKeyInfo - :param supports_sharding: Required. Whether the database has sharding - enabled. Note that the migration task will enable sharding on the target - if necessary. + :param supports_sharding: Required. Whether the database has sharding enabled. Note that the + migration task will enable sharding on the target if necessary. :type supports_sharding: bool - :param view_of: The name of the collection that this is a view of, if - IsView is true + :param view_of: The name of the collection that this is a view of, if IsView is true. :type view_of: str """ @@ -9009,73 +8944,69 @@ class MongoDbCollectionInfo(MongoDbObjectInfo): 'view_of': {'key': 'viewOf', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbCollectionInfo, self).__init__(**kwargs) - self.database_name = kwargs.get('database_name', None) - self.is_capped = kwargs.get('is_capped', None) - self.is_system_collection = kwargs.get('is_system_collection', None) - self.is_view = kwargs.get('is_view', None) + self.database_name = kwargs['database_name'] + self.is_capped = kwargs['is_capped'] + self.is_system_collection = kwargs['is_system_collection'] + self.is_view = kwargs['is_view'] self.shard_key = kwargs.get('shard_key', None) - self.supports_sharding = kwargs.get('supports_sharding', None) + self.supports_sharding = kwargs['supports_sharding'] self.view_of = kwargs.get('view_of', None) -class MongoDbProgress(Model): +class MongoDbProgress(msrest.serialization.Model): """Base class for MongoDB migration outputs. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MongoDbCollectionProgress, MongoDbDatabaseProgress, - MongoDbMigrationProgress + sub-classes are: MongoDbCollectionProgress, MongoDbDatabaseProgress, MongoDbMigrationProgress. All required parameters must be populated in order to send to Azure. - :param bytes_copied: Required. The number of document bytes copied during - the Copying stage + :param bytes_copied: Required. The number of document bytes copied during the Copying stage. :type bytes_copied: long - :param documents_copied: Required. The number of documents copied during - the Copying stage + :param documents_copied: Required. The number of documents copied during the Copying stage. :type documents_copied: long - :param elapsed_time: Required. The elapsed time in the format - [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + :param elapsed_time: Required. The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. + TimeSpan format). :type elapsed_time: str - :param errors: Required. The errors and warnings that have occurred for - the current object. The keys are the error codes. + :param errors: Required. The errors and warnings that have occurred for the current object. The + keys are the error codes. :type errors: dict[str, ~azure.mgmt.datamigration.models.MongoDbError] - :param events_pending: Required. The number of oplog events awaiting - replay + :param events_pending: Required. The number of oplog events awaiting replay. :type events_pending: long - :param events_replayed: Required. The number of oplog events replayed so - far + :param events_replayed: Required. The number of oplog events replayed so far. :type events_replayed: long - :param last_event_time: The timestamp of the last oplog event received, or - null if no oplog event has been received yet - :type last_event_time: datetime - :param last_replay_time: The timestamp of the last oplog event replayed, - or null if no oplog event has been replayed yet - :type last_replay_time: datetime - :param name: The name of the progress object. For a collection, this is - the unqualified collection name. For a database, this is the database - name. For the overall migration, this is null. + :param last_event_time: The timestamp of the last oplog event received, or null if no oplog + event has been received yet. + :type last_event_time: ~datetime.datetime + :param last_replay_time: The timestamp of the last oplog event replayed, or null if no oplog + event has been replayed yet. + :type last_replay_time: ~datetime.datetime + :param name: The name of the progress object. For a collection, this is the unqualified + collection name. For a database, this is the database name. For the overall migration, this is + null. :type name: str - :param qualified_name: The qualified name of the progress object. For a - collection, this is the database-qualified name. For a database, this is - the database name. For the overall migration, this is null. + :param qualified_name: The qualified name of the progress object. For a collection, this is the + database-qualified name. For a database, this is the database name. For the overall migration, + this is null. :type qualified_name: str - :param state: Required. Possible values include: 'NotStarted', - 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', - 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', - 'Failed' + :param result_type: Required. The type of progress object.Constant filled by server. Possible + values include: "Migration", "Database", "Collection". + :type result_type: str or ~azure.mgmt.datamigration.models.MongoDbProgressResultType + :param state: Required. Possible values include: "NotStarted", "ValidatingInput", + "Initializing", "Restarting", "Copying", "InitialReplay", "Replaying", "Finalizing", + "Complete", "Canceled", "Failed". :type state: str or ~azure.mgmt.datamigration.models.MongoDbMigrationState - :param total_bytes: Required. The total number of document bytes on the - source at the beginning of the Copying stage, or -1 if the total size was - unknown + :param total_bytes: Required. The total number of document bytes on the source at the beginning + of the Copying stage, or -1 if the total size was unknown. :type total_bytes: long - :param total_documents: Required. The total number of documents on the - source at the beginning of the Copying stage, or -1 if the total count was - unknown + :param total_documents: Required. The total number of documents on the source at the beginning + of the Copying stage, or -1 if the total count was unknown. :type total_documents: long - :param result_type: Required. Constant filled by server. - :type result_type: str """ _validation = { @@ -9085,10 +9016,10 @@ class MongoDbProgress(Model): 'errors': {'required': True}, 'events_pending': {'required': True}, 'events_replayed': {'required': True}, + 'result_type': {'required': True}, 'state': {'required': True}, 'total_bytes': {'required': True}, 'total_documents': {'required': True}, - 'result_type': {'required': True}, } _attribute_map = { @@ -9102,32 +9033,35 @@ class MongoDbProgress(Model): 'last_replay_time': {'key': 'lastReplayTime', 'type': 'iso-8601'}, 'name': {'key': 'name', 'type': 'str'}, 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'result_type': {'key': 'resultType', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'total_bytes': {'key': 'totalBytes', 'type': 'long'}, 'total_documents': {'key': 'totalDocuments', 'type': 'long'}, - 'result_type': {'key': 'resultType', 'type': 'str'}, } _subtype_map = { 'result_type': {'Collection': 'MongoDbCollectionProgress', 'Database': 'MongoDbDatabaseProgress', 'Migration': 'MongoDbMigrationProgress'} } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbProgress, self).__init__(**kwargs) - self.bytes_copied = kwargs.get('bytes_copied', None) - self.documents_copied = kwargs.get('documents_copied', None) - self.elapsed_time = kwargs.get('elapsed_time', None) - self.errors = kwargs.get('errors', None) - self.events_pending = kwargs.get('events_pending', None) - self.events_replayed = kwargs.get('events_replayed', None) + self.bytes_copied = kwargs['bytes_copied'] + self.documents_copied = kwargs['documents_copied'] + self.elapsed_time = kwargs['elapsed_time'] + self.errors = kwargs['errors'] + self.events_pending = kwargs['events_pending'] + self.events_replayed = kwargs['events_replayed'] self.last_event_time = kwargs.get('last_event_time', None) self.last_replay_time = kwargs.get('last_replay_time', None) self.name = kwargs.get('name', None) self.qualified_name = kwargs.get('qualified_name', None) - self.state = kwargs.get('state', None) - self.total_bytes = kwargs.get('total_bytes', None) - self.total_documents = kwargs.get('total_documents', None) - self.result_type = None + self.result_type = None # type: Optional[str] + self.state = kwargs['state'] + self.total_bytes = kwargs['total_bytes'] + self.total_documents = kwargs['total_documents'] class MongoDbCollectionProgress(MongoDbProgress): @@ -9135,53 +9069,47 @@ class MongoDbCollectionProgress(MongoDbProgress): All required parameters must be populated in order to send to Azure. - :param bytes_copied: Required. The number of document bytes copied during - the Copying stage + :param bytes_copied: Required. The number of document bytes copied during the Copying stage. :type bytes_copied: long - :param documents_copied: Required. The number of documents copied during - the Copying stage + :param documents_copied: Required. The number of documents copied during the Copying stage. :type documents_copied: long - :param elapsed_time: Required. The elapsed time in the format - [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + :param elapsed_time: Required. The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. + TimeSpan format). :type elapsed_time: str - :param errors: Required. The errors and warnings that have occurred for - the current object. The keys are the error codes. + :param errors: Required. The errors and warnings that have occurred for the current object. The + keys are the error codes. :type errors: dict[str, ~azure.mgmt.datamigration.models.MongoDbError] - :param events_pending: Required. The number of oplog events awaiting - replay + :param events_pending: Required. The number of oplog events awaiting replay. :type events_pending: long - :param events_replayed: Required. The number of oplog events replayed so - far + :param events_replayed: Required. The number of oplog events replayed so far. :type events_replayed: long - :param last_event_time: The timestamp of the last oplog event received, or - null if no oplog event has been received yet - :type last_event_time: datetime - :param last_replay_time: The timestamp of the last oplog event replayed, - or null if no oplog event has been replayed yet - :type last_replay_time: datetime - :param name: The name of the progress object. For a collection, this is - the unqualified collection name. For a database, this is the database - name. For the overall migration, this is null. + :param last_event_time: The timestamp of the last oplog event received, or null if no oplog + event has been received yet. + :type last_event_time: ~datetime.datetime + :param last_replay_time: The timestamp of the last oplog event replayed, or null if no oplog + event has been replayed yet. + :type last_replay_time: ~datetime.datetime + :param name: The name of the progress object. For a collection, this is the unqualified + collection name. For a database, this is the database name. For the overall migration, this is + null. :type name: str - :param qualified_name: The qualified name of the progress object. For a - collection, this is the database-qualified name. For a database, this is - the database name. For the overall migration, this is null. + :param qualified_name: The qualified name of the progress object. For a collection, this is the + database-qualified name. For a database, this is the database name. For the overall migration, + this is null. :type qualified_name: str - :param state: Required. Possible values include: 'NotStarted', - 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', - 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', - 'Failed' + :param result_type: Required. The type of progress object.Constant filled by server. Possible + values include: "Migration", "Database", "Collection". + :type result_type: str or ~azure.mgmt.datamigration.models.MongoDbProgressResultType + :param state: Required. Possible values include: "NotStarted", "ValidatingInput", + "Initializing", "Restarting", "Copying", "InitialReplay", "Replaying", "Finalizing", + "Complete", "Canceled", "Failed". :type state: str or ~azure.mgmt.datamigration.models.MongoDbMigrationState - :param total_bytes: Required. The total number of document bytes on the - source at the beginning of the Copying stage, or -1 if the total size was - unknown + :param total_bytes: Required. The total number of document bytes on the source at the beginning + of the Copying stage, or -1 if the total size was unknown. :type total_bytes: long - :param total_documents: Required. The total number of documents on the - source at the beginning of the Copying stage, or -1 if the total count was - unknown + :param total_documents: Required. The total number of documents on the source at the beginning + of the Copying stage, or -1 if the total count was unknown. :type total_documents: long - :param result_type: Required. Constant filled by server. - :type result_type: str """ _validation = { @@ -9191,10 +9119,10 @@ class MongoDbCollectionProgress(MongoDbProgress): 'errors': {'required': True}, 'events_pending': {'required': True}, 'events_replayed': {'required': True}, + 'result_type': {'required': True}, 'state': {'required': True}, 'total_bytes': {'required': True}, 'total_documents': {'required': True}, - 'result_type': {'required': True}, } _attribute_map = { @@ -9208,49 +9136,54 @@ class MongoDbCollectionProgress(MongoDbProgress): 'last_replay_time': {'key': 'lastReplayTime', 'type': 'iso-8601'}, 'name': {'key': 'name', 'type': 'str'}, 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'result_type': {'key': 'resultType', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'total_bytes': {'key': 'totalBytes', 'type': 'long'}, 'total_documents': {'key': 'totalDocuments', 'type': 'long'}, - 'result_type': {'key': 'resultType', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbCollectionProgress, self).__init__(**kwargs) - self.result_type = 'Collection' + self.result_type = 'Collection' # type: str -class MongoDbCollectionSettings(Model): +class MongoDbCollectionSettings(msrest.serialization.Model): """Describes how an individual MongoDB collection should be migrated. - :param can_delete: Whether the migrator is allowed to drop the target - collection in the course of performing a migration. The default is true. + :param can_delete: Whether the migrator is allowed to drop the target collection in the course + of performing a migration. The default is true. :type can_delete: bool - :param shard_key: + :param shard_key: Describes a MongoDB shard key. :type shard_key: ~azure.mgmt.datamigration.models.MongoDbShardKeySetting - :param target_rus: The RUs that should be configured on a CosmosDB target, - or null to use the default. This has no effect on non-CosmosDB targets. - :type target_rus: int + :param target_r_us: The RUs that should be configured on a CosmosDB target, or null to use the + default. This has no effect on non-CosmosDB targets. + :type target_r_us: int """ _attribute_map = { 'can_delete': {'key': 'canDelete', 'type': 'bool'}, 'shard_key': {'key': 'shardKey', 'type': 'MongoDbShardKeySetting'}, - 'target_rus': {'key': 'targetRUs', 'type': 'int'}, + 'target_r_us': {'key': 'targetRUs', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbCollectionSettings, self).__init__(**kwargs) self.can_delete = kwargs.get('can_delete', None) self.shard_key = kwargs.get('shard_key', None) - self.target_rus = kwargs.get('target_rus', None) + self.target_r_us = kwargs.get('target_r_us', None) -class MongoDbCommandInput(Model): - """Describes the input to the 'cancel' and 'restart' MongoDB migration - commands. +class MongoDbCommandInput(msrest.serialization.Model): + """Describes the input to the 'cancel' and 'restart' MongoDB migration commands. - :param object_name: The qualified name of a database or collection to act - upon, or null to act upon the entire migration + :param object_name: The qualified name of a database or collection to act upon, or null to act + upon the entire migration. :type object_name: str """ @@ -9258,7 +9191,10 @@ class MongoDbCommandInput(Model): 'object_name': {'key': 'objectName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbCommandInput, self).__init__(**kwargs) self.object_name = kwargs.get('object_name', None) @@ -9268,15 +9204,14 @@ class MongoDbConnectionInfo(ConnectionInfo): All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str - :param connection_string: Required. A MongoDB connection string or blob - container URL. The user name and password can be specified here or in the - userName and password properties + :param connection_string: Required. A MongoDB connection string or blob container URL. The user + name and password can be specified here or in the userName and password properties. :type connection_string: str """ @@ -9286,16 +9221,19 @@ class MongoDbConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'connection_string': {'key': 'connectionString', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbConnectionInfo, self).__init__(**kwargs) - self.connection_string = kwargs.get('connection_string', None) - self.type = 'MongoDbConnectionInfo' + self.type = 'MongoDbConnectionInfo' # type: str + self.connection_string = kwargs['connection_string'] class MongoDbDatabaseInfo(MongoDbObjectInfo): @@ -9303,27 +9241,24 @@ class MongoDbDatabaseInfo(MongoDbObjectInfo): All required parameters must be populated in order to send to Azure. - :param average_document_size: Required. The average document size, or -1 - if the average size is unknown + :param average_document_size: Required. The average document size, or -1 if the average size is + unknown. :type average_document_size: long - :param data_size: Required. The estimated total data size, in bytes, or -1 - if the size is unknown. + :param data_size: Required. The estimated total data size, in bytes, or -1 if the size is + unknown. :type data_size: long - :param document_count: Required. The estimated total number of documents, - or -1 if the document count is unknown + :param document_count: Required. The estimated total number of documents, or -1 if the document + count is unknown. :type document_count: long - :param name: Required. The unqualified name of the database or collection + :param name: Required. The unqualified name of the database or collection. :type name: str - :param qualified_name: Required. The qualified name of the database or - collection. For a collection, this is the database-qualified name. + :param qualified_name: Required. The qualified name of the database or collection. For a + collection, this is the database-qualified name. :type qualified_name: str - :param collections: Required. A list of supported collections in a MongoDB - database - :type collections: - list[~azure.mgmt.datamigration.models.MongoDbCollectionInfo] - :param supports_sharding: Required. Whether the database has sharding - enabled. Note that the migration task will enable sharding on the target - if necessary. + :param collections: Required. A list of supported collections in a MongoDB database. + :type collections: list[~azure.mgmt.datamigration.models.MongoDbCollectionInfo] + :param supports_sharding: Required. Whether the database has sharding enabled. Note that the + migration task will enable sharding on the target if necessary. :type supports_sharding: bool """ @@ -9347,10 +9282,13 @@ class MongoDbDatabaseInfo(MongoDbObjectInfo): 'supports_sharding': {'key': 'supportsSharding', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbDatabaseInfo, self).__init__(**kwargs) - self.collections = kwargs.get('collections', None) - self.supports_sharding = kwargs.get('supports_sharding', None) + self.collections = kwargs['collections'] + self.supports_sharding = kwargs['supports_sharding'] class MongoDbDatabaseProgress(MongoDbProgress): @@ -9358,57 +9296,50 @@ class MongoDbDatabaseProgress(MongoDbProgress): All required parameters must be populated in order to send to Azure. - :param bytes_copied: Required. The number of document bytes copied during - the Copying stage + :param bytes_copied: Required. The number of document bytes copied during the Copying stage. :type bytes_copied: long - :param documents_copied: Required. The number of documents copied during - the Copying stage + :param documents_copied: Required. The number of documents copied during the Copying stage. :type documents_copied: long - :param elapsed_time: Required. The elapsed time in the format - [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + :param elapsed_time: Required. The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. + TimeSpan format). :type elapsed_time: str - :param errors: Required. The errors and warnings that have occurred for - the current object. The keys are the error codes. + :param errors: Required. The errors and warnings that have occurred for the current object. The + keys are the error codes. :type errors: dict[str, ~azure.mgmt.datamigration.models.MongoDbError] - :param events_pending: Required. The number of oplog events awaiting - replay + :param events_pending: Required. The number of oplog events awaiting replay. :type events_pending: long - :param events_replayed: Required. The number of oplog events replayed so - far + :param events_replayed: Required. The number of oplog events replayed so far. :type events_replayed: long - :param last_event_time: The timestamp of the last oplog event received, or - null if no oplog event has been received yet - :type last_event_time: datetime - :param last_replay_time: The timestamp of the last oplog event replayed, - or null if no oplog event has been replayed yet - :type last_replay_time: datetime - :param name: The name of the progress object. For a collection, this is - the unqualified collection name. For a database, this is the database - name. For the overall migration, this is null. + :param last_event_time: The timestamp of the last oplog event received, or null if no oplog + event has been received yet. + :type last_event_time: ~datetime.datetime + :param last_replay_time: The timestamp of the last oplog event replayed, or null if no oplog + event has been replayed yet. + :type last_replay_time: ~datetime.datetime + :param name: The name of the progress object. For a collection, this is the unqualified + collection name. For a database, this is the database name. For the overall migration, this is + null. :type name: str - :param qualified_name: The qualified name of the progress object. For a - collection, this is the database-qualified name. For a database, this is - the database name. For the overall migration, this is null. + :param qualified_name: The qualified name of the progress object. For a collection, this is the + database-qualified name. For a database, this is the database name. For the overall migration, + this is null. :type qualified_name: str - :param state: Required. Possible values include: 'NotStarted', - 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', - 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', - 'Failed' + :param result_type: Required. The type of progress object.Constant filled by server. Possible + values include: "Migration", "Database", "Collection". + :type result_type: str or ~azure.mgmt.datamigration.models.MongoDbProgressResultType + :param state: Required. Possible values include: "NotStarted", "ValidatingInput", + "Initializing", "Restarting", "Copying", "InitialReplay", "Replaying", "Finalizing", + "Complete", "Canceled", "Failed". :type state: str or ~azure.mgmt.datamigration.models.MongoDbMigrationState - :param total_bytes: Required. The total number of document bytes on the - source at the beginning of the Copying stage, or -1 if the total size was - unknown + :param total_bytes: Required. The total number of document bytes on the source at the beginning + of the Copying stage, or -1 if the total size was unknown. :type total_bytes: long - :param total_documents: Required. The total number of documents on the - source at the beginning of the Copying stage, or -1 if the total count was - unknown + :param total_documents: Required. The total number of documents on the source at the beginning + of the Copying stage, or -1 if the total count was unknown. :type total_documents: long - :param result_type: Required. Constant filled by server. - :type result_type: str - :param collections: The progress of the collections in the database. The - keys are the unqualified names of the collections - :type collections: dict[str, - ~azure.mgmt.datamigration.models.MongoDbCollectionProgress] + :param collections: The progress of the collections in the database. The keys are the + unqualified names of the collections. + :type collections: dict[str, ~azure.mgmt.datamigration.models.MongoDbCollectionProgress] """ _validation = { @@ -9418,10 +9349,10 @@ class MongoDbDatabaseProgress(MongoDbProgress): 'errors': {'required': True}, 'events_pending': {'required': True}, 'events_replayed': {'required': True}, + 'result_type': {'required': True}, 'state': {'required': True}, 'total_bytes': {'required': True}, 'total_documents': {'required': True}, - 'result_type': {'required': True}, } _attribute_map = { @@ -9435,33 +9366,34 @@ class MongoDbDatabaseProgress(MongoDbProgress): 'last_replay_time': {'key': 'lastReplayTime', 'type': 'iso-8601'}, 'name': {'key': 'name', 'type': 'str'}, 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'result_type': {'key': 'resultType', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'total_bytes': {'key': 'totalBytes', 'type': 'long'}, 'total_documents': {'key': 'totalDocuments', 'type': 'long'}, - 'result_type': {'key': 'resultType', 'type': 'str'}, 'collections': {'key': 'collections', 'type': '{MongoDbCollectionProgress}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbDatabaseProgress, self).__init__(**kwargs) + self.result_type = 'Database' # type: str self.collections = kwargs.get('collections', None) - self.result_type = 'Database' -class MongoDbDatabaseSettings(Model): +class MongoDbDatabaseSettings(msrest.serialization.Model): """Describes how an individual MongoDB database should be migrated. All required parameters must be populated in order to send to Azure. - :param collections: Required. The collections on the source database to - migrate to the target. The keys are the unqualified names of the - collections. - :type collections: dict[str, - ~azure.mgmt.datamigration.models.MongoDbCollectionSettings] - :param target_rus: The RUs that should be configured on a CosmosDB target, - or null to use the default, or 0 if throughput should not be provisioned - for the database. This has no effect on non-CosmosDB targets. - :type target_rus: int + :param collections: Required. The collections on the source database to migrate to the target. + The keys are the unqualified names of the collections. + :type collections: dict[str, ~azure.mgmt.datamigration.models.MongoDbCollectionSettings] + :param target_r_us: The RUs that should be configured on a CosmosDB target, or null to use the + default, or 0 if throughput should not be provisioned for the database. This has no effect on + non-CosmosDB targets. + :type target_r_us: int """ _validation = { @@ -9470,28 +9402,29 @@ class MongoDbDatabaseSettings(Model): _attribute_map = { 'collections': {'key': 'collections', 'type': '{MongoDbCollectionSettings}'}, - 'target_rus': {'key': 'targetRUs', 'type': 'int'}, + 'target_r_us': {'key': 'targetRUs', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbDatabaseSettings, self).__init__(**kwargs) - self.collections = kwargs.get('collections', None) - self.target_rus = kwargs.get('target_rus', None) + self.collections = kwargs['collections'] + self.target_r_us = kwargs.get('target_r_us', None) -class MongoDbError(Model): +class MongoDbError(msrest.serialization.Model): """Describes an error or warning that occurred during a MongoDB migration. - :param code: The non-localized, machine-readable code that describes the - error or warning + :param code: The non-localized, machine-readable code that describes the error or warning. :type code: str - :param count: The number of times the error or warning has occurred + :param count: The number of times the error or warning has occurred. :type count: int - :param message: The localized, human-readable message that describes the - error or warning + :param message: The localized, human-readable message that describes the error or warning. :type message: str - :param type: The type of error or warning. Possible values include: - 'Error', 'ValidationError', 'Warning' + :param type: The type of error or warning. Possible values include: "Error", "ValidationError", + "Warning". :type type: str or ~azure.mgmt.datamigration.models.MongoDbErrorType """ @@ -9502,7 +9435,10 @@ class MongoDbError(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbError, self).__init__(**kwargs) self.code = kwargs.get('code', None) self.count = kwargs.get('count', None) @@ -9513,40 +9449,41 @@ def __init__(self, **kwargs): class MongoDbFinishCommand(CommandProperties): """Properties for the command that finishes a migration in whole or in part. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input + :param input: Command input. :type input: ~azure.mgmt.datamigration.models.MongoDbFinishCommandInput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbFinishCommandInput'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbFinishCommand, self).__init__(**kwargs) + self.command_type = 'finish' # type: str self.input = kwargs.get('input', None) - self.command_type = 'finish' class MongoDbFinishCommandInput(MongoDbCommandInput): @@ -9554,12 +9491,12 @@ class MongoDbFinishCommandInput(MongoDbCommandInput): All required parameters must be populated in order to send to Azure. - :param object_name: The qualified name of a database or collection to act - upon, or null to act upon the entire migration + :param object_name: The qualified name of a database or collection to act upon, or null to act + upon the entire migration. :type object_name: str - :param immediate: Required. If true, replication for the affected objects - will be stopped immediately. If false, the migrator will finish replaying - queued events before finishing the replication. + :param immediate: Required. If true, replication for the affected objects will be stopped + immediately. If false, the migrator will finish replaying queued events before finishing the + replication. :type immediate: bool """ @@ -9572,9 +9509,12 @@ class MongoDbFinishCommandInput(MongoDbCommandInput): 'immediate': {'key': 'immediate', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbFinishCommandInput, self).__init__(**kwargs) - self.immediate = kwargs.get('immediate', None) + self.immediate = kwargs['immediate'] class MongoDbMigrationProgress(MongoDbProgress): @@ -9582,57 +9522,50 @@ class MongoDbMigrationProgress(MongoDbProgress): All required parameters must be populated in order to send to Azure. - :param bytes_copied: Required. The number of document bytes copied during - the Copying stage + :param bytes_copied: Required. The number of document bytes copied during the Copying stage. :type bytes_copied: long - :param documents_copied: Required. The number of documents copied during - the Copying stage + :param documents_copied: Required. The number of documents copied during the Copying stage. :type documents_copied: long - :param elapsed_time: Required. The elapsed time in the format - [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + :param elapsed_time: Required. The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. + TimeSpan format). :type elapsed_time: str - :param errors: Required. The errors and warnings that have occurred for - the current object. The keys are the error codes. + :param errors: Required. The errors and warnings that have occurred for the current object. The + keys are the error codes. :type errors: dict[str, ~azure.mgmt.datamigration.models.MongoDbError] - :param events_pending: Required. The number of oplog events awaiting - replay + :param events_pending: Required. The number of oplog events awaiting replay. :type events_pending: long - :param events_replayed: Required. The number of oplog events replayed so - far + :param events_replayed: Required. The number of oplog events replayed so far. :type events_replayed: long - :param last_event_time: The timestamp of the last oplog event received, or - null if no oplog event has been received yet - :type last_event_time: datetime - :param last_replay_time: The timestamp of the last oplog event replayed, - or null if no oplog event has been replayed yet - :type last_replay_time: datetime - :param name: The name of the progress object. For a collection, this is - the unqualified collection name. For a database, this is the database - name. For the overall migration, this is null. + :param last_event_time: The timestamp of the last oplog event received, or null if no oplog + event has been received yet. + :type last_event_time: ~datetime.datetime + :param last_replay_time: The timestamp of the last oplog event replayed, or null if no oplog + event has been replayed yet. + :type last_replay_time: ~datetime.datetime + :param name: The name of the progress object. For a collection, this is the unqualified + collection name. For a database, this is the database name. For the overall migration, this is + null. :type name: str - :param qualified_name: The qualified name of the progress object. For a - collection, this is the database-qualified name. For a database, this is - the database name. For the overall migration, this is null. + :param qualified_name: The qualified name of the progress object. For a collection, this is the + database-qualified name. For a database, this is the database name. For the overall migration, + this is null. :type qualified_name: str - :param state: Required. Possible values include: 'NotStarted', - 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', - 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', - 'Failed' + :param result_type: Required. The type of progress object.Constant filled by server. Possible + values include: "Migration", "Database", "Collection". + :type result_type: str or ~azure.mgmt.datamigration.models.MongoDbProgressResultType + :param state: Required. Possible values include: "NotStarted", "ValidatingInput", + "Initializing", "Restarting", "Copying", "InitialReplay", "Replaying", "Finalizing", + "Complete", "Canceled", "Failed". :type state: str or ~azure.mgmt.datamigration.models.MongoDbMigrationState - :param total_bytes: Required. The total number of document bytes on the - source at the beginning of the Copying stage, or -1 if the total size was - unknown + :param total_bytes: Required. The total number of document bytes on the source at the beginning + of the Copying stage, or -1 if the total size was unknown. :type total_bytes: long - :param total_documents: Required. The total number of documents on the - source at the beginning of the Copying stage, or -1 if the total count was - unknown + :param total_documents: Required. The total number of documents on the source at the beginning + of the Copying stage, or -1 if the total count was unknown. :type total_documents: long - :param result_type: Required. Constant filled by server. - :type result_type: str - :param databases: The progress of the databases in the migration. The keys - are the names of the databases - :type databases: dict[str, - ~azure.mgmt.datamigration.models.MongoDbDatabaseProgress] + :param databases: The progress of the databases in the migration. The keys are the names of the + databases. + :type databases: dict[str, ~azure.mgmt.datamigration.models.MongoDbDatabaseProgress] """ _validation = { @@ -9642,10 +9575,10 @@ class MongoDbMigrationProgress(MongoDbProgress): 'errors': {'required': True}, 'events_pending': {'required': True}, 'events_replayed': {'required': True}, + 'result_type': {'required': True}, 'state': {'required': True}, 'total_bytes': {'required': True}, 'total_documents': {'required': True}, - 'result_type': {'required': True}, } _attribute_map = { @@ -9659,47 +9592,44 @@ class MongoDbMigrationProgress(MongoDbProgress): 'last_replay_time': {'key': 'lastReplayTime', 'type': 'iso-8601'}, 'name': {'key': 'name', 'type': 'str'}, 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'result_type': {'key': 'resultType', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'total_bytes': {'key': 'totalBytes', 'type': 'long'}, 'total_documents': {'key': 'totalDocuments', 'type': 'long'}, - 'result_type': {'key': 'resultType', 'type': 'str'}, 'databases': {'key': 'databases', 'type': '{MongoDbDatabaseProgress}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbMigrationProgress, self).__init__(**kwargs) + self.result_type = 'Migration' # type: str self.databases = kwargs.get('databases', None) - self.result_type = 'Migration' -class MongoDbMigrationSettings(Model): +class MongoDbMigrationSettings(msrest.serialization.Model): """Describes how a MongoDB data migration should be performed. All required parameters must be populated in order to send to Azure. - :param boost_rus: The RU limit on a CosmosDB target that collections will - be temporarily increased to (if lower) during the initial copy of a - migration, from 10,000 to 1,000,000, or 0 to use the default boost (which - is generally the maximum), or null to not boost the RUs. This setting has - no effect on non-CosmosDB targets. - :type boost_rus: int - :param databases: Required. The databases on the source cluster to migrate - to the target. The keys are the names of the databases. - :type databases: dict[str, - ~azure.mgmt.datamigration.models.MongoDbDatabaseSettings] - :param replication: Describes how changes will be replicated from the - source to the target. The default is OneTime. Possible values include: - 'Disabled', 'OneTime', 'Continuous' - :type replication: str or - ~azure.mgmt.datamigration.models.MongoDbReplication - :param source: Required. Settings used to connect to the source cluster + :param boost_r_us: The RU limit on a CosmosDB target that collections will be temporarily + increased to (if lower) during the initial copy of a migration, from 10,000 to 1,000,000, or 0 + to use the default boost (which is generally the maximum), or null to not boost the RUs. This + setting has no effect on non-CosmosDB targets. + :type boost_r_us: int + :param databases: Required. The databases on the source cluster to migrate to the target. The + keys are the names of the databases. + :type databases: dict[str, ~azure.mgmt.datamigration.models.MongoDbDatabaseSettings] + :param replication: Describes how changes will be replicated from the source to the target. The + default is OneTime. Possible values include: "Disabled", "OneTime", "Continuous". + :type replication: str or ~azure.mgmt.datamigration.models.MongoDbReplication + :param source: Required. Settings used to connect to the source cluster. :type source: ~azure.mgmt.datamigration.models.MongoDbConnectionInfo - :param target: Required. Settings used to connect to the target cluster + :param target: Required. Settings used to connect to the target cluster. :type target: ~azure.mgmt.datamigration.models.MongoDbConnectionInfo - :param throttling: Settings used to limit the resource usage of the - migration - :type throttling: - ~azure.mgmt.datamigration.models.MongoDbThrottlingSettings + :param throttling: Settings used to limit the resource usage of the migration. + :type throttling: ~azure.mgmt.datamigration.models.MongoDbThrottlingSettings """ _validation = { @@ -9709,7 +9639,7 @@ class MongoDbMigrationSettings(Model): } _attribute_map = { - 'boost_rus': {'key': 'boostRUs', 'type': 'int'}, + 'boost_r_us': {'key': 'boostRUs', 'type': 'int'}, 'databases': {'key': 'databases', 'type': '{MongoDbDatabaseSettings}'}, 'replication': {'key': 'replication', 'type': 'str'}, 'source': {'key': 'source', 'type': 'MongoDbConnectionInfo'}, @@ -9717,64 +9647,68 @@ class MongoDbMigrationSettings(Model): 'throttling': {'key': 'throttling', 'type': 'MongoDbThrottlingSettings'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbMigrationSettings, self).__init__(**kwargs) - self.boost_rus = kwargs.get('boost_rus', None) - self.databases = kwargs.get('databases', None) + self.boost_r_us = kwargs.get('boost_r_us', None) + self.databases = kwargs['databases'] self.replication = kwargs.get('replication', None) - self.source = kwargs.get('source', None) - self.target = kwargs.get('target', None) + self.source = kwargs['source'] + self.target = kwargs['target'] self.throttling = kwargs.get('throttling', None) class MongoDbRestartCommand(CommandProperties): """Properties for the command that restarts a migration in whole or in part. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input + :param input: Command input. :type input: ~azure.mgmt.datamigration.models.MongoDbCommandInput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbCommandInput'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbRestartCommand, self).__init__(**kwargs) + self.command_type = 'restart' # type: str self.input = kwargs.get('input', None) - self.command_type = 'restart' -class MongoDbShardKeyField(Model): +class MongoDbShardKeyField(msrest.serialization.Model): """Describes a field reference within a MongoDB shard key. All required parameters must be populated in order to send to Azure. - :param name: Required. The name of the field + :param name: Required. The name of the field. :type name: str - :param order: Required. The field ordering. Possible values include: - 'Forward', 'Reverse', 'Hashed' + :param order: Required. The field ordering. Possible values include: "Forward", "Reverse", + "Hashed". :type order: str or ~azure.mgmt.datamigration.models.MongoDbShardKeyOrder """ @@ -9788,20 +9722,23 @@ class MongoDbShardKeyField(Model): 'order': {'key': 'order', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbShardKeyField, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.order = kwargs.get('order', None) + self.name = kwargs['name'] + self.order = kwargs['order'] -class MongoDbShardKeyInfo(Model): +class MongoDbShardKeyInfo(msrest.serialization.Model): """Describes a MongoDB shard key. All required parameters must be populated in order to send to Azure. - :param fields: Required. The fields within the shard key + :param fields: Required. The fields within the shard key. :type fields: list[~azure.mgmt.datamigration.models.MongoDbShardKeyField] - :param is_unique: Required. Whether the shard key is unique + :param is_unique: Required. Whether the shard key is unique. :type is_unique: bool """ @@ -9815,20 +9752,23 @@ class MongoDbShardKeyInfo(Model): 'is_unique': {'key': 'isUnique', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbShardKeyInfo, self).__init__(**kwargs) - self.fields = kwargs.get('fields', None) - self.is_unique = kwargs.get('is_unique', None) + self.fields = kwargs['fields'] + self.is_unique = kwargs['is_unique'] -class MongoDbShardKeySetting(Model): +class MongoDbShardKeySetting(msrest.serialization.Model): """Describes a MongoDB shard key. All required parameters must be populated in order to send to Azure. - :param fields: Required. The fields within the shard key + :param fields: Required. The fields within the shard key. :type fields: list[~azure.mgmt.datamigration.models.MongoDbShardKeyField] - :param is_unique: Required. Whether the shard key is unique + :param is_unique: Required. Whether the shard key is unique. :type is_unique: bool """ @@ -9842,23 +9782,26 @@ class MongoDbShardKeySetting(Model): 'is_unique': {'key': 'isUnique', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbShardKeySetting, self).__init__(**kwargs) - self.fields = kwargs.get('fields', None) - self.is_unique = kwargs.get('is_unique', None) + self.fields = kwargs['fields'] + self.is_unique = kwargs['is_unique'] -class MongoDbThrottlingSettings(Model): +class MongoDbThrottlingSettings(msrest.serialization.Model): """Specifies resource limits for the migration. - :param min_free_cpu: The percentage of CPU time that the migrator will try - to avoid using, from 0 to 100 + :param min_free_cpu: The percentage of CPU time that the migrator will try to avoid using, from + 0 to 100. :type min_free_cpu: int - :param min_free_memory_mb: The number of megabytes of RAM that the - migrator will try to avoid using + :param min_free_memory_mb: The number of megabytes of RAM that the migrator will try to avoid + using. :type min_free_memory_mb: int - :param max_parallelism: The maximum number of work items (e.g. collection - copies) that will be processed in parallel + :param max_parallelism: The maximum number of work items (e.g. collection copies) that will be + processed in parallel. :type max_parallelism: int """ @@ -9868,7 +9811,10 @@ class MongoDbThrottlingSettings(Model): 'max_parallelism': {'key': 'maxParallelism', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MongoDbThrottlingSettings, self).__init__(**kwargs) self.min_free_cpu = kwargs.get('min_free_cpu', None) self.min_free_memory_mb = kwargs.get('min_free_memory_mb', None) @@ -9880,15 +9826,15 @@ class MySqlConnectionInfo(ConnectionInfo): All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str - :param server_name: Required. Name of the server + :param server_name: Required. Name of the server. :type server_name: str - :param port: Required. Port for Server + :param port: Required. Port for Server. :type port: int """ @@ -9899,26 +9845,29 @@ class MySqlConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'server_name': {'key': 'serverName', 'type': 'str'}, 'port': {'key': 'port', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(MySqlConnectionInfo, self).__init__(**kwargs) - self.server_name = kwargs.get('server_name', None) - self.port = kwargs.get('port', None) - self.type = 'MySqlConnectionInfo' + self.type = 'MySqlConnectionInfo' # type: str + self.server_name = kwargs['server_name'] + self.port = kwargs['port'] -class NameAvailabilityRequest(Model): +class NameAvailabilityRequest(msrest.serialization.Model): """A resource type and proposed name. - :param name: The proposed resource name + :param name: The proposed resource name. :type name: str - :param type: The resource type chain (e.g. virtualMachines/extensions) + :param type: The resource type chain (e.g. virtualMachines/extensions). :type type: str """ @@ -9927,24 +9876,25 @@ class NameAvailabilityRequest(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(NameAvailabilityRequest, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.type = kwargs.get('type', None) -class NameAvailabilityResponse(Model): +class NameAvailabilityResponse(msrest.serialization.Model): """Indicates whether a proposed resource name is available. - :param name_available: If true, the name is valid and available. If false, - 'reason' describes why not. + :param name_available: If true, the name is valid and available. If false, 'reason' describes + why not. :type name_available: bool - :param reason: The reason why the name is not available, if nameAvailable - is false. Possible values include: 'AlreadyExists', 'Invalid' - :type reason: str or - ~azure.mgmt.datamigration.models.NameCheckFailureReason - :param message: The localized reason why the name is not available, if - nameAvailable is false + :param reason: The reason why the name is not available, if nameAvailable is false. Possible + values include: "AlreadyExists", "Invalid". + :type reason: str or ~azure.mgmt.datamigration.models.NameCheckFailureReason + :param message: The localized reason why the name is not available, if nameAvailable is false. :type message: str """ @@ -9954,17 +9904,20 @@ class NameAvailabilityResponse(Model): 'message': {'key': 'message', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(NameAvailabilityResponse, self).__init__(**kwargs) self.name_available = kwargs.get('name_available', None) self.reason = kwargs.get('reason', None) self.message = kwargs.get('message', None) -class NonSqlDataMigrationTable(Model): +class NonSqlDataMigrationTable(msrest.serialization.Model): """Defines metadata for table to be migrated. - :param source_name: Source table name + :param source_name: Source table name. :type source_name: str """ @@ -9972,33 +9925,34 @@ class NonSqlDataMigrationTable(Model): 'source_name': {'key': 'sourceName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(NonSqlDataMigrationTable, self).__init__(**kwargs) self.source_name = kwargs.get('source_name', None) -class NonSqlDataMigrationTableResult(Model): +class NonSqlDataMigrationTableResult(msrest.serialization.Model): """Object used to report the data migration results of a table. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar result_code: Result code of the data migration. Possible values - include: 'Initial', 'Completed', 'ObjectNotExistsInSource', - 'ObjectNotExistsInTarget', 'TargetObjectIsInaccessible', 'FatalError' - :vartype result_code: str or - ~azure.mgmt.datamigration.models.DataMigrationResultCode - :ivar source_name: Name of the source table + :ivar result_code: Result code of the data migration. Possible values include: "Initial", + "Completed", "ObjectNotExistsInSource", "ObjectNotExistsInTarget", + "TargetObjectIsInaccessible", "FatalError". + :vartype result_code: str or ~azure.mgmt.datamigration.models.DataMigrationResultCode + :ivar source_name: Name of the source table. :vartype source_name: str - :ivar target_name: Name of the target table + :ivar target_name: Name of the target table. :vartype target_name: str - :ivar source_row_count: Number of rows in the source table + :ivar source_row_count: Number of rows in the source table. :vartype source_row_count: long - :ivar target_row_count: Number of rows in the target table + :ivar target_row_count: Number of rows in the target table. :vartype target_row_count: long - :ivar elapsed_time_in_miliseconds: Time taken to migrate the data + :ivar elapsed_time_in_miliseconds: Time taken to migrate the data. :vartype elapsed_time_in_miliseconds: float - :ivar errors: List of errors, if any, during migration + :ivar errors: List of errors, if any, during migration. :vartype errors: list[~azure.mgmt.datamigration.models.DataMigrationError] """ @@ -10022,7 +9976,10 @@ class NonSqlDataMigrationTableResult(Model): 'errors': {'key': 'errors', 'type': '[DataMigrationError]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(NonSqlDataMigrationTableResult, self).__init__(**kwargs) self.result_code = None self.source_name = None @@ -10033,26 +9990,22 @@ def __init__(self, **kwargs): self.errors = None -class NonSqlMigrationTaskInput(Model): +class NonSqlMigrationTaskInput(msrest.serialization.Model): """Base class for non sql migration task input. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_database_name: Required. Target database name + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_database_name: Required. Target database name. :type target_database_name: str - :param project_name: Required. Name of the migration project + :param project_name: Required. Name of the migration project. :type project_name: str - :param project_location: Required. A URL that points to the drop location - to access project artifacts + :param project_location: Required. A URL that points to the drop location to access project + artifacts. :type project_location: str - :param selected_tables: Required. Metadata of the tables selected for - migration - :type selected_tables: - list[~azure.mgmt.datamigration.models.NonSqlDataMigrationTable] + :param selected_tables: Required. Metadata of the tables selected for migration. + :type selected_tables: list[~azure.mgmt.datamigration.models.NonSqlDataMigrationTable] """ _validation = { @@ -10071,41 +10024,41 @@ class NonSqlMigrationTaskInput(Model): 'selected_tables': {'key': 'selectedTables', 'type': '[NonSqlDataMigrationTable]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(NonSqlMigrationTaskInput, self).__init__(**kwargs) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.target_database_name = kwargs.get('target_database_name', None) - self.project_name = kwargs.get('project_name', None) - self.project_location = kwargs.get('project_location', None) - self.selected_tables = kwargs.get('selected_tables', None) + self.target_connection_info = kwargs['target_connection_info'] + self.target_database_name = kwargs['target_database_name'] + self.project_name = kwargs['project_name'] + self.project_location = kwargs['project_location'] + self.selected_tables = kwargs['selected_tables'] -class NonSqlMigrationTaskOutput(Model): +class NonSqlMigrationTaskOutput(msrest.serialization.Model): """Base class for non sql migration task output. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar status: Current state of migration. Possible values include: - 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', - 'Configured', 'Running', 'Error', 'Stopped', 'Completed', - 'CompletedWithWarnings' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar status: Current state of migration. Possible values include: "Default", "Connecting", + "SourceAndTargetSelected", "SelectLogins", "Configured", "Running", "Error", "Stopped", + "Completed", "CompletedWithWarnings". :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus - :ivar data_migration_table_results: Results of the migration. The key - contains the table name and the value the table result object - :vartype data_migration_table_results: dict[str, - ~azure.mgmt.datamigration.models.NonSqlDataMigrationTableResult] - :ivar progress_message: Message about the progress of the migration + :ivar data_migration_table_results: Results of the migration. The key contains the table name + and the value the table result object. + :vartype data_migration_table_results: str + :ivar progress_message: Message about the progress of the migration. :vartype progress_message: str - :ivar source_server_name: Name of source server + :ivar source_server_name: Name of source server. :vartype source_server_name: str - :ivar target_server_name: Name of target server + :ivar target_server_name: Name of target server. :vartype target_server_name: str """ @@ -10125,13 +10078,16 @@ class NonSqlMigrationTaskOutput(Model): 'started_on': {'key': 'startedOn', 'type': 'iso-8601'}, 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, - 'data_migration_table_results': {'key': 'dataMigrationTableResults', 'type': '{NonSqlDataMigrationTableResult}'}, + 'data_migration_table_results': {'key': 'dataMigrationTableResults', 'type': 'str'}, 'progress_message': {'key': 'progressMessage', 'type': 'str'}, 'source_server_name': {'key': 'sourceServerName', 'type': 'str'}, 'target_server_name': {'key': 'targetServerName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(NonSqlMigrationTaskOutput, self).__init__(**kwargs) self.id = None self.started_on = None @@ -10143,15 +10099,15 @@ def __init__(self, **kwargs): self.target_server_name = None -class ODataError(Model): +class ODataError(msrest.serialization.Model): """Error information in OData format. - :param code: The machine-readable description of the error, such as - 'InvalidRequest' or 'InternalServerError' + :param code: The machine-readable description of the error, such as 'InvalidRequest' or + 'InternalServerError'. :type code: str - :param message: The human-readable description of the error + :param message: The human-readable description of the error. :type message: str - :param details: Inner errors that caused this error + :param details: Inner errors that caused this error. :type details: list[~azure.mgmt.datamigration.models.ODataError] """ @@ -10161,7 +10117,10 @@ class ODataError(Model): 'details': {'key': 'details', 'type': '[ODataError]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ODataError, self).__init__(**kwargs) self.code = kwargs.get('code', None) self.message = kwargs.get('message', None) @@ -10173,12 +10132,12 @@ class OracleConnectionInfo(ConnectionInfo): All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str :param data_source: Required. EZConnect or TNSName connection string. :type data_source: str """ @@ -10189,38 +10148,38 @@ class OracleConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'data_source': {'key': 'dataSource', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(OracleConnectionInfo, self).__init__(**kwargs) - self.data_source = kwargs.get('data_source', None) - self.type = 'OracleConnectionInfo' + self.type = 'OracleConnectionInfo' # type: str + self.data_source = kwargs['data_source'] -class OracleOCIDriverInfo(Model): +class OracleOCIDriverInfo(msrest.serialization.Model): """Information about an Oracle OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar driver_name: The name of the driver package + :ivar driver_name: The name of the driver package. :vartype driver_name: str - :ivar driver_size: The size in bytes of the driver package + :ivar driver_size: The size in bytes of the driver package. :vartype driver_size: str - :ivar archive_checksum: The MD5 Base64 encoded checksum for the driver - package. + :ivar archive_checksum: The MD5 Base64 encoded checksum for the driver package. :vartype archive_checksum: str - :ivar oracle_checksum: The checksum for the driver package provided by - Oracle. + :ivar oracle_checksum: The checksum for the driver package provided by Oracle. :vartype oracle_checksum: str - :ivar assembly_version: Version listed in the OCI assembly 'oci.dll' + :ivar assembly_version: Version listed in the OCI assembly 'oci.dll'. :vartype assembly_version: str - :ivar supported_oracle_versions: List of Oracle database versions - supported by this driver. Only major minor of the version is listed. + :ivar supported_oracle_versions: List of Oracle database versions supported by this driver. + Only major minor of the version is listed. :vartype supported_oracle_versions: list[str] """ @@ -10242,7 +10201,10 @@ class OracleOCIDriverInfo(Model): 'supported_oracle_versions': {'key': 'supportedOracleVersions', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(OracleOCIDriverInfo, self).__init__(**kwargs) self.driver_name = None self.driver_size = None @@ -10252,12 +10214,12 @@ def __init__(self, **kwargs): self.supported_oracle_versions = None -class OrphanedUserInfo(Model): +class OrphanedUserInfo(msrest.serialization.Model): """Information of orphaned users on the SQL server database. - :param name: Name of the orphaned user + :param name: Name of the orphaned user. :type name: str - :param database_name: Parent database of the user + :param database_name: Parent database of the user. :type database_name: str """ @@ -10266,7 +10228,10 @@ class OrphanedUserInfo(Model): 'database_name': {'key': 'databaseName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(OrphanedUserInfo, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.database_name = kwargs.get('database_name', None) @@ -10277,23 +10242,21 @@ class PostgreSqlConnectionInfo(ConnectionInfo): All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str - :param server_name: Required. Name of the server + :param server_name: Required. Name of the server. :type server_name: str - :param database_name: Name of the database + :param database_name: Name of the database. :type database_name: str - :param port: Required. Port for Server + :param port: Required. Port for Server. :type port: int - :param encrypt_connection: Whether to encrypt the connection. Default - value: True . + :param encrypt_connection: Whether to encrypt the connection. :type encrypt_connection: bool :param trust_server_certificate: Whether to trust the server certificate. - Default value: False . :type trust_server_certificate: bool """ @@ -10304,9 +10267,9 @@ class PostgreSqlConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'server_name': {'key': 'serverName', 'type': 'str'}, 'database_name': {'key': 'databaseName', 'type': 'str'}, 'port': {'key': 'port', 'type': 'int'}, @@ -10314,21 +10277,23 @@ class PostgreSqlConnectionInfo(ConnectionInfo): 'trust_server_certificate': {'key': 'trustServerCertificate', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(PostgreSqlConnectionInfo, self).__init__(**kwargs) - self.server_name = kwargs.get('server_name', None) + self.type = 'PostgreSqlConnectionInfo' # type: str + self.server_name = kwargs['server_name'] self.database_name = kwargs.get('database_name', None) - self.port = kwargs.get('port', None) + self.port = kwargs['port'] self.encrypt_connection = kwargs.get('encrypt_connection', True) self.trust_server_certificate = kwargs.get('trust_server_certificate', False) - self.type = 'PostgreSqlConnectionInfo' class Project(TrackedResource): """A project resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -10338,34 +10303,27 @@ class Project(TrackedResource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. Resource location. :type location: str - :param source_platform: Required. Source platform for the project. - Possible values include: 'SQL', 'MySQL', 'PostgreSql', 'MongoDb', - 'Unknown' - :type source_platform: str or - ~azure.mgmt.datamigration.models.ProjectSourcePlatform - :param target_platform: Required. Target platform for the project. - Possible values include: 'SQLDB', 'SQLMI', 'AzureDbForMySql', - 'AzureDbForPostgreSql', 'MongoDb', 'Unknown' - :type target_platform: str or - ~azure.mgmt.datamigration.models.ProjectTargetPlatform - :ivar creation_time: UTC Date and time when project was created - :vartype creation_time: datetime - :param source_connection_info: Information for connecting to source - :type source_connection_info: - ~azure.mgmt.datamigration.models.ConnectionInfo - :param target_connection_info: Information for connecting to target - :type target_connection_info: - ~azure.mgmt.datamigration.models.ConnectionInfo - :param databases_info: List of DatabaseInfo + :param source_platform: Source platform for the project. Possible values include: "SQL", + "MySQL", "PostgreSql", "MongoDb", "Unknown". + :type source_platform: str or ~azure.mgmt.datamigration.models.ProjectSourcePlatform + :param target_platform: Target platform for the project. Possible values include: "SQLDB", + "SQLMI", "AzureDbForMySql", "AzureDbForPostgreSql", "MongoDb", "Unknown". + :type target_platform: str or ~azure.mgmt.datamigration.models.ProjectTargetPlatform + :ivar creation_time: UTC Date and time when project was created. + :vartype creation_time: ~datetime.datetime + :param source_connection_info: Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.ConnectionInfo + :param target_connection_info: Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.ConnectionInfo + :param databases_info: List of DatabaseInfo. :type databases_info: list[~azure.mgmt.datamigration.models.DatabaseInfo] - :ivar provisioning_state: The project's provisioning state. Possible - values include: 'Deleting', 'Succeeded' - :vartype provisioning_state: str or - ~azure.mgmt.datamigration.models.ProjectProvisioningState + :ivar provisioning_state: The project's provisioning state. Possible values include: + "Deleting", "Succeeded". + :vartype provisioning_state: str or ~azure.mgmt.datamigration.models.ProjectProvisioningState """ _validation = { @@ -10373,8 +10331,6 @@ class Project(TrackedResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, - 'source_platform': {'required': True}, - 'target_platform': {'required': True}, 'creation_time': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -10394,7 +10350,10 @@ class Project(TrackedResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Project, self).__init__(**kwargs) self.source_platform = kwargs.get('source_platform', None) self.target_platform = kwargs.get('target_platform', None) @@ -10408,8 +10367,7 @@ def __init__(self, **kwargs): class ProjectFile(Resource): """A file resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Resource ID. :vartype id: str @@ -10419,7 +10377,7 @@ class ProjectFile(Resource): :vartype type: str :param etag: HTTP strong entity tag value. This is ignored if submitted. :type etag: str - :param properties: Custom file properties + :param properties: Custom file properties. :type properties: ~azure.mgmt.datamigration.models.ProjectFileProperties """ @@ -10437,28 +10395,30 @@ class ProjectFile(Resource): 'properties': {'key': 'properties', 'type': 'ProjectFileProperties'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ProjectFile, self).__init__(**kwargs) self.etag = kwargs.get('etag', None) self.properties = kwargs.get('properties', None) -class ProjectFileProperties(Model): +class ProjectFileProperties(msrest.serialization.Model): """Base class for file properties. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :param extension: Optional File extension. If submitted it should not have - a leading period and must match the extension from filePath. + :param extension: Optional File extension. If submitted it should not have a leading period and + must match the extension from filePath. :type extension: str - :param file_path: Relative path of this file resource. This property can - be set when creating or updating the file resource. + :param file_path: Relative path of this file resource. This property can be set when creating + or updating the file resource. :type file_path: str :ivar last_modified: Modification DateTime. - :vartype last_modified: datetime - :param media_type: File content type. This property can be modified to - reflect the file content type. + :vartype last_modified: ~datetime.datetime + :param media_type: File content type. This property can be modified to reflect the file content + type. :type media_type: str :ivar size: File size. :vartype size: long @@ -10477,7 +10437,10 @@ class ProjectFileProperties(Model): 'size': {'key': 'size', 'type': 'long'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ProjectFileProperties, self).__init__(**kwargs) self.extension = kwargs.get('extension', None) self.file_path = kwargs.get('file_path', None) @@ -10486,11 +10449,33 @@ def __init__(self, **kwargs): self.size = None +class ProjectList(msrest.serialization.Model): + """OData page of project resources. + + :param value: List of projects. + :type value: list[~azure.mgmt.datamigration.models.Project] + :param next_link: URL to load the next page of projects. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Project]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProjectList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + class ProjectTask(Resource): """A task resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Resource ID. :vartype id: str @@ -10500,7 +10485,7 @@ class ProjectTask(Resource): :vartype type: str :param etag: HTTP strong entity tag value. This is ignored if submitted. :type etag: str - :param properties: Custom task properties + :param properties: Custom task properties. :type properties: ~azure.mgmt.datamigration.models.ProjectTaskProperties """ @@ -10518,19 +10503,21 @@ class ProjectTask(Resource): 'properties': {'key': 'properties', 'type': 'ProjectTaskProperties'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ProjectTask, self).__init__(**kwargs) self.etag = kwargs.get('etag', None) self.properties = kwargs.get('properties', None) -class QueryAnalysisValidationResult(Model): +class QueryAnalysisValidationResult(msrest.serialization.Model): """Results for query analysis comparison between the source and target. - :param query_results: List of queries executed and it's execution results - in source and target + :param query_results: List of queries executed and it's execution results in source and target. :type query_results: ~azure.mgmt.datamigration.models.QueryExecutionResult - :param validation_errors: Errors that are part of the execution + :param validation_errors: Errors that are part of the execution. :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError """ @@ -10539,22 +10526,25 @@ class QueryAnalysisValidationResult(Model): 'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(QueryAnalysisValidationResult, self).__init__(**kwargs) self.query_results = kwargs.get('query_results', None) self.validation_errors = kwargs.get('validation_errors', None) -class QueryExecutionResult(Model): +class QueryExecutionResult(msrest.serialization.Model): """Describes query analysis results for execution in source and target. - :param query_text: Query text retrieved from the source server + :param query_text: Query text retrieved from the source server. :type query_text: str - :param statements_in_batch: Total no. of statements in the batch + :param statements_in_batch: Total no. of statements in the batch. :type statements_in_batch: long - :param source_result: Query analysis result from the source + :param source_result: Query analysis result from the source. :type source_result: ~azure.mgmt.datamigration.models.ExecutionStatistics - :param target_result: Query analysis result from the target + :param target_result: Query analysis result from the target. :type target_result: ~azure.mgmt.datamigration.models.ExecutionStatistics """ @@ -10565,7 +10555,10 @@ class QueryExecutionResult(Model): 'target_result': {'key': 'targetResult', 'type': 'ExecutionStatistics'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(QueryExecutionResult, self).__init__(**kwargs) self.query_text = kwargs.get('query_text', None) self.statements_in_batch = kwargs.get('statements_in_batch', None) @@ -10573,21 +10566,20 @@ def __init__(self, **kwargs): self.target_result = kwargs.get('target_result', None) -class Quota(Model): +class Quota(msrest.serialization.Model): """Describes a quota for or usage details about a resource. - :param current_value: The current value of the quota. If null or missing, - the current value cannot be determined in the context of the request. + :param current_value: The current value of the quota. If null or missing, the current value + cannot be determined in the context of the request. :type current_value: float - :param id: The resource ID of the quota object + :param id: The resource ID of the quota object. :type id: str - :param limit: The maximum value of the quota. If null or missing, the - quota has no maximum, in which case it merely tracks usage. + :param limit: The maximum value of the quota. If null or missing, the quota has no maximum, in + which case it merely tracks usage. :type limit: float - :param name: The name of the quota + :param name: The name of the quota. :type name: ~azure.mgmt.datamigration.models.QuotaName - :param unit: The unit for the quota, such as Count, Bytes, BytesPerSecond, - etc. + :param unit: The unit for the quota, such as Count, Bytes, BytesPerSecond, etc. :type unit: str """ @@ -10599,7 +10591,10 @@ class Quota(Model): 'unit': {'key': 'unit', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Quota, self).__init__(**kwargs) self.current_value = kwargs.get('current_value', None) self.id = kwargs.get('id', None) @@ -10608,12 +10603,36 @@ def __init__(self, **kwargs): self.unit = kwargs.get('unit', None) -class QuotaName(Model): +class QuotaList(msrest.serialization.Model): + """OData page of quota objects. + + :param value: List of quotas. + :type value: list[~azure.mgmt.datamigration.models.Quota] + :param next_link: URL to load the next page of quotas, or null or missing if this is the last + page. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Quota]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(QuotaList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class QuotaName(msrest.serialization.Model): """The name of the quota. - :param localized_value: The localized name of the quota + :param localized_value: The localized name of the quota. :type localized_value: str - :param value: The unlocalized name (or ID) of the quota + :param value: The unlocalized name (or ID) of the quota. :type value: str """ @@ -10622,27 +10641,29 @@ class QuotaName(Model): 'value': {'key': 'value', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(QuotaName, self).__init__(**kwargs) self.localized_value = kwargs.get('localized_value', None) self.value = kwargs.get('value', None) -class ReportableException(Model): +class ReportableException(msrest.serialization.Model): """Exception object for all custom exceptions. - :param message: Error message + :param message: Error message. :type message: str - :param actionable_message: Actionable steps for this exception + :param actionable_message: Actionable steps for this exception. :type actionable_message: str - :param file_path: The path to the file where exception occurred + :param file_path: The path to the file where exception occurred. :type file_path: str - :param line_number: The line number where exception occurred + :param line_number: The line number where exception occurred. :type line_number: str - :param h_result: Coded numerical value that is assigned to a specific - exception + :param h_result: Coded numerical value that is assigned to a specific exception. :type h_result: int - :param stack_trace: Stack trace + :param stack_trace: Stack trace. :type stack_trace: str """ @@ -10655,7 +10676,10 @@ class ReportableException(Model): 'stack_trace': {'key': 'stackTrace', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ReportableException, self).__init__(**kwargs) self.message = kwargs.get('message', None) self.actionable_message = kwargs.get('actionable_message', None) @@ -10665,11 +10689,10 @@ def __init__(self, **kwargs): self.stack_trace = kwargs.get('stack_trace', None) -class ResourceSku(Model): +class ResourceSku(msrest.serialization.Model): """Describes an available DMS SKU. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar resource_type: The type of resource the SKU applies to. :vartype resource_type: str @@ -10692,12 +10715,10 @@ class ResourceSku(Model): :ivar costs: Metadata for retrieving price info. :vartype costs: list[~azure.mgmt.datamigration.models.ResourceSkuCosts] :ivar capabilities: A name value pair to describe the capability. - :vartype capabilities: - list[~azure.mgmt.datamigration.models.ResourceSkuCapabilities] - :ivar restrictions: The restrictions because of which SKU cannot be used. - This is empty if there are no restrictions. - :vartype restrictions: - list[~azure.mgmt.datamigration.models.ResourceSkuRestrictions] + :vartype capabilities: list[~azure.mgmt.datamigration.models.ResourceSkuCapabilities] + :ivar restrictions: The restrictions because of which SKU cannot be used. This is empty if + there are no restrictions. + :vartype restrictions: list[~azure.mgmt.datamigration.models.ResourceSkuRestrictions] """ _validation = { @@ -10730,7 +10751,10 @@ class ResourceSku(Model): 'restrictions': {'key': 'restrictions', 'type': '[ResourceSkuRestrictions]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ResourceSku, self).__init__(**kwargs) self.resource_type = None self.name = None @@ -10746,11 +10770,10 @@ def __init__(self, **kwargs): self.restrictions = None -class ResourceSkuCapabilities(Model): +class ResourceSkuCapabilities(msrest.serialization.Model): """Describes The SKU capabilities object. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar name: An invariant to describe the feature. :vartype name: str @@ -10768,17 +10791,19 @@ class ResourceSkuCapabilities(Model): 'value': {'key': 'value', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ResourceSkuCapabilities, self).__init__(**kwargs) self.name = None self.value = None -class ResourceSkuCapacity(Model): +class ResourceSkuCapacity(msrest.serialization.Model): """Describes scaling information of a SKU. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar minimum: The minimum capacity. :vartype minimum: long @@ -10786,10 +10811,9 @@ class ResourceSkuCapacity(Model): :vartype maximum: long :ivar default: The default capacity. :vartype default: long - :ivar scale_type: The scale type applicable to the SKU. Possible values - include: 'Automatic', 'Manual', 'None' - :vartype scale_type: str or - ~azure.mgmt.datamigration.models.ResourceSkuCapacityScaleType + :ivar scale_type: The scale type applicable to the SKU. Possible values include: "Automatic", + "Manual", "None". + :vartype scale_type: str or ~azure.mgmt.datamigration.models.ResourceSkuCapacityScaleType """ _validation = { @@ -10806,7 +10830,10 @@ class ResourceSkuCapacity(Model): 'scale_type': {'key': 'scaleType', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ResourceSkuCapacity, self).__init__(**kwargs) self.minimum = None self.maximum = None @@ -10814,11 +10841,10 @@ def __init__(self, **kwargs): self.scale_type = None -class ResourceSkuCosts(Model): +class ResourceSkuCosts(msrest.serialization.Model): """Describes metadata for retrieving price info. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar meter_id: Used for querying price from commerce. :vartype meter_id: str @@ -10840,29 +10866,29 @@ class ResourceSkuCosts(Model): 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ResourceSkuCosts, self).__init__(**kwargs) self.meter_id = None self.quantity = None self.extended_unit = None -class ResourceSkuRestrictions(Model): +class ResourceSkuRestrictions(msrest.serialization.Model): """Describes scaling information of a SKU. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar type: The type of restrictions. Possible values include: 'location' - :vartype type: str or - ~azure.mgmt.datamigration.models.ResourceSkuRestrictionsType - :ivar values: The value of restrictions. If the restriction type is set to - location. This would be different locations where the SKU is restricted. + :ivar type: The type of restrictions. Possible values include: "location". + :vartype type: str or ~azure.mgmt.datamigration.models.ResourceSkuRestrictionsType + :ivar values: The value of restrictions. If the restriction type is set to location. This would + be different locations where the SKU is restricted. :vartype values: list[str] - :ivar reason_code: The reason code for restriction. Possible values - include: 'QuotaId', 'NotAvailableForSubscription' - :vartype reason_code: str or - ~azure.mgmt.datamigration.models.ResourceSkuRestrictionsReasonCode + :ivar reason_code: The reason code for restriction. Possible values include: "QuotaId", + "NotAvailableForSubscription". + :vartype reason_code: str or ~azure.mgmt.datamigration.models.ResourceSkuRestrictionsReasonCode """ _validation = { @@ -10877,26 +10903,57 @@ class ResourceSkuRestrictions(Model): 'reason_code': {'key': 'reasonCode', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ResourceSkuRestrictions, self).__init__(**kwargs) self.type = None self.values = None self.reason_code = None -class SchemaComparisonValidationResult(Model): +class ResourceSkusResult(msrest.serialization.Model): + """The DMS List SKUs operation response. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The list of SKUs available for the subscription. + :type value: list[~azure.mgmt.datamigration.models.ResourceSku] + :param next_link: The uri to fetch the next page of DMS SKUs. Call ListNext() with this to + fetch the next page of DMS SKUs. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkusResult, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = kwargs.get('next_link', None) + + +class SchemaComparisonValidationResult(msrest.serialization.Model): """Results for schema comparison between the source and target. - :param schema_differences: List of schema differences between the source - and target databases - :type schema_differences: - ~azure.mgmt.datamigration.models.SchemaComparisonValidationResultType - :param validation_errors: List of errors that happened while performing - schema compare validation + :param schema_differences: List of schema differences between the source and target databases. + :type schema_differences: ~azure.mgmt.datamigration.models.SchemaComparisonValidationResultType + :param validation_errors: List of errors that happened while performing schema compare + validation. :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError - :param source_database_object_count: Count of source database objects + :param source_database_object_count: Count of source database objects. :type source_database_object_count: dict[str, long] - :param target_database_object_count: Count of target database objects + :param target_database_object_count: Count of target database objects. :type target_database_object_count: dict[str, long] """ @@ -10907,7 +10964,10 @@ class SchemaComparisonValidationResult(Model): 'target_database_object_count': {'key': 'targetDatabaseObjectCount', 'type': '{long}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SchemaComparisonValidationResult, self).__init__(**kwargs) self.schema_differences = kwargs.get('schema_differences', None) self.validation_errors = kwargs.get('validation_errors', None) @@ -10915,19 +10975,18 @@ def __init__(self, **kwargs): self.target_database_object_count = kwargs.get('target_database_object_count', None) -class SchemaComparisonValidationResultType(Model): +class SchemaComparisonValidationResultType(msrest.serialization.Model): """Description about the errors happen while performing migration validation. - :param object_name: Name of the object that has the difference + :param object_name: Name of the object that has the difference. :type object_name: str :param object_type: Type of the object that has the difference. e.g - (Table/View/StoredProcedure). Possible values include: 'StoredProcedures', - 'Table', 'User', 'View', 'Function' + (Table/View/StoredProcedure). Possible values include: "StoredProcedures", "Table", "User", + "View", "Function". :type object_type: str or ~azure.mgmt.datamigration.models.ObjectType - :param update_action: Update action type with respect to target. Possible - values include: 'DeletedOnTarget', 'ChangedOnTarget', 'AddedOnTarget' - :type update_action: str or - ~azure.mgmt.datamigration.models.UpdateActionType + :param update_action: Update action type with respect to target. Possible values include: + "DeletedOnTarget", "ChangedOnTarget", "AddedOnTarget". + :type update_action: str or ~azure.mgmt.datamigration.models.UpdateActionType """ _attribute_map = { @@ -10936,22 +10995,23 @@ class SchemaComparisonValidationResultType(Model): 'update_action': {'key': 'updateAction', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SchemaComparisonValidationResultType, self).__init__(**kwargs) self.object_name = kwargs.get('object_name', None) self.object_type = kwargs.get('object_type', None) self.update_action = kwargs.get('update_action', None) -class SchemaMigrationSetting(Model): +class SchemaMigrationSetting(msrest.serialization.Model): """Settings for migrating schema from source to target. - :param schema_option: Option on how to migrate the schema. Possible values - include: 'None', 'ExtractFromSource', 'UseStorageFile' - :type schema_option: str or - ~azure.mgmt.datamigration.models.SchemaMigrationOption - :param file_id: Resource Identifier of a file resource containing the - uploaded schema file + :param schema_option: Option on how to migrate the schema. Possible values include: "None", + "ExtractFromSource", "UseStorageFile". + :type schema_option: str or ~azure.mgmt.datamigration.models.SchemaMigrationOption + :param file_id: Resource Identifier of a file resource containing the uploaded schema file. :type file_id: str """ @@ -10960,21 +11020,23 @@ class SchemaMigrationSetting(Model): 'file_id': {'key': 'fileId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SchemaMigrationSetting, self).__init__(**kwargs) self.schema_option = kwargs.get('schema_option', None) self.file_id = kwargs.get('file_id', None) -class SelectedCertificateInput(Model): +class SelectedCertificateInput(msrest.serialization.Model): """Info for certificate to be exported for TDE enabled databases. All required parameters must be populated in order to send to Azure. :param certificate_name: Required. Name of certificate to be exported. :type certificate_name: str - :param password: Required. Password to use for encrypting the exported - certificate. + :param password: Required. Password to use for encrypting the exported certificate. :type password: str """ @@ -10988,29 +11050,31 @@ class SelectedCertificateInput(Model): 'password': {'key': 'password', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SelectedCertificateInput, self).__init__(**kwargs) - self.certificate_name = kwargs.get('certificate_name', None) - self.password = kwargs.get('password', None) + self.certificate_name = kwargs['certificate_name'] + self.password = kwargs['password'] -class ServerProperties(Model): +class ServerProperties(msrest.serialization.Model): """Server properties for MySQL type source. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar server_platform: Name of the server platform + :ivar server_platform: Name of the server platform. :vartype server_platform: str - :ivar server_name: Name of the server + :ivar server_name: Name of the server. :vartype server_name: str - :ivar server_version: Version of the database server + :ivar server_version: Version of the database server. :vartype server_version: str - :ivar server_edition: Edition of the database server + :ivar server_edition: Edition of the database server. :vartype server_edition: str - :ivar server_operating_system_version: Version of the operating system + :ivar server_operating_system_version: Version of the operating system. :vartype server_operating_system_version: str - :ivar server_database_count: Number of databases in the server + :ivar server_database_count: Number of databases in the server. :vartype server_database_count: int """ @@ -11032,7 +11096,10 @@ class ServerProperties(Model): 'server_database_count': {'key': 'serverDatabaseCount', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ServerProperties, self).__init__(**kwargs) self.server_platform = None self.server_name = None @@ -11042,13 +11109,12 @@ def __init__(self, **kwargs): self.server_database_count = None -class ServiceOperation(Model): +class ServiceOperation(msrest.serialization.Model): """Description of an action supported by the Database Migration Service. - :param name: The fully qualified action name, e.g. - Microsoft.DataMigration/services/read + :param name: The fully qualified action name, e.g. Microsoft.DataMigration/services/read. :type name: str - :param display: Localized display text + :param display: Localized display text. :type display: ~azure.mgmt.datamigration.models.ServiceOperationDisplay """ @@ -11057,22 +11123,25 @@ class ServiceOperation(Model): 'display': {'key': 'display', 'type': 'ServiceOperationDisplay'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ServiceOperation, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.display = kwargs.get('display', None) -class ServiceOperationDisplay(Model): +class ServiceOperationDisplay(msrest.serialization.Model): """Localized display text. - :param provider: The localized resource provider name + :param provider: The localized resource provider name. :type provider: str - :param resource: The localized resource type name + :param resource: The localized resource type name. :type resource: str - :param operation: The localized operation name + :param operation: The localized operation name. :type operation: str - :param description: The localized operation description + :param description: The localized operation description. :type description: str """ @@ -11083,7 +11152,10 @@ class ServiceOperationDisplay(Model): 'description': {'key': 'description', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ServiceOperationDisplay, self).__init__(**kwargs) self.provider = kwargs.get('provider', None) self.resource = kwargs.get('resource', None) @@ -11091,23 +11163,43 @@ def __init__(self, **kwargs): self.description = kwargs.get('description', None) -class ServiceSku(Model): +class ServiceOperationList(msrest.serialization.Model): + """OData page of action (operation) objects. + + :param value: List of actions. + :type value: list[~azure.mgmt.datamigration.models.ServiceOperation] + :param next_link: URL to load the next page of actions. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ServiceOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceOperationList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ServiceSku(msrest.serialization.Model): """An Azure SKU instance. - :param name: The unique name of the SKU, such as 'P3' + :param name: The unique name of the SKU, such as 'P3'. :type name: str - :param tier: The tier of the SKU, such as 'Basic', 'General Purpose', or - 'Business Critical' + :param tier: The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'. :type tier: str - :param family: The SKU family, used when the service has multiple - performance classes within a tier, such as 'A', 'D', etc. for virtual - machines + :param family: The SKU family, used when the service has multiple performance classes within a + tier, such as 'A', 'D', etc. for virtual machines. :type family: str - :param size: The size of the SKU, used when the name alone does not denote - a service size or when a SKU has multiple performance classes within a - family, e.g. 'A1' for virtual machines + :param size: The size of the SKU, used when the name alone does not denote a service size or + when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines. :type size: str - :param capacity: The capacity of the SKU, if it supports scaling + :param capacity: The capacity of the SKU, if it supports scaling. :type capacity: int """ @@ -11119,7 +11211,10 @@ class ServiceSku(Model): 'capacity': {'key': 'capacity', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ServiceSku, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.tier = kwargs.get('tier', None) @@ -11128,35 +11223,54 @@ def __init__(self, **kwargs): self.capacity = kwargs.get('capacity', None) +class ServiceSkuList(msrest.serialization.Model): + """OData page of available SKUs. + + :param value: List of service SKUs. + :type value: list[~azure.mgmt.datamigration.models.AvailableServiceSku] + :param next_link: URL to load the next page of service SKUs. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailableServiceSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceSkuList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + class SqlConnectionInfo(ConnectionInfo): """Information for connecting to SQL database server. All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str :param data_source: Required. Data source in the format - Protocol:MachineName\\SQLServerInstanceName,PortNumber + Protocol:MachineName\SQLServerInstanceName,PortNumber. :type data_source: str - :param authentication: Authentication type to use for connection. Possible - values include: 'None', 'WindowsAuthentication', 'SqlAuthentication', - 'ActiveDirectoryIntegrated', 'ActiveDirectoryPassword' - :type authentication: str or - ~azure.mgmt.datamigration.models.AuthenticationType - :param encrypt_connection: Whether to encrypt the connection. Default - value: True . + :param authentication: Authentication type to use for connection. Possible values include: + "None", "WindowsAuthentication", "SqlAuthentication", "ActiveDirectoryIntegrated", + "ActiveDirectoryPassword". + :type authentication: str or ~azure.mgmt.datamigration.models.AuthenticationType + :param encrypt_connection: Whether to encrypt the connection. :type encrypt_connection: bool - :param additional_settings: Additional connection settings + :param additional_settings: Additional connection settings. :type additional_settings: str :param trust_server_certificate: Whether to trust the server certificate. - Default value: False . :type trust_server_certificate: bool - :param platform: Server platform type for connection. Possible values - include: 'SqlOnPrem' + :param platform: Server platform type for connection. Possible values include: "SqlOnPrem". :type platform: str or ~azure.mgmt.datamigration.models.SqlSourcePlatform """ @@ -11166,9 +11280,9 @@ class SqlConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'data_source': {'key': 'dataSource', 'type': 'str'}, 'authentication': {'key': 'authentication', 'type': 'str'}, 'encrypt_connection': {'key': 'encryptConnection', 'type': 'bool'}, @@ -11177,30 +11291,32 @@ class SqlConnectionInfo(ConnectionInfo): 'platform': {'key': 'platform', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SqlConnectionInfo, self).__init__(**kwargs) - self.data_source = kwargs.get('data_source', None) + self.type = 'SqlConnectionInfo' # type: str + self.data_source = kwargs['data_source'] self.authentication = kwargs.get('authentication', None) self.encrypt_connection = kwargs.get('encrypt_connection', True) self.additional_settings = kwargs.get('additional_settings', None) self.trust_server_certificate = kwargs.get('trust_server_certificate', False) self.platform = kwargs.get('platform', None) - self.type = 'SqlConnectionInfo' -class SsisMigrationInfo(Model): +class SsisMigrationInfo(msrest.serialization.Model): """SSIS migration info with SSIS store type, overwrite policy. - :param ssis_store_type: The SSIS store type of source, only SSIS catalog - is supported now in DMS. Possible values include: 'SsisCatalog' - :type ssis_store_type: str or - ~azure.mgmt.datamigration.models.SsisStoreType - :param project_overwrite_option: The overwrite option for the SSIS project - migration. Possible values include: 'Ignore', 'Overwrite' + :param ssis_store_type: The SSIS store type of source, only SSIS catalog is supported now in + DMS. Possible values include: "SsisCatalog". + :type ssis_store_type: str or ~azure.mgmt.datamigration.models.SsisStoreType + :param project_overwrite_option: The overwrite option for the SSIS project migration. Possible + values include: "Ignore", "Overwrite". :type project_overwrite_option: str or ~azure.mgmt.datamigration.models.SsisMigrationOverwriteOption - :param environment_overwrite_option: The overwrite option for the SSIS - environment migration. Possible values include: 'Ignore', 'Overwrite' + :param environment_overwrite_option: The overwrite option for the SSIS environment migration. + Possible values include: "Ignore", "Overwrite". :type environment_overwrite_option: str or ~azure.mgmt.datamigration.models.SsisMigrationOverwriteOption """ @@ -11211,27 +11327,28 @@ class SsisMigrationInfo(Model): 'environment_overwrite_option': {'key': 'environmentOverwriteOption', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SsisMigrationInfo, self).__init__(**kwargs) self.ssis_store_type = kwargs.get('ssis_store_type', None) self.project_overwrite_option = kwargs.get('project_overwrite_option', None) self.environment_overwrite_option = kwargs.get('environment_overwrite_option', None) -class StartMigrationScenarioServerRoleResult(Model): +class StartMigrationScenarioServerRoleResult(msrest.serialization.Model): """Server role migration result. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar name: Name of server role. :vartype name: str - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11246,18 +11363,20 @@ class StartMigrationScenarioServerRoleResult(Model): 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(StartMigrationScenarioServerRoleResult, self).__init__(**kwargs) self.name = None self.state = None self.exceptions_and_warnings = None -class SyncMigrationDatabaseErrorEvent(Model): +class SyncMigrationDatabaseErrorEvent(msrest.serialization.Model): """Database migration errors for online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar timestamp_string: String value of timestamp. :vartype timestamp_string: str @@ -11279,14 +11398,40 @@ class SyncMigrationDatabaseErrorEvent(Model): 'event_text': {'key': 'eventText', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SyncMigrationDatabaseErrorEvent, self).__init__(**kwargs) self.timestamp_string = None self.event_type_string = None self.event_text = None -class UploadOCIDriverTaskInput(Model): +class TaskList(msrest.serialization.Model): + """OData page of tasks. + + :param value: List of tasks. + :type value: list[~azure.mgmt.datamigration.models.ProjectTask] + :param next_link: URL to load the next page of tasks. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ProjectTask]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TaskList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class UploadOCIDriverTaskInput(msrest.serialization.Model): """Input for the service task to upload an OCI driver. :param driver_share: File share information for the OCI driver archive. @@ -11297,23 +11442,23 @@ class UploadOCIDriverTaskInput(Model): 'driver_share': {'key': 'driverShare', 'type': 'FileShare'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(UploadOCIDriverTaskInput, self).__init__(**kwargs) self.driver_share = kwargs.get('driver_share', None) -class UploadOCIDriverTaskOutput(Model): +class UploadOCIDriverTaskOutput(msrest.serialization.Model): """Output for the service task to upload an OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar driver_package_name: The name of the driver package that was - validated and uploaded. + :ivar driver_package_name: The name of the driver package that was validated and uploaded. :vartype driver_package_name: str - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11326,7 +11471,10 @@ class UploadOCIDriverTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(UploadOCIDriverTaskOutput, self).__init__(**kwargs) self.driver_package_name = None self.validation_errors = None @@ -11335,139 +11483,130 @@ def __init__(self, **kwargs): class UploadOCIDriverTaskProperties(ProjectTaskProperties): """Properties for the task that uploads an OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Input for the service task to upload an OCI driver. :type input: ~azure.mgmt.datamigration.models.UploadOCIDriverTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.UploadOCIDriverTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.UploadOCIDriverTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'UploadOCIDriverTaskInput'}, 'output': {'key': 'output', 'type': '[UploadOCIDriverTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(UploadOCIDriverTaskProperties, self).__init__(**kwargs) + self.task_type = 'Service.Upload.OCI' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Service.Upload.OCI' class ValidateMigrationInputSqlServerSqlDbSyncTaskProperties(ProjectTaskProperties): - """Properties for task that validates migration input for SQL to Azure SQL DB - sync migrations. + """Properties for task that validates migration input for SQL to Azure SQL DB sync migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ValidateSyncMigrationInputSqlServerTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ValidateSyncMigrationInputSqlServerTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ValidateSyncMigrationInputSqlServerTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateSyncMigrationInputSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ValidateSyncMigrationInputSqlServerTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ValidateMigrationInput.SqlServer.SqlDb.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ValidateMigrationInput.SqlServer.SqlDb.Sync' class ValidateMigrationInputSqlServerSqlMISyncTaskInput(SqlServerSqlMISyncTaskInput): - """Input for task that migrates SQL Server databases to Azure SQL Database - Managed Instance online scenario. + """Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param storage_resource_id: Required. Fully qualified resourceId of - storage + :param storage_resource_id: Required. Fully qualified resourceId of storage. :type storage_resource_id: str - :param source_connection_info: Required. Connection information for source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for Azure - SQL Database Managed Instance - :type target_connection_info: - ~azure.mgmt.datamigration.models.MiSqlConnectionInfo - :param azure_app: Required. Azure Active Directory Application the DMS - instance will use to connect to the target instance of Azure SQL Database - Managed Instance and the Azure Storage Account + :param source_connection_info: Required. Connection information for source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for Azure SQL Database Managed + Instance. + :type target_connection_info: ~azure.mgmt.datamigration.models.MiSqlConnectionInfo + :param azure_app: Required. Azure Active Directory Application the DMS instance will use to + connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage + Account. :type azure_app: ~azure.mgmt.datamigration.models.AzureActiveDirectoryApp """ @@ -11488,24 +11627,24 @@ class ValidateMigrationInputSqlServerSqlMISyncTaskInput(SqlServerSqlMISyncTaskIn 'azure_app': {'key': 'azureApp', 'type': 'AzureActiveDirectoryApp'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMISyncTaskInput, self).__init__(**kwargs) -class ValidateMigrationInputSqlServerSqlMISyncTaskOutput(Model): - """Output for task that validates migration input for Azure SQL Database - Managed Instance online migration. +class ValidateMigrationInputSqlServerSqlMISyncTaskOutput(msrest.serialization.Model): + """Output for task that validates migration input for Azure SQL Database Managed Instance online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Database identifier + :ivar id: Database identifier. :vartype id: str - :ivar name: Name of database + :ivar name: Name of database. :vartype name: str - :ivar validation_errors: Errors associated with a selected database object - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Errors associated with a selected database object. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11520,7 +11659,10 @@ class ValidateMigrationInputSqlServerSqlMISyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMISyncTaskOutput, self).__init__(**kwargs) self.id = None self.name = None @@ -11528,89 +11670,80 @@ def __init__(self, **kwargs): class ValidateMigrationInputSqlServerSqlMISyncTaskProperties(ProjectTaskProperties): - """Properties for task that validates migration input for SQL to Azure SQL - Database Managed Instance sync scenario. + """Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance sync scenario. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMISyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMISyncTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMISyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateMigrationInputSqlServerSqlMISyncTaskInput'}, 'output': {'key': 'output', 'type': '[ValidateMigrationInputSqlServerSqlMISyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMISyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS' -class ValidateMigrationInputSqlServerSqlMITaskInput(Model): - """Input for task that validates migration input for SQL to Azure SQL Managed - Instance. +class ValidateMigrationInputSqlServerSqlMITaskInput(msrest.serialization.Model): + """Input for task that validates migration input for SQL to Azure SQL Managed Instance. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] - :param selected_logins: Logins to migrate + :param selected_logins: Logins to migrate. :type selected_logins: list[str] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param backup_blob_share: Required. SAS URI of Azure Storage Account - Container to be used for storing backup files. + :param backup_blob_share: Required. SAS URI of Azure Storage Account Container to be used for + storing backup files. :type backup_blob_share: ~azure.mgmt.datamigration.models.BlobShare - :param backup_mode: Backup Mode to specify whether to use existing backup - or create new backup. Possible values include: 'CreateBackup', - 'ExistingBackup' + :param backup_mode: Backup Mode to specify whether to use existing backup or create new backup. + Possible values include: "CreateBackup", "ExistingBackup". :type backup_mode: str or ~azure.mgmt.datamigration.models.BackupMode """ @@ -11631,51 +11764,45 @@ class ValidateMigrationInputSqlServerSqlMITaskInput(Model): 'backup_mode': {'key': 'backupMode', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMITaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.selected_databases = kwargs.get('selected_databases', None) + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] + self.selected_databases = kwargs['selected_databases'] self.selected_logins = kwargs.get('selected_logins', None) self.backup_file_share = kwargs.get('backup_file_share', None) - self.backup_blob_share = kwargs.get('backup_blob_share', None) + self.backup_blob_share = kwargs['backup_blob_share'] self.backup_mode = kwargs.get('backup_mode', None) -class ValidateMigrationInputSqlServerSqlMITaskOutput(Model): - """Output for task that validates migration input for SQL to Azure SQL Managed - Instance migrations. +class ValidateMigrationInputSqlServerSqlMITaskOutput(msrest.serialization.Model): + """Output for task that validates migration input for SQL to Azure SQL Managed Instance migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar name: Name of database + :ivar name: Name of database. :vartype name: str - :ivar restore_database_name_errors: Errors associated with the - RestoreDatabaseName + :ivar restore_database_name_errors: Errors associated with the RestoreDatabaseName. :vartype restore_database_name_errors: list[~azure.mgmt.datamigration.models.ReportableException] - :ivar backup_folder_errors: Errors associated with the BackupFolder path - :vartype backup_folder_errors: - list[~azure.mgmt.datamigration.models.ReportableException] - :ivar backup_share_credentials_errors: Errors associated with backup share - user name and password credentials + :ivar backup_folder_errors: Errors associated with the BackupFolder path. + :vartype backup_folder_errors: list[~azure.mgmt.datamigration.models.ReportableException] + :ivar backup_share_credentials_errors: Errors associated with backup share user name and + password credentials. :vartype backup_share_credentials_errors: list[~azure.mgmt.datamigration.models.ReportableException] - :ivar backup_storage_account_errors: Errors associated with the storage - account provided. + :ivar backup_storage_account_errors: Errors associated with the storage account provided. :vartype backup_storage_account_errors: list[~azure.mgmt.datamigration.models.ReportableException] - :ivar existing_backup_errors: Errors associated with existing backup - files. - :vartype existing_backup_errors: - list[~azure.mgmt.datamigration.models.ReportableException] - :param database_backup_info: Information about backup files when existing - backup mode is used. - :type database_backup_info: - ~azure.mgmt.datamigration.models.DatabaseBackupInfo + :ivar existing_backup_errors: Errors associated with existing backup files. + :vartype existing_backup_errors: list[~azure.mgmt.datamigration.models.ReportableException] + :param database_backup_info: Information about backup files when existing backup mode is used. + :type database_backup_info: ~azure.mgmt.datamigration.models.DatabaseBackupInfo """ _validation = { @@ -11699,7 +11826,10 @@ class ValidateMigrationInputSqlServerSqlMITaskOutput(Model): 'database_backup_info': {'key': 'databaseBackupInfo', 'type': 'DatabaseBackupInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMITaskOutput, self).__init__(**kwargs) self.id = None self.name = None @@ -11712,183 +11842,174 @@ def __init__(self, **kwargs): class ValidateMigrationInputSqlServerSqlMITaskProperties(ProjectTaskProperties): - """Properties for task that validates migration input for SQL to Azure SQL - Database Managed Instance. + """Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateMigrationInputSqlServerSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[ValidateMigrationInputSqlServerSqlMITaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMITaskProperties, self).__init__(**kwargs) + self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI' class ValidateMongoDbTaskProperties(ProjectTaskProperties): - """Properties for the task that validates a migration between MongoDB data - sources. + """Properties for the task that validates a migration between MongoDB data sources. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Describes how a MongoDB data migration should be performed. :type input: ~azure.mgmt.datamigration.models.MongoDbMigrationSettings - :ivar output: An array containing a single MongoDbMigrationProgress object - :vartype output: - list[~azure.mgmt.datamigration.models.MongoDbMigrationProgress] + :ivar output: An array containing a single MongoDbMigrationProgress object. + :vartype output: list[~azure.mgmt.datamigration.models.MongoDbMigrationProgress] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbMigrationSettings'}, 'output': {'key': 'output', 'type': '[MongoDbMigrationProgress]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateMongoDbTaskProperties, self).__init__(**kwargs) + self.task_type = 'Validate.MongoDb' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Validate.MongoDb' class ValidateOracleAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates a migration for Oracle to Azure - Database for PostgreSQL for online migrations. + """Properties for the task that validates a migration for Oracle to Azure Database for PostgreSQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: - :type input: - ~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskInput - :ivar output: An array containing a single validation error response - object + :param input: Input for the task that migrates Oracle databases to Azure Database for + PostgreSQL for online migrations. + :type input: ~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskInput + :ivar output: An array containing a single validation error response object. :vartype output: list[~azure.mgmt.datamigration.models.ValidateOracleAzureDbPostgreSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateOracleAzureDbPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ValidateOracleAzureDbPostgreSqlSyncTaskOutput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateOracleAzureDbForPostgreSqlSyncTaskProperties, self).__init__(**kwargs) + self.task_type = 'Validate.Oracle.AzureDbPostgreSql.Sync' # type: str self.input = kwargs.get('input', None) self.output = None - self.task_type = 'Validate.Oracle.AzureDbPostgreSql.Sync' -class ValidateOracleAzureDbPostgreSqlSyncTaskOutput(Model): - """Output for task that validates migration input for Oracle to Azure Database - for PostgreSQL for online migrations. +class ValidateOracleAzureDbPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for task that validates migration input for Oracle to Azure Database for PostgreSQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar validation_errors: Errors associated with a selected database object - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Errors associated with a selected database object. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11899,25 +12020,24 @@ class ValidateOracleAzureDbPostgreSqlSyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateOracleAzureDbPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.validation_errors = None -class ValidateSyncMigrationInputSqlServerTaskInput(Model): +class ValidateSyncMigrationInputSqlServerTaskInput(msrest.serialization.Model): """Input for task that validates migration input for SQL sync migrations. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source SQL server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source SQL server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncDatabaseInput] """ @@ -11934,26 +12054,27 @@ class ValidateSyncMigrationInputSqlServerTaskInput(Model): 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateSqlServerSqlDbSyncDatabaseInput]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateSyncMigrationInputSqlServerTaskInput, self).__init__(**kwargs) - self.source_connection_info = kwargs.get('source_connection_info', None) - self.target_connection_info = kwargs.get('target_connection_info', None) - self.selected_databases = kwargs.get('selected_databases', None) + self.source_connection_info = kwargs['source_connection_info'] + self.target_connection_info = kwargs['target_connection_info'] + self.selected_databases = kwargs['selected_databases'] -class ValidateSyncMigrationInputSqlServerTaskOutput(Model): +class ValidateSyncMigrationInputSqlServerTaskOutput(msrest.serialization.Model): """Output for task that validates migration input for SQL sync migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Database identifier + :ivar id: Database identifier. :vartype id: str - :ivar name: Name of database + :ivar name: Name of database. :vartype name: str - :ivar validation_errors: Errors associated with a selected database object - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Errors associated with a selected database object. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11968,20 +12089,22 @@ class ValidateSyncMigrationInputSqlServerTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidateSyncMigrationInputSqlServerTaskOutput, self).__init__(**kwargs) self.id = None self.name = None self.validation_errors = None -class ValidationError(Model): +class ValidationError(msrest.serialization.Model): """Description about the errors happen while performing migration validation. - :param text: Error Text + :param text: Error Text. :type text: str - :param severity: Severity of the error. Possible values include: - 'Message', 'Warning', 'Error' + :param severity: Severity of the error. Possible values include: "Message", "Warning", "Error". :type severity: str or ~azure.mgmt.datamigration.models.Severity """ @@ -11990,21 +12113,23 @@ class ValidationError(Model): 'severity': {'key': 'severity', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ValidationError, self).__init__(**kwargs) self.text = kwargs.get('text', None) self.severity = kwargs.get('severity', None) -class WaitStatistics(Model): +class WaitStatistics(msrest.serialization.Model): """Wait statistics gathered during query batch execution. - :param wait_type: Type of the Wait + :param wait_type: Type of the Wait. :type wait_type: str - :param wait_time_ms: Total wait time in millisecond(s) . Default value: 0 - . + :param wait_time_ms: Total wait time in millisecond(s). :type wait_time_ms: float - :param wait_count: Total no. of waits + :param wait_count: Total no. of waits. :type wait_count: long """ @@ -12014,7 +12139,10 @@ class WaitStatistics(Model): 'wait_count': {'key': 'waitCount', 'type': 'long'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(WaitStatistics, self).__init__(**kwargs) self.wait_type = kwargs.get('wait_type', None) self.wait_time_ms = kwargs.get('wait_time_ms', 0) diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_models_py3.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_models_py3.py index db33173c586..224285a03b1 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_models_py3.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_models_py3.py @@ -1,22 +1,24 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError +import datetime +from typing import Dict, List, Optional, Union +from azure.core.exceptions import HttpResponseError +import msrest.serialization -class ApiError(Model): +from ._data_migration_management_client_enums import * + + +class ApiError(msrest.serialization.Model): """Error information. - :param error: Error information in OData format + :param error: Error information in OData format. :type error: ~azure.mgmt.datamigration.models.ODataError """ @@ -24,33 +26,25 @@ class ApiError(Model): 'error': {'key': 'error', 'type': 'ODataError'}, } - def __init__(self, *, error=None, **kwargs) -> None: + def __init__( + self, + *, + error: Optional["ODataError"] = None, + **kwargs + ): super(ApiError, self).__init__(**kwargs) self.error = error -class ApiErrorException(HttpOperationError): - """Server responsed with exception of type: 'ApiError'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): - - super(ApiErrorException, self).__init__(deserialize, response, 'ApiError', *args) - - -class AvailableServiceSku(Model): +class AvailableServiceSku(msrest.serialization.Model): """Describes the available service SKU. - :param resource_type: The resource type, including the provider namespace + :param resource_type: The resource type, including the provider namespace. :type resource_type: str :param sku: SKU name, tier, etc. :type sku: ~azure.mgmt.datamigration.models.AvailableServiceSkuSku - :param capacity: A description of the scaling capacities of the SKU - :type capacity: - ~azure.mgmt.datamigration.models.AvailableServiceSkuCapacity + :param capacity: A description of the scaling capacities of the SKU. + :type capacity: ~azure.mgmt.datamigration.models.AvailableServiceSkuCapacity """ _attribute_map = { @@ -59,26 +53,32 @@ class AvailableServiceSku(Model): 'capacity': {'key': 'capacity', 'type': 'AvailableServiceSkuCapacity'}, } - def __init__(self, *, resource_type: str=None, sku=None, capacity=None, **kwargs) -> None: + def __init__( + self, + *, + resource_type: Optional[str] = None, + sku: Optional["AvailableServiceSkuSku"] = None, + capacity: Optional["AvailableServiceSkuCapacity"] = None, + **kwargs + ): super(AvailableServiceSku, self).__init__(**kwargs) self.resource_type = resource_type self.sku = sku self.capacity = capacity -class AvailableServiceSkuCapacity(Model): +class AvailableServiceSkuCapacity(msrest.serialization.Model): """A description of the scaling capacities of the SKU. :param minimum: The minimum capacity, usually 0 or 1. :type minimum: int - :param maximum: The maximum capacity + :param maximum: The maximum capacity. :type maximum: int - :param default: The default capacity + :param default: The default capacity. :type default: int - :param scale_type: The scalability approach. Possible values include: - 'none', 'manual', 'automatic' - :type scale_type: str or - ~azure.mgmt.datamigration.models.ServiceScalability + :param scale_type: The scalability approach. Possible values include: "none", "manual", + "automatic". + :type scale_type: str or ~azure.mgmt.datamigration.models.ServiceScalability """ _attribute_map = { @@ -88,7 +88,15 @@ class AvailableServiceSkuCapacity(Model): 'scale_type': {'key': 'scaleType', 'type': 'str'}, } - def __init__(self, *, minimum: int=None, maximum: int=None, default: int=None, scale_type=None, **kwargs) -> None: + def __init__( + self, + *, + minimum: Optional[int] = None, + maximum: Optional[int] = None, + default: Optional[int] = None, + scale_type: Optional[Union[str, "ServiceScalability"]] = None, + **kwargs + ): super(AvailableServiceSkuCapacity, self).__init__(**kwargs) self.minimum = minimum self.maximum = maximum @@ -96,17 +104,16 @@ def __init__(self, *, minimum: int=None, maximum: int=None, default: int=None, s self.scale_type = scale_type -class AvailableServiceSkuSku(Model): +class AvailableServiceSkuSku(msrest.serialization.Model): """SKU name, tier, etc. - :param name: The name of the SKU + :param name: The name of the SKU. :type name: str - :param family: SKU family + :param family: SKU family. :type family: str - :param size: SKU size + :param size: SKU size. :type size: str - :param tier: The tier of the SKU, such as "Basic", "General Purpose", or - "Business Critical" + :param tier: The tier of the SKU, such as "Basic", "General Purpose", or "Business Critical". :type tier: str """ @@ -117,7 +124,15 @@ class AvailableServiceSkuSku(Model): 'tier': {'key': 'tier', 'type': 'str'}, } - def __init__(self, *, name: str=None, family: str=None, size: str=None, tier: str=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + family: Optional[str] = None, + size: Optional[str] = None, + tier: Optional[str] = None, + **kwargs + ): super(AvailableServiceSkuSku, self).__init__(**kwargs) self.name = name self.family = family @@ -125,18 +140,16 @@ def __init__(self, *, name: str=None, family: str=None, size: str=None, tier: st self.tier = tier -class AzureActiveDirectoryApp(Model): +class AzureActiveDirectoryApp(msrest.serialization.Model): """Azure Active Directory Application. All required parameters must be populated in order to send to Azure. - :param application_id: Required. Application ID of the Azure Active - Directory Application + :param application_id: Required. Application ID of the Azure Active Directory Application. :type application_id: str - :param app_key: Required. Key used to authenticate to the Azure Active - Directory Application + :param app_key: Required. Key used to authenticate to the Azure Active Directory Application. :type app_key: str - :param tenant_id: Required. Tenant id of the customer + :param tenant_id: Required. Tenant id of the customer. :type tenant_id: str """ @@ -152,24 +165,29 @@ class AzureActiveDirectoryApp(Model): 'tenant_id': {'key': 'tenantId', 'type': 'str'}, } - def __init__(self, *, application_id: str, app_key: str, tenant_id: str, **kwargs) -> None: + def __init__( + self, + *, + application_id: str, + app_key: str, + tenant_id: str, + **kwargs + ): super(AzureActiveDirectoryApp, self).__init__(**kwargs) self.application_id = application_id self.app_key = app_key self.tenant_id = tenant_id -class BackupFileInfo(Model): +class BackupFileInfo(msrest.serialization.Model): """Information of the backup file. - :param file_location: Location of the backup file in shared folder + :param file_location: Location of the backup file in shared folder. :type file_location: str - :param family_sequence_number: Sequence number of the backup file in the - backup set + :param family_sequence_number: Sequence number of the backup file in the backup set. :type family_sequence_number: int - :param status: Status of the backup file during migration. Possible values - include: 'Arrived', 'Queued', 'Uploading', 'Uploaded', 'Restoring', - 'Restored', 'Cancelled' + :param status: Status of the backup file during migration. Possible values include: "Arrived", + "Queued", "Uploading", "Uploaded", "Restoring", "Restored", "Cancelled". :type status: str or ~azure.mgmt.datamigration.models.BackupFileStatus """ @@ -179,40 +197,44 @@ class BackupFileInfo(Model): 'status': {'key': 'status', 'type': 'str'}, } - def __init__(self, *, file_location: str=None, family_sequence_number: int=None, status=None, **kwargs) -> None: + def __init__( + self, + *, + file_location: Optional[str] = None, + family_sequence_number: Optional[int] = None, + status: Optional[Union[str, "BackupFileStatus"]] = None, + **kwargs + ): super(BackupFileInfo, self).__init__(**kwargs) self.file_location = file_location self.family_sequence_number = family_sequence_number self.status = status -class BackupSetInfo(Model): +class BackupSetInfo(msrest.serialization.Model): """Information of backup set. - :param backup_set_id: Id for the set of backup files + :param backup_set_id: Id for the set of backup files. :type backup_set_id: str - :param first_lsn: First log sequence number of the backup file + :param first_lsn: First log sequence number of the backup file. :type first_lsn: str - :param last_lsn: Last log sequence number of the backup file + :param last_lsn: Last log sequence number of the backup file. :type last_lsn: str - :param last_modified_time: Last modified time of the backup file in share - location - :type last_modified_time: datetime - :param backup_type: Enum of the different backup types. Possible values - include: 'Database', 'TransactionLog', 'File', 'DifferentialDatabase', - 'DifferentialFile', 'Partial', 'DifferentialPartial' + :param last_modified_time: Last modified time of the backup file in share location. + :type last_modified_time: ~datetime.datetime + :param backup_type: Enum of the different backup types. Possible values include: "Database", + "TransactionLog", "File", "DifferentialDatabase", "DifferentialFile", "Partial", + "DifferentialPartial". :type backup_type: str or ~azure.mgmt.datamigration.models.BackupType - :param list_of_backup_files: List of files in the backup set - :type list_of_backup_files: - list[~azure.mgmt.datamigration.models.BackupFileInfo] - :param database_name: Name of the database to which the backup set belongs + :param list_of_backup_files: List of files in the backup set. + :type list_of_backup_files: list[~azure.mgmt.datamigration.models.BackupFileInfo] + :param database_name: Name of the database to which the backup set belongs. :type database_name: str - :param backup_start_date: Date and time that the backup operation began - :type backup_start_date: datetime - :param backup_finished_date: Date and time that the backup operation - finished - :type backup_finished_date: datetime - :param is_backup_restored: Whether the backup set is restored or not + :param backup_start_date: Date and time that the backup operation began. + :type backup_start_date: ~datetime.datetime + :param backup_finished_date: Date and time that the backup operation finished. + :type backup_finished_date: ~datetime.datetime + :param is_backup_restored: Whether the backup set is restored or not. :type is_backup_restored: bool """ @@ -229,7 +251,21 @@ class BackupSetInfo(Model): 'is_backup_restored': {'key': 'isBackupRestored', 'type': 'bool'}, } - def __init__(self, *, backup_set_id: str=None, first_lsn: str=None, last_lsn: str=None, last_modified_time=None, backup_type=None, list_of_backup_files=None, database_name: str=None, backup_start_date=None, backup_finished_date=None, is_backup_restored: bool=None, **kwargs) -> None: + def __init__( + self, + *, + backup_set_id: Optional[str] = None, + first_lsn: Optional[str] = None, + last_lsn: Optional[str] = None, + last_modified_time: Optional[datetime.datetime] = None, + backup_type: Optional[Union[str, "BackupType"]] = None, + list_of_backup_files: Optional[List["BackupFileInfo"]] = None, + database_name: Optional[str] = None, + backup_start_date: Optional[datetime.datetime] = None, + backup_finished_date: Optional[datetime.datetime] = None, + is_backup_restored: Optional[bool] = None, + **kwargs + ): super(BackupSetInfo, self).__init__(**kwargs) self.backup_set_id = backup_set_id self.first_lsn = first_lsn @@ -243,7 +279,7 @@ def __init__(self, *, backup_set_id: str=None, first_lsn: str=None, last_lsn: st self.is_backup_restored = is_backup_restored -class BlobShare(Model): +class BlobShare(msrest.serialization.Model): """Blob container storage information. All required parameters must be populated in order to send to Azure. @@ -260,16 +296,20 @@ class BlobShare(Model): 'sas_uri': {'key': 'sasUri', 'type': 'str'}, } - def __init__(self, *, sas_uri: str, **kwargs) -> None: + def __init__( + self, + *, + sas_uri: str, + **kwargs + ): super(BlobShare, self).__init__(**kwargs) self.sas_uri = sas_uri -class CheckOCIDriverTaskInput(Model): +class CheckOCIDriverTaskInput(msrest.serialization.Model): """Input for the service task to check for OCI drivers. - :param server_version: Version of the source server to check against. - Optional. + :param server_version: Version of the source server to check against. Optional. :type server_version: str """ @@ -277,24 +317,25 @@ class CheckOCIDriverTaskInput(Model): 'server_version': {'key': 'serverVersion', 'type': 'str'}, } - def __init__(self, *, server_version: str=None, **kwargs) -> None: + def __init__( + self, + *, + server_version: Optional[str] = None, + **kwargs + ): super(CheckOCIDriverTaskInput, self).__init__(**kwargs) self.server_version = server_version -class CheckOCIDriverTaskOutput(Model): +class CheckOCIDriverTaskOutput(msrest.serialization.Model): """Output for the service task to check for OCI drivers. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :param installed_driver: Information about the installed driver if found - and valid. - :type installed_driver: - ~azure.mgmt.datamigration.models.OracleOCIDriverInfo - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :param installed_driver: Information about the installed driver if found and valid. + :type installed_driver: ~azure.mgmt.datamigration.models.OracleOCIDriverInfo + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -306,221 +347,189 @@ class CheckOCIDriverTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, *, installed_driver=None, **kwargs) -> None: + def __init__( + self, + *, + installed_driver: Optional["OracleOCIDriverInfo"] = None, + **kwargs + ): super(CheckOCIDriverTaskOutput, self).__init__(**kwargs) self.installed_driver = installed_driver self.validation_errors = None -class ProjectTaskProperties(Model): - """Base class for all types of DMS task properties. If task is not supported - by current client, this object is returned. +class ProjectTaskProperties(msrest.serialization.Model): + """Base class for all types of DMS task properties. If task is not supported by current client, this object is returned. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSsisTaskProperties, - GetTdeCertificatesSqlTaskProperties, - ValidateOracleAzureDbForPostgreSqlSyncTaskProperties, - ValidateMongoDbTaskProperties, - ValidateMigrationInputSqlServerSqlMISyncTaskProperties, - ValidateMigrationInputSqlServerSqlMITaskProperties, - ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, - MigrateOracleAzureDbForPostgreSqlSyncTaskProperties, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, - MigrateMySqlAzureDbForMySqlSyncTaskProperties, - MigrateSqlServerSqlDbSyncTaskProperties, - MigrateSqlServerSqlDbTaskProperties, - MigrateSqlServerSqlMISyncTaskProperties, - MigrateSqlServerSqlMITaskProperties, MigrateMongoDbTaskProperties, - ConnectToTargetAzureDbForMySqlTaskProperties, - ConnectToTargetSqlMISyncTaskProperties, ConnectToTargetSqlMITaskProperties, - GetUserTablesPostgreSqlTaskProperties, GetUserTablesOracleTaskProperties, - GetUserTablesSqlSyncTaskProperties, GetUserTablesSqlTaskProperties, - ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties, - ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, - ConnectToTargetSqlSqlDbSyncTaskProperties, - ConnectToTargetSqlDbTaskProperties, - ConnectToSourceOracleSyncTaskProperties, - ConnectToSourcePostgreSqlSyncTaskProperties, - ConnectToSourceSqlServerSyncTaskProperties, - ConnectToSourceSqlServerTaskProperties, ConnectToMongoDbTaskProperties, - ConnectToSourceMySqlTaskProperties, - MigrateSchemaSqlServerSqlDbTaskProperties, CheckOCIDriverTaskProperties, - UploadOCIDriverTaskProperties, InstallOCIDriverTaskProperties - - Variables are only populated by the server, and will be ignored when - sending a request. + sub-classes are: ConnectToMongoDbTaskProperties, ConnectToSourceMySqlTaskProperties, ConnectToSourceOracleSyncTaskProperties, ConnectToSourcePostgreSqlSyncTaskProperties, ConnectToSourceSqlServerTaskProperties, ConnectToSourceSqlServerSyncTaskProperties, ConnectToTargetAzureDbForMySqlTaskProperties, ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, ConnectToTargetSqlMITaskProperties, ConnectToTargetSqlMISyncTaskProperties, ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties, ConnectToTargetSqlDbTaskProperties, ConnectToTargetSqlDbSyncTaskProperties, GetTdeCertificatesSqlTaskProperties, GetUserTablesSqlSyncTaskProperties, GetUserTablesSqlTaskProperties, GetUserTablesOracleTaskProperties, GetUserTablesPostgreSqlTaskProperties, MigrateMongoDbTaskProperties, MigrateMySqlAzureDbForMySqlSyncTaskProperties, MigrateOracleAzureDbForPostgreSqlSyncTaskProperties, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, MigrateSqlServerSqlDbSyncTaskProperties, MigrateSqlServerSqlMITaskProperties, MigrateSqlServerSqlMISyncTaskProperties, MigrateSqlServerSqlDbTaskProperties, MigrateSsisTaskProperties, MigrateSchemaSqlServerSqlDbTaskProperties, CheckOCIDriverTaskProperties, InstallOCIDriverTaskProperties, UploadOCIDriverTaskProperties, ValidateMongoDbTaskProperties, ValidateOracleAzureDbForPostgreSqlSyncTaskProperties, ValidateMigrationInputSqlServerSqlMITaskProperties, ValidateMigrationInputSqlServerSqlMISyncTaskProperties, ValidateMigrationInputSqlServerSqlDbSyncTaskProperties. + + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, } _subtype_map = { - 'task_type': {'Migrate.Ssis': 'MigrateSsisTaskProperties', 'GetTDECertificates.Sql': 'GetTdeCertificatesSqlTaskProperties', 'Validate.Oracle.AzureDbPostgreSql.Sync': 'ValidateOracleAzureDbForPostgreSqlSyncTaskProperties', 'Validate.MongoDb': 'ValidateMongoDbTaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS': 'ValidateMigrationInputSqlServerSqlMISyncTaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI': 'ValidateMigrationInputSqlServerSqlMITaskProperties', 'ValidateMigrationInput.SqlServer.SqlDb.Sync': 'ValidateMigrationInputSqlServerSqlDbSyncTaskProperties', 'Migrate.Oracle.AzureDbForPostgreSql.Sync': 'MigrateOracleAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.MySql.AzureDbForMySql.Sync': 'MigrateMySqlAzureDbForMySqlSyncTaskProperties', 'Migrate.SqlServer.AzureSqlDb.Sync': 'MigrateSqlServerSqlDbSyncTaskProperties', 'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS': 'MigrateSqlServerSqlMISyncTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI': 'MigrateSqlServerSqlMITaskProperties', 'Migrate.MongoDb': 'MigrateMongoDbTaskProperties', 'ConnectToTarget.AzureDbForMySql': 'ConnectToTargetAzureDbForMySqlTaskProperties', 'ConnectToTarget.AzureSqlDbMI.Sync.LRS': 'ConnectToTargetSqlMISyncTaskProperties', 'ConnectToTarget.AzureSqlDbMI': 'ConnectToTargetSqlMITaskProperties', 'GetUserTablesPostgreSql': 'GetUserTablesPostgreSqlTaskProperties', 'GetUserTablesOracle': 'GetUserTablesOracleTaskProperties', 'GetUserTables.AzureSqlDb.Sync': 'GetUserTablesSqlSyncTaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync': 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties', 'ConnectToTarget.AzureDbForPostgreSql.Sync': 'ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties', 'ConnectToTarget.SqlDb.Sync': 'ConnectToTargetSqlSqlDbSyncTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToSource.Oracle.Sync': 'ConnectToSourceOracleSyncTaskProperties', 'ConnectToSource.PostgreSql.Sync': 'ConnectToSourcePostgreSqlSyncTaskProperties', 'ConnectToSource.SqlServer.Sync': 'ConnectToSourceSqlServerSyncTaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties', 'Connect.MongoDb': 'ConnectToMongoDbTaskProperties', 'ConnectToSource.MySql': 'ConnectToSourceMySqlTaskProperties', 'MigrateSchemaSqlServerSqlDb': 'MigrateSchemaSqlServerSqlDbTaskProperties', 'Service.Check.OCI': 'CheckOCIDriverTaskProperties', 'Service.Upload.OCI': 'UploadOCIDriverTaskProperties', 'Service.Install.OCI': 'InstallOCIDriverTaskProperties'} + 'task_type': {'Connect.MongoDb': 'ConnectToMongoDbTaskProperties', 'ConnectToSource.MySql': 'ConnectToSourceMySqlTaskProperties', 'ConnectToSource.Oracle.Sync': 'ConnectToSourceOracleSyncTaskProperties', 'ConnectToSource.PostgreSql.Sync': 'ConnectToSourcePostgreSqlSyncTaskProperties', 'ConnectToSource.SqlServer': 'ConnectToSourceSqlServerTaskProperties', 'ConnectToSource.SqlServer.Sync': 'ConnectToSourceSqlServerSyncTaskProperties', 'ConnectToTarget.AzureDbForMySql': 'ConnectToTargetAzureDbForMySqlTaskProperties', 'ConnectToTarget.AzureDbForPostgreSql.Sync': 'ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties', 'ConnectToTarget.AzureSqlDbMI': 'ConnectToTargetSqlMITaskProperties', 'ConnectToTarget.AzureSqlDbMI.Sync.LRS': 'ConnectToTargetSqlMISyncTaskProperties', 'ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync': 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties', 'ConnectToTarget.SqlDb': 'ConnectToTargetSqlDbTaskProperties', 'ConnectToTarget.SqlDb.Sync': 'ConnectToTargetSqlDbSyncTaskProperties', 'GetTDECertificates.Sql': 'GetTdeCertificatesSqlTaskProperties', 'GetUserTables.AzureSqlDb.Sync': 'GetUserTablesSqlSyncTaskProperties', 'GetUserTables.Sql': 'GetUserTablesSqlTaskProperties', 'GetUserTablesOracle': 'GetUserTablesOracleTaskProperties', 'GetUserTablesPostgreSql': 'GetUserTablesPostgreSqlTaskProperties', 'Migrate.MongoDb': 'MigrateMongoDbTaskProperties', 'Migrate.MySql.AzureDbForMySql.Sync': 'MigrateMySqlAzureDbForMySqlSyncTaskProperties', 'Migrate.Oracle.AzureDbForPostgreSql.Sync': 'MigrateOracleAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties', 'Migrate.SqlServer.AzureSqlDb.Sync': 'MigrateSqlServerSqlDbSyncTaskProperties', 'Migrate.SqlServer.AzureSqlDbMI': 'MigrateSqlServerSqlMITaskProperties', 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS': 'MigrateSqlServerSqlMISyncTaskProperties', 'Migrate.SqlServer.SqlDb': 'MigrateSqlServerSqlDbTaskProperties', 'Migrate.Ssis': 'MigrateSsisTaskProperties', 'MigrateSchemaSqlServerSqlDb': 'MigrateSchemaSqlServerSqlDbTaskProperties', 'Service.Check.OCI': 'CheckOCIDriverTaskProperties', 'Service.Install.OCI': 'InstallOCIDriverTaskProperties', 'Service.Upload.OCI': 'UploadOCIDriverTaskProperties', 'Validate.MongoDb': 'ValidateMongoDbTaskProperties', 'Validate.Oracle.AzureDbPostgreSql.Sync': 'ValidateOracleAzureDbForPostgreSqlSyncTaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI': 'ValidateMigrationInputSqlServerSqlMITaskProperties', 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS': 'ValidateMigrationInputSqlServerSqlMISyncTaskProperties', 'ValidateMigrationInput.SqlServer.SqlDb.Sync': 'ValidateMigrationInputSqlServerSqlDbSyncTaskProperties'} } - def __init__(self, *, client_data=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + **kwargs + ): super(ProjectTaskProperties, self).__init__(**kwargs) + self.task_type = None # type: Optional[str] self.errors = None self.state = None self.commands = None self.client_data = client_data - self.task_type = None class CheckOCIDriverTaskProperties(ProjectTaskProperties): """Properties for the task that checks for OCI drivers. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Input for the service task to check for OCI drivers. :type input: ~azure.mgmt.datamigration.models.CheckOCIDriverTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.CheckOCIDriverTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.CheckOCIDriverTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'CheckOCIDriverTaskInput'}, 'output': {'key': 'output', 'type': '[CheckOCIDriverTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["CheckOCIDriverTaskInput"] = None, + **kwargs + ): super(CheckOCIDriverTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Service.Check.OCI' # type: str self.input = input self.output = None - self.task_type = 'Service.Check.OCI' - - -class CloudError(Model): - """CloudError. - """ - _attribute_map = { - } - -class CommandProperties(Model): - """Base class for all types of DMS command properties. If command is not - supported by current client, this object is returned. +class CommandProperties(msrest.serialization.Model): + """Base class for all types of DMS command properties. If command is not supported by current client, this object is returned. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateMISyncCompleteCommandProperties, - MigrateSyncCompleteCommandProperties, MongoDbCancelCommand, - MongoDbFinishCommand, MongoDbRestartCommand + sub-classes are: MigrateMISyncCompleteCommandProperties, MigrateSyncCompleteCommandProperties, MongoDbCancelCommand, MongoDbFinishCommand, MongoDbRestartCommand. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, } _subtype_map = { 'command_type': {'Migrate.SqlServer.AzureDbSqlMi.Complete': 'MigrateMISyncCompleteCommandProperties', 'Migrate.Sync.Complete.Database': 'MigrateSyncCompleteCommandProperties', 'cancel': 'MongoDbCancelCommand', 'finish': 'MongoDbFinishCommand', 'restart': 'MongoDbRestartCommand'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(CommandProperties, self).__init__(**kwargs) + self.command_type = None # type: Optional[str] self.errors = None self.state = None - self.command_type = None -class ConnectionInfo(Model): +class ConnectionInfo(msrest.serialization.Model): """Defines the connection properties of a server. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MiSqlConnectionInfo, PostgreSqlConnectionInfo, - OracleConnectionInfo, MySqlConnectionInfo, MongoDbConnectionInfo, - SqlConnectionInfo + sub-classes are: MiSqlConnectionInfo, MongoDbConnectionInfo, MySqlConnectionInfo, OracleConnectionInfo, PostgreSqlConnectionInfo, SqlConnectionInfo. All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str """ _validation = { @@ -528,92 +537,97 @@ class ConnectionInfo(Model): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, } _subtype_map = { - 'type': {'MiSqlConnectionInfo': 'MiSqlConnectionInfo', 'PostgreSqlConnectionInfo': 'PostgreSqlConnectionInfo', 'OracleConnectionInfo': 'OracleConnectionInfo', 'MySqlConnectionInfo': 'MySqlConnectionInfo', 'MongoDbConnectionInfo': 'MongoDbConnectionInfo', 'SqlConnectionInfo': 'SqlConnectionInfo'} + 'type': {'MiSqlConnectionInfo': 'MiSqlConnectionInfo', 'MongoDbConnectionInfo': 'MongoDbConnectionInfo', 'MySqlConnectionInfo': 'MySqlConnectionInfo', 'OracleConnectionInfo': 'OracleConnectionInfo', 'PostgreSqlConnectionInfo': 'PostgreSqlConnectionInfo', 'SqlConnectionInfo': 'SqlConnectionInfo'} } - def __init__(self, *, user_name: str=None, password: str=None, **kwargs) -> None: + def __init__( + self, + *, + user_name: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): super(ConnectionInfo, self).__init__(**kwargs) + self.type = None # type: Optional[str] self.user_name = user_name self.password = password - self.type = None class ConnectToMongoDbTaskProperties(ProjectTaskProperties): - """Properties for the task that validates the connection to and provides - information about a MongoDB server. + """Properties for the task that validates the connection to and provides information about a MongoDB server. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Describes a connection to a MongoDB data source. :type input: ~azure.mgmt.datamigration.models.MongoDbConnectionInfo - :ivar output: An array containing a single MongoDbClusterInfo object + :ivar output: An array containing a single MongoDbClusterInfo object. :vartype output: list[~azure.mgmt.datamigration.models.MongoDbClusterInfo] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbConnectionInfo'}, 'output': {'key': 'output', 'type': '[MongoDbClusterInfo]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MongoDbConnectionInfo"] = None, + **kwargs + ): super(ConnectToMongoDbTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Connect.MongoDb' # type: str self.input = input self.output = None - self.task_type = 'Connect.MongoDb' -class ConnectToSourceMySqlTaskInput(Model): +class ConnectToSourceMySqlTaskInput(msrest.serialization.Model): """Input for the task that validates MySQL database connection. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - MySQL source - :type source_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo - :param target_platform: Target Platform for the migration. Possible values - include: 'SqlServer', 'AzureDbForMySQL' - :type target_platform: str or - ~azure.mgmt.datamigration.models.MySqlTargetPlatformType - :param check_permissions_group: Permission group for validations. Possible - values include: 'Default', 'MigrationFromSqlServerToAzureDB', - 'MigrationFromSqlServerToAzureMI', 'MigrationFromMySQLToAzureDBForMySQL' + :param source_connection_info: Required. Information for connecting to MySQL source. + :type source_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param target_platform: Target Platform for the migration. Possible values include: + "SqlServer", "AzureDbForMySQL". + :type target_platform: str or ~azure.mgmt.datamigration.models.MySqlTargetPlatformType + :param check_permissions_group: Permission group for validations. Possible values include: + "Default", "MigrationFromSqlServerToAzureDB", "MigrationFromSqlServerToAzureMI", + "MigrationFromMySQLToAzureDBForMySQL". :type check_permissions_group: str or ~azure.mgmt.datamigration.models.ServerLevelPermissionsGroup """ @@ -625,10 +639,17 @@ class ConnectToSourceMySqlTaskInput(Model): _attribute_map = { 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'MySqlConnectionInfo'}, 'target_platform': {'key': 'targetPlatform', 'type': 'str'}, - 'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'ServerLevelPermissionsGroup'}, + 'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'str'}, } - def __init__(self, *, source_connection_info, target_platform=None, check_permissions_group=None, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "MySqlConnectionInfo", + target_platform: Optional[Union[str, "MySqlTargetPlatformType"]] = None, + check_permissions_group: Optional[Union[str, "ServerLevelPermissionsGroup"]] = None, + **kwargs + ): super(ConnectToSourceMySqlTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.target_platform = target_platform @@ -638,76 +659,74 @@ def __init__(self, *, source_connection_info, target_platform=None, check_permis class ConnectToSourceMySqlTaskProperties(ProjectTaskProperties): """Properties for the task that validates MySQL database connection. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourceMySqlTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourceMySqlTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourceNonSqlTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourceNonSqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceMySqlTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceNonSqlTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToSourceMySqlTaskInput"] = None, + **kwargs + ): super(ConnectToSourceMySqlTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToSource.MySql' # type: str self.input = input self.output = None - self.task_type = 'ConnectToSource.MySql' -class ConnectToSourceNonSqlTaskOutput(Model): +class ConnectToSourceNonSqlTaskOutput(msrest.serialization.Model): """Output for connect to MySQL type source. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar source_server_brand_version: Server brand version + :ivar source_server_brand_version: Server brand version. :vartype source_server_brand_version: str - :ivar server_properties: Server properties - :vartype server_properties: - ~azure.mgmt.datamigration.models.ServerProperties - :ivar databases: List of databases on the server + :ivar server_properties: Server properties. + :vartype server_properties: ~azure.mgmt.datamigration.models.ServerProperties + :ivar databases: List of databases on the server. :vartype databases: list[str] - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -726,7 +745,10 @@ class ConnectToSourceNonSqlTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToSourceNonSqlTaskOutput, self).__init__(**kwargs) self.id = None self.source_server_brand_version = None @@ -735,15 +757,13 @@ def __init__(self, **kwargs) -> None: self.validation_errors = None -class ConnectToSourceOracleSyncTaskInput(Model): +class ConnectToSourceOracleSyncTaskInput(msrest.serialization.Model): """Input for the task that validates Oracle database connection. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - Oracle source - :type source_connection_info: - ~azure.mgmt.datamigration.models.OracleConnectionInfo + :param source_connection_info: Required. Information for connecting to Oracle source. + :type source_connection_info: ~azure.mgmt.datamigration.models.OracleConnectionInfo """ _validation = { @@ -754,26 +774,29 @@ class ConnectToSourceOracleSyncTaskInput(Model): 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'OracleConnectionInfo'}, } - def __init__(self, *, source_connection_info, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "OracleConnectionInfo", + **kwargs + ): super(ConnectToSourceOracleSyncTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info -class ConnectToSourceOracleSyncTaskOutput(Model): +class ConnectToSourceOracleSyncTaskOutput(msrest.serialization.Model): """Output for the task that validates Oracle database connection. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar source_server_version: Version of the source server + :ivar source_server_version: Version of the source server. :vartype source_server_version: str - :ivar databases: List of schemas on source server + :ivar databases: List of schemas on source server. :vartype databases: list[str] - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -790,7 +813,10 @@ class ConnectToSourceOracleSyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToSourceOracleSyncTaskOutput, self).__init__(**kwargs) self.source_server_version = None self.databases = None @@ -801,68 +827,66 @@ def __init__(self, **kwargs) -> None: class ConnectToSourceOracleSyncTaskProperties(ProjectTaskProperties): """Properties for the task that validates Oracle database connection. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourceOracleSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourceOracleSyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourceOracleSyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourceOracleSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceOracleSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceOracleSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToSourceOracleSyncTaskInput"] = None, + **kwargs + ): super(ConnectToSourceOracleSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToSource.Oracle.Sync' # type: str self.input = input self.output = None - self.task_type = 'ConnectToSource.Oracle.Sync' -class ConnectToSourcePostgreSqlSyncTaskInput(Model): - """Input for the task that validates connection to PostgreSQL and source - server requirements. +class ConnectToSourcePostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to PostgreSQL and source server requirements. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for source - PostgreSQL server - :type source_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param source_connection_info: Required. Connection information for source PostgreSQL server. + :type source_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo """ _validation = { @@ -873,29 +897,31 @@ class ConnectToSourcePostgreSqlSyncTaskInput(Model): 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'PostgreSqlConnectionInfo'}, } - def __init__(self, *, source_connection_info, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "PostgreSqlConnectionInfo", + **kwargs + ): super(ConnectToSourcePostgreSqlSyncTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info -class ConnectToSourcePostgreSqlSyncTaskOutput(Model): - """Output for the task that validates connection to PostgreSQL and source - server requirements. +class ConnectToSourcePostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to PostgreSQL and source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar source_server_version: Version of the source server + :ivar source_server_version: Version of the source server. :vartype source_server_version: str - :ivar databases: List of databases on source server + :ivar databases: List of databases on source server. :vartype databases: list[str] - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -914,7 +940,10 @@ class ConnectToSourcePostgreSqlSyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToSourcePostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.id = None self.source_server_version = None @@ -924,146 +953,140 @@ def __init__(self, **kwargs) -> None: class ConnectToSourcePostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to PostgreSQL server and - source server requirements for online migration. + """Properties for the task that validates connection to PostgreSQL server and source server requirements for online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourcePostgreSqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourcePostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourcePostgreSqlSyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourcePostgreSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourcePostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourcePostgreSqlSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToSourcePostgreSqlSyncTaskInput"] = None, + **kwargs + ): super(ConnectToSourcePostgreSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToSource.PostgreSql.Sync' # type: str self.input = input self.output = None - self.task_type = 'ConnectToSource.PostgreSql.Sync' class ConnectToSourceSqlServerSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to SQL Server and source - server requirements for online migration. + """Properties for the task that validates connection to SQL Server and source server requirements for online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToSourceSqlServerTaskInput"] = None, + **kwargs + ): super(ConnectToSourceSqlServerSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToSource.SqlServer.Sync' # type: str self.input = input self.output = None - self.task_type = 'ConnectToSource.SqlServer.Sync' -class ConnectToSourceSqlServerTaskInput(Model): - """Input for the task that validates connection to SQL Server and also - validates source server requirements. +class ConnectToSourceSqlServerTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to SQL Server and also validates source server requirements. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for Source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param check_permissions_group: Permission group for validations. Possible - values include: 'Default', 'MigrationFromSqlServerToAzureDB', - 'MigrationFromSqlServerToAzureMI', 'MigrationFromMySQLToAzureDBForMySQL' + :param source_connection_info: Required. Connection information for Source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param check_permissions_group: Permission group for validations. Possible values include: + "Default", "MigrationFromSqlServerToAzureDB", "MigrationFromSqlServerToAzureMI", + "MigrationFromMySQLToAzureDBForMySQL". :type check_permissions_group: str or ~azure.mgmt.datamigration.models.ServerLevelPermissionsGroup - :param collect_databases: Flag for whether to collect databases from - source server. Default value: True . + :param collect_databases: Flag for whether to collect databases from source server. :type collect_databases: bool - :param collect_logins: Flag for whether to collect logins from source - server. Default value: False . + :param collect_logins: Flag for whether to collect logins from source server. :type collect_logins: bool - :param collect_agent_jobs: Flag for whether to collect agent jobs from - source server. Default value: False . + :param collect_agent_jobs: Flag for whether to collect agent jobs from source server. :type collect_agent_jobs: bool - :param collect_tde_certificate_info: Flag for whether to collect TDE - Certificate names from source server. Default value: False . + :param collect_tde_certificate_info: Flag for whether to collect TDE Certificate names from + source server. :type collect_tde_certificate_info: bool - :param validate_ssis_catalog_only: Flag for whether to validate SSIS - catalog is reachable on the source server. Default value: False . + :param validate_ssis_catalog_only: Flag for whether to validate SSIS catalog is reachable on + the source server. :type validate_ssis_catalog_only: bool """ @@ -1073,7 +1096,7 @@ class ConnectToSourceSqlServerTaskInput(Model): _attribute_map = { 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'}, - 'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'ServerLevelPermissionsGroup'}, + 'check_permissions_group': {'key': 'checkPermissionsGroup', 'type': 'str'}, 'collect_databases': {'key': 'collectDatabases', 'type': 'bool'}, 'collect_logins': {'key': 'collectLogins', 'type': 'bool'}, 'collect_agent_jobs': {'key': 'collectAgentJobs', 'type': 'bool'}, @@ -1081,7 +1104,18 @@ class ConnectToSourceSqlServerTaskInput(Model): 'validate_ssis_catalog_only': {'key': 'validateSsisCatalogOnly', 'type': 'bool'}, } - def __init__(self, *, source_connection_info, check_permissions_group=None, collect_databases: bool=True, collect_logins: bool=False, collect_agent_jobs: bool=False, collect_tde_certificate_info: bool=False, validate_ssis_catalog_only: bool=False, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + check_permissions_group: Optional[Union[str, "ServerLevelPermissionsGroup"]] = None, + collect_databases: Optional[bool] = True, + collect_logins: Optional[bool] = False, + collect_agent_jobs: Optional[bool] = False, + collect_tde_certificate_info: Optional[bool] = False, + validate_ssis_catalog_only: Optional[bool] = False, + **kwargs + ): super(ConnectToSourceSqlServerTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.check_permissions_group = check_permissions_group @@ -1092,24 +1126,20 @@ def __init__(self, *, source_connection_info, check_permissions_group=None, coll self.validate_ssis_catalog_only = validate_ssis_catalog_only -class ConnectToSourceSqlServerTaskOutput(Model): - """Output for the task that validates connection to SQL Server and also - validates source server requirements. +class ConnectToSourceSqlServerTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to SQL Server and also validates source server requirements. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: ConnectToSourceSqlServerTaskOutputAgentJobLevel, - ConnectToSourceSqlServerTaskOutputLoginLevel, - ConnectToSourceSqlServerTaskOutputDatabaseLevel, - ConnectToSourceSqlServerTaskOutputTaskLevel + sub-classes are: ConnectToSourceSqlServerTaskOutputAgentJobLevel, ConnectToSourceSqlServerTaskOutputDatabaseLevel, ConnectToSourceSqlServerTaskOutputLoginLevel, ConnectToSourceSqlServerTaskOutputTaskLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str """ @@ -1124,46 +1154,44 @@ class ConnectToSourceSqlServerTaskOutput(Model): } _subtype_map = { - 'result_type': {'AgentJobLevelOutput': 'ConnectToSourceSqlServerTaskOutputAgentJobLevel', 'LoginLevelOutput': 'ConnectToSourceSqlServerTaskOutputLoginLevel', 'DatabaseLevelOutput': 'ConnectToSourceSqlServerTaskOutputDatabaseLevel', 'TaskLevelOutput': 'ConnectToSourceSqlServerTaskOutputTaskLevel'} + 'result_type': {'AgentJobLevelOutput': 'ConnectToSourceSqlServerTaskOutputAgentJobLevel', 'DatabaseLevelOutput': 'ConnectToSourceSqlServerTaskOutputDatabaseLevel', 'LoginLevelOutput': 'ConnectToSourceSqlServerTaskOutputLoginLevel', 'TaskLevelOutput': 'ConnectToSourceSqlServerTaskOutputTaskLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class ConnectToSourceSqlServerTaskOutputAgentJobLevel(ConnectToSourceSqlServerTaskOutput): - """Agent Job level output for the task that validates connection to SQL Server - and also validates source server requirements. + """Agent Job level output for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str - :ivar name: Agent Job name + :ivar name: Agent Job name. :vartype name: str :ivar job_category: The type of Agent Job. :vartype job_category: str :ivar is_enabled: The state of the original Agent Job. :vartype is_enabled: bool - :ivar job_owner: The owner of the Agent Job + :ivar job_owner: The owner of the Agent Job. :vartype job_owner: str - :ivar last_executed_on: UTC Date and time when the Agent Job was last - executed. - :vartype last_executed_on: datetime - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] - :ivar migration_eligibility: Information about eligibility of agent job - for migration. - :vartype migration_eligibility: - ~azure.mgmt.datamigration.models.MigrationEligibilityInfo + :ivar last_executed_on: UTC Date and time when the Agent Job was last executed. + :vartype last_executed_on: ~datetime.datetime + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] + :ivar migration_eligibility: Information about eligibility of agent job for migration. + :vartype migration_eligibility: ~azure.mgmt.datamigration.models.MigrationEligibilityInfo """ _validation = { @@ -1190,8 +1218,12 @@ class ConnectToSourceSqlServerTaskOutputAgentJobLevel(ConnectToSourceSqlServerTa 'migration_eligibility': {'key': 'migrationEligibility', 'type': 'MigrationEligibilityInfo'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutputAgentJobLevel, self).__init__(**kwargs) + self.result_type = 'AgentJobLevelOutput' # type: str self.name = None self.job_category = None self.is_enabled = None @@ -1199,40 +1231,34 @@ def __init__(self, **kwargs) -> None: self.last_executed_on = None self.validation_errors = None self.migration_eligibility = None - self.result_type = 'AgentJobLevelOutput' class ConnectToSourceSqlServerTaskOutputDatabaseLevel(ConnectToSourceSqlServerTaskOutput): - """Database level output for the task that validates connection to SQL Server - and also validates source server requirements. + """Database level output for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str - :ivar name: Database name + :ivar name: Database name. :vartype name: str - :ivar size_mb: Size of the file in megabytes + :ivar size_mb: Size of the file in megabytes. :vartype size_mb: float - :ivar database_files: The list of database files - :vartype database_files: - list[~azure.mgmt.datamigration.models.DatabaseFileInfo] - :ivar compatibility_level: SQL Server compatibility level of database. - Possible values include: 'CompatLevel80', 'CompatLevel90', - 'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130', - 'CompatLevel140' - :vartype compatibility_level: str or - ~azure.mgmt.datamigration.models.DatabaseCompatLevel - :ivar database_state: State of the database. Possible values include: - 'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect', - 'Emergency', 'Offline', 'Copying', 'OfflineSecondary' - :vartype database_state: str or - ~azure.mgmt.datamigration.models.DatabaseState + :ivar database_files: The list of database files. + :vartype database_files: list[~azure.mgmt.datamigration.models.DatabaseFileInfo] + :ivar compatibility_level: SQL Server compatibility level of database. Possible values include: + "CompatLevel80", "CompatLevel90", "CompatLevel100", "CompatLevel110", "CompatLevel120", + "CompatLevel130", "CompatLevel140". + :vartype compatibility_level: str or ~azure.mgmt.datamigration.models.DatabaseCompatLevel + :ivar database_state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :vartype database_state: str or ~azure.mgmt.datamigration.models.DatabaseState """ _validation = { @@ -1255,43 +1281,42 @@ class ConnectToSourceSqlServerTaskOutputDatabaseLevel(ConnectToSourceSqlServerTa 'database_state': {'key': 'databaseState', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.name = None self.size_mb = None self.database_files = None self.compatibility_level = None self.database_state = None - self.result_type = 'DatabaseLevelOutput' class ConnectToSourceSqlServerTaskOutputLoginLevel(ConnectToSourceSqlServerTaskOutput): - """Login level output for the task that validates connection to SQL Server and - also validates source server requirements. + """Login level output for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str :ivar name: Login name. :vartype name: str - :ivar login_type: The type of login. Possible values include: - 'WindowsUser', 'WindowsGroup', 'SqlLogin', 'Certificate', 'AsymmetricKey', - 'ExternalUser', 'ExternalGroup' + :ivar login_type: The type of login. Possible values include: "WindowsUser", "WindowsGroup", + "SqlLogin", "Certificate", "AsymmetricKey", "ExternalUser", "ExternalGroup". :vartype login_type: str or ~azure.mgmt.datamigration.models.LoginType :ivar default_database: The default database for the login. :vartype default_database: str :ivar is_enabled: The state of the login. :vartype is_enabled: bool - :ivar migration_eligibility: Information about eligibility of login for - migration. - :vartype migration_eligibility: - ~azure.mgmt.datamigration.models.MigrationEligibilityInfo + :ivar migration_eligibility: Information about eligibility of login for migration. + :vartype migration_eligibility: ~azure.mgmt.datamigration.models.MigrationEligibilityInfo """ _validation = { @@ -1314,46 +1339,46 @@ class ConnectToSourceSqlServerTaskOutputLoginLevel(ConnectToSourceSqlServerTaskO 'migration_eligibility': {'key': 'migrationEligibility', 'type': 'MigrationEligibilityInfo'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutputLoginLevel, self).__init__(**kwargs) + self.result_type = 'LoginLevelOutput' # type: str self.name = None self.login_type = None self.default_database = None self.is_enabled = None self.migration_eligibility = None - self.result_type = 'LoginLevelOutput' class ConnectToSourceSqlServerTaskOutputTaskLevel(ConnectToSourceSqlServerTaskOutput): - """Task level output for the task that validates connection to SQL Server and - also validates source server requirements. + """Task level output for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Type of result - database level or task level.Constant filled by + server. :type result_type: str - :ivar databases: Source databases as a map from database name to database - id - :vartype databases: dict[str, str] + :ivar databases: Source databases as a map from database name to database id. + :vartype databases: str :ivar logins: Source logins as a map from login name to login id. - :vartype logins: dict[str, str] + :vartype logins: str :ivar agent_jobs: Source agent jobs as a map from agent job name to id. - :vartype agent_jobs: dict[str, str] - :ivar database_tde_certificate_mapping: Mapping from database name to TDE - certificate name, if applicable - :vartype database_tde_certificate_mapping: dict[str, str] - :ivar source_server_version: Source server version + :vartype agent_jobs: str + :ivar database_tde_certificate_mapping: Mapping from database name to TDE certificate name, if + applicable. + :vartype database_tde_certificate_mapping: str + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -1371,17 +1396,21 @@ class ConnectToSourceSqlServerTaskOutputTaskLevel(ConnectToSourceSqlServerTaskOu _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'result_type': {'key': 'resultType', 'type': 'str'}, - 'databases': {'key': 'databases', 'type': '{str}'}, - 'logins': {'key': 'logins', 'type': '{str}'}, - 'agent_jobs': {'key': 'agentJobs', 'type': '{str}'}, - 'database_tde_certificate_mapping': {'key': 'databaseTdeCertificateMapping', 'type': '{str}'}, + 'databases': {'key': 'databases', 'type': 'str'}, + 'logins': {'key': 'logins', 'type': 'str'}, + 'agent_jobs': {'key': 'agentJobs', 'type': 'str'}, + 'database_tde_certificate_mapping': {'key': 'databaseTdeCertificateMapping', 'type': 'str'}, 'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'}, 'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'}, 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToSourceSqlServerTaskOutputTaskLevel, self).__init__(**kwargs) + self.result_type = 'TaskLevelOutput' # type: str self.databases = None self.logins = None self.agent_jobs = None @@ -1389,79 +1418,74 @@ def __init__(self, **kwargs) -> None: self.source_server_version = None self.source_server_brand_version = None self.validation_errors = None - self.result_type = 'TaskLevelOutput' class ConnectToSourceSqlServerTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to SQL Server and also - validates source server requirements. + """Properties for the task that validates connection to SQL Server and also validates source server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToSourceSqlServerTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToSourceSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToSourceSqlServerTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToSourceSqlServerTaskInput"] = None, + **kwargs + ): super(ConnectToSourceSqlServerTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToSource.SqlServer' # type: str self.input = input self.output = None - self.task_type = 'ConnectToSource.SqlServer' -class ConnectToTargetAzureDbForMySqlTaskInput(Model): - """Input for the task that validates connection to Azure Database for MySQL - and target server requirements. +class ConnectToTargetAzureDbForMySqlTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure Database for MySQL and target server requirements. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for source - MySQL server - :type source_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo - :param target_connection_info: Required. Connection information for target - Azure Database for MySQL server - :type target_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param source_connection_info: Required. Connection information for source MySQL server. + :type source_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + MySQL server. + :type target_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo """ _validation = { @@ -1474,30 +1498,33 @@ class ConnectToTargetAzureDbForMySqlTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'MySqlConnectionInfo'}, } - def __init__(self, *, source_connection_info, target_connection_info, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "MySqlConnectionInfo", + target_connection_info: "MySqlConnectionInfo", + **kwargs + ): super(ConnectToTargetAzureDbForMySqlTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.target_connection_info = target_connection_info -class ConnectToTargetAzureDbForMySqlTaskOutput(Model): - """Output for the task that validates connection to Azure Database for MySQL - and target server requirements. +class ConnectToTargetAzureDbForMySqlTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure Database for MySQL and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar server_version: Version of the target server + :ivar server_version: Version of the target server. :vartype server_version: str - :ivar databases: List of databases on target server + :ivar databases: List of databases on target server. :vartype databases: list[str] - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -1516,7 +1543,10 @@ class ConnectToTargetAzureDbForMySqlTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToTargetAzureDbForMySqlTaskOutput, self).__init__(**kwargs) self.id = None self.server_version = None @@ -1526,75 +1556,72 @@ def __init__(self, **kwargs) -> None: class ConnectToTargetAzureDbForMySqlTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure Database for - MySQL and target server requirements. + """Properties for the task that validates connection to Azure Database for MySQL and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForMySqlTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForMySqlTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForMySqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetAzureDbForMySqlTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetAzureDbForMySqlTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToTargetAzureDbForMySqlTaskInput"] = None, + **kwargs + ): super(ConnectToTargetAzureDbForMySqlTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToTarget.AzureDbForMySql' # type: str self.input = input self.output = None - self.task_type = 'ConnectToTarget.AzureDbForMySql' -class ConnectToTargetAzureDbForPostgreSqlSyncTaskInput(Model): - """Input for the task that validates connection to Azure Database for - PostgreSQL and target server requirements. +class ConnectToTargetAzureDbForPostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for source - PostgreSQL server - :type source_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo - :param target_connection_info: Required. Connection information for target - Azure Database for PostgreSQL server - :type target_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param source_connection_info: Required. Connection information for source PostgreSQL server. + :type source_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + PostgreSQL server. + :type target_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo """ _validation = { @@ -1607,30 +1634,33 @@ class ConnectToTargetAzureDbForPostgreSqlSyncTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'PostgreSqlConnectionInfo'}, } - def __init__(self, *, source_connection_info, target_connection_info, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "PostgreSqlConnectionInfo", + target_connection_info: "PostgreSqlConnectionInfo", + **kwargs + ): super(ConnectToTargetAzureDbForPostgreSqlSyncTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.target_connection_info = target_connection_info -class ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput(Model): - """Output for the task that validates connection to Azure Database for - PostgreSQL and target server requirements. +class ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure Database for PostgreSQL and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar target_server_version: Version of the target server + :ivar target_server_version: Version of the target server. :vartype target_server_version: str - :ivar databases: List of databases on target server + :ivar databases: List of databases on target server. :vartype databases: list[str] - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -1649,7 +1679,10 @@ class ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.id = None self.target_server_version = None @@ -1659,71 +1692,70 @@ def __init__(self, **kwargs) -> None: class ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure Database For - PostgreSQL server and target server requirements for online migration. + """Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForPostgreSqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForPostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetAzureDbForPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToTargetAzureDbForPostgreSqlSyncTaskInput"] = None, + **kwargs + ): super(ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToTarget.AzureDbForPostgreSql.Sync' # type: str self.input = input self.output = None - self.task_type = 'ConnectToTarget.AzureDbForPostgreSql.Sync' -class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput(Model): - """Input for the task that validates connection to Azure Database for - PostgreSQL and target server requirements for Oracle source. +class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements for Oracle source. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Connection information for target - Azure Database for PostgreSQL server - :type target_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + PostgreSQL server. + :type target_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo """ _validation = { @@ -1734,28 +1766,30 @@ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'PostgreSqlConnectionInfo'}, } - def __init__(self, *, target_connection_info, **kwargs) -> None: + def __init__( + self, + *, + target_connection_info: "PostgreSqlConnectionInfo", + **kwargs + ): super(ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput, self).__init__(**kwargs) self.target_connection_info = target_connection_info -class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput(Model): - """Output for the task that validates connection to Azure Database for - PostgreSQL and target server requirements for Oracle source. +class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure Database for PostgreSQL and target server requirements for Oracle source. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar target_server_version: Version of the target server + :ivar target_server_version: Version of the target server. :vartype target_server_version: str - :ivar databases: List of databases on target server + :ivar databases: List of databases on target server. :vartype databases: list[str] - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] - :param database_schema_map: Mapping of schemas per database + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] + :param database_schema_map: Mapping of schemas per database. :type database_schema_map: list[~azure.mgmt.datamigration.models.ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem] """ @@ -1775,7 +1809,12 @@ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput(Model): 'database_schema_map': {'key': 'databaseSchemaMap', 'type': '[ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem]'}, } - def __init__(self, *, database_schema_map=None, **kwargs) -> None: + def __init__( + self, + *, + database_schema_map: Optional[List["ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem"]] = None, + **kwargs + ): super(ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.target_server_version = None self.databases = None @@ -1784,7 +1823,7 @@ def __init__(self, *, database_schema_map=None, **kwargs) -> None: self.database_schema_map = database_schema_map -class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem(Model): +class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem(msrest.serialization.Model): """ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem. :param database: @@ -1798,37 +1837,38 @@ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapIt 'schemas': {'key': 'schemas', 'type': '[str]'}, } - def __init__(self, *, database: str=None, schemas=None, **kwargs) -> None: + def __init__( + self, + *, + database: Optional[str] = None, + schemas: Optional[List[str]] = None, + **kwargs + ): super(ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem, self).__init__(**kwargs) self.database = database self.schemas = schemas class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure Database For - PostgreSQL server and target server requirements for online migration for - Oracle source. + """Properties for the task that validates connection to Azure Database For PostgreSQL server and target server requirements for online migration for Oracle source. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. @@ -1837,70 +1877,164 @@ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskPro """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput"] = None, + **kwargs + ): super(ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync' # type: str self.input = input self.output = None - self.task_type = 'ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync' -class ConnectToTargetSqlDbTaskInput(Model): - """Input for the task that validates connection to SQL DB and target server - requirements. +class ConnectToTargetSqlDbSyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure SQL DB and target server requirements. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Connection information for target - SQL DB - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param source_connection_info: Required. Connection information for source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for target SQL DB. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo """ _validation = { + 'source_connection_info': {'required': True}, 'target_connection_info': {'required': True}, } _attribute_map = { + 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'}, 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'}, } - def __init__(self, *, target_connection_info, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + **kwargs + ): + super(ConnectToTargetSqlDbSyncTaskInput, self).__init__(**kwargs) + self.source_connection_info = source_connection_info + self.target_connection_info = target_connection_info + + +class ConnectToTargetSqlDbSyncTaskProperties(ProjectTaskProperties): + """Properties for the task that validates connection to SQL DB and target server requirements for online migration. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str + :ivar errors: Array of errors. This is ignored if submitted. + :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". + :vartype state: str or ~azure.mgmt.datamigration.models.TaskState + :ivar commands: Array of command properties. + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. + :type client_data: dict[str, str] + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetSqlDbSyncTaskInput + :ivar output: Task output. This is ignored if submitted. + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskOutput] + """ + + _validation = { + 'task_type': {'required': True}, + 'errors': {'readonly': True}, + 'state': {'readonly': True}, + 'commands': {'readonly': True}, + 'output': {'readonly': True}, + } + + _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, + 'errors': {'key': 'errors', 'type': '[ODataError]'}, + 'state': {'key': 'state', 'type': 'str'}, + 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, + 'client_data': {'key': 'clientData', 'type': '{str}'}, + 'input': {'key': 'input', 'type': 'ConnectToTargetSqlDbSyncTaskInput'}, + 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, + } + + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToTargetSqlDbSyncTaskInput"] = None, + **kwargs + ): + super(ConnectToTargetSqlDbSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToTarget.SqlDb.Sync' # type: str + self.input = input + self.output = None + + +class ConnectToTargetSqlDbTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to SQL DB and target server requirements. + + All required parameters must be populated in order to send to Azure. + + :param target_connection_info: Required. Connection information for target SQL DB. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + """ + + _validation = { + 'target_connection_info': {'required': True}, + } + + _attribute_map = { + 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'}, + } + + def __init__( + self, + *, + target_connection_info: "SqlConnectionInfo", + **kwargs + ): super(ConnectToTargetSqlDbTaskInput, self).__init__(**kwargs) self.target_connection_info = target_connection_info -class ConnectToTargetSqlDbTaskOutput(Model): - """Output for the task that validates connection to SQL DB and target server - requirements. +class ConnectToTargetSqlDbTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to SQL DB and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar databases: Source databases as a map from database name to database - id - :vartype databases: dict[str, str] - :ivar target_server_version: Version of the target server + :ivar databases: Source databases as a map from database name to database id. + :vartype databases: str + :ivar target_server_version: Version of the target server. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str """ @@ -1913,12 +2047,15 @@ class ConnectToTargetSqlDbTaskOutput(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'databases': {'key': 'databases', 'type': '{str}'}, + 'databases': {'key': 'databases', 'type': 'str'}, 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'}, 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlDbTaskOutput, self).__init__(**kwargs) self.id = None self.databases = None @@ -1927,74 +2064,72 @@ def __init__(self, **kwargs) -> None: class ConnectToTargetSqlDbTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to SQL DB and target - server requirements. + """Properties for the task that validates connection to SQL DB and target server requirements. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToTargetSqlDbTaskInput"] = None, + **kwargs + ): super(ConnectToTargetSqlDbTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToTarget.SqlDb' # type: str self.input = input self.output = None - self.task_type = 'ConnectToTarget.SqlDb' -class ConnectToTargetSqlMISyncTaskInput(Model): - """Input for the task that validates connection to Azure SQL Database Managed - Instance online scenario. +class ConnectToTargetSqlMISyncTaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure SQL Database Managed Instance online scenario. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Connection information for Azure - SQL Database Managed Instance - :type target_connection_info: - ~azure.mgmt.datamigration.models.MiSqlConnectionInfo - :param azure_app: Required. Azure Active Directory Application the DMS - instance will use to connect to the target instance of Azure SQL Database - Managed Instance and the Azure Storage Account + :param target_connection_info: Required. Connection information for Azure SQL Database Managed + Instance. + :type target_connection_info: ~azure.mgmt.datamigration.models.MiSqlConnectionInfo + :param azure_app: Required. Azure Active Directory Application the DMS instance will use to + connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage + Account. :type azure_app: ~azure.mgmt.datamigration.models.AzureActiveDirectoryApp """ @@ -2008,26 +2143,29 @@ class ConnectToTargetSqlMISyncTaskInput(Model): 'azure_app': {'key': 'azureApp', 'type': 'AzureActiveDirectoryApp'}, } - def __init__(self, *, target_connection_info, azure_app, **kwargs) -> None: + def __init__( + self, + *, + target_connection_info: "MiSqlConnectionInfo", + azure_app: "AzureActiveDirectoryApp", + **kwargs + ): super(ConnectToTargetSqlMISyncTaskInput, self).__init__(**kwargs) self.target_connection_info = target_connection_info self.azure_app = azure_app -class ConnectToTargetSqlMISyncTaskOutput(Model): - """Output for the task that validates connection to Azure SQL Database Managed - Instance. +class ConnectToTargetSqlMISyncTaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -2042,7 +2180,10 @@ class ConnectToTargetSqlMISyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlMISyncTaskOutput, self).__init__(**kwargs) self.target_server_version = None self.target_server_brand_version = None @@ -2050,79 +2191,74 @@ def __init__(self, **kwargs) -> None: class ConnectToTargetSqlMISyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure SQL Database - Managed Instance. + """Properties for the task that validates connection to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetSqlMISyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetSqlMISyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMISyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMISyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlMISyncTaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlMISyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToTargetSqlMISyncTaskInput"] = None, + **kwargs + ): super(ConnectToTargetSqlMISyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToTarget.AzureSqlDbMI.Sync.LRS' # type: str self.input = input self.output = None - self.task_type = 'ConnectToTarget.AzureSqlDbMI.Sync.LRS' -class ConnectToTargetSqlMITaskInput(Model): - """Input for the task that validates connection to Azure SQL Database Managed - Instance. +class ConnectToTargetSqlMITaskInput(msrest.serialization.Model): + """Input for the task that validates connection to Azure SQL Database Managed Instance. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Connection information for target - SQL Server - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param collect_logins: Flag for whether to collect logins from target SQL - MI server. Default value: True . + :param target_connection_info: Required. Connection information for target SQL Server. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param collect_logins: Flag for whether to collect logins from target SQL MI server. :type collect_logins: bool - :param collect_agent_jobs: Flag for whether to collect agent jobs from - target SQL MI server. Default value: True . + :param collect_agent_jobs: Flag for whether to collect agent jobs from target SQL MI server. :type collect_agent_jobs: bool - :param validate_ssis_catalog_only: Flag for whether to validate SSIS - catalog is reachable on the target SQL MI server. Default value: False . + :param validate_ssis_catalog_only: Flag for whether to validate SSIS catalog is reachable on + the target SQL MI server. :type validate_ssis_catalog_only: bool """ @@ -2137,7 +2273,15 @@ class ConnectToTargetSqlMITaskInput(Model): 'validate_ssis_catalog_only': {'key': 'validateSsisCatalogOnly', 'type': 'bool'}, } - def __init__(self, *, target_connection_info, collect_logins: bool=True, collect_agent_jobs: bool=True, validate_ssis_catalog_only: bool=False, **kwargs) -> None: + def __init__( + self, + *, + target_connection_info: "SqlConnectionInfo", + collect_logins: Optional[bool] = True, + collect_agent_jobs: Optional[bool] = True, + validate_ssis_catalog_only: Optional[bool] = False, + **kwargs + ): super(ConnectToTargetSqlMITaskInput, self).__init__(**kwargs) self.target_connection_info = target_connection_info self.collect_logins = collect_logins @@ -2145,26 +2289,23 @@ def __init__(self, *, target_connection_info, collect_logins: bool=True, collect self.validate_ssis_catalog_only = validate_ssis_catalog_only -class ConnectToTargetSqlMITaskOutput(Model): - """Output for the task that validates connection to Azure SQL Database Managed - Instance. +class ConnectToTargetSqlMITaskOutput(msrest.serialization.Model): + """Output for the task that validates connection to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str :ivar logins: List of logins on the target server. :vartype logins: list[str] :ivar agent_jobs: List of agent jobs on the target server. :vartype agent_jobs: list[str] - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -2185,7 +2326,10 @@ class ConnectToTargetSqlMITaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ConnectToTargetSqlMITaskOutput, self).__init__(**kwargs) self.id = None self.target_server_version = None @@ -2196,193 +2340,102 @@ def __init__(self, **kwargs) -> None: class ConnectToTargetSqlMITaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to Azure SQL Database - Managed Instance. + """Properties for the task that validates connection to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.ConnectToTargetSqlMITaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ConnectToTargetSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[ConnectToTargetSqlMITaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ConnectToTargetSqlMITaskInput"] = None, + **kwargs + ): super(ConnectToTargetSqlMITaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ConnectToTarget.AzureSqlDbMI' # type: str self.input = input self.output = None - self.task_type = 'ConnectToTarget.AzureSqlDbMI' - -class ConnectToTargetSqlSqlDbSyncTaskInput(Model): - """Input for the task that validates connection to Azure SQL DB and target - server requirements. - All required parameters must be populated in order to send to Azure. - - :param source_connection_info: Required. Connection information for source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for target - SQL DB - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - """ - - _validation = { - 'source_connection_info': {'required': True}, - 'target_connection_info': {'required': True}, - } - - _attribute_map = { - 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'SqlConnectionInfo'}, - 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'}, - } - - def __init__(self, *, source_connection_info, target_connection_info, **kwargs) -> None: - super(ConnectToTargetSqlSqlDbSyncTaskInput, self).__init__(**kwargs) - self.source_connection_info = source_connection_info - self.target_connection_info = target_connection_info - - -class ConnectToTargetSqlSqlDbSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates connection to SQL DB and target - server requirements for online migration. - - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar errors: Array of errors. This is ignored if submitted. - :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' - :vartype state: str or ~azure.mgmt.datamigration.models.TaskState - :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task - :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ConnectToTargetSqlSqlDbSyncTaskInput - :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.ConnectToTargetSqlDbTaskOutput] - """ - - _validation = { - 'errors': {'readonly': True}, - 'state': {'readonly': True}, - 'commands': {'readonly': True}, - 'task_type': {'required': True}, - 'output': {'readonly': True}, - } - - _attribute_map = { - 'errors': {'key': 'errors', 'type': '[ODataError]'}, - 'state': {'key': 'state', 'type': 'str'}, - 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, - 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, - 'input': {'key': 'input', 'type': 'ConnectToTargetSqlSqlDbSyncTaskInput'}, - 'output': {'key': 'output', 'type': '[ConnectToTargetSqlDbTaskOutput]'}, - } - - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: - super(ConnectToTargetSqlSqlDbSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) - self.input = input - self.output = None - self.task_type = 'ConnectToTarget.SqlDb.Sync' - - -class Database(Model): +class Database(msrest.serialization.Model): """Information about a single database. - :param id: Unique identifier for the database + :param id: Unique identifier for the database. :type id: str - :param name: Name of the database + :param name: Name of the database. :type name: str - :param compatibility_level: SQL Server compatibility level of database. - Possible values include: 'CompatLevel80', 'CompatLevel90', - 'CompatLevel100', 'CompatLevel110', 'CompatLevel120', 'CompatLevel130', - 'CompatLevel140' - :type compatibility_level: str or - ~azure.mgmt.datamigration.models.DatabaseCompatLevel - :param collation: Collation name of the database + :param compatibility_level: SQL Server compatibility level of database. Possible values + include: "CompatLevel80", "CompatLevel90", "CompatLevel100", "CompatLevel110", + "CompatLevel120", "CompatLevel130", "CompatLevel140". + :type compatibility_level: str or ~azure.mgmt.datamigration.models.DatabaseCompatLevel + :param collation: Collation name of the database. :type collation: str - :param server_name: Name of the server + :param server_name: Name of the server. :type server_name: str - :param fqdn: Fully qualified name + :param fqdn: Fully qualified name. :type fqdn: str - :param install_id: Install id of the database + :param install_id: Install id of the database. :type install_id: str - :param server_version: Version of the server + :param server_version: Version of the server. :type server_version: str - :param server_edition: Edition of the server + :param server_edition: Edition of the server. :type server_edition: str :param server_level: Product level of the server (RTM, SP, CTP). :type server_level: str - :param server_default_data_path: Default path of the data files + :param server_default_data_path: Default path of the data files. :type server_default_data_path: str - :param server_default_log_path: Default path of the log files + :param server_default_log_path: Default path of the log files. :type server_default_log_path: str - :param server_default_backup_path: Default path of the backup folder + :param server_default_backup_path: Default path of the backup folder. :type server_default_backup_path: str - :param server_core_count: Number of cores on the server + :param server_core_count: Number of cores on the server. :type server_core_count: int - :param server_visible_online_core_count: Number of cores on the server - that have VISIBLE ONLINE status + :param server_visible_online_core_count: Number of cores on the server that have VISIBLE ONLINE + status. :type server_visible_online_core_count: int - :param database_state: State of the database. Possible values include: - 'Online', 'Restoring', 'Recovering', 'RecoveryPending', 'Suspect', - 'Emergency', 'Offline', 'Copying', 'OfflineSecondary' - :type database_state: str or - ~azure.mgmt.datamigration.models.DatabaseState - :param server_id: The unique Server Id + :param database_state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :type database_state: str or ~azure.mgmt.datamigration.models.DatabaseState + :param server_id: The unique Server Id. :type server_id: str """ @@ -2406,7 +2459,28 @@ class Database(Model): 'server_id': {'key': 'serverId', 'type': 'str'}, } - def __init__(self, *, id: str=None, name: str=None, compatibility_level=None, collation: str=None, server_name: str=None, fqdn: str=None, install_id: str=None, server_version: str=None, server_edition: str=None, server_level: str=None, server_default_data_path: str=None, server_default_log_path: str=None, server_default_backup_path: str=None, server_core_count: int=None, server_visible_online_core_count: int=None, database_state=None, server_id: str=None, **kwargs) -> None: + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + compatibility_level: Optional[Union[str, "DatabaseCompatLevel"]] = None, + collation: Optional[str] = None, + server_name: Optional[str] = None, + fqdn: Optional[str] = None, + install_id: Optional[str] = None, + server_version: Optional[str] = None, + server_edition: Optional[str] = None, + server_level: Optional[str] = None, + server_default_data_path: Optional[str] = None, + server_default_log_path: Optional[str] = None, + server_default_backup_path: Optional[str] = None, + server_core_count: Optional[int] = None, + server_visible_online_core_count: Optional[int] = None, + database_state: Optional[Union[str, "DatabaseState"]] = None, + server_id: Optional[str] = None, + **kwargs + ): super(Database, self).__init__(**kwargs) self.id = id self.name = name @@ -2427,32 +2501,29 @@ def __init__(self, *, id: str=None, name: str=None, compatibility_level=None, co self.server_id = server_id -class DatabaseBackupInfo(Model): +class DatabaseBackupInfo(msrest.serialization.Model): """Information about backup files when existing backup mode is used. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar database_name: Database name. :vartype database_name: str - :ivar backup_type: Backup Type. Possible values include: 'Database', - 'TransactionLog', 'File', 'DifferentialDatabase', 'DifferentialFile', - 'Partial', 'DifferentialPartial' + :ivar backup_type: Backup Type. Possible values include: "Database", "TransactionLog", "File", + "DifferentialDatabase", "DifferentialFile", "Partial", "DifferentialPartial". :vartype backup_type: str or ~azure.mgmt.datamigration.models.BackupType :ivar backup_files: The list of backup files for the current database. :vartype backup_files: list[str] :ivar position: Position of current database backup in the file. :vartype position: int - :ivar is_damaged: Database was damaged when backed up, but the backup - operation was requested to continue despite errors. + :ivar is_damaged: Database was damaged when backed up, but the backup operation was requested + to continue despite errors. :vartype is_damaged: bool - :ivar is_compressed: Whether the backup set is compressed + :ivar is_compressed: Whether the backup set is compressed. :vartype is_compressed: bool :ivar family_count: Number of files in the backup set. :vartype family_count: int - :ivar backup_finish_date: Date and time when the backup operation - finished. - :vartype backup_finish_date: datetime + :ivar backup_finish_date: Date and time when the backup operation finished. + :vartype backup_finish_date: ~datetime.datetime """ _validation = { @@ -2477,7 +2548,10 @@ class DatabaseBackupInfo(Model): 'backup_finish_date': {'key': 'backupFinishDate', 'type': 'iso-8601'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(DatabaseBackupInfo, self).__init__(**kwargs) self.database_name = None self.backup_type = None @@ -2489,23 +2563,23 @@ def __init__(self, **kwargs) -> None: self.backup_finish_date = None -class DatabaseFileInfo(Model): +class DatabaseFileInfo(msrest.serialization.Model): """Database file specific information. - :param database_name: Name of the database + :param database_name: Name of the database. :type database_name: str - :param id: Unique identifier for database file + :param id: Unique identifier for database file. :type id: str - :param logical_name: Logical name of the file + :param logical_name: Logical name of the file. :type logical_name: str - :param physical_full_name: Operating-system full path of the file + :param physical_full_name: Operating-system full path of the file. :type physical_full_name: str - :param restore_full_name: Suggested full path of the file for restoring + :param restore_full_name: Suggested full path of the file for restoring. :type restore_full_name: str - :param file_type: Database file type. Possible values include: 'Rows', - 'Log', 'Filestream', 'NotSupported', 'Fulltext' + :param file_type: Database file type. Possible values include: "Rows", "Log", "Filestream", + "NotSupported", "Fulltext". :type file_type: str or ~azure.mgmt.datamigration.models.DatabaseFileType - :param size_mb: Size of the file in megabytes + :param size_mb: Size of the file in megabytes. :type size_mb: float """ @@ -2519,7 +2593,18 @@ class DatabaseFileInfo(Model): 'size_mb': {'key': 'sizeMB', 'type': 'float'}, } - def __init__(self, *, database_name: str=None, id: str=None, logical_name: str=None, physical_full_name: str=None, restore_full_name: str=None, file_type=None, size_mb: float=None, **kwargs) -> None: + def __init__( + self, + *, + database_name: Optional[str] = None, + id: Optional[str] = None, + logical_name: Optional[str] = None, + physical_full_name: Optional[str] = None, + restore_full_name: Optional[str] = None, + file_type: Optional[Union[str, "DatabaseFileType"]] = None, + size_mb: Optional[float] = None, + **kwargs + ): super(DatabaseFileInfo, self).__init__(**kwargs) self.database_name = database_name self.id = id @@ -2530,19 +2615,19 @@ def __init__(self, *, database_name: str=None, id: str=None, logical_name: str=N self.size_mb = size_mb -class DatabaseFileInput(Model): +class DatabaseFileInput(msrest.serialization.Model): """Database file specific information for input. - :param id: Unique identifier for database file + :param id: Unique identifier for database file. :type id: str - :param logical_name: Logical name of the file + :param logical_name: Logical name of the file. :type logical_name: str - :param physical_full_name: Operating-system full path of the file + :param physical_full_name: Operating-system full path of the file. :type physical_full_name: str - :param restore_full_name: Suggested full path of the file for restoring + :param restore_full_name: Suggested full path of the file for restoring. :type restore_full_name: str - :param file_type: Database file type. Possible values include: 'Rows', - 'Log', 'Filestream', 'NotSupported', 'Fulltext' + :param file_type: Database file type. Possible values include: "Rows", "Log", "Filestream", + "NotSupported", "Fulltext". :type file_type: str or ~azure.mgmt.datamigration.models.DatabaseFileType """ @@ -2554,7 +2639,16 @@ class DatabaseFileInput(Model): 'file_type': {'key': 'fileType', 'type': 'str'}, } - def __init__(self, *, id: str=None, logical_name: str=None, physical_full_name: str=None, restore_full_name: str=None, file_type=None, **kwargs) -> None: + def __init__( + self, + *, + id: Optional[str] = None, + logical_name: Optional[str] = None, + physical_full_name: Optional[str] = None, + restore_full_name: Optional[str] = None, + file_type: Optional[Union[str, "DatabaseFileType"]] = None, + **kwargs + ): super(DatabaseFileInput, self).__init__(**kwargs) self.id = id self.logical_name = logical_name @@ -2563,12 +2657,12 @@ def __init__(self, *, id: str=None, logical_name: str=None, physical_full_name: self.file_type = file_type -class DatabaseInfo(Model): +class DatabaseInfo(msrest.serialization.Model): """Project Database Details. All required parameters must be populated in order to send to Azure. - :param source_database_name: Required. Name of the database + :param source_database_name: Required. Name of the database. :type source_database_name: str """ @@ -2580,26 +2674,29 @@ class DatabaseInfo(Model): 'source_database_name': {'key': 'sourceDatabaseName', 'type': 'str'}, } - def __init__(self, *, source_database_name: str, **kwargs) -> None: + def __init__( + self, + *, + source_database_name: str, + **kwargs + ): super(DatabaseInfo, self).__init__(**kwargs) self.source_database_name = source_database_name -class DatabaseObjectName(Model): +class DatabaseObjectName(msrest.serialization.Model): """A representation of the name of an object in a database. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar database_name: The unescaped name of the database containing the - object + :ivar database_name: The unescaped name of the database containing the object. :vartype database_name: str - :ivar object_name: The unescaped name of the object + :ivar object_name: The unescaped name of the object. :vartype object_name: str - :ivar schema_name: The unescaped name of the schema containing the object + :ivar schema_name: The unescaped name of the schema containing the object. :vartype schema_name: str - :param object_type: Type of the object in the database. Possible values - include: 'StoredProcedures', 'Table', 'User', 'View', 'Function' + :param object_type: Type of the object in the database. Possible values include: + "StoredProcedures", "Table", "User", "View", "Function". :type object_type: str or ~azure.mgmt.datamigration.models.ObjectType """ @@ -2616,7 +2713,12 @@ class DatabaseObjectName(Model): 'object_type': {'key': 'objectType', 'type': 'str'}, } - def __init__(self, *, object_type=None, **kwargs) -> None: + def __init__( + self, + *, + object_type: Optional[Union[str, "ObjectType"]] = None, + **kwargs + ): super(DatabaseObjectName, self).__init__(**kwargs) self.database_name = None self.object_name = None @@ -2624,32 +2726,30 @@ def __init__(self, *, object_type=None, **kwargs) -> None: self.object_type = object_type -class DataItemMigrationSummaryResult(Model): +class DataItemMigrationSummaryResult(msrest.serialization.Model): """Basic summary of a data item migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar name: Name of the item + :ivar name: Name of the item. :vartype name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar status_message: Status message + :ivar status_message: Status message. :vartype status_message: str - :ivar items_count: Number of items + :ivar items_count: Number of items. :vartype items_count: long - :ivar items_completed_count: Number of successfully completed items + :ivar items_completed_count: Number of successfully completed items. :vartype items_completed_count: long - :ivar error_prefix: Wildcard string prefix to use for querying all errors - of the item + :ivar error_prefix: Wildcard string prefix to use for querying all errors of the item. :vartype error_prefix: str - :ivar result_prefix: Wildcard string prefix to use for querying all - sub-tem results of the item + :ivar result_prefix: Wildcard string prefix to use for querying all sub-tem results of the + item. :vartype result_prefix: str """ @@ -2677,7 +2777,10 @@ class DataItemMigrationSummaryResult(Model): 'result_prefix': {'key': 'resultPrefix', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(DataItemMigrationSummaryResult, self).__init__(**kwargs) self.name = None self.started_on = None @@ -2693,31 +2796,29 @@ def __init__(self, **kwargs) -> None: class DatabaseSummaryResult(DataItemMigrationSummaryResult): """Summary of database results in the migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar name: Name of the item + :ivar name: Name of the item. :vartype name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar status_message: Status message + :ivar status_message: Status message. :vartype status_message: str - :ivar items_count: Number of items + :ivar items_count: Number of items. :vartype items_count: long - :ivar items_completed_count: Number of successfully completed items + :ivar items_completed_count: Number of successfully completed items. :vartype items_completed_count: long - :ivar error_prefix: Wildcard string prefix to use for querying all errors - of the item + :ivar error_prefix: Wildcard string prefix to use for querying all errors of the item. :vartype error_prefix: str - :ivar result_prefix: Wildcard string prefix to use for querying all - sub-tem results of the item + :ivar result_prefix: Wildcard string prefix to use for querying all sub-tem results of the + item. :vartype result_prefix: str - :ivar size_mb: Size of the database in megabytes + :ivar size_mb: Size of the database in megabytes. :vartype size_mb: float """ @@ -2747,20 +2848,22 @@ class DatabaseSummaryResult(DataItemMigrationSummaryResult): 'size_mb': {'key': 'sizeMB', 'type': 'float'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(DatabaseSummaryResult, self).__init__(**kwargs) self.size_mb = None -class DatabaseTable(Model): +class DatabaseTable(msrest.serialization.Model): """Table properties. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar has_rows: Indicates whether table is empty or not + :ivar has_rows: Indicates whether table is empty or not. :vartype has_rows: bool - :ivar name: Schema-qualified name of the table + :ivar name: Schema-qualified name of the table. :vartype name: str """ @@ -2774,20 +2877,22 @@ class DatabaseTable(Model): 'name': {'key': 'name', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(DatabaseTable, self).__init__(**kwargs) self.has_rows = None self.name = None -class DataIntegrityValidationResult(Model): +class DataIntegrityValidationResult(msrest.serialization.Model): """Results for checksum based Data Integrity validation results. - :param failed_objects: List of failed table names of source and target - pair + :param failed_objects: List of failed table names of source and target pair. :type failed_objects: dict[str, str] - :param validation_errors: List of errors that happened while performing - data integrity validation + :param validation_errors: List of errors that happened while performing data integrity + validation. :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError """ @@ -2796,21 +2901,26 @@ class DataIntegrityValidationResult(Model): 'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'}, } - def __init__(self, *, failed_objects=None, validation_errors=None, **kwargs) -> None: + def __init__( + self, + *, + failed_objects: Optional[Dict[str, str]] = None, + validation_errors: Optional["ValidationError"] = None, + **kwargs + ): super(DataIntegrityValidationResult, self).__init__(**kwargs) self.failed_objects = failed_objects self.validation_errors = validation_errors -class DataMigrationError(Model): +class DataMigrationError(msrest.serialization.Model): """Migration Task errors. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar message: Error description + :ivar message: Error description. :vartype message: str - :param type: Possible values include: 'Default', 'Warning', 'Error' + :param type: Error type. Possible values include: "Default", "Warning", "Error". :type type: str or ~azure.mgmt.datamigration.models.ErrorType """ @@ -2823,34 +2933,37 @@ class DataMigrationError(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, type=None, **kwargs) -> None: + def __init__( + self, + *, + type: Optional[Union[str, "ErrorType"]] = None, + **kwargs + ): super(DataMigrationError, self).__init__(**kwargs) self.message = None self.type = type -class DataMigrationProjectMetadata(Model): +class DataMigrationProjectMetadata(msrest.serialization.Model): """Common metadata for migration projects. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar source_server_name: Source server name + :ivar source_server_name: Source server name. :vartype source_server_name: str - :ivar source_server_port: Source server port number + :ivar source_server_port: Source server port number. :vartype source_server_port: str - :ivar source_username: Source username + :ivar source_username: Source username. :vartype source_username: str - :ivar target_server_name: Target server name + :ivar target_server_name: Target server name. :vartype target_server_name: str - :ivar target_username: Target username + :ivar target_username: Target username. :vartype target_username: str - :ivar target_db_name: Target database name + :ivar target_db_name: Target database name. :vartype target_db_name: str - :ivar target_using_win_auth: Whether target connection is Windows - authentication + :ivar target_using_win_auth: Whether target connection is Windows authentication. :vartype target_using_win_auth: bool - :ivar selected_migration_tables: List of tables selected for migration + :ivar selected_migration_tables: List of tables selected for migration. :vartype selected_migration_tables: list[~azure.mgmt.datamigration.models.MigrationTableMetadata] """ @@ -2877,7 +2990,10 @@ class DataMigrationProjectMetadata(Model): 'selected_migration_tables': {'key': 'selectedMigrationTables', 'type': '[MigrationTableMetadata]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(DataMigrationProjectMetadata, self).__init__(**kwargs) self.source_server_name = None self.source_server_port = None @@ -2889,11 +3005,10 @@ def __init__(self, **kwargs) -> None: self.selected_migration_tables = None -class Resource(Model): +class Resource(msrest.serialization.Model): """ARM resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Resource ID. :vartype id: str @@ -2915,7 +3030,10 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(Resource, self).__init__(**kwargs) self.id = None self.name = None @@ -2925,8 +3043,7 @@ def __init__(self, **kwargs) -> None: class TrackedResource(Resource): """ARM tracked top level resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -2936,7 +3053,7 @@ class TrackedResource(Resource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. Resource location. :type location: str @@ -2957,7 +3074,13 @@ class TrackedResource(Resource): 'location': {'key': 'location', 'type': 'str'}, } - def __init__(self, *, location: str, tags=None, **kwargs) -> None: + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): super(TrackedResource, self).__init__(**kwargs) self.tags = tags self.location = location @@ -2966,8 +3089,7 @@ def __init__(self, *, location: str, tags=None, **kwargs) -> None: class DataMigrationService(TrackedResource): """A Database Migration Service resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -2977,29 +3099,28 @@ class DataMigrationService(TrackedResource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. Resource location. :type location: str - :param etag: HTTP strong entity tag value. Ignored if submitted + :param etag: HTTP strong entity tag value. Ignored if submitted. :type etag: str :param kind: The resource kind. Only 'vm' (the default) is supported. :type kind: str - :ivar provisioning_state: The resource's provisioning state. Possible - values include: 'Accepted', 'Deleting', 'Deploying', 'Stopped', - 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop', 'Succeeded', - 'Failed' - :vartype provisioning_state: str or - ~azure.mgmt.datamigration.models.ServiceProvisioningState - :param public_key: The public key of the service, used to encrypt secrets - sent to the service + :param sku: Service SKU. + :type sku: ~azure.mgmt.datamigration.models.ServiceSku + :ivar provisioning_state: The resource's provisioning state. Possible values include: + "Accepted", "Deleting", "Deploying", "Stopped", "Stopping", "Starting", "FailedToStart", + "FailedToStop", "Succeeded", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.datamigration.models.ServiceProvisioningState + :param public_key: The public key of the service, used to encrypt secrets sent to the service. :type public_key: str - :param virtual_subnet_id: Required. The ID of the - Microsoft.Network/virtualNetworks/subnets resource to which the service - should be joined + :param virtual_subnet_id: The ID of the Microsoft.Network/virtualNetworks/subnets resource to + which the service should be joined. :type virtual_subnet_id: str - :param sku: Service SKU - :type sku: ~azure.mgmt.datamigration.models.ServiceSku + :param virtual_nic_id: The ID of the Microsoft.Network/networkInterfaces resource which the + service have. + :type virtual_nic_id: str """ _validation = { @@ -3008,7 +3129,6 @@ class DataMigrationService(TrackedResource): 'type': {'readonly': True}, 'location': {'required': True}, 'provisioning_state': {'readonly': True}, - 'virtual_subnet_id': {'required': True}, } _attribute_map = { @@ -3019,35 +3139,74 @@ class DataMigrationService(TrackedResource): 'location': {'key': 'location', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'kind': {'key': 'kind', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'ServiceSku'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'public_key': {'key': 'properties.publicKey', 'type': 'str'}, 'virtual_subnet_id': {'key': 'properties.virtualSubnetId', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'ServiceSku'}, - } - - def __init__(self, *, location: str, virtual_subnet_id: str, tags=None, etag: str=None, kind: str=None, public_key: str=None, sku=None, **kwargs) -> None: + 'virtual_nic_id': {'key': 'properties.virtualNicId', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + etag: Optional[str] = None, + kind: Optional[str] = None, + sku: Optional["ServiceSku"] = None, + public_key: Optional[str] = None, + virtual_subnet_id: Optional[str] = None, + virtual_nic_id: Optional[str] = None, + **kwargs + ): super(DataMigrationService, self).__init__(tags=tags, location=location, **kwargs) self.etag = etag self.kind = kind + self.sku = sku self.provisioning_state = None self.public_key = public_key self.virtual_subnet_id = virtual_subnet_id - self.sku = sku + self.virtual_nic_id = virtual_nic_id + +class DataMigrationServiceList(msrest.serialization.Model): + """OData page of service objects. -class DataMigrationServiceStatusResponse(Model): + :param value: List of services. + :type value: list[~azure.mgmt.datamigration.models.DataMigrationService] + :param next_link: URL to load the next page of services. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DataMigrationService]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["DataMigrationService"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(DataMigrationServiceList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class DataMigrationServiceStatusResponse(msrest.serialization.Model): """Service health status. - :param agent_version: The DMS instance agent version + :param agent_version: The DMS instance agent version. :type agent_version: str - :param status: The machine-readable status, such as 'Initializing', - 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', - 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed' + :param status: The machine-readable status, such as 'Initializing', 'Offline', 'Online', + 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or + 'Failed'. :type status: str - :param vm_size: The services virtual machine size, such as - 'Standard_D2_v2' + :param vm_size: The services virtual machine size, such as 'Standard_D2_v2'. :type vm_size: str - :param supported_task_types: The list of supported task types + :param supported_task_types: The list of supported task types. :type supported_task_types: list[str] """ @@ -3058,7 +3217,15 @@ class DataMigrationServiceStatusResponse(Model): 'supported_task_types': {'key': 'supportedTaskTypes', 'type': '[str]'}, } - def __init__(self, *, agent_version: str=None, status: str=None, vm_size: str=None, supported_task_types=None, **kwargs) -> None: + def __init__( + self, + *, + agent_version: Optional[str] = None, + status: Optional[str] = None, + vm_size: Optional[str] = None, + supported_task_types: Optional[List[str]] = None, + **kwargs + ): super(DataMigrationServiceStatusResponse, self).__init__(**kwargs) self.agent_version = agent_version self.status = status @@ -3066,23 +3233,20 @@ def __init__(self, *, agent_version: str=None, status: str=None, vm_size: str=No self.supported_task_types = supported_task_types -class ExecutionStatistics(Model): +class ExecutionStatistics(msrest.serialization.Model): """Description about the errors happen while performing migration validation. - :param execution_count: No. of query executions + :param execution_count: No. of query executions. :type execution_count: long - :param cpu_time_ms: CPU Time in millisecond(s) for the query execution + :param cpu_time_ms: CPU Time in millisecond(s) for the query execution. :type cpu_time_ms: float - :param elapsed_time_ms: Time taken in millisecond(s) for executing the - query + :param elapsed_time_ms: Time taken in millisecond(s) for executing the query. :type elapsed_time_ms: float - :param wait_stats: Dictionary of sql query execution wait types and the - respective statistics - :type wait_stats: dict[str, - ~azure.mgmt.datamigration.models.WaitStatistics] - :param has_errors: Indicates whether the query resulted in an error + :param wait_stats: Dictionary of sql query execution wait types and the respective statistics. + :type wait_stats: dict[str, ~azure.mgmt.datamigration.models.WaitStatistics] + :param has_errors: Indicates whether the query resulted in an error. :type has_errors: bool - :param sql_errors: List of sql Errors + :param sql_errors: List of sql Errors. :type sql_errors: list[str] """ @@ -3095,7 +3259,17 @@ class ExecutionStatistics(Model): 'sql_errors': {'key': 'sqlErrors', 'type': '[str]'}, } - def __init__(self, *, execution_count: int=None, cpu_time_ms: float=None, elapsed_time_ms: float=None, wait_stats=None, has_errors: bool=None, sql_errors=None, **kwargs) -> None: + def __init__( + self, + *, + execution_count: Optional[int] = None, + cpu_time_ms: Optional[float] = None, + elapsed_time_ms: Optional[float] = None, + wait_stats: Optional[Dict[str, "WaitStatistics"]] = None, + has_errors: Optional[bool] = None, + sql_errors: Optional[List[str]] = None, + **kwargs + ): super(ExecutionStatistics, self).__init__(**kwargs) self.execution_count = execution_count self.cpu_time_ms = cpu_time_ms @@ -3105,15 +3279,40 @@ def __init__(self, *, execution_count: int=None, cpu_time_ms: float=None, elapse self.sql_errors = sql_errors -class FileShare(Model): +class FileList(msrest.serialization.Model): + """OData page of files. + + :param value: List of files. + :type value: list[~azure.mgmt.datamigration.models.ProjectFile] + :param next_link: URL to load the next page of files. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ProjectFile]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ProjectFile"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(FileList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class FileShare(msrest.serialization.Model): """File share information with Path, Username, and Password. All required parameters must be populated in order to send to Azure. - :param user_name: User name credential to connect to the share location + :param user_name: User name credential to connect to the share location. :type user_name: str - :param password: Password credential used to connect to the share - location. + :param password: Password credential used to connect to the share location. :type password: str :param path: Required. The folder path for this share. :type path: str @@ -3129,19 +3328,26 @@ class FileShare(Model): 'path': {'key': 'path', 'type': 'str'}, } - def __init__(self, *, path: str, user_name: str=None, password: str=None, **kwargs) -> None: + def __init__( + self, + *, + path: str, + user_name: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): super(FileShare, self).__init__(**kwargs) self.user_name = user_name self.password = password self.path = path -class FileStorageInfo(Model): +class FileStorageInfo(msrest.serialization.Model): """File storage information. :param uri: A URI that can be used to access the file content. :type uri: str - :param headers: + :param headers: Dictionary of :code:``. :type headers: dict[str, str] """ @@ -3150,21 +3356,27 @@ class FileStorageInfo(Model): 'headers': {'key': 'headers', 'type': '{str}'}, } - def __init__(self, *, uri: str=None, headers=None, **kwargs) -> None: + def __init__( + self, + *, + uri: Optional[str] = None, + headers: Optional[Dict[str, str]] = None, + **kwargs + ): super(FileStorageInfo, self).__init__(**kwargs) self.uri = uri self.headers = headers -class GetProjectDetailsNonSqlTaskInput(Model): +class GetProjectDetailsNonSqlTaskInput(msrest.serialization.Model): """Input for the task that reads configuration from project artifacts. All required parameters must be populated in order to send to Azure. - :param project_name: Required. Name of the migration project + :param project_name: Required. Name of the migration project. :type project_name: str - :param project_location: Required. A URL that points to the location to - access project artifacts + :param project_location: Required. A URL that points to the location to access project + artifacts. :type project_location: str """ @@ -3178,26 +3390,31 @@ class GetProjectDetailsNonSqlTaskInput(Model): 'project_location': {'key': 'projectLocation', 'type': 'str'}, } - def __init__(self, *, project_name: str, project_location: str, **kwargs) -> None: + def __init__( + self, + *, + project_name: str, + project_location: str, + **kwargs + ): super(GetProjectDetailsNonSqlTaskInput, self).__init__(**kwargs) self.project_name = project_name self.project_location = project_location -class GetTdeCertificatesSqlTaskInput(Model): +class GetTdeCertificatesSqlTaskInput(msrest.serialization.Model): """Input for the task that gets TDE certificates in Base64 encoded format. All required parameters must be populated in order to send to Azure. - :param connection_info: Required. Connection information for SQL Server + :param connection_info: Required. Connection information for SQL Server. :type connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param backup_file_share: Required. Backup file share information for file - share to be used for temporarily storing files. + :param backup_file_share: Required. Backup file share information for file share to be used for + temporarily storing files. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param selected_certificates: Required. List containing certificate names - and corresponding password to use for encrypting the exported certificate. - :type selected_certificates: - list[~azure.mgmt.datamigration.models.SelectedCertificateInput] + :param selected_certificates: Required. List containing certificate names and corresponding + password to use for encrypting the exported certificate. + :type selected_certificates: list[~azure.mgmt.datamigration.models.SelectedCertificateInput] """ _validation = { @@ -3212,25 +3429,29 @@ class GetTdeCertificatesSqlTaskInput(Model): 'selected_certificates': {'key': 'selectedCertificates', 'type': '[SelectedCertificateInput]'}, } - def __init__(self, *, connection_info, backup_file_share, selected_certificates, **kwargs) -> None: + def __init__( + self, + *, + connection_info: "SqlConnectionInfo", + backup_file_share: "FileShare", + selected_certificates: List["SelectedCertificateInput"], + **kwargs + ): super(GetTdeCertificatesSqlTaskInput, self).__init__(**kwargs) self.connection_info = connection_info self.backup_file_share = backup_file_share self.selected_certificates = selected_certificates -class GetTdeCertificatesSqlTaskOutput(Model): +class GetTdeCertificatesSqlTaskOutput(msrest.serialization.Model): """Output of the task that gets TDE certificates in Base64 encoded format. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar base64_encoded_certificates: Mapping from certificate name to base - 64 encoded format. - :vartype base64_encoded_certificates: dict[str, list[str]] - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar base64_encoded_certificates: Mapping from certificate name to base 64 encoded format. + :vartype base64_encoded_certificates: str + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3239,84 +3460,83 @@ class GetTdeCertificatesSqlTaskOutput(Model): } _attribute_map = { - 'base64_encoded_certificates': {'key': 'base64EncodedCertificates', 'type': '{[str]}'}, + 'base64_encoded_certificates': {'key': 'base64EncodedCertificates', 'type': 'str'}, 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(GetTdeCertificatesSqlTaskOutput, self).__init__(**kwargs) self.base64_encoded_certificates = None self.validation_errors = None class GetTdeCertificatesSqlTaskProperties(ProjectTaskProperties): - """Properties for the task that gets TDE certificates in Base64 encoded - format. + """Properties for the task that gets TDE certificates in Base64 encoded format. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.GetTdeCertificatesSqlTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.GetTdeCertificatesSqlTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetTdeCertificatesSqlTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetTdeCertificatesSqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetTdeCertificatesSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetTdeCertificatesSqlTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["GetTdeCertificatesSqlTaskInput"] = None, + **kwargs + ): super(GetTdeCertificatesSqlTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'GetTDECertificates.Sql' # type: str self.input = input self.output = None - self.task_type = 'GetTDECertificates.Sql' -class GetUserTablesOracleTaskInput(Model): - """Input for the task that gets the list of tables contained within a provided - list of Oracle schemas. +class GetUserTablesOracleTaskInput(msrest.serialization.Model): + """Input for the task that gets the list of tables contained within a provided list of Oracle schemas. All required parameters must be populated in order to send to Azure. - :param connection_info: Required. Information for connecting to Oracle - source - :type connection_info: - ~azure.mgmt.datamigration.models.OracleConnectionInfo - :param selected_schemas: Required. List of Oracle schemas for which to - collect tables + :param connection_info: Required. Information for connecting to Oracle source. + :type connection_info: ~azure.mgmt.datamigration.models.OracleConnectionInfo + :param selected_schemas: Required. List of Oracle schemas for which to collect tables. :type selected_schemas: list[str] """ @@ -3330,26 +3550,29 @@ class GetUserTablesOracleTaskInput(Model): 'selected_schemas': {'key': 'selectedSchemas', 'type': '[str]'}, } - def __init__(self, *, connection_info, selected_schemas, **kwargs) -> None: + def __init__( + self, + *, + connection_info: "OracleConnectionInfo", + selected_schemas: List[str], + **kwargs + ): super(GetUserTablesOracleTaskInput, self).__init__(**kwargs) self.connection_info = connection_info self.selected_schemas = selected_schemas -class GetUserTablesOracleTaskOutput(Model): - """Output for the task that gets the list of tables contained within a - provided list of Oracle schemas. +class GetUserTablesOracleTaskOutput(msrest.serialization.Model): + """Output for the task that gets the list of tables contained within a provided list of Oracle schemas. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar schema_name: The schema this result is for + :ivar schema_name: The schema this result is for. :vartype schema_name: str - :ivar tables: List of valid tables found for this schema + :ivar tables: List of valid tables found for this schema. :vartype tables: list[~azure.mgmt.datamigration.models.DatabaseTable] - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3364,7 +3587,10 @@ class GetUserTablesOracleTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(GetUserTablesOracleTaskOutput, self).__init__(**kwargs) self.schema_name = None self.tables = None @@ -3372,72 +3598,69 @@ def __init__(self, **kwargs) -> None: class GetUserTablesOracleTaskProperties(ProjectTaskProperties): - """Properties for the task that collects user tables for the given list of - Oracle schemas. + """Properties for the task that collects user tables for the given list of Oracle schemas. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.GetUserTablesOracleTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetUserTablesOracleTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetUserTablesOracleTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesOracleTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesOracleTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["GetUserTablesOracleTaskInput"] = None, + **kwargs + ): super(GetUserTablesOracleTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'GetUserTablesOracle' # type: str self.input = input self.output = None - self.task_type = 'GetUserTablesOracle' -class GetUserTablesPostgreSqlTaskInput(Model): - """Input for the task that gets the list of tables for a provided list of - PostgreSQL databases. +class GetUserTablesPostgreSqlTaskInput(msrest.serialization.Model): + """Input for the task that gets the list of tables for a provided list of PostgreSQL databases. All required parameters must be populated in order to send to Azure. - :param connection_info: Required. Information for connecting to PostgreSQL - source - :type connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo - :param selected_databases: Required. List of PostgreSQL databases for - which to collect tables + :param connection_info: Required. Information for connecting to PostgreSQL source. + :type connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param selected_databases: Required. List of PostgreSQL databases for which to collect tables. :type selected_databases: list[str] """ @@ -3451,26 +3674,29 @@ class GetUserTablesPostgreSqlTaskInput(Model): 'selected_databases': {'key': 'selectedDatabases', 'type': '[str]'}, } - def __init__(self, *, connection_info, selected_databases, **kwargs) -> None: + def __init__( + self, + *, + connection_info: "PostgreSqlConnectionInfo", + selected_databases: List[str], + **kwargs + ): super(GetUserTablesPostgreSqlTaskInput, self).__init__(**kwargs) self.connection_info = connection_info self.selected_databases = selected_databases -class GetUserTablesPostgreSqlTaskOutput(Model): - """Output for the task that gets the list of tables for a provided list of - PostgreSQL databases. +class GetUserTablesPostgreSqlTaskOutput(msrest.serialization.Model): + """Output for the task that gets the list of tables for a provided list of PostgreSQL databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar database_name: The database this result is for + :ivar database_name: The database this result is for. :vartype database_name: str - :ivar tables: List of valid tables found for this database + :ivar tables: List of valid tables found for this database. :vartype tables: list[~azure.mgmt.datamigration.models.DatabaseTable] - :ivar validation_errors: Validation errors associated with the task - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors associated with the task. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3485,7 +3711,10 @@ class GetUserTablesPostgreSqlTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(GetUserTablesPostgreSqlTaskOutput, self).__init__(**kwargs) self.database_name = None self.tables = None @@ -3493,79 +3722,75 @@ def __init__(self, **kwargs) -> None: class GetUserTablesPostgreSqlTaskProperties(ProjectTaskProperties): - """Properties for the task that collects user tables for the given list of - databases. + """Properties for the task that collects user tables for the given list of databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.GetUserTablesPostgreSqlTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.GetUserTablesPostgreSqlTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetUserTablesPostgreSqlTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetUserTablesPostgreSqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesPostgreSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesPostgreSqlTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["GetUserTablesPostgreSqlTaskInput"] = None, + **kwargs + ): super(GetUserTablesPostgreSqlTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'GetUserTablesPostgreSql' # type: str self.input = input self.output = None - self.task_type = 'GetUserTablesPostgreSql' -class GetUserTablesSqlSyncTaskInput(Model): - """Input for the task that collects user tables for the given list of - databases. +class GetUserTablesSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that collects user tables for the given list of databases. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for SQL - Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for SQL DB - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_source_databases: Required. List of source database names - to collect tables for + :param source_connection_info: Required. Connection information for SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for SQL DB. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_source_databases: Required. List of source database names to collect tables + for. :type selected_source_databases: list[str] - :param selected_target_databases: Required. List of target database names - to collect tables for + :param selected_target_databases: Required. List of target database names to collect tables + for. :type selected_target_databases: list[str] """ @@ -3583,7 +3808,15 @@ class GetUserTablesSqlSyncTaskInput(Model): 'selected_target_databases': {'key': 'selectedTargetDatabases', 'type': '[str]'}, } - def __init__(self, *, source_connection_info, target_connection_info, selected_source_databases, selected_target_databases, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + selected_source_databases: List[str], + selected_target_databases: List[str], + **kwargs + ): super(GetUserTablesSqlSyncTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.target_connection_info = target_connection_info @@ -3591,27 +3824,19 @@ def __init__(self, *, source_connection_info, target_connection_info, selected_s self.selected_target_databases = selected_target_databases -class GetUserTablesSqlSyncTaskOutput(Model): - """Output of the task that collects user tables for the given list of - databases. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar databases_to_source_tables: Mapping from database name to list of - source tables - :vartype databases_to_source_tables: dict[str, - list[~azure.mgmt.datamigration.models.DatabaseTable]] - :ivar databases_to_target_tables: Mapping from database name to list of - target tables - :vartype databases_to_target_tables: dict[str, - list[~azure.mgmt.datamigration.models.DatabaseTable]] - :ivar table_validation_errors: Mapping from database name to list of - validation errors - :vartype table_validation_errors: dict[str, list[str]] - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] +class GetUserTablesSqlSyncTaskOutput(msrest.serialization.Model): + """Output of the task that collects user tables for the given list of databases. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar databases_to_source_tables: Mapping from database name to list of source tables. + :vartype databases_to_source_tables: str + :ivar databases_to_target_tables: Mapping from database name to list of target tables. + :vartype databases_to_target_tables: str + :ivar table_validation_errors: Mapping from database name to list of validation errors. + :vartype table_validation_errors: str + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3622,13 +3847,16 @@ class GetUserTablesSqlSyncTaskOutput(Model): } _attribute_map = { - 'databases_to_source_tables': {'key': 'databasesToSourceTables', 'type': '{[DatabaseTable]}'}, - 'databases_to_target_tables': {'key': 'databasesToTargetTables', 'type': '{[DatabaseTable]}'}, - 'table_validation_errors': {'key': 'tableValidationErrors', 'type': '{[str]}'}, + 'databases_to_source_tables': {'key': 'databasesToSourceTables', 'type': 'str'}, + 'databases_to_target_tables': {'key': 'databasesToTargetTables', 'type': 'str'}, + 'table_validation_errors': {'key': 'tableValidationErrors', 'type': 'str'}, 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(GetUserTablesSqlSyncTaskOutput, self).__init__(**kwargs) self.databases_to_source_tables = None self.databases_to_target_tables = None @@ -3637,71 +3865,69 @@ def __init__(self, **kwargs) -> None: class GetUserTablesSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that collects user tables for the given list of - databases. + """Properties for the task that collects user tables for the given list of databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.GetUserTablesSqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.GetUserTablesSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetUserTablesSqlSyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetUserTablesSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesSqlSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["GetUserTablesSqlSyncTaskInput"] = None, + **kwargs + ): super(GetUserTablesSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'GetUserTables.AzureSqlDb.Sync' # type: str self.input = input self.output = None - self.task_type = 'GetUserTables.AzureSqlDb.Sync' -class GetUserTablesSqlTaskInput(Model): - """Input for the task that collects user tables for the given list of - databases. +class GetUserTablesSqlTaskInput(msrest.serialization.Model): + """Input for the task that collects user tables for the given list of databases. All required parameters must be populated in order to send to Azure. - :param connection_info: Required. Connection information for SQL Server + :param connection_info: Required. Connection information for SQL Server. :type connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. List of database names to collect - tables for + :param selected_databases: Required. List of database names to collect tables for. :type selected_databases: list[str] """ @@ -3715,27 +3941,29 @@ class GetUserTablesSqlTaskInput(Model): 'selected_databases': {'key': 'selectedDatabases', 'type': '[str]'}, } - def __init__(self, *, connection_info, selected_databases, **kwargs) -> None: + def __init__( + self, + *, + connection_info: "SqlConnectionInfo", + selected_databases: List[str], + **kwargs + ): super(GetUserTablesSqlTaskInput, self).__init__(**kwargs) self.connection_info = connection_info self.selected_databases = selected_databases -class GetUserTablesSqlTaskOutput(Model): - """Output of the task that collects user tables for the given list of - databases. +class GetUserTablesSqlTaskOutput(msrest.serialization.Model): + """Output of the task that collects user tables for the given list of databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar databases_to_tables: Mapping from database name to list of tables - :vartype databases_to_tables: dict[str, - list[~azure.mgmt.datamigration.models.DatabaseTable]] - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar databases_to_tables: Mapping from database name to list of tables. + :vartype databases_to_tables: str + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3746,11 +3974,14 @@ class GetUserTablesSqlTaskOutput(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'databases_to_tables': {'key': 'databasesToTables', 'type': '{[DatabaseTable]}'}, + 'databases_to_tables': {'key': 'databasesToTables', 'type': 'str'}, 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(GetUserTablesSqlTaskOutput, self).__init__(**kwargs) self.id = None self.databases_to_tables = None @@ -3758,65 +3989,65 @@ def __init__(self, **kwargs) -> None: class GetUserTablesSqlTaskProperties(ProjectTaskProperties): - """Properties for the task that collects user tables for the given list of - databases. + """Properties for the task that collects user tables for the given list of databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.GetUserTablesSqlTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.GetUserTablesSqlTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.GetUserTablesSqlTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'GetUserTablesSqlTaskInput'}, 'output': {'key': 'output', 'type': '[GetUserTablesSqlTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["GetUserTablesSqlTaskInput"] = None, + **kwargs + ): super(GetUserTablesSqlTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'GetUserTables.Sql' # type: str self.input = input self.output = None - self.task_type = 'GetUserTables.Sql' -class InstallOCIDriverTaskInput(Model): +class InstallOCIDriverTaskInput(msrest.serialization.Model): """Input for the service task to install an OCI driver. - :param driver_package_name: Name of the uploaded driver package to - install. + :param driver_package_name: Name of the uploaded driver package to install. :type driver_package_name: str """ @@ -3824,20 +4055,23 @@ class InstallOCIDriverTaskInput(Model): 'driver_package_name': {'key': 'driverPackageName', 'type': 'str'}, } - def __init__(self, *, driver_package_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + driver_package_name: Optional[str] = None, + **kwargs + ): super(InstallOCIDriverTaskInput, self).__init__(**kwargs) self.driver_package_name = driver_package_name -class InstallOCIDriverTaskOutput(Model): +class InstallOCIDriverTaskOutput(msrest.serialization.Model): """Output for the service task to install an OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -3848,7 +4082,10 @@ class InstallOCIDriverTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(InstallOCIDriverTaskOutput, self).__init__(**kwargs) self.validation_errors = None @@ -3856,64 +4093,65 @@ def __init__(self, **kwargs) -> None: class InstallOCIDriverTaskProperties(ProjectTaskProperties): """Properties for the task that installs an OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Input for the service task to install an OCI driver. :type input: ~azure.mgmt.datamigration.models.InstallOCIDriverTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.InstallOCIDriverTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.InstallOCIDriverTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'InstallOCIDriverTaskInput'}, 'output': {'key': 'output', 'type': '[InstallOCIDriverTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["InstallOCIDriverTaskInput"] = None, + **kwargs + ): super(InstallOCIDriverTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Service.Install.OCI' # type: str self.input = input self.output = None - self.task_type = 'Service.Install.OCI' -class MigrateMISyncCompleteCommandInput(Model): - """Input for command that completes online migration for an Azure SQL Database - Managed Instance. +class MigrateMISyncCompleteCommandInput(msrest.serialization.Model): + """Input for command that completes online migration for an Azure SQL Database Managed Instance. All required parameters must be populated in order to send to Azure. - :param source_database_name: Required. Name of managed instance database + :param source_database_name: Required. Name of managed instance database. :type source_database_name: str """ @@ -3925,16 +4163,20 @@ class MigrateMISyncCompleteCommandInput(Model): 'source_database_name': {'key': 'sourceDatabaseName', 'type': 'str'}, } - def __init__(self, *, source_database_name: str, **kwargs) -> None: + def __init__( + self, + *, + source_database_name: str, + **kwargs + ): super(MigrateMISyncCompleteCommandInput, self).__init__(**kwargs) self.source_database_name = source_database_name -class MigrateMISyncCompleteCommandOutput(Model): - """Output for command that completes online migration for an Azure SQL - Database Managed Instance. +class MigrateMISyncCompleteCommandOutput(msrest.serialization.Model): + """Output for command that completes online migration for an Azure SQL Database Managed Instance. - :param errors: List of errors that happened during the command execution + :param errors: List of errors that happened during the command execution. :type errors: list[~azure.mgmt.datamigration.models.ReportableException] """ @@ -3942,130 +4184,134 @@ class MigrateMISyncCompleteCommandOutput(Model): 'errors': {'key': 'errors', 'type': '[ReportableException]'}, } - def __init__(self, *, errors=None, **kwargs) -> None: + def __init__( + self, + *, + errors: Optional[List["ReportableException"]] = None, + **kwargs + ): super(MigrateMISyncCompleteCommandOutput, self).__init__(**kwargs) self.errors = errors class MigrateMISyncCompleteCommandProperties(CommandProperties): - """Properties for the command that completes online migration for an Azure SQL - Database Managed Instance. + """Properties for the command that completes online migration for an Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input - :type input: - ~azure.mgmt.datamigration.models.MigrateMISyncCompleteCommandInput + :param input: Command input. + :type input: ~azure.mgmt.datamigration.models.MigrateMISyncCompleteCommandInput :ivar output: Command output. This is ignored if submitted. - :vartype output: - ~azure.mgmt.datamigration.models.MigrateMISyncCompleteCommandOutput + :vartype output: ~azure.mgmt.datamigration.models.MigrateMISyncCompleteCommandOutput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateMISyncCompleteCommandInput'}, 'output': {'key': 'output', 'type': 'MigrateMISyncCompleteCommandOutput'}, } - def __init__(self, *, input=None, **kwargs) -> None: + def __init__( + self, + *, + input: Optional["MigrateMISyncCompleteCommandInput"] = None, + **kwargs + ): super(MigrateMISyncCompleteCommandProperties, self).__init__(**kwargs) + self.command_type = 'Migrate.SqlServer.AzureDbSqlMi.Complete' # type: str self.input = input self.output = None - self.command_type = 'Migrate.SqlServer.AzureDbSqlMi.Complete' class MigrateMongoDbTaskProperties(ProjectTaskProperties): """Properties for the task that migrates data between MongoDB data sources. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Describes how a MongoDB data migration should be performed. :type input: ~azure.mgmt.datamigration.models.MongoDbMigrationSettings :ivar output: :vartype output: list[~azure.mgmt.datamigration.models.MongoDbProgress] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbMigrationSettings'}, 'output': {'key': 'output', 'type': '[MongoDbProgress]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MongoDbMigrationSettings"] = None, + **kwargs + ): super(MigrateMongoDbTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.MongoDb' # type: str self.input = input self.output = None - self.task_type = 'Migrate.MongoDb' -class MigrateMySqlAzureDbForMySqlSyncDatabaseInput(Model): - """Database specific information for MySQL to Azure Database for MySQL - migration task inputs. +class MigrateMySqlAzureDbForMySqlSyncDatabaseInput(msrest.serialization.Model): + """Database specific information for MySQL to Azure Database for MySQL migration task inputs. - :param name: Name of the database + :param name: Name of the database. :type name: str - :param target_database_name: Name of target database. Note: Target - database will be truncated before starting migration. + :param target_database_name: Name of target database. Note: Target database will be truncated + before starting migration. :type target_database_name: str - :param migration_setting: Migration settings which tune the migration - behavior + :param migration_setting: Migration settings which tune the migration behavior. :type migration_setting: dict[str, str] - :param source_setting: Source settings to tune source endpoint migration - behavior + :param source_setting: Source settings to tune source endpoint migration behavior. :type source_setting: dict[str, str] - :param target_setting: Target settings to tune target endpoint migration - behavior + :param target_setting: Target settings to tune target endpoint migration behavior. :type target_setting: dict[str, str] - :param table_map: Mapping of source to target tables + :param table_map: Mapping of source to target tables. :type table_map: dict[str, str] """ @@ -4078,7 +4324,17 @@ class MigrateMySqlAzureDbForMySqlSyncDatabaseInput(Model): 'table_map': {'key': 'tableMap', 'type': '{str}'}, } - def __init__(self, *, name: str=None, target_database_name: str=None, migration_setting=None, source_setting=None, target_setting=None, table_map=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + target_database_name: Optional[str] = None, + migration_setting: Optional[Dict[str, str]] = None, + source_setting: Optional[Dict[str, str]] = None, + target_setting: Optional[Dict[str, str]] = None, + table_map: Optional[Dict[str, str]] = None, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncDatabaseInput, self).__init__(**kwargs) self.name = name self.target_database_name = target_database_name @@ -4088,21 +4344,17 @@ def __init__(self, *, name: str=None, target_database_name: str=None, migration_ self.table_map = table_map -class MigrateMySqlAzureDbForMySqlSyncTaskInput(Model): - """Input for the task that migrates MySQL databases to Azure Database for - MySQL for online migrations. +class MigrateMySqlAzureDbForMySqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that migrates MySQL databases to Azure Database for MySQL for online migrations. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Connection information for source - MySQL - :type source_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo - :param target_connection_info: Required. Connection information for target - Azure Database for MySQL - :type target_connection_info: - ~azure.mgmt.datamigration.models.MySqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Connection information for source MySQL. + :type source_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + MySQL. + :type target_connection_info: ~azure.mgmt.datamigration.models.MySqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateMySqlAzureDbForMySqlSyncDatabaseInput] """ @@ -4119,32 +4371,33 @@ class MigrateMySqlAzureDbForMySqlSyncTaskInput(Model): 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateMySqlAzureDbForMySqlSyncDatabaseInput]'}, } - def __init__(self, *, source_connection_info, target_connection_info, selected_databases, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "MySqlConnectionInfo", + target_connection_info: "MySqlConnectionInfo", + selected_databases: List["MigrateMySqlAzureDbForMySqlSyncDatabaseInput"], + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.target_connection_info = target_connection_info self.selected_databases = selected_databases -class MigrateMySqlAzureDbForMySqlSyncTaskOutput(Model): - """Output for the task that migrates MySQL databases to Azure Database for - MySQL for online migrations. +class MigrateMySqlAzureDbForMySqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that migrates MySQL databases to Azure Database for MySQL for online migrations. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError, - MigrateMySqlAzureDbForMySqlSyncTaskOutputError, - MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel, - MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel, - MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel + sub-classes are: MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError, MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel, MigrateMySqlAzureDbForMySqlSyncTaskOutputError, MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel, MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -4159,32 +4412,33 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'DatabaseLevelErrorOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError', 'ErrorOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputError', 'TableLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelErrorOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError', 'DatabaseLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputError', 'MigrationLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel', 'TableLevelOutput': 'MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :param error_message: Error message + :param error_message: Error message. :type error_message: str :param events: List of error events. - :type events: - list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] + :type events: list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] """ _validation = { @@ -4199,61 +4453,64 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError(MigrateMySqlAzureDb 'events': {'key': 'events', 'type': '[SyncMigrationDatabaseErrorEvent]'}, } - def __init__(self, *, error_message: str=None, events=None, **kwargs) -> None: + def __init__( + self, + *, + error_message: Optional[str] = None, + events: Optional[List["SyncMigrationDatabaseErrorEvent"]] = None, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelErrorOutput' # type: str self.error_message = error_message self.events = events - self.result_type = 'DatabaseLevelErrorOutput' class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar migration_state: Migration state that this database is in. Possible - values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', - 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', - 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', - 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', - 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar migration_state: Migration state that this database is in. Possible values include: + "UNDEFINED", "CONFIGURING", "INITIALIAZING", "STARTING", "RUNNING", "READY_TO_COMPLETE", + "COMPLETING", "COMPLETE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATING", + "VALIDATION_COMPLETE", "VALIDATION_FAILED", "RESTORE_IN_PROGRESS", "RESTORE_COMPLETED", + "BACKUP_IN_PROGRESS", "BACKUP_COMPLETED". :vartype migration_state: str or ~azure.mgmt.datamigration.models.SyncDatabaseMigrationReportingState - :ivar incoming_changes: Number of incoming changes + :ivar incoming_changes: Number of incoming changes. :vartype incoming_changes: long - :ivar applied_changes: Number of applied changes + :ivar applied_changes: Number of applied changes. :vartype applied_changes: long - :ivar cdc_insert_counter: Number of cdc inserts + :ivar cdc_insert_counter: Number of cdc inserts. :vartype cdc_insert_counter: long - :ivar cdc_delete_counter: Number of cdc deletes + :ivar cdc_delete_counter: Number of cdc deletes. :vartype cdc_delete_counter: long - :ivar cdc_update_counter: Number of cdc updates + :ivar cdc_update_counter: Number of cdc updates. :vartype cdc_update_counter: long - :ivar full_load_completed_tables: Number of tables completed in full load + :ivar full_load_completed_tables: Number of tables completed in full load. :vartype full_load_completed_tables: long - :ivar full_load_loading_tables: Number of tables loading in full load + :ivar full_load_loading_tables: Number of tables loading in full load. :vartype full_load_loading_tables: long - :ivar full_load_queued_tables: Number of tables queued in full load + :ivar full_load_queued_tables: Number of tables queued in full load. :vartype full_load_queued_tables: long - :ivar full_load_errored_tables: Number of tables errored in full load + :ivar full_load_errored_tables: Number of tables errored in full load. :vartype full_load_errored_tables: long - :ivar initialization_completed: Indicates if initial load (full load) has - been completed + :ivar initialization_completed: Indicates if initial load (full load) has been completed. :vartype initialization_completed: bool - :ivar latency: CDC apply latency + :ivar latency: CDC apply latency. :vartype latency: long """ @@ -4297,8 +4554,12 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel(MigrateMySqlAzureDb 'latency': {'key': 'latency', 'type': 'long'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -4314,22 +4575,20 @@ def __init__(self, **kwargs) -> None: self.full_load_errored_tables = None self.initialization_completed = None self.latency = None - self.result_type = 'DatabaseLevelOutput' class MigrateMySqlAzureDbForMySqlSyncTaskOutputError(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -4345,35 +4604,37 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputError(MigrateMySqlAzureDbForMySql 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server: Source server name + :ivar source_server: Source server name. :vartype source_server: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server: Target server name + :ivar target_server: Target server name. :vartype target_server: str """ @@ -4399,58 +4660,58 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel(MigrateMySqlAzureD 'target_server': {'key': 'targetServer', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.source_server_version = None self.source_server = None self.target_server_version = None self.target_server = None - self.result_type = 'MigrationLevelOutput' class MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel(MigrateMySqlAzureDbForMySqlSyncTaskOutput): """MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar table_name: Name of the table + :ivar table_name: Name of the table. :vartype table_name: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar cdc_insert_counter: Number of applied inserts + :ivar cdc_insert_counter: Number of applied inserts. :vartype cdc_insert_counter: str - :ivar cdc_update_counter: Number of applied updates + :ivar cdc_update_counter: Number of applied updates. :vartype cdc_update_counter: str - :ivar cdc_delete_counter: Number of applied deletes + :ivar cdc_delete_counter: Number of applied deletes. :vartype cdc_delete_counter: str - :ivar full_load_est_finish_time: Estimate to finish full load - :vartype full_load_est_finish_time: datetime - :ivar full_load_started_on: Full load start time - :vartype full_load_started_on: datetime - :ivar full_load_ended_on: Full load end time - :vartype full_load_ended_on: datetime - :ivar full_load_total_rows: Number of rows applied in full load + :ivar full_load_est_finish_time: Estimate to finish full load. + :vartype full_load_est_finish_time: ~datetime.datetime + :ivar full_load_started_on: Full load start time. + :vartype full_load_started_on: ~datetime.datetime + :ivar full_load_ended_on: Full load end time. + :vartype full_load_ended_on: ~datetime.datetime + :ivar full_load_total_rows: Number of rows applied in full load. :vartype full_load_total_rows: long - :ivar state: Current state of the table migration. Possible values - include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED', 'CANCELED', 'ERROR', - 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.SyncTableMigrationState - :ivar total_changes_applied: Total number of applied changes + :ivar state: Current state of the table migration. Possible values include: "BEFORE_LOAD", + "FULL_LOAD", "COMPLETED", "CANCELED", "ERROR", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.SyncTableMigrationState + :ivar total_changes_applied: Total number of applied changes. :vartype total_changes_applied: long - :ivar data_errors_counter: Number of data errors occurred + :ivar data_errors_counter: Number of data errors occurred. :vartype data_errors_counter: long - :ivar last_modified_time: Last modified time on target - :vartype last_modified_time: datetime + :ivar last_modified_time: Last modified time on target. + :vartype last_modified_time: ~datetime.datetime """ _validation = { @@ -4489,8 +4750,12 @@ class MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel(MigrateMySqlAzureDbFor 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.table_name = None self.database_name = None self.cdc_insert_counter = None @@ -4504,145 +4769,141 @@ def __init__(self, **kwargs) -> None: self.total_changes_applied = None self.data_errors_counter = None self.last_modified_time = None - self.result_type = 'TableLevelOutput' class MigrateMySqlAzureDbForMySqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates MySQL databases to Azure Database for - MySQL for online migrations. + """Properties for the task that migrates MySQL databases to Azure Database for MySQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.MigrateMySqlAzureDbForMySqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateMySqlAzureDbForMySqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateMySqlAzureDbForMySqlSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateMySqlAzureDbForMySqlSyncTaskInput"] = None, + **kwargs + ): super(MigrateMySqlAzureDbForMySqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.MySql.AzureDbForMySql.Sync' # type: str self.input = input self.output = None - self.task_type = 'Migrate.MySql.AzureDbForMySql.Sync' class MigrateOracleAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates Oracle to Azure Database for - PostgreSQL for online migrations. + """Properties for the task that migrates Oracle to Azure Database for PostgreSQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateOracleAzureDbPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateOracleAzureDbPostgreSqlSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateOracleAzureDbPostgreSqlSyncTaskInput"] = None, + **kwargs + ): super(MigrateOracleAzureDbForPostgreSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.Oracle.AzureDbForPostgreSql.Sync' # type: str self.input = input self.output = None - self.task_type = 'Migrate.Oracle.AzureDbForPostgreSql.Sync' -class MigrateOracleAzureDbPostgreSqlSyncDatabaseInput(Model): - """Database specific information for Oracle to Azure Database for PostgreSQL - migration task inputs. +class MigrateOracleAzureDbPostgreSqlSyncDatabaseInput(msrest.serialization.Model): + """Database specific information for Oracle to Azure Database for PostgreSQL migration task inputs. - :param case_manipulation: How to handle object name casing: either - Preserve or ToLower + :param case_manipulation: How to handle object name casing: either Preserve or ToLower. :type case_manipulation: str - :param name: Name of the migration pipeline + :param name: Name of the migration pipeline. :type name: str - :param schema_name: Name of the source schema + :param schema_name: Name of the source schema. :type schema_name: str - :param table_map: Mapping of source to target tables + :param table_map: Mapping of source to target tables. :type table_map: dict[str, str] - :param target_database_name: Name of target database. Note: Target - database will be truncated before starting migration. + :param target_database_name: Name of target database. Note: Target database will be truncated + before starting migration. :type target_database_name: str - :param migration_setting: Migration settings which tune the migration - behavior + :param migration_setting: Migration settings which tune the migration behavior. :type migration_setting: dict[str, str] - :param source_setting: Source settings to tune source endpoint migration - behavior + :param source_setting: Source settings to tune source endpoint migration behavior. :type source_setting: dict[str, str] - :param target_setting: Target settings to tune target endpoint migration - behavior + :param target_setting: Target settings to tune target endpoint migration behavior. :type target_setting: dict[str, str] """ @@ -4657,7 +4918,19 @@ class MigrateOracleAzureDbPostgreSqlSyncDatabaseInput(Model): 'target_setting': {'key': 'targetSetting', 'type': '{str}'}, } - def __init__(self, *, case_manipulation: str=None, name: str=None, schema_name: str=None, table_map=None, target_database_name: str=None, migration_setting=None, source_setting=None, target_setting=None, **kwargs) -> None: + def __init__( + self, + *, + case_manipulation: Optional[str] = None, + name: Optional[str] = None, + schema_name: Optional[str] = None, + table_map: Optional[Dict[str, str]] = None, + target_database_name: Optional[str] = None, + migration_setting: Optional[Dict[str, str]] = None, + source_setting: Optional[Dict[str, str]] = None, + target_setting: Optional[Dict[str, str]] = None, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncDatabaseInput, self).__init__(**kwargs) self.case_manipulation = case_manipulation self.name = name @@ -4669,23 +4942,19 @@ def __init__(self, *, case_manipulation: str=None, name: str=None, schema_name: self.target_setting = target_setting -class MigrateOracleAzureDbPostgreSqlSyncTaskInput(Model): - """Input for the task that migrates Oracle databases to Azure Database for - PostgreSQL for online migrations. +class MigrateOracleAzureDbPostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncDatabaseInput] - :param target_connection_info: Required. Connection information for target - Azure Database for PostgreSQL - :type target_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo - :param source_connection_info: Required. Connection information for source - Oracle - :type source_connection_info: - ~azure.mgmt.datamigration.models.OracleConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + PostgreSQL. + :type target_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param source_connection_info: Required. Connection information for source Oracle. + :type source_connection_info: ~azure.mgmt.datamigration.models.OracleConnectionInfo """ _validation = { @@ -4700,32 +4969,33 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskInput(Model): 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'OracleConnectionInfo'}, } - def __init__(self, *, selected_databases, target_connection_info, source_connection_info, **kwargs) -> None: + def __init__( + self, + *, + selected_databases: List["MigrateOracleAzureDbPostgreSqlSyncDatabaseInput"], + target_connection_info: "PostgreSqlConnectionInfo", + source_connection_info: "OracleConnectionInfo", + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskInput, self).__init__(**kwargs) self.selected_databases = selected_databases self.target_connection_info = target_connection_info self.source_connection_info = source_connection_info -class MigrateOracleAzureDbPostgreSqlSyncTaskOutput(Model): - """Output for the task that migrates Oracle databases to Azure Database for - PostgreSQL for online migrations. +class MigrateOracleAzureDbPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that migrates Oracle databases to Azure Database for PostgreSQL for online migrations. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError, - MigrateOracleAzureDbPostgreSqlSyncTaskOutputError, - MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel, - MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel, - MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel + sub-classes are: MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError, MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel, MigrateOracleAzureDbPostgreSqlSyncTaskOutputError, MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel, MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -4740,32 +5010,33 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'DatabaseLevelErrorOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError', 'ErrorOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputError', 'TableLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelErrorOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError', 'DatabaseLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputError', 'MigrationLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel', 'TableLevelOutput': 'MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :param error_message: Error message + :param error_message: Error message. :type error_message: str :param events: List of error events. - :type events: - list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] + :type events: list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] """ _validation = { @@ -4780,61 +5051,64 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError(MigrateOracleAzu 'events': {'key': 'events', 'type': '[SyncMigrationDatabaseErrorEvent]'}, } - def __init__(self, *, error_message: str=None, events=None, **kwargs) -> None: + def __init__( + self, + *, + error_message: Optional[str] = None, + events: Optional[List["SyncMigrationDatabaseErrorEvent"]] = None, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelErrorOutput' # type: str self.error_message = error_message self.events = events - self.result_type = 'DatabaseLevelErrorOutput' class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar migration_state: Migration state that this database is in. Possible - values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', - 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', - 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', - 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', - 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar migration_state: Migration state that this database is in. Possible values include: + "UNDEFINED", "CONFIGURING", "INITIALIAZING", "STARTING", "RUNNING", "READY_TO_COMPLETE", + "COMPLETING", "COMPLETE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATING", + "VALIDATION_COMPLETE", "VALIDATION_FAILED", "RESTORE_IN_PROGRESS", "RESTORE_COMPLETED", + "BACKUP_IN_PROGRESS", "BACKUP_COMPLETED". :vartype migration_state: str or ~azure.mgmt.datamigration.models.SyncDatabaseMigrationReportingState - :ivar incoming_changes: Number of incoming changes + :ivar incoming_changes: Number of incoming changes. :vartype incoming_changes: long - :ivar applied_changes: Number of applied changes + :ivar applied_changes: Number of applied changes. :vartype applied_changes: long - :ivar cdc_insert_counter: Number of cdc inserts + :ivar cdc_insert_counter: Number of cdc inserts. :vartype cdc_insert_counter: long - :ivar cdc_delete_counter: Number of cdc deletes + :ivar cdc_delete_counter: Number of cdc deletes. :vartype cdc_delete_counter: long - :ivar cdc_update_counter: Number of cdc updates + :ivar cdc_update_counter: Number of cdc updates. :vartype cdc_update_counter: long - :ivar full_load_completed_tables: Number of tables completed in full load + :ivar full_load_completed_tables: Number of tables completed in full load. :vartype full_load_completed_tables: long - :ivar full_load_loading_tables: Number of tables loading in full load + :ivar full_load_loading_tables: Number of tables loading in full load. :vartype full_load_loading_tables: long - :ivar full_load_queued_tables: Number of tables queued in full load + :ivar full_load_queued_tables: Number of tables queued in full load. :vartype full_load_queued_tables: long - :ivar full_load_errored_tables: Number of tables errored in full load + :ivar full_load_errored_tables: Number of tables errored in full load. :vartype full_load_errored_tables: long - :ivar initialization_completed: Indicates if initial load (full load) has - been completed + :ivar initialization_completed: Indicates if initial load (full load) has been completed. :vartype initialization_completed: bool - :ivar latency: CDC apply latency + :ivar latency: CDC apply latency. :vartype latency: long """ @@ -4878,8 +5152,12 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel(MigrateOracleAzu 'latency': {'key': 'latency', 'type': 'long'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -4895,22 +5173,20 @@ def __init__(self, **kwargs) -> None: self.full_load_errored_tables = None self.initialization_completed = None self.latency = None - self.result_type = 'DatabaseLevelOutput' class MigrateOracleAzureDbPostgreSqlSyncTaskOutputError(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -4926,35 +5202,37 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputError(MigrateOracleAzureDbPost 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server: Source server name + :ivar source_server: Source server name. :vartype source_server: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server: Target server name + :ivar target_server: Target server name. :vartype target_server: str """ @@ -4980,58 +5258,58 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel(MigrateOracleAz 'target_server': {'key': 'targetServer', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.source_server_version = None self.source_server = None self.target_server_version = None self.target_server = None - self.result_type = 'MigrationLevelOutput' class MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel(MigrateOracleAzureDbPostgreSqlSyncTaskOutput): """MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar table_name: Name of the table + :ivar table_name: Name of the table. :vartype table_name: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar cdc_insert_counter: Number of applied inserts + :ivar cdc_insert_counter: Number of applied inserts. :vartype cdc_insert_counter: long - :ivar cdc_update_counter: Number of applied updates + :ivar cdc_update_counter: Number of applied updates. :vartype cdc_update_counter: long - :ivar cdc_delete_counter: Number of applied deletes + :ivar cdc_delete_counter: Number of applied deletes. :vartype cdc_delete_counter: long - :ivar full_load_est_finish_time: Estimate to finish full load - :vartype full_load_est_finish_time: datetime - :ivar full_load_started_on: Full load start time - :vartype full_load_started_on: datetime - :ivar full_load_ended_on: Full load end time - :vartype full_load_ended_on: datetime - :ivar full_load_total_rows: Number of rows applied in full load + :ivar full_load_est_finish_time: Estimate to finish full load. + :vartype full_load_est_finish_time: ~datetime.datetime + :ivar full_load_started_on: Full load start time. + :vartype full_load_started_on: ~datetime.datetime + :ivar full_load_ended_on: Full load end time. + :vartype full_load_ended_on: ~datetime.datetime + :ivar full_load_total_rows: Number of rows applied in full load. :vartype full_load_total_rows: long - :ivar state: Current state of the table migration. Possible values - include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED', 'CANCELED', 'ERROR', - 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.SyncTableMigrationState - :ivar total_changes_applied: Total number of applied changes + :ivar state: Current state of the table migration. Possible values include: "BEFORE_LOAD", + "FULL_LOAD", "COMPLETED", "CANCELED", "ERROR", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.SyncTableMigrationState + :ivar total_changes_applied: Total number of applied changes. :vartype total_changes_applied: long - :ivar data_errors_counter: Number of data errors occurred + :ivar data_errors_counter: Number of data errors occurred. :vartype data_errors_counter: long - :ivar last_modified_time: Last modified time on target - :vartype last_modified_time: datetime + :ivar last_modified_time: Last modified time on target. + :vartype last_modified_time: ~datetime.datetime """ _validation = { @@ -5070,8 +5348,12 @@ class MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel(MigrateOracleAzureD 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.table_name = None self.database_name = None self.cdc_insert_counter = None @@ -5085,28 +5367,23 @@ def __init__(self, **kwargs) -> None: self.total_changes_applied = None self.data_errors_counter = None self.last_modified_time = None - self.result_type = 'TableLevelOutput' -class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput(Model): - """Database specific information for PostgreSQL to Azure Database for - PostgreSQL migration task inputs. +class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput(msrest.serialization.Model): + """Database specific information for PostgreSQL to Azure Database for PostgreSQL migration task inputs. - :param name: Name of the database + :param name: Name of the database. :type name: str - :param target_database_name: Name of target database. Note: Target - database will be truncated before starting migration. + :param target_database_name: Name of target database. Note: Target database will be truncated + before starting migration. :type target_database_name: str - :param migration_setting: Migration settings which tune the migration - behavior + :param migration_setting: Migration settings which tune the migration behavior. :type migration_setting: dict[str, str] - :param source_setting: Source settings to tune source endpoint migration - behavior + :param source_setting: Source settings to tune source endpoint migration behavior. :type source_setting: dict[str, str] - :param target_setting: Target settings to tune target endpoint migration - behavior + :param target_setting: Target settings to tune target endpoint migration behavior. :type target_setting: dict[str, str] - :param selected_tables: Tables selected for migration + :param selected_tables: Tables selected for migration. :type selected_tables: list[~azure.mgmt.datamigration.models.MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput] """ @@ -5120,7 +5397,17 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput(Model): 'selected_tables': {'key': 'selectedTables', 'type': '[MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput]'}, } - def __init__(self, *, name: str=None, target_database_name: str=None, migration_setting=None, source_setting=None, target_setting=None, selected_tables=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + target_database_name: Optional[str] = None, + migration_setting: Optional[Dict[str, str]] = None, + source_setting: Optional[Dict[str, str]] = None, + target_setting: Optional[Dict[str, str]] = None, + selected_tables: Optional[List["MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput"]] = None, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput, self).__init__(**kwargs) self.name = name self.target_database_name = target_database_name @@ -5130,10 +5417,10 @@ def __init__(self, *, name: str=None, target_database_name: str=None, migration_ self.selected_tables = selected_tables -class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput(Model): +class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput(msrest.serialization.Model): """Selected tables for the migration. - :param name: Name of the table to migrate + :param name: Name of the table to migrate. :type name: str """ @@ -5141,28 +5428,29 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput(Model): 'name': {'key': 'name', 'type': 'str'}, } - def __init__(self, *, name: str=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput, self).__init__(**kwargs) self.name = name -class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput(Model): - """Input for the task that migrates PostgreSQL databases to Azure Database for - PostgreSQL for online migrations. +class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput(msrest.serialization.Model): + """Input for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput] - :param target_connection_info: Required. Connection information for target - Azure Database for PostgreSQL - :type target_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo - :param source_connection_info: Required. Connection information for source - PostgreSQL - :type source_connection_info: - ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param target_connection_info: Required. Connection information for target Azure Database for + PostgreSQL. + :type target_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo + :param source_connection_info: Required. Connection information for source PostgreSQL. + :type source_connection_info: ~azure.mgmt.datamigration.models.PostgreSqlConnectionInfo """ _validation = { @@ -5177,33 +5465,33 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput(Model): 'source_connection_info': {'key': 'sourceConnectionInfo', 'type': 'PostgreSqlConnectionInfo'}, } - def __init__(self, *, selected_databases, target_connection_info, source_connection_info, **kwargs) -> None: + def __init__( + self, + *, + selected_databases: List["MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput"], + target_connection_info: "PostgreSqlConnectionInfo", + source_connection_info: "PostgreSqlConnectionInfo", + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput, self).__init__(**kwargs) self.selected_databases = selected_databases self.target_connection_info = target_connection_info self.source_connection_info = source_connection_info -class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput(Model): - """Output for the task that migrates PostgreSQL databases to Azure Database - for PostgreSQL for online migrations. +class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel, - MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel + sub-classes are: MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -5218,32 +5506,33 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'DatabaseLevelErrorOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError', 'ErrorOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError', 'TableLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelErrorOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError', 'DatabaseLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError', 'MigrationLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel', 'TableLevelOutput': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :param error_message: Error message + :param error_message: Error message. :type error_message: str :param events: List of error events. - :type events: - list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] + :type events: list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] """ _validation = { @@ -5258,61 +5547,64 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError(MigratePo 'events': {'key': 'events', 'type': '[SyncMigrationDatabaseErrorEvent]'}, } - def __init__(self, *, error_message: str=None, events=None, **kwargs) -> None: + def __init__( + self, + *, + error_message: Optional[str] = None, + events: Optional[List["SyncMigrationDatabaseErrorEvent"]] = None, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelErrorOutput' # type: str self.error_message = error_message self.events = events - self.result_type = 'DatabaseLevelErrorOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar migration_state: Migration state that this database is in. Possible - values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', - 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', - 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', - 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', - 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar migration_state: Migration state that this database is in. Possible values include: + "UNDEFINED", "CONFIGURING", "INITIALIAZING", "STARTING", "RUNNING", "READY_TO_COMPLETE", + "COMPLETING", "COMPLETE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATING", + "VALIDATION_COMPLETE", "VALIDATION_FAILED", "RESTORE_IN_PROGRESS", "RESTORE_COMPLETED", + "BACKUP_IN_PROGRESS", "BACKUP_COMPLETED". :vartype migration_state: str or ~azure.mgmt.datamigration.models.SyncDatabaseMigrationReportingState - :ivar incoming_changes: Number of incoming changes + :ivar incoming_changes: Number of incoming changes. :vartype incoming_changes: long - :ivar applied_changes: Number of applied changes + :ivar applied_changes: Number of applied changes. :vartype applied_changes: long - :ivar cdc_insert_counter: Number of cdc inserts + :ivar cdc_insert_counter: Number of cdc inserts. :vartype cdc_insert_counter: long - :ivar cdc_delete_counter: Number of cdc deletes + :ivar cdc_delete_counter: Number of cdc deletes. :vartype cdc_delete_counter: long - :ivar cdc_update_counter: Number of cdc updates + :ivar cdc_update_counter: Number of cdc updates. :vartype cdc_update_counter: long - :ivar full_load_completed_tables: Number of tables completed in full load + :ivar full_load_completed_tables: Number of tables completed in full load. :vartype full_load_completed_tables: long - :ivar full_load_loading_tables: Number of tables loading in full load + :ivar full_load_loading_tables: Number of tables loading in full load. :vartype full_load_loading_tables: long - :ivar full_load_queued_tables: Number of tables queued in full load + :ivar full_load_queued_tables: Number of tables queued in full load. :vartype full_load_queued_tables: long - :ivar full_load_errored_tables: Number of tables errored in full load + :ivar full_load_errored_tables: Number of tables errored in full load. :vartype full_load_errored_tables: long - :ivar initialization_completed: Indicates if initial load (full load) has - been completed + :ivar initialization_completed: Indicates if initial load (full load) has been completed. :vartype initialization_completed: bool - :ivar latency: CDC apply latency + :ivar latency: CDC apply latency. :vartype latency: long """ @@ -5356,8 +5648,12 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel(MigratePo 'latency': {'key': 'latency', 'type': 'long'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -5373,22 +5669,20 @@ def __init__(self, **kwargs) -> None: self.full_load_errored_tables = None self.initialization_completed = None self.latency = None - self.result_type = 'DatabaseLevelOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -5404,50 +5698,48 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError(MigratePostgreSql 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server: Source server name + :ivar source_server: Source server name. :vartype source_server: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server: Target server name + :ivar target_server: Target server name. :vartype target_server: str - :ivar source_server_type: Source server type. Possible values include: - 'Access', 'DB2', 'MySQL', 'Oracle', 'SQL', 'Sybase', 'PostgreSQL', - 'MongoDB', 'SQLRDS', 'MySQLRDS', 'PostgreSQLRDS' - :vartype source_server_type: str or - ~azure.mgmt.datamigration.models.ScenarioSource - :ivar target_server_type: Target server type. Possible values include: - 'SQLServer', 'SQLDB', 'SQLDW', 'SQLMI', 'AzureDBForMySql', - 'AzureDBForPostgresSQL', 'MongoDB' - :vartype target_server_type: str or - ~azure.mgmt.datamigration.models.ScenarioTarget - :ivar state: Migration status. Possible values include: 'UNDEFINED', - 'VALIDATING', 'PENDING', 'COMPLETE', 'ACTION_REQUIRED', 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.ReplicateMigrationState + :ivar source_server_type: Source server type. Possible values include: "Access", "DB2", + "MySQL", "Oracle", "SQL", "Sybase", "PostgreSQL", "MongoDB", "SQLRDS", "MySQLRDS", + "PostgreSQLRDS". + :vartype source_server_type: str or ~azure.mgmt.datamigration.models.ScenarioSource + :ivar target_server_type: Target server type. Possible values include: "SQLServer", "SQLDB", + "SQLDW", "SQLMI", "AzureDBForMySql", "AzureDBForPostgresSQL", "MongoDB". + :vartype target_server_type: str or ~azure.mgmt.datamigration.models.ScenarioTarget + :ivar state: Migration status. Possible values include: "UNDEFINED", "VALIDATING", "PENDING", + "COMPLETE", "ACTION_REQUIRED", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.ReplicateMigrationState """ _validation = { @@ -5478,8 +5770,12 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel(MigrateP 'state': {'key': 'state', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.source_server_version = None @@ -5489,50 +5785,46 @@ def __init__(self, **kwargs) -> None: self.source_server_type = None self.target_server_type = None self.state = None - self.result_type = 'MigrationLevelOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput): """MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar table_name: Name of the table + :ivar table_name: Name of the table. :vartype table_name: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar cdc_insert_counter: Number of applied inserts + :ivar cdc_insert_counter: Number of applied inserts. :vartype cdc_insert_counter: long - :ivar cdc_update_counter: Number of applied updates + :ivar cdc_update_counter: Number of applied updates. :vartype cdc_update_counter: long - :ivar cdc_delete_counter: Number of applied deletes + :ivar cdc_delete_counter: Number of applied deletes. :vartype cdc_delete_counter: long - :ivar full_load_est_finish_time: Estimate to finish full load - :vartype full_load_est_finish_time: datetime - :ivar full_load_started_on: Full load start time - :vartype full_load_started_on: datetime - :ivar full_load_ended_on: Full load end time - :vartype full_load_ended_on: datetime - :ivar full_load_total_rows: Number of rows applied in full load + :ivar full_load_est_finish_time: Estimate to finish full load. + :vartype full_load_est_finish_time: ~datetime.datetime + :ivar full_load_started_on: Full load start time. + :vartype full_load_started_on: ~datetime.datetime + :ivar full_load_ended_on: Full load end time. + :vartype full_load_ended_on: ~datetime.datetime + :ivar full_load_total_rows: Number of rows applied in full load. :vartype full_load_total_rows: long - :ivar state: Current state of the table migration. Possible values - include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED', 'CANCELED', 'ERROR', - 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.SyncTableMigrationState - :ivar total_changes_applied: Total number of applied changes + :ivar state: Current state of the table migration. Possible values include: "BEFORE_LOAD", + "FULL_LOAD", "COMPLETED", "CANCELED", "ERROR", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.SyncTableMigrationState + :ivar total_changes_applied: Total number of applied changes. :vartype total_changes_applied: long - :ivar data_errors_counter: Number of data errors occurred + :ivar data_errors_counter: Number of data errors occurred. :vartype data_errors_counter: long - :ivar last_modified_time: Last modified time on target - :vartype last_modified_time: datetime + :ivar last_modified_time: Last modified time on target. + :vartype last_modified_time: ~datetime.datetime """ _validation = { @@ -5571,8 +5863,12 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel(MigratePostg 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.table_name = None self.database_name = None self.cdc_insert_counter = None @@ -5586,33 +5882,28 @@ def __init__(self, **kwargs) -> None: self.total_changes_applied = None self.data_errors_counter = None self.last_modified_time = None - self.result_type = 'TableLevelOutput' class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates PostgreSQL databases to Azure - Database for PostgreSQL for online migrations. + """Properties for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput :ivar output: Task output. This is ignored if submitted. @@ -5621,40 +5912,45 @@ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskPropert """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput"] = None, + **kwargs + ): super(MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2' # type: str self.input = input self.output = None - self.task_type = 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2' -class MigrateSchemaSqlServerSqlDbDatabaseInput(Model): +class MigrateSchemaSqlServerSqlDbDatabaseInput(msrest.serialization.Model): """Database input for migrate schema Sql Server to Azure SQL Server scenario. - :param name: Name of source database + :param name: Name of source database. :type name: str - :param target_database_name: Name of target database + :param target_database_name: Name of target database. :type target_database_name: str - :param schema_setting: Database schema migration settings - :type schema_setting: - ~azure.mgmt.datamigration.models.SchemaMigrationSetting + :param schema_setting: Database schema migration settings. + :type schema_setting: ~azure.mgmt.datamigration.models.SchemaMigrationSetting """ _attribute_map = { @@ -5663,26 +5959,29 @@ class MigrateSchemaSqlServerSqlDbDatabaseInput(Model): 'schema_setting': {'key': 'schemaSetting', 'type': 'SchemaMigrationSetting'}, } - def __init__(self, *, name: str=None, target_database_name: str=None, schema_setting=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + target_database_name: Optional[str] = None, + schema_setting: Optional["SchemaMigrationSetting"] = None, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbDatabaseInput, self).__init__(**kwargs) self.name = name self.target_database_name = target_database_name self.schema_setting = schema_setting -class SqlMigrationTaskInput(Model): +class SqlMigrationTaskInput(msrest.serialization.Model): """Base class for migration task input. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo """ _validation = { @@ -5695,27 +5994,28 @@ class SqlMigrationTaskInput(Model): 'target_connection_info': {'key': 'targetConnectionInfo', 'type': 'SqlConnectionInfo'}, } - def __init__(self, *, source_connection_info, target_connection_info, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + **kwargs + ): super(SqlMigrationTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.target_connection_info = target_connection_info class MigrateSchemaSqlServerSqlDbTaskInput(SqlMigrationTaskInput): - """Input for task that migrates Schema for SQL Server databases to Azure SQL - databases. + """Input for task that migrates Schema for SQL Server databases to Azure SQL databases. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbDatabaseInput] """ @@ -5732,34 +6032,35 @@ class MigrateSchemaSqlServerSqlDbTaskInput(SqlMigrationTaskInput): 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateSchemaSqlServerSqlDbDatabaseInput]'}, } - def __init__(self, *, source_connection_info, target_connection_info, selected_databases, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + selected_databases: List["MigrateSchemaSqlServerSqlDbDatabaseInput"], + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskInput, self).__init__(source_connection_info=source_connection_info, target_connection_info=target_connection_info, **kwargs) self.selected_databases = selected_databases -class MigrateSchemaSqlServerSqlDbTaskOutput(Model): - """Output for the task that migrates Schema for SQL Server databases to Azure - SQL databases. +class MigrateSchemaSqlServerSqlDbTaskOutput(msrest.serialization.Model): + """Output for the task that migrates Schema for SQL Server databases to Azure SQL databases. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel, - MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel, - MigrateSchemaSqlServerSqlDbTaskOutputError, MigrateSchemaSqlTaskOutputError + sub-classes are: MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel, MigrateSchemaSqlTaskOutputError, MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel, MigrateSchemaSqlServerSqlDbTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, } _attribute_map = { @@ -5768,63 +6069,56 @@ class MigrateSchemaSqlServerSqlDbTaskOutput(Model): } _subtype_map = { - 'result_type': {'MigrationLevelOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel', 'DatabaseLevelOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel', 'SchemaErrorOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputError', 'ErrorOutput': 'MigrateSchemaSqlTaskOutputError'} + 'result_type': {'DatabaseLevelOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSchemaSqlTaskOutputError', 'MigrationLevelOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel', 'SchemaErrorOutput': 'MigrateSchemaSqlServerSqlDbTaskOutputError'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSchemaSqlServerSqlDbTaskOutput): """MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str - :ivar database_name: The name of the database + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str + :ivar database_name: The name of the database. :vartype database_name: str - :ivar state: State of the schema migration for this database. Possible - values include: 'None', 'InProgress', 'Failed', 'Warning', 'Completed', - 'Skipped', 'Stopped' + :ivar state: State of the schema migration for this database. Possible values include: "None", + "InProgress", "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Schema migration stage for this database. Possible values - include: 'NotStarted', 'ValidatingInputs', 'CollectingObjects', - 'DownloadingScript', 'GeneratingScript', 'UploadingScript', - 'DeployingSchema', 'Completed', 'CompletedWithWarnings', 'Failed' - :vartype stage: str or - ~azure.mgmt.datamigration.models.SchemaMigrationStage - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar database_error_result_prefix: Prefix string to use for querying - errors for this database + :ivar stage: Schema migration stage for this database. Possible values include: "NotStarted", + "ValidatingInputs", "CollectingObjects", "DownloadingScript", "GeneratingScript", + "UploadingScript", "DeployingSchema", "Completed", "CompletedWithWarnings", "Failed". + :vartype stage: str or ~azure.mgmt.datamigration.models.SchemaMigrationStage + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar database_error_result_prefix: Prefix string to use for querying errors for this database. :vartype database_error_result_prefix: str - :ivar schema_error_result_prefix: Prefix string to use for querying schema - errors for this database + :ivar schema_error_result_prefix: Prefix string to use for querying schema errors for this + database. :vartype schema_error_result_prefix: str - :ivar number_of_successful_operations: Number of successful operations for - this database + :ivar number_of_successful_operations: Number of successful operations for this database. :vartype number_of_successful_operations: long - :ivar number_of_failed_operations: Number of failed operations for this - database + :ivar number_of_failed_operations: Number of failed operations for this database. :vartype number_of_failed_operations: long - :ivar file_id: Identifier for the file resource containing the schema of - this database + :ivar file_id: Identifier for the file resource containing the schema of this database. :vartype file_id: str """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, 'database_name': {'readonly': True}, 'state': {'readonly': True}, 'stage': {'readonly': True}, @@ -5852,8 +6146,12 @@ class MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSchemaSqlServerS 'file_id': {'key': 'fileId', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.state = None self.stage = None @@ -5864,30 +6162,26 @@ def __init__(self, **kwargs) -> None: self.number_of_successful_operations = None self.number_of_failed_operations = None self.file_id = None - self.result_type = 'DatabaseLevelOutput' class MigrateSchemaSqlServerSqlDbTaskOutputError(MigrateSchemaSqlServerSqlDbTaskOutput): """MigrateSchemaSqlServerSqlDbTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str - :ivar command_text: Schema command which failed + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str + :ivar command_text: Schema command which failed. :vartype command_text: str - :ivar error_text: Reason of failure + :ivar error_text: Reason of failure. :vartype error_text: str """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, 'command_text': {'readonly': True}, 'error_text': {'readonly': True}, } @@ -5899,46 +6193,45 @@ class MigrateSchemaSqlServerSqlDbTaskOutputError(MigrateSchemaSqlServerSqlDbTask 'error_text': {'key': 'errorText', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskOutputError, self).__init__(**kwargs) + self.result_type = 'SchemaErrorOutput' # type: str self.command_text = None self.error_text = None - self.result_type = 'SchemaErrorOutput' class MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel(MigrateSchemaSqlServerSqlDbTaskOutput): """MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str - :ivar state: Overall state of the schema migration. Possible values - include: 'None', 'InProgress', 'Failed', 'Warning', 'Completed', - 'Skipped', 'Stopped' + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str + :ivar state: Overall state of the schema migration. Possible values include: "None", + "InProgress", "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, 'state': {'readonly': True}, 'started_on': {'readonly': True}, 'ended_on': {'readonly': True}, @@ -5960,8 +6253,12 @@ class MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel(MigrateSchemaSqlServer 'target_server_brand_version': {'key': 'targetServerBrandVersion', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.state = None self.started_on = None self.ended_on = None @@ -5969,84 +6266,80 @@ def __init__(self, **kwargs) -> None: self.source_server_brand_version = None self.target_server_version = None self.target_server_brand_version = None - self.result_type = 'MigrationLevelOutput' class MigrateSchemaSqlServerSqlDbTaskProperties(ProjectTaskProperties): - """Properties for task that migrates Schema for SQL Server databases to Azure - SQL databases. + """Properties for task that migrates Schema for SQL Server databases to Azure SQL databases. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSchemaSqlServerSqlDbTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSchemaSqlServerSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSchemaSqlServerSqlDbTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateSchemaSqlServerSqlDbTaskInput"] = None, + **kwargs + ): super(MigrateSchemaSqlServerSqlDbTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'MigrateSchemaSqlServerSqlDb' # type: str self.input = input self.output = None - self.task_type = 'MigrateSchemaSqlServerSqlDb' class MigrateSchemaSqlTaskOutputError(MigrateSchemaSqlServerSqlDbTaskOutput): """MigrateSchemaSqlTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. - - All required parameters must be populated in order to send to Azure. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. - :type result_type: str - :ivar error: Migration error + :ivar result_type: Result type.Constant filled by server. + :vartype result_type: str + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ _validation = { 'id': {'readonly': True}, - 'result_type': {'required': True}, + 'result_type': {'readonly': True}, 'error': {'readonly': True}, } @@ -6056,25 +6349,62 @@ class MigrateSchemaSqlTaskOutputError(MigrateSchemaSqlServerSqlDbTaskOutput): 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSchemaSqlTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' -class MigrateSqlServerSqlDbDatabaseInput(Model): - """Database specific information for SQL to Azure SQL DB migration task - inputs. +class MigrateSqlServerDatabaseInput(msrest.serialization.Model): + """Database specific information for SQL to SQL migration task inputs. - :param name: Name of the database + :param name: Name of the database. :type name: str - :param target_database_name: Name of target database. Note: Target - database will be truncated before starting migration. + :param restore_database_name: Name of the database at destination. + :type restore_database_name: str + :param backup_and_restore_folder: The backup and restore folder. + :type backup_and_restore_folder: str + :param database_files: The list of database files. + :type database_files: list[~azure.mgmt.datamigration.models.DatabaseFileInput] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'restore_database_name': {'key': 'restoreDatabaseName', 'type': 'str'}, + 'backup_and_restore_folder': {'key': 'backupAndRestoreFolder', 'type': 'str'}, + 'database_files': {'key': 'databaseFiles', 'type': '[DatabaseFileInput]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + restore_database_name: Optional[str] = None, + backup_and_restore_folder: Optional[str] = None, + database_files: Optional[List["DatabaseFileInput"]] = None, + **kwargs + ): + super(MigrateSqlServerDatabaseInput, self).__init__(**kwargs) + self.name = name + self.restore_database_name = restore_database_name + self.backup_and_restore_folder = backup_and_restore_folder + self.database_files = database_files + + +class MigrateSqlServerSqlDbDatabaseInput(msrest.serialization.Model): + """Database specific information for SQL to Azure SQL DB migration task inputs. + + :param name: Name of the database. + :type name: str + :param target_database_name: Name of target database. Note: Target database will be truncated + before starting migration. :type target_database_name: str - :param make_source_db_read_only: Whether to set database read only before - migration + :param make_source_db_read_only: Whether to set database read only before migration. :type make_source_db_read_only: bool - :param table_map: Mapping of source to target tables + :param table_map: Mapping of source to target tables. :type table_map: dict[str, str] """ @@ -6085,7 +6415,15 @@ class MigrateSqlServerSqlDbDatabaseInput(Model): 'table_map': {'key': 'tableMap', 'type': '{str}'}, } - def __init__(self, *, name: str=None, target_database_name: str=None, make_source_db_read_only: bool=None, table_map=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + target_database_name: Optional[str] = None, + make_source_db_read_only: Optional[bool] = None, + table_map: Optional[Dict[str, str]] = None, + **kwargs + ): super(MigrateSqlServerSqlDbDatabaseInput, self).__init__(**kwargs) self.name = name self.target_database_name = target_database_name @@ -6093,28 +6431,24 @@ def __init__(self, *, name: str=None, target_database_name: str=None, make_sourc self.table_map = table_map -class MigrateSqlServerSqlDbSyncDatabaseInput(Model): - """Database specific information for SQL to Azure SQL DB sync migration task - inputs. +class MigrateSqlServerSqlDbSyncDatabaseInput(msrest.serialization.Model): + """Database specific information for SQL to Azure SQL DB sync migration task inputs. - :param id: Unique identifier for database + :param id: Unique identifier for database. :type id: str - :param name: Name of database + :param name: Name of database. :type name: str - :param target_database_name: Target database name + :param target_database_name: Target database name. :type target_database_name: str - :param schema_name: Schema name to be migrated + :param schema_name: Schema name to be migrated. :type schema_name: str - :param table_map: Mapping of source to target tables + :param table_map: Mapping of source to target tables. :type table_map: dict[str, str] - :param migration_setting: Migration settings which tune the migration - behavior + :param migration_setting: Migration settings which tune the migration behavior. :type migration_setting: dict[str, str] - :param source_setting: Source settings to tune source endpoint migration - behavior + :param source_setting: Source settings to tune source endpoint migration behavior. :type source_setting: dict[str, str] - :param target_setting: Target settings to tune target endpoint migration - behavior + :param target_setting: Target settings to tune target endpoint migration behavior. :type target_setting: dict[str, str] """ @@ -6129,7 +6463,19 @@ class MigrateSqlServerSqlDbSyncDatabaseInput(Model): 'target_setting': {'key': 'targetSetting', 'type': '{str}'}, } - def __init__(self, *, id: str=None, name: str=None, target_database_name: str=None, schema_name: str=None, table_map=None, migration_setting=None, source_setting=None, target_setting=None, **kwargs) -> None: + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + target_database_name: Optional[str] = None, + schema_name: Optional[str] = None, + table_map: Optional[Dict[str, str]] = None, + migration_setting: Optional[Dict[str, str]] = None, + source_setting: Optional[Dict[str, str]] = None, + target_setting: Optional[Dict[str, str]] = None, + **kwargs + ): super(MigrateSqlServerSqlDbSyncDatabaseInput, self).__init__(**kwargs) self.id = id self.name = name @@ -6142,25 +6488,19 @@ def __init__(self, *, id: str=None, name: str=None, target_database_name: str=No class MigrateSqlServerSqlDbSyncTaskInput(SqlMigrationTaskInput): - """Input for the task that migrates on-prem SQL Server databases to Azure SQL - Database for online migrations. + """Input for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncDatabaseInput] - :param validation_options: Validation options - :type validation_options: - ~azure.mgmt.datamigration.models.MigrationValidationOptions + :param validation_options: Validation options. + :type validation_options: ~azure.mgmt.datamigration.models.MigrationValidationOptions """ _validation = { @@ -6176,31 +6516,33 @@ class MigrateSqlServerSqlDbSyncTaskInput(SqlMigrationTaskInput): 'validation_options': {'key': 'validationOptions', 'type': 'MigrationValidationOptions'}, } - def __init__(self, *, source_connection_info, target_connection_info, selected_databases, validation_options=None, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + selected_databases: List["MigrateSqlServerSqlDbSyncDatabaseInput"], + validation_options: Optional["MigrationValidationOptions"] = None, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskInput, self).__init__(source_connection_info=source_connection_info, target_connection_info=target_connection_info, **kwargs) self.selected_databases = selected_databases self.validation_options = validation_options -class MigrateSqlServerSqlDbSyncTaskOutput(Model): - """Output for the task that migrates on-prem SQL Server databases to Azure SQL - Database for online migrations. +class MigrateSqlServerSqlDbSyncTaskOutput(msrest.serialization.Model): + """Output for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSqlServerSqlDbSyncTaskOutputDatabaseError, - MigrateSqlServerSqlDbSyncTaskOutputError, - MigrateSqlServerSqlDbSyncTaskOutputTableLevel, - MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel, - MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel + sub-classes are: MigrateSqlServerSqlDbSyncTaskOutputDatabaseError, MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel, MigrateSqlServerSqlDbSyncTaskOutputError, MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel, MigrateSqlServerSqlDbSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -6215,32 +6557,33 @@ class MigrateSqlServerSqlDbSyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'DatabaseLevelErrorOutput': 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseError', 'ErrorOutput': 'MigrateSqlServerSqlDbSyncTaskOutputError', 'TableLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelErrorOutput': 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseError', 'DatabaseLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSqlServerSqlDbSyncTaskOutputError', 'MigrationLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel', 'TableLevelOutput': 'MigrateSqlServerSqlDbSyncTaskOutputTableLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSqlServerSqlDbSyncTaskOutputDatabaseError(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputDatabaseError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :param error_message: Error message + :param error_message: Error message. :type error_message: str :param events: List of error events. - :type events: - list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] + :type events: list[~azure.mgmt.datamigration.models.SyncMigrationDatabaseErrorEvent] """ _validation = { @@ -6255,61 +6598,64 @@ class MigrateSqlServerSqlDbSyncTaskOutputDatabaseError(MigrateSqlServerSqlDbSync 'events': {'key': 'events', 'type': '[SyncMigrationDatabaseErrorEvent]'}, } - def __init__(self, *, error_message: str=None, events=None, **kwargs) -> None: + def __init__( + self, + *, + error_message: Optional[str] = None, + events: Optional[List["SyncMigrationDatabaseErrorEvent"]] = None, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputDatabaseError, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelErrorOutput' # type: str self.error_message = error_message self.events = events - self.result_type = 'DatabaseLevelErrorOutput' class MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar migration_state: Migration state that this database is in. Possible - values include: 'UNDEFINED', 'CONFIGURING', 'INITIALIAZING', 'STARTING', - 'RUNNING', 'READY_TO_COMPLETE', 'COMPLETING', 'COMPLETE', 'CANCELLING', - 'CANCELLED', 'FAILED', 'VALIDATING', 'VALIDATION_COMPLETE', - 'VALIDATION_FAILED', 'RESTORE_IN_PROGRESS', 'RESTORE_COMPLETED', - 'BACKUP_IN_PROGRESS', 'BACKUP_COMPLETED' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar migration_state: Migration state that this database is in. Possible values include: + "UNDEFINED", "CONFIGURING", "INITIALIAZING", "STARTING", "RUNNING", "READY_TO_COMPLETE", + "COMPLETING", "COMPLETE", "CANCELLING", "CANCELLED", "FAILED", "VALIDATING", + "VALIDATION_COMPLETE", "VALIDATION_FAILED", "RESTORE_IN_PROGRESS", "RESTORE_COMPLETED", + "BACKUP_IN_PROGRESS", "BACKUP_COMPLETED". :vartype migration_state: str or ~azure.mgmt.datamigration.models.SyncDatabaseMigrationReportingState - :ivar incoming_changes: Number of incoming changes + :ivar incoming_changes: Number of incoming changes. :vartype incoming_changes: long - :ivar applied_changes: Number of applied changes + :ivar applied_changes: Number of applied changes. :vartype applied_changes: long - :ivar cdc_insert_counter: Number of cdc inserts + :ivar cdc_insert_counter: Number of cdc inserts. :vartype cdc_insert_counter: long - :ivar cdc_delete_counter: Number of cdc deletes + :ivar cdc_delete_counter: Number of cdc deletes. :vartype cdc_delete_counter: long - :ivar cdc_update_counter: Number of cdc updates + :ivar cdc_update_counter: Number of cdc updates. :vartype cdc_update_counter: long - :ivar full_load_completed_tables: Number of tables completed in full load + :ivar full_load_completed_tables: Number of tables completed in full load. :vartype full_load_completed_tables: long - :ivar full_load_loading_tables: Number of tables loading in full load + :ivar full_load_loading_tables: Number of tables loading in full load. :vartype full_load_loading_tables: long - :ivar full_load_queued_tables: Number of tables queued in full load + :ivar full_load_queued_tables: Number of tables queued in full load. :vartype full_load_queued_tables: long - :ivar full_load_errored_tables: Number of tables errored in full load + :ivar full_load_errored_tables: Number of tables errored in full load. :vartype full_load_errored_tables: long - :ivar initialization_completed: Indicates if initial load (full load) has - been completed + :ivar initialization_completed: Indicates if initial load (full load) has been completed. :vartype initialization_completed: bool - :ivar latency: CDC apply latency + :ivar latency: CDC apply latency. :vartype latency: long """ @@ -6353,8 +6699,12 @@ class MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel(MigrateSqlServerSqlDbSync 'latency': {'key': 'latency', 'type': 'long'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -6370,22 +6720,20 @@ def __init__(self, **kwargs) -> None: self.full_load_errored_tables = None self.initialization_completed = None self.latency = None - self.result_type = 'DatabaseLevelOutput' class MigrateSqlServerSqlDbSyncTaskOutputError(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -6401,37 +6749,39 @@ class MigrateSqlServerSqlDbSyncTaskOutputError(MigrateSqlServerSqlDbSyncTaskOutp 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_version: Source server version + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server: Source server name + :ivar source_server: Source server name. :vartype source_server: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server: Target server name + :ivar target_server: Target server name. :vartype target_server: str - :ivar database_count: Count of databases + :ivar database_count: Count of databases. :vartype database_count: int """ @@ -6459,8 +6809,12 @@ class MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel(MigrateSqlServerSqlDbSyn 'database_count': {'key': 'databaseCount', 'type': 'int'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.source_server_version = None @@ -6468,50 +6822,46 @@ def __init__(self, **kwargs) -> None: self.target_server_version = None self.target_server = None self.database_count = None - self.result_type = 'MigrationLevelOutput' class MigrateSqlServerSqlDbSyncTaskOutputTableLevel(MigrateSqlServerSqlDbSyncTaskOutput): """MigrateSqlServerSqlDbSyncTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar table_name: Name of the table + :ivar table_name: Name of the table. :vartype table_name: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar cdc_insert_counter: Number of applied inserts + :ivar cdc_insert_counter: Number of applied inserts. :vartype cdc_insert_counter: long - :ivar cdc_update_counter: Number of applied updates + :ivar cdc_update_counter: Number of applied updates. :vartype cdc_update_counter: long - :ivar cdc_delete_counter: Number of applied deletes + :ivar cdc_delete_counter: Number of applied deletes. :vartype cdc_delete_counter: long - :ivar full_load_est_finish_time: Estimate to finish full load - :vartype full_load_est_finish_time: datetime - :ivar full_load_started_on: Full load start time - :vartype full_load_started_on: datetime - :ivar full_load_ended_on: Full load end time - :vartype full_load_ended_on: datetime - :ivar full_load_total_rows: Number of rows applied in full load + :ivar full_load_est_finish_time: Estimate to finish full load. + :vartype full_load_est_finish_time: ~datetime.datetime + :ivar full_load_started_on: Full load start time. + :vartype full_load_started_on: ~datetime.datetime + :ivar full_load_ended_on: Full load end time. + :vartype full_load_ended_on: ~datetime.datetime + :ivar full_load_total_rows: Number of rows applied in full load. :vartype full_load_total_rows: long - :ivar state: Current state of the table migration. Possible values - include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED', 'CANCELED', 'ERROR', - 'FAILED' - :vartype state: str or - ~azure.mgmt.datamigration.models.SyncTableMigrationState - :ivar total_changes_applied: Total number of applied changes + :ivar state: Current state of the table migration. Possible values include: "BEFORE_LOAD", + "FULL_LOAD", "COMPLETED", "CANCELED", "ERROR", "FAILED". + :vartype state: str or ~azure.mgmt.datamigration.models.SyncTableMigrationState + :ivar total_changes_applied: Total number of applied changes. :vartype total_changes_applied: long - :ivar data_errors_counter: Number of data errors occurred + :ivar data_errors_counter: Number of data errors occurred. :vartype data_errors_counter: long - :ivar last_modified_time: Last modified time on target - :vartype last_modified_time: datetime + :ivar last_modified_time: Last modified time on target. + :vartype last_modified_time: ~datetime.datetime """ _validation = { @@ -6550,8 +6900,12 @@ class MigrateSqlServerSqlDbSyncTaskOutputTableLevel(MigrateSqlServerSqlDbSyncTas 'last_modified_time': {'key': 'lastModifiedTime', 'type': 'iso-8601'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.table_name = None self.database_name = None self.cdc_insert_counter = None @@ -6565,95 +6919,86 @@ def __init__(self, **kwargs) -> None: self.total_changes_applied = None self.data_errors_counter = None self.last_modified_time = None - self.result_type = 'TableLevelOutput' class MigrateSqlServerSqlDbSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates on-prem SQL Server databases to Azure - SQL Database for online migrations. + """Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlDbSyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateSqlServerSqlDbSyncTaskInput"] = None, + **kwargs + ): super(MigrateSqlServerSqlDbSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.SqlServer.AzureSqlDb.Sync' # type: str self.input = input self.output = None - self.task_type = 'Migrate.SqlServer.AzureSqlDb.Sync' class MigrateSqlServerSqlDbTaskInput(SqlMigrationTaskInput): - """Input for the task that migrates on-prem SQL Server databases to Azure SQL - Database. + """Input for the task that migrates on-prem SQL Server databases to Azure SQL Database. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbDatabaseInput] - :param validation_options: Options for enabling various post migration - validations. Available options, - 1.) Data Integrity Check: Performs a checksum based comparison on source - and target tables after the migration to ensure the correctness of the - data. - 2.) Schema Validation: Performs a thorough schema comparison between the - source and target tables and provides a list of differences between the - source and target database, 3.) Query Analysis: Executes a set of queries - picked up automatically either from the Query Plan Cache or Query Store - and execute them and compares the execution time between the source and - target database. - :type validation_options: - ~azure.mgmt.datamigration.models.MigrationValidationOptions + :param validation_options: Options for enabling various post migration validations. Available + options, + 1.) Data Integrity Check: Performs a checksum based comparison on source and target tables + after the migration to ensure the correctness of the data. + 2.) Schema Validation: Performs a thorough schema comparison between the source and target + tables and provides a list of differences between the source and target database, 3.) Query + Analysis: Executes a set of queries picked up automatically either from the Query Plan Cache or + Query Store and execute them and compares the execution time between the source and target + database. + :type validation_options: ~azure.mgmt.datamigration.models.MigrationValidationOptions """ _validation = { @@ -6669,30 +7014,33 @@ class MigrateSqlServerSqlDbTaskInput(SqlMigrationTaskInput): 'validation_options': {'key': 'validationOptions', 'type': 'MigrationValidationOptions'}, } - def __init__(self, *, source_connection_info, target_connection_info, selected_databases, validation_options=None, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + selected_databases: List["MigrateSqlServerSqlDbDatabaseInput"], + validation_options: Optional["MigrationValidationOptions"] = None, + **kwargs + ): super(MigrateSqlServerSqlDbTaskInput, self).__init__(source_connection_info=source_connection_info, target_connection_info=target_connection_info, **kwargs) self.selected_databases = selected_databases self.validation_options = validation_options -class MigrateSqlServerSqlDbTaskOutput(Model): - """Output for the task that migrates on-prem SQL Server databases to Azure SQL - Database. +class MigrateSqlServerSqlDbTaskOutput(msrest.serialization.Model): + """Output for the task that migrates on-prem SQL Server databases to Azure SQL Database. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSqlServerSqlDbTaskOutputError, - MigrateSqlServerSqlDbTaskOutputTableLevel, - MigrateSqlServerSqlDbTaskOutputDatabaseLevel, - MigrateSqlServerSqlDbTaskOutputMigrationLevel + sub-classes are: MigrateSqlServerSqlDbTaskOutputDatabaseLevel, MigrateSqlServerSqlDbTaskOutputError, MigrateSqlServerSqlDbTaskOutputMigrationLevel, MigrateSqlServerSqlDbTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -6707,64 +7055,60 @@ class MigrateSqlServerSqlDbTaskOutput(Model): } _subtype_map = { - 'result_type': {'ErrorOutput': 'MigrateSqlServerSqlDbTaskOutputError', 'TableLevelOutput': 'MigrateSqlServerSqlDbTaskOutputTableLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlDbTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlDbTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelOutput': 'MigrateSqlServerSqlDbTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSqlServerSqlDbTaskOutputError', 'MigrationLevelOutput': 'MigrateSqlServerSqlDbTaskOutputMigrationLevel', 'TableLevelOutput': 'MigrateSqlServerSqlDbTaskOutputTableLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSqlServerSqlDbTaskOutput): """MigrateSqlServerSqlDbTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the item + :ivar database_name: Name of the item. :vartype database_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Migration stage that this database is in. Possible values - include: 'None', 'Initialize', 'Backup', 'FileCopy', 'Restore', - 'Completed' - :vartype stage: str or - ~azure.mgmt.datamigration.models.DatabaseMigrationStage - :ivar status_message: Status message + :ivar stage: Migration stage that this database is in. Possible values include: "None", + "Initialize", "Backup", "FileCopy", "Restore", "Completed". + :vartype stage: str or ~azure.mgmt.datamigration.models.DatabaseMigrationStage + :ivar status_message: Status message. :vartype status_message: str - :ivar message: Migration progress message + :ivar message: Migration progress message. :vartype message: str - :ivar number_of_objects: Number of objects + :ivar number_of_objects: Number of objects. :vartype number_of_objects: long - :ivar number_of_objects_completed: Number of successfully completed - objects + :ivar number_of_objects_completed: Number of successfully completed objects. :vartype number_of_objects_completed: long :ivar error_count: Number of database/object errors. :vartype error_count: long - :ivar error_prefix: Wildcard string prefix to use for querying all errors - of the item + :ivar error_prefix: Wildcard string prefix to use for querying all errors of the item. :vartype error_prefix: str - :ivar result_prefix: Wildcard string prefix to use for querying all - sub-tem results of the item + :ivar result_prefix: Wildcard string prefix to use for querying all sub-tem results of the + item. :vartype result_prefix: str :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] - :ivar object_summary: Summary of object results in the migration - :vartype object_summary: dict[str, - ~azure.mgmt.datamigration.models.DataItemMigrationSummaryResult] + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] + :ivar object_summary: Summary of object results in the migration. + :vartype object_summary: str """ _validation = { @@ -6802,11 +7146,15 @@ class MigrateSqlServerSqlDbTaskOutputDatabaseLevel(MigrateSqlServerSqlDbTaskOutp 'error_prefix': {'key': 'errorPrefix', 'type': 'str'}, 'result_prefix': {'key': 'resultPrefix', 'type': 'str'}, 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, - 'object_summary': {'key': 'objectSummary', 'type': '{DataItemMigrationSummaryResult}'}, + 'object_summary': {'key': 'objectSummary', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.started_on = None self.ended_on = None @@ -6821,22 +7169,20 @@ def __init__(self, **kwargs) -> None: self.result_prefix = None self.exceptions_and_warnings = None self.object_summary = None - self.result_type = 'DatabaseLevelOutput' class MigrateSqlServerSqlDbTaskOutputError(MigrateSqlServerSqlDbTaskOutput): """MigrateSqlServerSqlDbTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -6852,63 +7198,59 @@ class MigrateSqlServerSqlDbTaskOutputError(MigrateSqlServerSqlDbTaskOutput): 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOutput): """MigrateSqlServerSqlDbTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime :ivar duration_in_seconds: Duration of task execution in seconds. :vartype duration_in_seconds: long - :ivar status: Current status of migration. Possible values include: - 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', - 'Configured', 'Running', 'Error', 'Stopped', 'Completed', - 'CompletedWithWarnings' + :ivar status: Current status of migration. Possible values include: "Default", "Connecting", + "SourceAndTargetSelected", "SelectLogins", "Configured", "Running", "Error", "Stopped", + "Completed", "CompletedWithWarnings". :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus - :ivar status_message: Migration status message + :ivar status_message: Migration status message. :vartype status_message: str - :ivar message: Migration progress message + :ivar message: Migration progress message. :vartype message: str - :ivar databases: Selected databases as a map from database name to - database id - :vartype databases: dict[str, str] - :ivar database_summary: Summary of database results in the migration - :vartype database_summary: dict[str, - ~azure.mgmt.datamigration.models.DatabaseSummaryResult] - :param migration_validation_result: Migration Validation Results - :type migration_validation_result: - ~azure.mgmt.datamigration.models.MigrationValidationResult - :param migration_report_result: Migration Report Result, provides unique - url for downloading your migration report. - :type migration_report_result: - ~azure.mgmt.datamigration.models.MigrationReportResult - :ivar source_server_version: Source server version + :ivar databases: Selected databases as a map from database name to database id. + :vartype databases: str + :ivar database_summary: Summary of database results in the migration. + :vartype database_summary: str + :param migration_validation_result: Migration Validation Results. + :type migration_validation_result: ~azure.mgmt.datamigration.models.MigrationValidationResult + :param migration_report_result: Migration Report Result, provides unique url for downloading + your migration report. + :type migration_report_result: ~azure.mgmt.datamigration.models.MigrationReportResult + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -6938,8 +7280,8 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut 'status': {'key': 'status', 'type': 'str'}, 'status_message': {'key': 'statusMessage', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, - 'databases': {'key': 'databases', 'type': '{str}'}, - 'database_summary': {'key': 'databaseSummary', 'type': '{DatabaseSummaryResult}'}, + 'databases': {'key': 'databases', 'type': 'str'}, + 'database_summary': {'key': 'databaseSummary', 'type': 'str'}, 'migration_validation_result': {'key': 'migrationValidationResult', 'type': 'MigrationValidationResult'}, 'migration_report_result': {'key': 'migrationReportResult', 'type': 'MigrationReportResult'}, 'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'}, @@ -6949,8 +7291,15 @@ class MigrateSqlServerSqlDbTaskOutputMigrationLevel(MigrateSqlServerSqlDbTaskOut 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, *, migration_validation_result=None, migration_report_result=None, **kwargs) -> None: + def __init__( + self, + *, + migration_validation_result: Optional["MigrationValidationResult"] = None, + migration_report_result: Optional["MigrationReportResult"] = None, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.duration_in_seconds = None @@ -6966,41 +7315,38 @@ def __init__(self, *, migration_validation_result=None, migration_report_result= self.target_server_version = None self.target_server_brand_version = None self.exceptions_and_warnings = None - self.result_type = 'MigrationLevelOutput' class MigrateSqlServerSqlDbTaskOutputTableLevel(MigrateSqlServerSqlDbTaskOutput): """MigrateSqlServerSqlDbTaskOutputTableLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar object_name: Name of the item + :ivar object_name: Name of the item. :vartype object_name: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar status_message: Status message + :ivar status_message: Status message. :vartype status_message: str - :ivar items_count: Number of items + :ivar items_count: Number of items. :vartype items_count: long - :ivar items_completed_count: Number of successfully completed items + :ivar items_completed_count: Number of successfully completed items. :vartype items_completed_count: long - :ivar error_prefix: Wildcard string prefix to use for querying all errors - of the item + :ivar error_prefix: Wildcard string prefix to use for querying all errors of the item. :vartype error_prefix: str - :ivar result_prefix: Wildcard string prefix to use for querying all - sub-tem results of the item + :ivar result_prefix: Wildcard string prefix to use for querying all sub-tem results of the + item. :vartype result_prefix: str """ @@ -7032,8 +7378,12 @@ class MigrateSqlServerSqlDbTaskOutputTableLevel(MigrateSqlServerSqlDbTaskOutput) 'result_prefix': {'key': 'resultPrefix', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlDbTaskOutputTableLevel, self).__init__(**kwargs) + self.result_type = 'TableLevelOutput' # type: str self.object_name = None self.started_on = None self.ended_on = None @@ -7043,81 +7393,76 @@ def __init__(self, **kwargs) -> None: self.items_completed_count = None self.error_prefix = None self.result_prefix = None - self.result_type = 'TableLevelOutput' class MigrateSqlServerSqlDbTaskProperties(ProjectTaskProperties): - """Properties for the task that migrates on-prem SQL Server databases to Azure - SQL Database. + """Properties for the task that migrates on-prem SQL Server databases to Azure SQL Database. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlDbTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlDbTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateSqlServerSqlDbTaskInput"] = None, + **kwargs + ): super(MigrateSqlServerSqlDbTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.SqlServer.SqlDb' # type: str self.input = input self.output = None - self.task_type = 'Migrate.SqlServer.SqlDb' -class MigrateSqlServerSqlMIDatabaseInput(Model): - """Database specific information for SQL to Azure SQL DB Managed Instance - migration task inputs. +class MigrateSqlServerSqlMIDatabaseInput(msrest.serialization.Model): + """Database specific information for SQL to Azure SQL DB Managed Instance migration task inputs. All required parameters must be populated in order to send to Azure. - :param name: Required. Name of the database + :param name: Required. Name of the database. :type name: str - :param restore_database_name: Required. Name of the database at - destination + :param restore_database_name: Required. Name of the database at destination. :type restore_database_name: str - :param backup_file_share: Backup file share information for backing up - this database. + :param backup_file_share: Backup file share information for backing up this database. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param backup_file_paths: The list of backup files to be used in case of - existing backups. + :param backup_file_paths: The list of backup files to be used in case of existing backups. :type backup_file_paths: list[str] """ @@ -7133,7 +7478,15 @@ class MigrateSqlServerSqlMIDatabaseInput(Model): 'backup_file_paths': {'key': 'backupFilePaths', 'type': '[str]'}, } - def __init__(self, *, name: str, restore_database_name: str, backup_file_share=None, backup_file_paths=None, **kwargs) -> None: + def __init__( + self, + *, + name: str, + restore_database_name: str, + backup_file_share: Optional["FileShare"] = None, + backup_file_paths: Optional[List[str]] = None, + **kwargs + ): super(MigrateSqlServerSqlMIDatabaseInput, self).__init__(**kwargs) self.name = name self.restore_database_name = restore_database_name @@ -7141,32 +7494,26 @@ def __init__(self, *, name: str, restore_database_name: str, backup_file_share=N self.backup_file_paths = backup_file_paths -class SqlServerSqlMISyncTaskInput(Model): - """Input for task that migrates SQL Server databases to Azure SQL Database - Managed Instance online scenario. +class SqlServerSqlMISyncTaskInput(msrest.serialization.Model): + """Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param storage_resource_id: Required. Fully qualified resourceId of - storage + :param storage_resource_id: Required. Fully qualified resourceId of storage. :type storage_resource_id: str - :param source_connection_info: Required. Connection information for source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for Azure - SQL Database Managed Instance - :type target_connection_info: - ~azure.mgmt.datamigration.models.MiSqlConnectionInfo - :param azure_app: Required. Azure Active Directory Application the DMS - instance will use to connect to the target instance of Azure SQL Database - Managed Instance and the Azure Storage Account + :param source_connection_info: Required. Connection information for source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for Azure SQL Database Managed + Instance. + :type target_connection_info: ~azure.mgmt.datamigration.models.MiSqlConnectionInfo + :param azure_app: Required. Azure Active Directory Application the DMS instance will use to + connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage + Account. :type azure_app: ~azure.mgmt.datamigration.models.AzureActiveDirectoryApp """ @@ -7187,7 +7534,17 @@ class SqlServerSqlMISyncTaskInput(Model): 'azure_app': {'key': 'azureApp', 'type': 'AzureActiveDirectoryApp'}, } - def __init__(self, *, selected_databases, storage_resource_id: str, source_connection_info, target_connection_info, azure_app, backup_file_share=None, **kwargs) -> None: + def __init__( + self, + *, + selected_databases: List["MigrateSqlServerSqlMIDatabaseInput"], + storage_resource_id: str, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "MiSqlConnectionInfo", + azure_app: "AzureActiveDirectoryApp", + backup_file_share: Optional["FileShare"] = None, + **kwargs + ): super(SqlServerSqlMISyncTaskInput, self).__init__(**kwargs) self.selected_databases = selected_databases self.backup_file_share = backup_file_share @@ -7198,31 +7555,25 @@ def __init__(self, *, selected_databases, storage_resource_id: str, source_conne class MigrateSqlServerSqlMISyncTaskInput(SqlServerSqlMISyncTaskInput): - """Input for task that migrates SQL Server databases to Azure SQL Database - Managed Instance online scenario. + """Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param storage_resource_id: Required. Fully qualified resourceId of - storage + :param storage_resource_id: Required. Fully qualified resourceId of storage. :type storage_resource_id: str - :param source_connection_info: Required. Connection information for source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for Azure - SQL Database Managed Instance - :type target_connection_info: - ~azure.mgmt.datamigration.models.MiSqlConnectionInfo - :param azure_app: Required. Azure Active Directory Application the DMS - instance will use to connect to the target instance of Azure SQL Database - Managed Instance and the Azure Storage Account + :param source_connection_info: Required. Connection information for source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for Azure SQL Database Managed + Instance. + :type target_connection_info: ~azure.mgmt.datamigration.models.MiSqlConnectionInfo + :param azure_app: Required. Azure Active Directory Application the DMS instance will use to + connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage + Account. :type azure_app: ~azure.mgmt.datamigration.models.AzureActiveDirectoryApp """ @@ -7243,27 +7594,33 @@ class MigrateSqlServerSqlMISyncTaskInput(SqlServerSqlMISyncTaskInput): 'azure_app': {'key': 'azureApp', 'type': 'AzureActiveDirectoryApp'}, } - def __init__(self, *, selected_databases, storage_resource_id: str, source_connection_info, target_connection_info, azure_app, backup_file_share=None, **kwargs) -> None: + def __init__( + self, + *, + selected_databases: List["MigrateSqlServerSqlMIDatabaseInput"], + storage_resource_id: str, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "MiSqlConnectionInfo", + azure_app: "AzureActiveDirectoryApp", + backup_file_share: Optional["FileShare"] = None, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskInput, self).__init__(selected_databases=selected_databases, backup_file_share=backup_file_share, storage_resource_id=storage_resource_id, source_connection_info=source_connection_info, target_connection_info=target_connection_info, azure_app=azure_app, **kwargs) -class MigrateSqlServerSqlMISyncTaskOutput(Model): - """Output for task that migrates SQL Server databases to Azure SQL Database - Managed Instance using Log Replay Service. +class MigrateSqlServerSqlMISyncTaskOutput(msrest.serialization.Model): + """Output for task that migrates SQL Server databases to Azure SQL Database Managed Instance using Log Replay Service. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSqlServerSqlMISyncTaskOutputError, - MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel, - MigrateSqlServerSqlMISyncTaskOutputMigrationLevel + sub-classes are: MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel, MigrateSqlServerSqlMISyncTaskOutputError, MigrateSqlServerSqlMISyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -7278,61 +7635,56 @@ class MigrateSqlServerSqlMISyncTaskOutput(Model): } _subtype_map = { - 'result_type': {'ErrorOutput': 'MigrateSqlServerSqlMISyncTaskOutputError', 'DatabaseLevelOutput': 'MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlMISyncTaskOutputMigrationLevel'} + 'result_type': {'DatabaseLevelOutput': 'MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSqlServerSqlMISyncTaskOutputError', 'MigrationLevelOutput': 'MigrateSqlServerSqlMISyncTaskOutputMigrationLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel(MigrateSqlServerSqlMISyncTaskOutput): """MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar source_database_name: Name of the database + :ivar source_database_name: Name of the database. :vartype source_database_name: str - :ivar migration_state: Current state of database. Possible values include: - 'UNDEFINED', 'INITIAL', 'FULL_BACKUP_UPLOAD_START', 'LOG_SHIPPING_START', - 'UPLOAD_LOG_FILES_START', 'CUTOVER_START', 'POST_CUTOVER_COMPLETE', - 'COMPLETED', 'CANCELLED', 'FAILED' - :vartype migration_state: str or - ~azure.mgmt.datamigration.models.DatabaseMigrationState - :ivar started_on: Database migration start time - :vartype started_on: datetime - :ivar ended_on: Database migration end time - :vartype ended_on: datetime - :ivar full_backup_set_info: Details of full backup set - :vartype full_backup_set_info: - ~azure.mgmt.datamigration.models.BackupSetInfo - :ivar last_restored_backup_set_info: Last applied backup set information - :vartype last_restored_backup_set_info: - ~azure.mgmt.datamigration.models.BackupSetInfo - :ivar active_backup_sets: Backup sets that are currently active (Either - being uploaded or getting restored) - :vartype active_backup_sets: - list[~azure.mgmt.datamigration.models.BackupSetInfo] - :ivar container_name: Name of container created in the Azure Storage - account where backups are copied to + :ivar migration_state: Current state of database. Possible values include: "UNDEFINED", + "INITIAL", "FULL_BACKUP_UPLOAD_START", "LOG_SHIPPING_START", "UPLOAD_LOG_FILES_START", + "CUTOVER_START", "POST_CUTOVER_COMPLETE", "COMPLETED", "CANCELLED", "FAILED". + :vartype migration_state: str or ~azure.mgmt.datamigration.models.DatabaseMigrationState + :ivar started_on: Database migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Database migration end time. + :vartype ended_on: ~datetime.datetime + :ivar full_backup_set_info: Details of full backup set. + :vartype full_backup_set_info: ~azure.mgmt.datamigration.models.BackupSetInfo + :ivar last_restored_backup_set_info: Last applied backup set information. + :vartype last_restored_backup_set_info: ~azure.mgmt.datamigration.models.BackupSetInfo + :ivar active_backup_sets: Backup sets that are currently active (Either being uploaded or + getting restored). + :vartype active_backup_sets: list[~azure.mgmt.datamigration.models.BackupSetInfo] + :ivar container_name: Name of container created in the Azure Storage account where backups are + copied to. :vartype container_name: str - :ivar error_prefix: prefix string to use for querying errors for this - database + :ivar error_prefix: prefix string to use for querying errors for this database. :vartype error_prefix: str - :ivar is_full_backup_restored: Whether full backup has been applied to the - target database or not + :ivar is_full_backup_restored: Whether full backup has been applied to the target database or + not. :vartype is_full_backup_restored: bool - :ivar exceptions_and_warnings: Migration exceptions and warnings - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Migration exceptions and warnings. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7367,8 +7719,12 @@ class MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel(MigrateSqlServerSqlMISync 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.source_database_name = None self.migration_state = None self.started_on = None @@ -7380,22 +7736,20 @@ def __init__(self, **kwargs) -> None: self.error_prefix = None self.is_full_backup_restored = None self.exceptions_and_warnings = None - self.result_type = 'DatabaseLevelOutput' class MigrateSqlServerSqlMISyncTaskOutputError(MigrateSqlServerSqlMISyncTaskOutput): """MigrateSqlServerSqlMISyncTaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -7411,46 +7765,48 @@ class MigrateSqlServerSqlMISyncTaskOutputError(MigrateSqlServerSqlMISyncTaskOutp 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateSqlServerSqlMISyncTaskOutputMigrationLevel(MigrateSqlServerSqlMISyncTaskOutput): """MigrateSqlServerSqlMISyncTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_count: Count of databases + :ivar database_count: Count of databases. :vartype database_count: int - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar source_server_name: Source server name + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar source_server_name: Source server name. :vartype source_server_name: str - :ivar source_server_version: Source server version + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_name: Target server name + :ivar target_server_name: Target server name. :vartype target_server_name: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str - :ivar database_error_count: Number of database level errors + :ivar database_error_count: Number of database level errors. :vartype database_error_count: int """ @@ -7486,8 +7842,12 @@ class MigrateSqlServerSqlMISyncTaskOutputMigrationLevel(MigrateSqlServerSqlMISyn 'database_error_count': {'key': 'databaseErrorCount', 'type': 'int'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.database_count = None self.state = None self.started_on = None @@ -7499,100 +7859,92 @@ def __init__(self, **kwargs) -> None: self.target_server_version = None self.target_server_brand_version = None self.database_error_count = None - self.result_type = 'MigrationLevelOutput' class MigrateSqlServerSqlMISyncTaskProperties(ProjectTaskProperties): - """Properties for task that migrates SQL Server databases to Azure SQL - Database Managed Instance sync scenario. + """Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance sync scenario. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMISyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMISyncTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMISyncTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMISyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlMISyncTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlMISyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateSqlServerSqlMISyncTaskInput"] = None, + **kwargs + ): super(MigrateSqlServerSqlMISyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS' # type: str self.input = input self.output = None - self.task_type = 'Migrate.SqlServer.AzureSqlDbMI.Sync.LRS' class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput): - """Input for task that migrates SQL Server databases to Azure SQL Database - Managed Instance. + """Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] :param selected_logins: Logins to migrate. :type selected_logins: list[str] :param selected_agent_jobs: Agent Jobs to migrate. :type selected_agent_jobs: list[str] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param backup_blob_share: Required. SAS URI of Azure Storage Account - Container to be used for storing backup files. + :param backup_blob_share: Required. SAS URI of Azure Storage Account Container to be used for + storing backup files. :type backup_blob_share: ~azure.mgmt.datamigration.models.BlobShare - :param backup_mode: Backup Mode to specify whether to use existing backup - or create new backup. If using existing backups, backup file paths are - required to be provided in selectedDatabases. Possible values include: - 'CreateBackup', 'ExistingBackup' + :param backup_mode: Backup Mode to specify whether to use existing backup or create new backup. + If using existing backups, backup file paths are required to be provided in selectedDatabases. + Possible values include: "CreateBackup", "ExistingBackup". :type backup_mode: str or ~azure.mgmt.datamigration.models.BackupMode - :param aad_domain_name: Azure Active Directory domain name in the format - of 'contoso.com' for federated Azure AD or 'contoso.onmicrosoft.com' for - managed domain, required if and only if Windows logins are selected + :param aad_domain_name: Azure Active Directory domain name in the format of 'contoso.com' for + federated Azure AD or 'contoso.onmicrosoft.com' for managed domain, required if and only if + Windows logins are selected. :type aad_domain_name: str """ @@ -7615,7 +7967,20 @@ class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput): 'aad_domain_name': {'key': 'aadDomainName', 'type': 'str'}, } - def __init__(self, *, source_connection_info, target_connection_info, selected_databases, backup_blob_share, selected_logins=None, selected_agent_jobs=None, backup_file_share=None, backup_mode=None, aad_domain_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + selected_databases: List["MigrateSqlServerSqlMIDatabaseInput"], + backup_blob_share: "BlobShare", + selected_logins: Optional[List[str]] = None, + selected_agent_jobs: Optional[List[str]] = None, + backup_file_share: Optional["FileShare"] = None, + backup_mode: Optional[Union[str, "BackupMode"]] = None, + aad_domain_name: Optional[str] = None, + **kwargs + ): super(MigrateSqlServerSqlMITaskInput, self).__init__(source_connection_info=source_connection_info, target_connection_info=target_connection_info, **kwargs) self.selected_databases = selected_databases self.selected_logins = selected_logins @@ -7626,25 +7991,19 @@ def __init__(self, *, source_connection_info, target_connection_info, selected_d self.aad_domain_name = aad_domain_name -class MigrateSqlServerSqlMITaskOutput(Model): - """Output for task that migrates SQL Server databases to Azure SQL Database - Managed Instance. +class MigrateSqlServerSqlMITaskOutput(msrest.serialization.Model): + """Output for task that migrates SQL Server databases to Azure SQL Database Managed Instance. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSqlServerSqlMITaskOutputError, - MigrateSqlServerSqlMITaskOutputLoginLevel, - MigrateSqlServerSqlMITaskOutputAgentJobLevel, - MigrateSqlServerSqlMITaskOutputDatabaseLevel, - MigrateSqlServerSqlMITaskOutputMigrationLevel + sub-classes are: MigrateSqlServerSqlMITaskOutputAgentJobLevel, MigrateSqlServerSqlMITaskOutputDatabaseLevel, MigrateSqlServerSqlMITaskOutputError, MigrateSqlServerSqlMITaskOutputLoginLevel, MigrateSqlServerSqlMITaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -7659,43 +8018,44 @@ class MigrateSqlServerSqlMITaskOutput(Model): } _subtype_map = { - 'result_type': {'ErrorOutput': 'MigrateSqlServerSqlMITaskOutputError', 'LoginLevelOutput': 'MigrateSqlServerSqlMITaskOutputLoginLevel', 'AgentJobLevelOutput': 'MigrateSqlServerSqlMITaskOutputAgentJobLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlMITaskOutputDatabaseLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlMITaskOutputMigrationLevel'} + 'result_type': {'AgentJobLevelOutput': 'MigrateSqlServerSqlMITaskOutputAgentJobLevel', 'DatabaseLevelOutput': 'MigrateSqlServerSqlMITaskOutputDatabaseLevel', 'ErrorOutput': 'MigrateSqlServerSqlMITaskOutputError', 'LoginLevelOutput': 'MigrateSqlServerSqlMITaskOutputLoginLevel', 'MigrationLevelOutput': 'MigrateSqlServerSqlMITaskOutputMigrationLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSqlServerSqlMITaskOutputAgentJobLevel(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputAgentJobLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str :ivar name: Agent Job name. :vartype name: str :ivar is_enabled: The state of the original Agent Job. :vartype is_enabled: bool - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar message: Migration progress message + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar message: Migration progress message. :vartype message: str - :ivar exceptions_and_warnings: Migration errors and warnings per job - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Migration errors and warnings per job. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7722,8 +8082,12 @@ class MigrateSqlServerSqlMITaskOutputAgentJobLevel(MigrateSqlServerSqlMITaskOutp 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputAgentJobLevel, self).__init__(**kwargs) + self.result_type = 'AgentJobLevelOutput' # type: str self.name = None self.is_enabled = None self.state = None @@ -7731,41 +8095,37 @@ def __init__(self, **kwargs) -> None: self.ended_on = None self.message = None self.exceptions_and_warnings = None - self.result_type = 'AgentJobLevelOutput' class MigrateSqlServerSqlMITaskOutputDatabaseLevel(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputDatabaseLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar database_name: Name of the database + :ivar database_name: Name of the database. :vartype database_name: str - :ivar size_mb: Size of the database in megabytes + :ivar size_mb: Size of the database in megabytes. :vartype size_mb: float - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Current stage of migration. Possible values include: 'None', - 'Initialize', 'Backup', 'FileCopy', 'Restore', 'Completed' - :vartype stage: str or - ~azure.mgmt.datamigration.models.DatabaseMigrationStage - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar message: Migration progress message + :ivar stage: Current stage of migration. Possible values include: "None", "Initialize", + "Backup", "FileCopy", "Restore", "Completed". + :vartype stage: str or ~azure.mgmt.datamigration.models.DatabaseMigrationStage + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar message: Migration progress message. :vartype message: str - :ivar exceptions_and_warnings: Migration exceptions and warnings - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Migration exceptions and warnings. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7794,8 +8154,12 @@ class MigrateSqlServerSqlMITaskOutputDatabaseLevel(MigrateSqlServerSqlMITaskOutp 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputDatabaseLevel, self).__init__(**kwargs) + self.result_type = 'DatabaseLevelOutput' # type: str self.database_name = None self.size_mb = None self.state = None @@ -7804,22 +8168,20 @@ def __init__(self, **kwargs) -> None: self.ended_on = None self.message = None self.exceptions_and_warnings = None - self.result_type = 'DatabaseLevelOutput' class MigrateSqlServerSqlMITaskOutputError(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputError. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar error: Migration error + :ivar error: Migration error. :vartype error: ~azure.mgmt.datamigration.models.ReportableException """ @@ -7835,45 +8197,43 @@ class MigrateSqlServerSqlMITaskOutputError(MigrateSqlServerSqlMITaskOutput): 'error': {'key': 'error', 'type': 'ReportableException'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputError, self).__init__(**kwargs) + self.result_type = 'ErrorOutput' # type: str self.error = None - self.result_type = 'ErrorOutput' class MigrateSqlServerSqlMITaskOutputLoginLevel(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputLoginLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str :ivar login_name: Login name. :vartype login_name: str - :ivar state: Current state of login. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of login. Possible values include: "None", "InProgress", "Failed", + "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Current stage of login. Possible values include: 'None', - 'Initialize', 'LoginMigration', 'EstablishUserMapping', - 'AssignRoleMembership', 'AssignRoleOwnership', - 'EstablishServerPermissions', 'EstablishObjectPermissions', 'Completed' - :vartype stage: str or - ~azure.mgmt.datamigration.models.LoginMigrationStage - :ivar started_on: Login migration start time - :vartype started_on: datetime - :ivar ended_on: Login migration end time - :vartype ended_on: datetime - :ivar message: Login migration progress message + :ivar stage: Current stage of login. Possible values include: "None", "Initialize", + "LoginMigration", "EstablishUserMapping", "AssignRoleMembership", "AssignRoleOwnership", + "EstablishServerPermissions", "EstablishObjectPermissions", "Completed". + :vartype stage: str or ~azure.mgmt.datamigration.models.LoginMigrationStage + :ivar started_on: Login migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Login migration end time. + :vartype ended_on: ~datetime.datetime + :ivar message: Login migration progress message. :vartype message: str - :ivar exceptions_and_warnings: Login migration errors and warnings per - login - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Login migration errors and warnings per login. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7900,8 +8260,12 @@ class MigrateSqlServerSqlMITaskOutputLoginLevel(MigrateSqlServerSqlMITaskOutput) 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputLoginLevel, self).__init__(**kwargs) + self.result_type = 'LoginLevelOutput' # type: str self.login_name = None self.state = None self.stage = None @@ -7909,59 +8273,52 @@ def __init__(self, **kwargs) -> None: self.ended_on = None self.message = None self.exceptions_and_warnings = None - self.result_type = 'LoginLevelOutput' class MigrateSqlServerSqlMITaskOutputMigrationLevel(MigrateSqlServerSqlMITaskOutput): """MigrateSqlServerSqlMITaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar status: Current status of migration. Possible values include: - 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', - 'Configured', 'Running', 'Error', 'Stopped', 'Completed', - 'CompletedWithWarnings' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar status: Current status of migration. Possible values include: "Default", "Connecting", + "SourceAndTargetSelected", "SelectLogins", "Configured", "Running", "Error", "Stopped", + "Completed", "CompletedWithWarnings". :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar agent_jobs: Selected agent jobs as a map from name to id - :vartype agent_jobs: dict[str, str] - :ivar logins: Selected logins as a map from name to id - :vartype logins: dict[str, str] - :ivar message: Migration progress message + :ivar agent_jobs: Selected agent jobs as a map from name to id. + :vartype agent_jobs: str + :ivar logins: Selected logins as a map from name to id. + :vartype logins: str + :ivar message: Migration progress message. :vartype message: str :ivar server_role_results: Map of server role migration results. - :vartype server_role_results: dict[str, - ~azure.mgmt.datamigration.models.StartMigrationScenarioServerRoleResult] + :vartype server_role_results: str :ivar orphaned_users_info: List of orphaned users. - :vartype orphaned_users_info: - list[~azure.mgmt.datamigration.models.OrphanedUserInfo] - :ivar databases: Selected databases as a map from database name to - database id - :vartype databases: dict[str, str] - :ivar source_server_version: Source server version + :vartype orphaned_users_info: list[~azure.mgmt.datamigration.models.OrphanedUserInfo] + :ivar databases: Selected databases as a map from database name to database id. + :vartype databases: str + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -7991,12 +8348,12 @@ class MigrateSqlServerSqlMITaskOutputMigrationLevel(MigrateSqlServerSqlMITaskOut 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, - 'agent_jobs': {'key': 'agentJobs', 'type': '{str}'}, - 'logins': {'key': 'logins', 'type': '{str}'}, + 'agent_jobs': {'key': 'agentJobs', 'type': 'str'}, + 'logins': {'key': 'logins', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, - 'server_role_results': {'key': 'serverRoleResults', 'type': '{StartMigrationScenarioServerRoleResult}'}, + 'server_role_results': {'key': 'serverRoleResults', 'type': 'str'}, 'orphaned_users_info': {'key': 'orphanedUsersInfo', 'type': '[OrphanedUserInfo]'}, - 'databases': {'key': 'databases', 'type': '{str}'}, + 'databases': {'key': 'databases', 'type': 'str'}, 'source_server_version': {'key': 'sourceServerVersion', 'type': 'str'}, 'source_server_brand_version': {'key': 'sourceServerBrandVersion', 'type': 'str'}, 'target_server_version': {'key': 'targetServerVersion', 'type': 'str'}, @@ -8004,8 +8361,12 @@ class MigrateSqlServerSqlMITaskOutputMigrationLevel(MigrateSqlServerSqlMITaskOut 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSqlServerSqlMITaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.status = None @@ -8021,111 +8382,75 @@ def __init__(self, **kwargs) -> None: self.target_server_version = None self.target_server_brand_version = None self.exceptions_and_warnings = None - self.result_type = 'MigrationLevelOutput' class MigrateSqlServerSqlMITaskProperties(ProjectTaskProperties): - """Properties for task that migrates SQL Server databases to Azure SQL - Database Managed Instance. + """Properties for task that migrates SQL Server databases to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMITaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSqlServerSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSqlServerSqlMITaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateSqlServerSqlMITaskInput"] = None, + **kwargs + ): super(MigrateSqlServerSqlMITaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.SqlServer.AzureSqlDbMI' # type: str self.input = input self.output = None - self.task_type = 'Migrate.SqlServer.AzureSqlDbMI' - - -class MigrateSqlServerSqlServerDatabaseInput(Model): - """Database specific information for SQL to SQL migration task inputs. - - :param name: Name of the database - :type name: str - :param restore_database_name: Name of the database at destination - :type restore_database_name: str - :param backup_and_restore_folder: The backup and restore folder - :type backup_and_restore_folder: str - :param database_files: The list of database files - :type database_files: - list[~azure.mgmt.datamigration.models.DatabaseFileInput] - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'restore_database_name': {'key': 'restoreDatabaseName', 'type': 'str'}, - 'backup_and_restore_folder': {'key': 'backupAndRestoreFolder', 'type': 'str'}, - 'database_files': {'key': 'databaseFiles', 'type': '[DatabaseFileInput]'}, - } - - def __init__(self, *, name: str=None, restore_database_name: str=None, backup_and_restore_folder: str=None, database_files=None, **kwargs) -> None: - super(MigrateSqlServerSqlServerDatabaseInput, self).__init__(**kwargs) - self.name = name - self.restore_database_name = restore_database_name - self.backup_and_restore_folder = backup_and_restore_folder - self.database_files = database_files class MigrateSsisTaskInput(SqlMigrationTaskInput): - """Input for task that migrates SSIS packages from SQL Server to Azure SQL - Database Managed Instance. + """Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo :param ssis_migration_info: Required. SSIS package migration information. - :type ssis_migration_info: - ~azure.mgmt.datamigration.models.SsisMigrationInfo + :type ssis_migration_info: ~azure.mgmt.datamigration.models.SsisMigrationInfo """ _validation = { @@ -8140,27 +8465,31 @@ class MigrateSsisTaskInput(SqlMigrationTaskInput): 'ssis_migration_info': {'key': 'ssisMigrationInfo', 'type': 'SsisMigrationInfo'}, } - def __init__(self, *, source_connection_info, target_connection_info, ssis_migration_info, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + ssis_migration_info: "SsisMigrationInfo", + **kwargs + ): super(MigrateSsisTaskInput, self).__init__(source_connection_info=source_connection_info, target_connection_info=target_connection_info, **kwargs) self.ssis_migration_info = ssis_migration_info -class MigrateSsisTaskOutput(Model): - """Output for task that migrates SSIS packages from SQL Server to Azure SQL - Database Managed Instance. +class MigrateSsisTaskOutput(msrest.serialization.Model): + """Output for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MigrateSsisTaskOutputProjectLevel, - MigrateSsisTaskOutputMigrationLevel + sub-classes are: MigrateSsisTaskOutputMigrationLevel, MigrateSsisTaskOutputProjectLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str """ @@ -8175,51 +8504,51 @@ class MigrateSsisTaskOutput(Model): } _subtype_map = { - 'result_type': {'SsisProjectLevelOutput': 'MigrateSsisTaskOutputProjectLevel', 'MigrationLevelOutput': 'MigrateSsisTaskOutputMigrationLevel'} + 'result_type': {'MigrationLevelOutput': 'MigrateSsisTaskOutputMigrationLevel', 'SsisProjectLevelOutput': 'MigrateSsisTaskOutputProjectLevel'} } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSsisTaskOutput, self).__init__(**kwargs) self.id = None - self.result_type = None + self.result_type = None # type: Optional[str] class MigrateSsisTaskOutputMigrationLevel(MigrateSsisTaskOutput): """MigrateSsisTaskOutputMigrationLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar status: Current status of migration. Possible values include: - 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', - 'Configured', 'Running', 'Error', 'Stopped', 'Completed', - 'CompletedWithWarnings' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar status: Current status of migration. Possible values include: "Default", "Connecting", + "SourceAndTargetSelected", "SelectLogins", "Configured", "Running", "Error", "Stopped", + "Completed", "CompletedWithWarnings". :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus - :ivar message: Migration progress message + :ivar message: Migration progress message. :vartype message: str - :ivar source_server_version: Source server version + :ivar source_server_version: Source server version. :vartype source_server_version: str - :ivar source_server_brand_version: Source server brand version + :ivar source_server_brand_version: Source server brand version. :vartype source_server_brand_version: str - :ivar target_server_version: Target server version + :ivar target_server_version: Target server version. :vartype target_server_version: str - :ivar target_server_brand_version: Target server brand version + :ivar target_server_brand_version: Target server brand version. :vartype target_server_brand_version: str :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] - :ivar stage: Stage of SSIS migration. Possible values include: 'None', - 'Initialize', 'InProgress', 'Completed' + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] + :ivar stage: Stage of SSIS migration. Possible values include: "None", "Initialize", + "InProgress", "Completed". :vartype stage: str or ~azure.mgmt.datamigration.models.SsisMigrationStage """ @@ -8253,8 +8582,12 @@ class MigrateSsisTaskOutputMigrationLevel(MigrateSsisTaskOutput): 'stage': {'key': 'stage', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSsisTaskOutputMigrationLevel, self).__init__(**kwargs) + self.result_type = 'MigrationLevelOutput' # type: str self.started_on = None self.ended_on = None self.status = None @@ -8265,40 +8598,37 @@ def __init__(self, **kwargs) -> None: self.target_server_brand_version = None self.exceptions_and_warnings = None self.stage = None - self.result_type = 'MigrationLevelOutput' class MigrateSsisTaskOutputProjectLevel(MigrateSsisTaskOutput): """MigrateSsisTaskOutputProjectLevel. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :param result_type: Required. Constant filled by server. + :param result_type: Required. Result type.Constant filled by server. :type result_type: str - :ivar folder_name: Name of the folder + :ivar folder_name: Name of the folder. :vartype folder_name: str - :ivar project_name: Name of the project + :ivar project_name: Name of the project. :vartype project_name: str - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState - :ivar stage: Stage of SSIS migration. Possible values include: 'None', - 'Initialize', 'InProgress', 'Completed' + :ivar stage: Stage of SSIS migration. Possible values include: "None", "Initialize", + "InProgress", "Completed". :vartype stage: str or ~azure.mgmt.datamigration.models.SsisMigrationStage - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar message: Migration progress message + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar message: Migration progress message. :vartype message: str - :ivar exceptions_and_warnings: Migration exceptions and warnings - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar exceptions_and_warnings: Migration exceptions and warnings. + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -8327,8 +8657,12 @@ class MigrateSsisTaskOutputProjectLevel(MigrateSsisTaskOutput): 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSsisTaskOutputProjectLevel, self).__init__(**kwargs) + self.result_type = 'SsisProjectLevelOutput' # type: str self.folder_name = None self.project_name = None self.state = None @@ -8337,73 +8671,73 @@ def __init__(self, **kwargs) -> None: self.ended_on = None self.message = None self.exceptions_and_warnings = None - self.result_type = 'SsisProjectLevelOutput' class MigrateSsisTaskProperties(ProjectTaskProperties): - """Properties for task that migrates SSIS packages from SQL Server databases - to Azure SQL Database Managed Instance. + """Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input + :param input: Task input. :type input: ~azure.mgmt.datamigration.models.MigrateSsisTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.MigrateSsisTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.MigrateSsisTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSsisTaskInput'}, 'output': {'key': 'output', 'type': '[MigrateSsisTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateSsisTaskInput"] = None, + **kwargs + ): super(MigrateSsisTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Migrate.Ssis' # type: str self.input = input self.output = None - self.task_type = 'Migrate.Ssis' -class MigrateSyncCompleteCommandInput(Model): +class MigrateSyncCompleteCommandInput(msrest.serialization.Model): """Input for command that completes sync migration for a database. All required parameters must be populated in order to send to Azure. - :param database_name: Required. Name of database + :param database_name: Required. Name of database. :type database_name: str - :param commit_time_stamp: Time stamp to complete - :type commit_time_stamp: datetime + :param commit_time_stamp: Time stamp to complete. + :type commit_time_stamp: ~datetime.datetime """ _validation = { @@ -8415,23 +8749,27 @@ class MigrateSyncCompleteCommandInput(Model): 'commit_time_stamp': {'key': 'commitTimeStamp', 'type': 'iso-8601'}, } - def __init__(self, *, database_name: str, commit_time_stamp=None, **kwargs) -> None: + def __init__( + self, + *, + database_name: str, + commit_time_stamp: Optional[datetime.datetime] = None, + **kwargs + ): super(MigrateSyncCompleteCommandInput, self).__init__(**kwargs) self.database_name = database_name self.commit_time_stamp = commit_time_stamp -class MigrateSyncCompleteCommandOutput(Model): +class MigrateSyncCompleteCommandOutput(msrest.serialization.Model): """Output for command that completes sync migration for a database. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar errors: List of errors that happened during the command execution - :vartype errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar errors: List of errors that happened during the command execution. + :vartype errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -8444,7 +8782,10 @@ class MigrateSyncCompleteCommandOutput(Model): 'errors': {'key': 'errors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrateSyncCompleteCommandOutput, self).__init__(**kwargs) self.id = None self.errors = None @@ -8453,60 +8794,58 @@ def __init__(self, **kwargs) -> None: class MigrateSyncCompleteCommandProperties(CommandProperties): """Properties for the command that completes sync migration for a database. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input - :type input: - ~azure.mgmt.datamigration.models.MigrateSyncCompleteCommandInput + :param input: Command input. + :type input: ~azure.mgmt.datamigration.models.MigrateSyncCompleteCommandInput :ivar output: Command output. This is ignored if submitted. - :vartype output: - ~azure.mgmt.datamigration.models.MigrateSyncCompleteCommandOutput + :vartype output: ~azure.mgmt.datamigration.models.MigrateSyncCompleteCommandOutput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateSyncCompleteCommandInput'}, 'output': {'key': 'output', 'type': 'MigrateSyncCompleteCommandOutput'}, } - def __init__(self, *, input=None, **kwargs) -> None: + def __init__( + self, + *, + input: Optional["MigrateSyncCompleteCommandInput"] = None, + **kwargs + ): super(MigrateSyncCompleteCommandProperties, self).__init__(**kwargs) + self.command_type = 'Migrate.Sync.Complete.Database' # type: str self.input = input self.output = None - self.command_type = 'Migrate.Sync.Complete.Database' -class MigrationEligibilityInfo(Model): +class MigrationEligibilityInfo(msrest.serialization.Model): """Information about migration eligibility of a server object. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar is_eligible_for_migration: Whether object is eligible for migration - or not. + :ivar is_eligible_for_migration: Whether object is eligible for migration or not. :vartype is_eligible_for_migration: bool - :ivar validation_messages: Information about eligibility failure for the - server object. + :ivar validation_messages: Information about eligibility failure for the server object. :vartype validation_messages: list[str] """ @@ -8520,17 +8859,19 @@ class MigrationEligibilityInfo(Model): 'validation_messages': {'key': 'validationMessages', 'type': '[str]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrationEligibilityInfo, self).__init__(**kwargs) self.is_eligible_for_migration = None self.validation_messages = None -class MigrationReportResult(Model): - """Migration validation report result, contains the url for downloading the - generated report. +class MigrationReportResult(msrest.serialization.Model): + """Migration validation report result, contains the url for downloading the generated report. - :param id: Migration validation result identifier + :param id: Migration validation result identifier. :type id: str :param report_url: The url of the report. :type report_url: str @@ -8541,21 +8882,26 @@ class MigrationReportResult(Model): 'report_url': {'key': 'reportUrl', 'type': 'str'}, } - def __init__(self, *, id: str=None, report_url: str=None, **kwargs) -> None: + def __init__( + self, + *, + id: Optional[str] = None, + report_url: Optional[str] = None, + **kwargs + ): super(MigrationReportResult, self).__init__(**kwargs) self.id = id self.report_url = report_url -class MigrationTableMetadata(Model): +class MigrationTableMetadata(msrest.serialization.Model): """Metadata for tables selected in migration project. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar source_table_name: Source table name + :ivar source_table_name: Source table name. :vartype source_table_name: str - :ivar target_table_name: Target table name + :ivar target_table_name: Target table name. :vartype target_table_name: str """ @@ -8569,45 +8915,47 @@ class MigrationTableMetadata(Model): 'target_table_name': {'key': 'targetTableName', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrationTableMetadata, self).__init__(**kwargs) self.source_table_name = None self.target_table_name = None -class MigrationValidationDatabaseLevelResult(Model): +class MigrationValidationDatabaseLevelResult(msrest.serialization.Model): """Database level validation results. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar migration_id: Migration Identifier + :ivar migration_id: Migration Identifier. :vartype migration_id: str - :ivar source_database_name: Name of the source database + :ivar source_database_name: Name of the source database. :vartype source_database_name: str - :ivar target_database_name: Name of the target database + :ivar target_database_name: Name of the target database. :vartype target_database_name: str - :ivar started_on: Validation start time - :vartype started_on: datetime - :ivar ended_on: Validation end time - :vartype ended_on: datetime - :ivar data_integrity_validation_result: Provides data integrity validation - result between the source and target tables that are migrated. + :ivar started_on: Validation start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Validation end time. + :vartype ended_on: ~datetime.datetime + :ivar data_integrity_validation_result: Provides data integrity validation result between the + source and target tables that are migrated. :vartype data_integrity_validation_result: ~azure.mgmt.datamigration.models.DataIntegrityValidationResult - :ivar schema_validation_result: Provides schema comparison result between - source and target database + :ivar schema_validation_result: Provides schema comparison result between source and target + database. :vartype schema_validation_result: ~azure.mgmt.datamigration.models.SchemaComparisonValidationResult - :ivar query_analysis_validation_result: Results of some of the query - execution result between source and target database + :ivar query_analysis_validation_result: Results of some of the query execution result between + source and target database. :vartype query_analysis_validation_result: ~azure.mgmt.datamigration.models.QueryAnalysisValidationResult - :ivar status: Current status of validation at the database level. Possible - values include: 'Default', 'NotStarted', 'Initialized', 'InProgress', - 'Completed', 'CompletedWithIssues', 'Stopped', 'Failed' + :ivar status: Current status of validation at the database level. Possible values include: + "Default", "NotStarted", "Initialized", "InProgress", "Completed", "CompletedWithIssues", + "Stopped", "Failed". :vartype status: str or ~azure.mgmt.datamigration.models.ValidationStatus """ @@ -8637,7 +8985,10 @@ class MigrationValidationDatabaseLevelResult(Model): 'status': {'key': 'status', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrationValidationDatabaseLevelResult, self).__init__(**kwargs) self.id = None self.migration_id = None @@ -8651,27 +9002,26 @@ def __init__(self, **kwargs) -> None: self.status = None -class MigrationValidationDatabaseSummaryResult(Model): +class MigrationValidationDatabaseSummaryResult(msrest.serialization.Model): """Migration Validation Database level summary result. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar migration_id: Migration Identifier + :ivar migration_id: Migration Identifier. :vartype migration_id: str - :ivar source_database_name: Name of the source database + :ivar source_database_name: Name of the source database. :vartype source_database_name: str - :ivar target_database_name: Name of the target database + :ivar target_database_name: Name of the target database. :vartype target_database_name: str - :ivar started_on: Validation start time - :vartype started_on: datetime - :ivar ended_on: Validation end time - :vartype ended_on: datetime - :ivar status: Current status of validation at the database level. Possible - values include: 'Default', 'NotStarted', 'Initialized', 'InProgress', - 'Completed', 'CompletedWithIssues', 'Stopped', 'Failed' + :ivar started_on: Validation start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Validation end time. + :vartype ended_on: ~datetime.datetime + :ivar status: Current status of validation at the database level. Possible values include: + "Default", "NotStarted", "Initialized", "InProgress", "Completed", "CompletedWithIssues", + "Stopped", "Failed". :vartype status: str or ~azure.mgmt.datamigration.models.ValidationStatus """ @@ -8695,7 +9045,10 @@ class MigrationValidationDatabaseSummaryResult(Model): 'status': {'key': 'status', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(MigrationValidationDatabaseSummaryResult, self).__init__(**kwargs) self.id = None self.migration_id = None @@ -8706,20 +9059,19 @@ def __init__(self, **kwargs) -> None: self.status = None -class MigrationValidationOptions(Model): +class MigrationValidationOptions(msrest.serialization.Model): """Types of validations to run after the migration. - :param enable_schema_validation: Allows to compare the schema information - between source and target. + :param enable_schema_validation: Allows to compare the schema information between source and + target. :type enable_schema_validation: bool - :param enable_data_integrity_validation: Allows to perform a checksum - based data integrity validation between source and target for the selected - database / tables . + :param enable_data_integrity_validation: Allows to perform a checksum based data integrity + validation between source and target for the selected database / tables . :type enable_data_integrity_validation: bool - :param enable_query_analysis_validation: Allows to perform a quick and - intelligent query analysis by retrieving queries from the source database - and executes them in the target. The result will have execution statistics - for executions in source and target databases for the extracted queries. + :param enable_query_analysis_validation: Allows to perform a quick and intelligent query + analysis by retrieving queries from the source database and executes them in the target. The + result will have execution statistics for executions in source and target databases for the + extracted queries. :type enable_query_analysis_validation: bool """ @@ -8729,30 +9081,36 @@ class MigrationValidationOptions(Model): 'enable_query_analysis_validation': {'key': 'enableQueryAnalysisValidation', 'type': 'bool'}, } - def __init__(self, *, enable_schema_validation: bool=None, enable_data_integrity_validation: bool=None, enable_query_analysis_validation: bool=None, **kwargs) -> None: + def __init__( + self, + *, + enable_schema_validation: Optional[bool] = None, + enable_data_integrity_validation: Optional[bool] = None, + enable_query_analysis_validation: Optional[bool] = None, + **kwargs + ): super(MigrationValidationOptions, self).__init__(**kwargs) self.enable_schema_validation = enable_schema_validation self.enable_data_integrity_validation = enable_data_integrity_validation self.enable_query_analysis_validation = enable_query_analysis_validation -class MigrationValidationResult(Model): +class MigrationValidationResult(msrest.serialization.Model): """Migration Validation Result. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Migration validation result identifier + :ivar id: Migration validation result identifier. :vartype id: str - :ivar migration_id: Migration Identifier + :ivar migration_id: Migration Identifier. :vartype migration_id: str - :param summary_results: Validation summary results for each database + :param summary_results: Validation summary results for each database. :type summary_results: dict[str, ~azure.mgmt.datamigration.models.MigrationValidationDatabaseSummaryResult] - :ivar status: Current status of validation at the migration level. Status - from the database validation result status will be aggregated here. - Possible values include: 'Default', 'NotStarted', 'Initialized', - 'InProgress', 'Completed', 'CompletedWithIssues', 'Stopped', 'Failed' + :ivar status: Current status of validation at the migration level. Status from the database + validation result status will be aggregated here. Possible values include: "Default", + "NotStarted", "Initialized", "InProgress", "Completed", "CompletedWithIssues", "Stopped", + "Failed". :vartype status: str or ~azure.mgmt.datamigration.models.ValidationStatus """ @@ -8769,7 +9127,12 @@ class MigrationValidationResult(Model): 'status': {'key': 'status', 'type': 'str'}, } - def __init__(self, *, summary_results=None, **kwargs) -> None: + def __init__( + self, + *, + summary_results: Optional[Dict[str, "MigrationValidationDatabaseSummaryResult"]] = None, + **kwargs + ): super(MigrationValidationResult, self).__init__(**kwargs) self.id = None self.migration_id = None @@ -8778,19 +9141,18 @@ def __init__(self, *, summary_results=None, **kwargs) -> None: class MiSqlConnectionInfo(ConnectionInfo): - """Properties required to create a connection to Azure SQL database Managed - instance. + """Properties required to create a connection to Azure SQL database Managed instance. All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str - :param managed_instance_resource_id: Required. Resource id for Azure SQL - database Managed instance + :param managed_instance_resource_id: Required. Resource id for Azure SQL database Managed + instance. :type managed_instance_resource_id: str """ @@ -8800,73 +9162,81 @@ class MiSqlConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'managed_instance_resource_id': {'key': 'managedInstanceResourceId', 'type': 'str'}, } - def __init__(self, *, managed_instance_resource_id: str, user_name: str=None, password: str=None, **kwargs) -> None: + def __init__( + self, + *, + managed_instance_resource_id: str, + user_name: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): super(MiSqlConnectionInfo, self).__init__(user_name=user_name, password=password, **kwargs) + self.type = 'MiSqlConnectionInfo' # type: str self.managed_instance_resource_id = managed_instance_resource_id - self.type = 'MiSqlConnectionInfo' class MongoDbCancelCommand(CommandProperties): """Properties for the command that cancels a migration in whole or in part. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input + :param input: Command input. :type input: ~azure.mgmt.datamigration.models.MongoDbCommandInput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbCommandInput'}, } - def __init__(self, *, input=None, **kwargs) -> None: + def __init__( + self, + *, + input: Optional["MongoDbCommandInput"] = None, + **kwargs + ): super(MongoDbCancelCommand, self).__init__(**kwargs) + self.command_type = 'cancel' # type: str self.input = input - self.command_type = 'cancel' -class MongoDbClusterInfo(Model): +class MongoDbClusterInfo(msrest.serialization.Model): """Describes a MongoDB data source. All required parameters must be populated in order to send to Azure. - :param databases: Required. A list of non-system databases in the cluster - :type databases: - list[~azure.mgmt.datamigration.models.MongoDbDatabaseInfo] - :param supports_sharding: Required. Whether the cluster supports sharded - collections + :param databases: Required. A list of non-system databases in the cluster. + :type databases: list[~azure.mgmt.datamigration.models.MongoDbDatabaseInfo] + :param supports_sharding: Required. Whether the cluster supports sharded collections. :type supports_sharding: bool - :param type: Required. The type of data source. Possible values include: - 'BlobContainer', 'CosmosDb', 'MongoDb' + :param type: Required. The type of data source. Possible values include: "BlobContainer", + "CosmosDb", "MongoDb". :type type: str or ~azure.mgmt.datamigration.models.MongoDbClusterType - :param version: Required. The version of the data source in the form x.y.z - (e.g. 3.6.7). Not used if Type is BlobContainer. + :param version: Required. The version of the data source in the form x.y.z (e.g. 3.6.7). Not + used if Type is BlobContainer. :type version: str """ @@ -8884,7 +9254,15 @@ class MongoDbClusterInfo(Model): 'version': {'key': 'version', 'type': 'str'}, } - def __init__(self, *, databases, supports_sharding: bool, type, version: str, **kwargs) -> None: + def __init__( + self, + *, + databases: List["MongoDbDatabaseInfo"], + supports_sharding: bool, + type: Union[str, "MongoDbClusterType"], + version: str, + **kwargs + ): super(MongoDbClusterInfo, self).__init__(**kwargs) self.databases = databases self.supports_sharding = supports_sharding @@ -8892,24 +9270,24 @@ def __init__(self, *, databases, supports_sharding: bool, type, version: str, ** self.version = version -class MongoDbObjectInfo(Model): +class MongoDbObjectInfo(msrest.serialization.Model): """Describes a database or collection within a MongoDB data source. All required parameters must be populated in order to send to Azure. - :param average_document_size: Required. The average document size, or -1 - if the average size is unknown + :param average_document_size: Required. The average document size, or -1 if the average size is + unknown. :type average_document_size: long - :param data_size: Required. The estimated total data size, in bytes, or -1 - if the size is unknown. + :param data_size: Required. The estimated total data size, in bytes, or -1 if the size is + unknown. :type data_size: long - :param document_count: Required. The estimated total number of documents, - or -1 if the document count is unknown + :param document_count: Required. The estimated total number of documents, or -1 if the document + count is unknown. :type document_count: long - :param name: Required. The unqualified name of the database or collection + :param name: Required. The unqualified name of the database or collection. :type name: str - :param qualified_name: Required. The qualified name of the database or - collection. For a collection, this is the database-qualified name. + :param qualified_name: Required. The qualified name of the database or collection. For a + collection, this is the database-qualified name. :type qualified_name: str """ @@ -8929,7 +9307,16 @@ class MongoDbObjectInfo(Model): 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, } - def __init__(self, *, average_document_size: int, data_size: int, document_count: int, name: str, qualified_name: str, **kwargs) -> None: + def __init__( + self, + *, + average_document_size: int, + data_size: int, + document_count: int, + name: str, + qualified_name: str, + **kwargs + ): super(MongoDbObjectInfo, self).__init__(**kwargs) self.average_document_size = average_document_size self.data_size = data_size @@ -8943,41 +9330,35 @@ class MongoDbCollectionInfo(MongoDbObjectInfo): All required parameters must be populated in order to send to Azure. - :param average_document_size: Required. The average document size, or -1 - if the average size is unknown + :param average_document_size: Required. The average document size, or -1 if the average size is + unknown. :type average_document_size: long - :param data_size: Required. The estimated total data size, in bytes, or -1 - if the size is unknown. + :param data_size: Required. The estimated total data size, in bytes, or -1 if the size is + unknown. :type data_size: long - :param document_count: Required. The estimated total number of documents, - or -1 if the document count is unknown + :param document_count: Required. The estimated total number of documents, or -1 if the document + count is unknown. :type document_count: long - :param name: Required. The unqualified name of the database or collection + :param name: Required. The unqualified name of the database or collection. :type name: str - :param qualified_name: Required. The qualified name of the database or - collection. For a collection, this is the database-qualified name. + :param qualified_name: Required. The qualified name of the database or collection. For a + collection, this is the database-qualified name. :type qualified_name: str - :param database_name: Required. The name of the database containing the - collection + :param database_name: Required. The name of the database containing the collection. :type database_name: str - :param is_capped: Required. Whether the collection is a capped collection - (i.e. whether it has a fixed size and acts like a circular buffer) + :param is_capped: Required. Whether the collection is a capped collection (i.e. whether it has + a fixed size and acts like a circular buffer). :type is_capped: bool - :param is_system_collection: Required. Whether the collection is system - collection + :param is_system_collection: Required. Whether the collection is system collection. :type is_system_collection: bool - :param is_view: Required. Whether the collection is a view of another - collection + :param is_view: Required. Whether the collection is a view of another collection. :type is_view: bool - :param shard_key: The shard key on the collection, or null if the - collection is not sharded + :param shard_key: The shard key on the collection, or null if the collection is not sharded. :type shard_key: ~azure.mgmt.datamigration.models.MongoDbShardKeyInfo - :param supports_sharding: Required. Whether the database has sharding - enabled. Note that the migration task will enable sharding on the target - if necessary. + :param supports_sharding: Required. Whether the database has sharding enabled. Note that the + migration task will enable sharding on the target if necessary. :type supports_sharding: bool - :param view_of: The name of the collection that this is a view of, if - IsView is true + :param view_of: The name of the collection that this is a view of, if IsView is true. :type view_of: str """ @@ -9009,7 +9390,23 @@ class MongoDbCollectionInfo(MongoDbObjectInfo): 'view_of': {'key': 'viewOf', 'type': 'str'}, } - def __init__(self, *, average_document_size: int, data_size: int, document_count: int, name: str, qualified_name: str, database_name: str, is_capped: bool, is_system_collection: bool, is_view: bool, supports_sharding: bool, shard_key=None, view_of: str=None, **kwargs) -> None: + def __init__( + self, + *, + average_document_size: int, + data_size: int, + document_count: int, + name: str, + qualified_name: str, + database_name: str, + is_capped: bool, + is_system_collection: bool, + is_view: bool, + supports_sharding: bool, + shard_key: Optional["MongoDbShardKeyInfo"] = None, + view_of: Optional[str] = None, + **kwargs + ): super(MongoDbCollectionInfo, self).__init__(average_document_size=average_document_size, data_size=data_size, document_count=document_count, name=name, qualified_name=qualified_name, **kwargs) self.database_name = database_name self.is_capped = is_capped @@ -9020,62 +9417,55 @@ def __init__(self, *, average_document_size: int, data_size: int, document_count self.view_of = view_of -class MongoDbProgress(Model): +class MongoDbProgress(msrest.serialization.Model): """Base class for MongoDB migration outputs. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: MongoDbCollectionProgress, MongoDbDatabaseProgress, - MongoDbMigrationProgress + sub-classes are: MongoDbCollectionProgress, MongoDbDatabaseProgress, MongoDbMigrationProgress. All required parameters must be populated in order to send to Azure. - :param bytes_copied: Required. The number of document bytes copied during - the Copying stage + :param bytes_copied: Required. The number of document bytes copied during the Copying stage. :type bytes_copied: long - :param documents_copied: Required. The number of documents copied during - the Copying stage + :param documents_copied: Required. The number of documents copied during the Copying stage. :type documents_copied: long - :param elapsed_time: Required. The elapsed time in the format - [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + :param elapsed_time: Required. The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. + TimeSpan format). :type elapsed_time: str - :param errors: Required. The errors and warnings that have occurred for - the current object. The keys are the error codes. + :param errors: Required. The errors and warnings that have occurred for the current object. The + keys are the error codes. :type errors: dict[str, ~azure.mgmt.datamigration.models.MongoDbError] - :param events_pending: Required. The number of oplog events awaiting - replay + :param events_pending: Required. The number of oplog events awaiting replay. :type events_pending: long - :param events_replayed: Required. The number of oplog events replayed so - far + :param events_replayed: Required. The number of oplog events replayed so far. :type events_replayed: long - :param last_event_time: The timestamp of the last oplog event received, or - null if no oplog event has been received yet - :type last_event_time: datetime - :param last_replay_time: The timestamp of the last oplog event replayed, - or null if no oplog event has been replayed yet - :type last_replay_time: datetime - :param name: The name of the progress object. For a collection, this is - the unqualified collection name. For a database, this is the database - name. For the overall migration, this is null. + :param last_event_time: The timestamp of the last oplog event received, or null if no oplog + event has been received yet. + :type last_event_time: ~datetime.datetime + :param last_replay_time: The timestamp of the last oplog event replayed, or null if no oplog + event has been replayed yet. + :type last_replay_time: ~datetime.datetime + :param name: The name of the progress object. For a collection, this is the unqualified + collection name. For a database, this is the database name. For the overall migration, this is + null. :type name: str - :param qualified_name: The qualified name of the progress object. For a - collection, this is the database-qualified name. For a database, this is - the database name. For the overall migration, this is null. + :param qualified_name: The qualified name of the progress object. For a collection, this is the + database-qualified name. For a database, this is the database name. For the overall migration, + this is null. :type qualified_name: str - :param state: Required. Possible values include: 'NotStarted', - 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', - 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', - 'Failed' + :param result_type: Required. The type of progress object.Constant filled by server. Possible + values include: "Migration", "Database", "Collection". + :type result_type: str or ~azure.mgmt.datamigration.models.MongoDbProgressResultType + :param state: Required. Possible values include: "NotStarted", "ValidatingInput", + "Initializing", "Restarting", "Copying", "InitialReplay", "Replaying", "Finalizing", + "Complete", "Canceled", "Failed". :type state: str or ~azure.mgmt.datamigration.models.MongoDbMigrationState - :param total_bytes: Required. The total number of document bytes on the - source at the beginning of the Copying stage, or -1 if the total size was - unknown + :param total_bytes: Required. The total number of document bytes on the source at the beginning + of the Copying stage, or -1 if the total size was unknown. :type total_bytes: long - :param total_documents: Required. The total number of documents on the - source at the beginning of the Copying stage, or -1 if the total count was - unknown + :param total_documents: Required. The total number of documents on the source at the beginning + of the Copying stage, or -1 if the total count was unknown. :type total_documents: long - :param result_type: Required. Constant filled by server. - :type result_type: str """ _validation = { @@ -9085,10 +9475,10 @@ class MongoDbProgress(Model): 'errors': {'required': True}, 'events_pending': {'required': True}, 'events_replayed': {'required': True}, + 'result_type': {'required': True}, 'state': {'required': True}, 'total_bytes': {'required': True}, 'total_documents': {'required': True}, - 'result_type': {'required': True}, } _attribute_map = { @@ -9102,17 +9492,34 @@ class MongoDbProgress(Model): 'last_replay_time': {'key': 'lastReplayTime', 'type': 'iso-8601'}, 'name': {'key': 'name', 'type': 'str'}, 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'result_type': {'key': 'resultType', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'total_bytes': {'key': 'totalBytes', 'type': 'long'}, 'total_documents': {'key': 'totalDocuments', 'type': 'long'}, - 'result_type': {'key': 'resultType', 'type': 'str'}, } _subtype_map = { 'result_type': {'Collection': 'MongoDbCollectionProgress', 'Database': 'MongoDbDatabaseProgress', 'Migration': 'MongoDbMigrationProgress'} } - def __init__(self, *, bytes_copied: int, documents_copied: int, elapsed_time: str, errors, events_pending: int, events_replayed: int, state, total_bytes: int, total_documents: int, last_event_time=None, last_replay_time=None, name: str=None, qualified_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + bytes_copied: int, + documents_copied: int, + elapsed_time: str, + errors: Dict[str, "MongoDbError"], + events_pending: int, + events_replayed: int, + state: Union[str, "MongoDbMigrationState"], + total_bytes: int, + total_documents: int, + last_event_time: Optional[datetime.datetime] = None, + last_replay_time: Optional[datetime.datetime] = None, + name: Optional[str] = None, + qualified_name: Optional[str] = None, + **kwargs + ): super(MongoDbProgress, self).__init__(**kwargs) self.bytes_copied = bytes_copied self.documents_copied = documents_copied @@ -9124,10 +9531,10 @@ def __init__(self, *, bytes_copied: int, documents_copied: int, elapsed_time: st self.last_replay_time = last_replay_time self.name = name self.qualified_name = qualified_name + self.result_type = None # type: Optional[str] self.state = state self.total_bytes = total_bytes self.total_documents = total_documents - self.result_type = None class MongoDbCollectionProgress(MongoDbProgress): @@ -9135,53 +9542,47 @@ class MongoDbCollectionProgress(MongoDbProgress): All required parameters must be populated in order to send to Azure. - :param bytes_copied: Required. The number of document bytes copied during - the Copying stage + :param bytes_copied: Required. The number of document bytes copied during the Copying stage. :type bytes_copied: long - :param documents_copied: Required. The number of documents copied during - the Copying stage + :param documents_copied: Required. The number of documents copied during the Copying stage. :type documents_copied: long - :param elapsed_time: Required. The elapsed time in the format - [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + :param elapsed_time: Required. The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. + TimeSpan format). :type elapsed_time: str - :param errors: Required. The errors and warnings that have occurred for - the current object. The keys are the error codes. + :param errors: Required. The errors and warnings that have occurred for the current object. The + keys are the error codes. :type errors: dict[str, ~azure.mgmt.datamigration.models.MongoDbError] - :param events_pending: Required. The number of oplog events awaiting - replay + :param events_pending: Required. The number of oplog events awaiting replay. :type events_pending: long - :param events_replayed: Required. The number of oplog events replayed so - far + :param events_replayed: Required. The number of oplog events replayed so far. :type events_replayed: long - :param last_event_time: The timestamp of the last oplog event received, or - null if no oplog event has been received yet - :type last_event_time: datetime - :param last_replay_time: The timestamp of the last oplog event replayed, - or null if no oplog event has been replayed yet - :type last_replay_time: datetime - :param name: The name of the progress object. For a collection, this is - the unqualified collection name. For a database, this is the database - name. For the overall migration, this is null. + :param last_event_time: The timestamp of the last oplog event received, or null if no oplog + event has been received yet. + :type last_event_time: ~datetime.datetime + :param last_replay_time: The timestamp of the last oplog event replayed, or null if no oplog + event has been replayed yet. + :type last_replay_time: ~datetime.datetime + :param name: The name of the progress object. For a collection, this is the unqualified + collection name. For a database, this is the database name. For the overall migration, this is + null. :type name: str - :param qualified_name: The qualified name of the progress object. For a - collection, this is the database-qualified name. For a database, this is - the database name. For the overall migration, this is null. + :param qualified_name: The qualified name of the progress object. For a collection, this is the + database-qualified name. For a database, this is the database name. For the overall migration, + this is null. :type qualified_name: str - :param state: Required. Possible values include: 'NotStarted', - 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', - 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', - 'Failed' + :param result_type: Required. The type of progress object.Constant filled by server. Possible + values include: "Migration", "Database", "Collection". + :type result_type: str or ~azure.mgmt.datamigration.models.MongoDbProgressResultType + :param state: Required. Possible values include: "NotStarted", "ValidatingInput", + "Initializing", "Restarting", "Copying", "InitialReplay", "Replaying", "Finalizing", + "Complete", "Canceled", "Failed". :type state: str or ~azure.mgmt.datamigration.models.MongoDbMigrationState - :param total_bytes: Required. The total number of document bytes on the - source at the beginning of the Copying stage, or -1 if the total size was - unknown + :param total_bytes: Required. The total number of document bytes on the source at the beginning + of the Copying stage, or -1 if the total size was unknown. :type total_bytes: long - :param total_documents: Required. The total number of documents on the - source at the beginning of the Copying stage, or -1 if the total count was - unknown + :param total_documents: Required. The total number of documents on the source at the beginning + of the Copying stage, or -1 if the total count was unknown. :type total_documents: long - :param result_type: Required. Constant filled by server. - :type result_type: str """ _validation = { @@ -9191,10 +9592,10 @@ class MongoDbCollectionProgress(MongoDbProgress): 'errors': {'required': True}, 'events_pending': {'required': True}, 'events_replayed': {'required': True}, + 'result_type': {'required': True}, 'state': {'required': True}, 'total_bytes': {'required': True}, 'total_documents': {'required': True}, - 'result_type': {'required': True}, } _attribute_map = { @@ -9208,49 +9609,72 @@ class MongoDbCollectionProgress(MongoDbProgress): 'last_replay_time': {'key': 'lastReplayTime', 'type': 'iso-8601'}, 'name': {'key': 'name', 'type': 'str'}, 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'result_type': {'key': 'resultType', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'total_bytes': {'key': 'totalBytes', 'type': 'long'}, 'total_documents': {'key': 'totalDocuments', 'type': 'long'}, - 'result_type': {'key': 'resultType', 'type': 'str'}, } - def __init__(self, *, bytes_copied: int, documents_copied: int, elapsed_time: str, errors, events_pending: int, events_replayed: int, state, total_bytes: int, total_documents: int, last_event_time=None, last_replay_time=None, name: str=None, qualified_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + bytes_copied: int, + documents_copied: int, + elapsed_time: str, + errors: Dict[str, "MongoDbError"], + events_pending: int, + events_replayed: int, + state: Union[str, "MongoDbMigrationState"], + total_bytes: int, + total_documents: int, + last_event_time: Optional[datetime.datetime] = None, + last_replay_time: Optional[datetime.datetime] = None, + name: Optional[str] = None, + qualified_name: Optional[str] = None, + **kwargs + ): super(MongoDbCollectionProgress, self).__init__(bytes_copied=bytes_copied, documents_copied=documents_copied, elapsed_time=elapsed_time, errors=errors, events_pending=events_pending, events_replayed=events_replayed, last_event_time=last_event_time, last_replay_time=last_replay_time, name=name, qualified_name=qualified_name, state=state, total_bytes=total_bytes, total_documents=total_documents, **kwargs) - self.result_type = 'Collection' + self.result_type = 'Collection' # type: str -class MongoDbCollectionSettings(Model): +class MongoDbCollectionSettings(msrest.serialization.Model): """Describes how an individual MongoDB collection should be migrated. - :param can_delete: Whether the migrator is allowed to drop the target - collection in the course of performing a migration. The default is true. + :param can_delete: Whether the migrator is allowed to drop the target collection in the course + of performing a migration. The default is true. :type can_delete: bool - :param shard_key: + :param shard_key: Describes a MongoDB shard key. :type shard_key: ~azure.mgmt.datamigration.models.MongoDbShardKeySetting - :param target_rus: The RUs that should be configured on a CosmosDB target, - or null to use the default. This has no effect on non-CosmosDB targets. - :type target_rus: int + :param target_r_us: The RUs that should be configured on a CosmosDB target, or null to use the + default. This has no effect on non-CosmosDB targets. + :type target_r_us: int """ _attribute_map = { 'can_delete': {'key': 'canDelete', 'type': 'bool'}, 'shard_key': {'key': 'shardKey', 'type': 'MongoDbShardKeySetting'}, - 'target_rus': {'key': 'targetRUs', 'type': 'int'}, + 'target_r_us': {'key': 'targetRUs', 'type': 'int'}, } - def __init__(self, *, can_delete: bool=None, shard_key=None, target_rus: int=None, **kwargs) -> None: + def __init__( + self, + *, + can_delete: Optional[bool] = None, + shard_key: Optional["MongoDbShardKeySetting"] = None, + target_r_us: Optional[int] = None, + **kwargs + ): super(MongoDbCollectionSettings, self).__init__(**kwargs) self.can_delete = can_delete self.shard_key = shard_key - self.target_rus = target_rus + self.target_r_us = target_r_us -class MongoDbCommandInput(Model): - """Describes the input to the 'cancel' and 'restart' MongoDB migration - commands. +class MongoDbCommandInput(msrest.serialization.Model): + """Describes the input to the 'cancel' and 'restart' MongoDB migration commands. - :param object_name: The qualified name of a database or collection to act - upon, or null to act upon the entire migration + :param object_name: The qualified name of a database or collection to act upon, or null to act + upon the entire migration. :type object_name: str """ @@ -9258,7 +9682,12 @@ class MongoDbCommandInput(Model): 'object_name': {'key': 'objectName', 'type': 'str'}, } - def __init__(self, *, object_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + object_name: Optional[str] = None, + **kwargs + ): super(MongoDbCommandInput, self).__init__(**kwargs) self.object_name = object_name @@ -9268,15 +9697,14 @@ class MongoDbConnectionInfo(ConnectionInfo): All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str - :param connection_string: Required. A MongoDB connection string or blob - container URL. The user name and password can be specified here or in the - userName and password properties + :param connection_string: Required. A MongoDB connection string or blob container URL. The user + name and password can be specified here or in the userName and password properties. :type connection_string: str """ @@ -9286,16 +9714,23 @@ class MongoDbConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'connection_string': {'key': 'connectionString', 'type': 'str'}, } - def __init__(self, *, connection_string: str, user_name: str=None, password: str=None, **kwargs) -> None: + def __init__( + self, + *, + connection_string: str, + user_name: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): super(MongoDbConnectionInfo, self).__init__(user_name=user_name, password=password, **kwargs) + self.type = 'MongoDbConnectionInfo' # type: str self.connection_string = connection_string - self.type = 'MongoDbConnectionInfo' class MongoDbDatabaseInfo(MongoDbObjectInfo): @@ -9303,27 +9738,24 @@ class MongoDbDatabaseInfo(MongoDbObjectInfo): All required parameters must be populated in order to send to Azure. - :param average_document_size: Required. The average document size, or -1 - if the average size is unknown + :param average_document_size: Required. The average document size, or -1 if the average size is + unknown. :type average_document_size: long - :param data_size: Required. The estimated total data size, in bytes, or -1 - if the size is unknown. + :param data_size: Required. The estimated total data size, in bytes, or -1 if the size is + unknown. :type data_size: long - :param document_count: Required. The estimated total number of documents, - or -1 if the document count is unknown + :param document_count: Required. The estimated total number of documents, or -1 if the document + count is unknown. :type document_count: long - :param name: Required. The unqualified name of the database or collection + :param name: Required. The unqualified name of the database or collection. :type name: str - :param qualified_name: Required. The qualified name of the database or - collection. For a collection, this is the database-qualified name. + :param qualified_name: Required. The qualified name of the database or collection. For a + collection, this is the database-qualified name. :type qualified_name: str - :param collections: Required. A list of supported collections in a MongoDB - database - :type collections: - list[~azure.mgmt.datamigration.models.MongoDbCollectionInfo] - :param supports_sharding: Required. Whether the database has sharding - enabled. Note that the migration task will enable sharding on the target - if necessary. + :param collections: Required. A list of supported collections in a MongoDB database. + :type collections: list[~azure.mgmt.datamigration.models.MongoDbCollectionInfo] + :param supports_sharding: Required. Whether the database has sharding enabled. Note that the + migration task will enable sharding on the target if necessary. :type supports_sharding: bool """ @@ -9347,7 +9779,18 @@ class MongoDbDatabaseInfo(MongoDbObjectInfo): 'supports_sharding': {'key': 'supportsSharding', 'type': 'bool'}, } - def __init__(self, *, average_document_size: int, data_size: int, document_count: int, name: str, qualified_name: str, collections, supports_sharding: bool, **kwargs) -> None: + def __init__( + self, + *, + average_document_size: int, + data_size: int, + document_count: int, + name: str, + qualified_name: str, + collections: List["MongoDbCollectionInfo"], + supports_sharding: bool, + **kwargs + ): super(MongoDbDatabaseInfo, self).__init__(average_document_size=average_document_size, data_size=data_size, document_count=document_count, name=name, qualified_name=qualified_name, **kwargs) self.collections = collections self.supports_sharding = supports_sharding @@ -9358,57 +9801,50 @@ class MongoDbDatabaseProgress(MongoDbProgress): All required parameters must be populated in order to send to Azure. - :param bytes_copied: Required. The number of document bytes copied during - the Copying stage + :param bytes_copied: Required. The number of document bytes copied during the Copying stage. :type bytes_copied: long - :param documents_copied: Required. The number of documents copied during - the Copying stage + :param documents_copied: Required. The number of documents copied during the Copying stage. :type documents_copied: long - :param elapsed_time: Required. The elapsed time in the format - [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + :param elapsed_time: Required. The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. + TimeSpan format). :type elapsed_time: str - :param errors: Required. The errors and warnings that have occurred for - the current object. The keys are the error codes. + :param errors: Required. The errors and warnings that have occurred for the current object. The + keys are the error codes. :type errors: dict[str, ~azure.mgmt.datamigration.models.MongoDbError] - :param events_pending: Required. The number of oplog events awaiting - replay + :param events_pending: Required. The number of oplog events awaiting replay. :type events_pending: long - :param events_replayed: Required. The number of oplog events replayed so - far + :param events_replayed: Required. The number of oplog events replayed so far. :type events_replayed: long - :param last_event_time: The timestamp of the last oplog event received, or - null if no oplog event has been received yet - :type last_event_time: datetime - :param last_replay_time: The timestamp of the last oplog event replayed, - or null if no oplog event has been replayed yet - :type last_replay_time: datetime - :param name: The name of the progress object. For a collection, this is - the unqualified collection name. For a database, this is the database - name. For the overall migration, this is null. + :param last_event_time: The timestamp of the last oplog event received, or null if no oplog + event has been received yet. + :type last_event_time: ~datetime.datetime + :param last_replay_time: The timestamp of the last oplog event replayed, or null if no oplog + event has been replayed yet. + :type last_replay_time: ~datetime.datetime + :param name: The name of the progress object. For a collection, this is the unqualified + collection name. For a database, this is the database name. For the overall migration, this is + null. :type name: str - :param qualified_name: The qualified name of the progress object. For a - collection, this is the database-qualified name. For a database, this is - the database name. For the overall migration, this is null. + :param qualified_name: The qualified name of the progress object. For a collection, this is the + database-qualified name. For a database, this is the database name. For the overall migration, + this is null. :type qualified_name: str - :param state: Required. Possible values include: 'NotStarted', - 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', - 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', - 'Failed' + :param result_type: Required. The type of progress object.Constant filled by server. Possible + values include: "Migration", "Database", "Collection". + :type result_type: str or ~azure.mgmt.datamigration.models.MongoDbProgressResultType + :param state: Required. Possible values include: "NotStarted", "ValidatingInput", + "Initializing", "Restarting", "Copying", "InitialReplay", "Replaying", "Finalizing", + "Complete", "Canceled", "Failed". :type state: str or ~azure.mgmt.datamigration.models.MongoDbMigrationState - :param total_bytes: Required. The total number of document bytes on the - source at the beginning of the Copying stage, or -1 if the total size was - unknown + :param total_bytes: Required. The total number of document bytes on the source at the beginning + of the Copying stage, or -1 if the total size was unknown. :type total_bytes: long - :param total_documents: Required. The total number of documents on the - source at the beginning of the Copying stage, or -1 if the total count was - unknown + :param total_documents: Required. The total number of documents on the source at the beginning + of the Copying stage, or -1 if the total count was unknown. :type total_documents: long - :param result_type: Required. Constant filled by server. - :type result_type: str - :param collections: The progress of the collections in the database. The - keys are the unqualified names of the collections - :type collections: dict[str, - ~azure.mgmt.datamigration.models.MongoDbCollectionProgress] + :param collections: The progress of the collections in the database. The keys are the + unqualified names of the collections. + :type collections: dict[str, ~azure.mgmt.datamigration.models.MongoDbCollectionProgress] """ _validation = { @@ -9418,10 +9854,10 @@ class MongoDbDatabaseProgress(MongoDbProgress): 'errors': {'required': True}, 'events_pending': {'required': True}, 'events_replayed': {'required': True}, + 'result_type': {'required': True}, 'state': {'required': True}, 'total_bytes': {'required': True}, 'total_documents': {'required': True}, - 'result_type': {'required': True}, } _attribute_map = { @@ -9435,33 +9871,49 @@ class MongoDbDatabaseProgress(MongoDbProgress): 'last_replay_time': {'key': 'lastReplayTime', 'type': 'iso-8601'}, 'name': {'key': 'name', 'type': 'str'}, 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'result_type': {'key': 'resultType', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'total_bytes': {'key': 'totalBytes', 'type': 'long'}, 'total_documents': {'key': 'totalDocuments', 'type': 'long'}, - 'result_type': {'key': 'resultType', 'type': 'str'}, 'collections': {'key': 'collections', 'type': '{MongoDbCollectionProgress}'}, } - def __init__(self, *, bytes_copied: int, documents_copied: int, elapsed_time: str, errors, events_pending: int, events_replayed: int, state, total_bytes: int, total_documents: int, last_event_time=None, last_replay_time=None, name: str=None, qualified_name: str=None, collections=None, **kwargs) -> None: + def __init__( + self, + *, + bytes_copied: int, + documents_copied: int, + elapsed_time: str, + errors: Dict[str, "MongoDbError"], + events_pending: int, + events_replayed: int, + state: Union[str, "MongoDbMigrationState"], + total_bytes: int, + total_documents: int, + last_event_time: Optional[datetime.datetime] = None, + last_replay_time: Optional[datetime.datetime] = None, + name: Optional[str] = None, + qualified_name: Optional[str] = None, + collections: Optional[Dict[str, "MongoDbCollectionProgress"]] = None, + **kwargs + ): super(MongoDbDatabaseProgress, self).__init__(bytes_copied=bytes_copied, documents_copied=documents_copied, elapsed_time=elapsed_time, errors=errors, events_pending=events_pending, events_replayed=events_replayed, last_event_time=last_event_time, last_replay_time=last_replay_time, name=name, qualified_name=qualified_name, state=state, total_bytes=total_bytes, total_documents=total_documents, **kwargs) + self.result_type = 'Database' # type: str self.collections = collections - self.result_type = 'Database' -class MongoDbDatabaseSettings(Model): +class MongoDbDatabaseSettings(msrest.serialization.Model): """Describes how an individual MongoDB database should be migrated. All required parameters must be populated in order to send to Azure. - :param collections: Required. The collections on the source database to - migrate to the target. The keys are the unqualified names of the - collections. - :type collections: dict[str, - ~azure.mgmt.datamigration.models.MongoDbCollectionSettings] - :param target_rus: The RUs that should be configured on a CosmosDB target, - or null to use the default, or 0 if throughput should not be provisioned - for the database. This has no effect on non-CosmosDB targets. - :type target_rus: int + :param collections: Required. The collections on the source database to migrate to the target. + The keys are the unqualified names of the collections. + :type collections: dict[str, ~azure.mgmt.datamigration.models.MongoDbCollectionSettings] + :param target_r_us: The RUs that should be configured on a CosmosDB target, or null to use the + default, or 0 if throughput should not be provisioned for the database. This has no effect on + non-CosmosDB targets. + :type target_r_us: int """ _validation = { @@ -9470,28 +9922,32 @@ class MongoDbDatabaseSettings(Model): _attribute_map = { 'collections': {'key': 'collections', 'type': '{MongoDbCollectionSettings}'}, - 'target_rus': {'key': 'targetRUs', 'type': 'int'}, + 'target_r_us': {'key': 'targetRUs', 'type': 'int'}, } - def __init__(self, *, collections, target_rus: int=None, **kwargs) -> None: + def __init__( + self, + *, + collections: Dict[str, "MongoDbCollectionSettings"], + target_r_us: Optional[int] = None, + **kwargs + ): super(MongoDbDatabaseSettings, self).__init__(**kwargs) self.collections = collections - self.target_rus = target_rus + self.target_r_us = target_r_us -class MongoDbError(Model): +class MongoDbError(msrest.serialization.Model): """Describes an error or warning that occurred during a MongoDB migration. - :param code: The non-localized, machine-readable code that describes the - error or warning + :param code: The non-localized, machine-readable code that describes the error or warning. :type code: str - :param count: The number of times the error or warning has occurred + :param count: The number of times the error or warning has occurred. :type count: int - :param message: The localized, human-readable message that describes the - error or warning + :param message: The localized, human-readable message that describes the error or warning. :type message: str - :param type: The type of error or warning. Possible values include: - 'Error', 'ValidationError', 'Warning' + :param type: The type of error or warning. Possible values include: "Error", "ValidationError", + "Warning". :type type: str or ~azure.mgmt.datamigration.models.MongoDbErrorType """ @@ -9502,7 +9958,15 @@ class MongoDbError(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, code: str=None, count: int=None, message: str=None, type=None, **kwargs) -> None: + def __init__( + self, + *, + code: Optional[str] = None, + count: Optional[int] = None, + message: Optional[str] = None, + type: Optional[Union[str, "MongoDbErrorType"]] = None, + **kwargs + ): super(MongoDbError, self).__init__(**kwargs) self.code = code self.count = count @@ -9513,40 +9977,43 @@ def __init__(self, *, code: str=None, count: int=None, message: str=None, type=N class MongoDbFinishCommand(CommandProperties): """Properties for the command that finishes a migration in whole or in part. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input + :param input: Command input. :type input: ~azure.mgmt.datamigration.models.MongoDbFinishCommandInput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbFinishCommandInput'}, } - def __init__(self, *, input=None, **kwargs) -> None: + def __init__( + self, + *, + input: Optional["MongoDbFinishCommandInput"] = None, + **kwargs + ): super(MongoDbFinishCommand, self).__init__(**kwargs) + self.command_type = 'finish' # type: str self.input = input - self.command_type = 'finish' class MongoDbFinishCommandInput(MongoDbCommandInput): @@ -9554,12 +10021,12 @@ class MongoDbFinishCommandInput(MongoDbCommandInput): All required parameters must be populated in order to send to Azure. - :param object_name: The qualified name of a database or collection to act - upon, or null to act upon the entire migration + :param object_name: The qualified name of a database or collection to act upon, or null to act + upon the entire migration. :type object_name: str - :param immediate: Required. If true, replication for the affected objects - will be stopped immediately. If false, the migrator will finish replaying - queued events before finishing the replication. + :param immediate: Required. If true, replication for the affected objects will be stopped + immediately. If false, the migrator will finish replaying queued events before finishing the + replication. :type immediate: bool """ @@ -9572,7 +10039,13 @@ class MongoDbFinishCommandInput(MongoDbCommandInput): 'immediate': {'key': 'immediate', 'type': 'bool'}, } - def __init__(self, *, immediate: bool, object_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + immediate: bool, + object_name: Optional[str] = None, + **kwargs + ): super(MongoDbFinishCommandInput, self).__init__(object_name=object_name, **kwargs) self.immediate = immediate @@ -9582,57 +10055,50 @@ class MongoDbMigrationProgress(MongoDbProgress): All required parameters must be populated in order to send to Azure. - :param bytes_copied: Required. The number of document bytes copied during - the Copying stage + :param bytes_copied: Required. The number of document bytes copied during the Copying stage. :type bytes_copied: long - :param documents_copied: Required. The number of documents copied during - the Copying stage + :param documents_copied: Required. The number of documents copied during the Copying stage. :type documents_copied: long - :param elapsed_time: Required. The elapsed time in the format - [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) + :param elapsed_time: Required. The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. + TimeSpan format). :type elapsed_time: str - :param errors: Required. The errors and warnings that have occurred for - the current object. The keys are the error codes. + :param errors: Required. The errors and warnings that have occurred for the current object. The + keys are the error codes. :type errors: dict[str, ~azure.mgmt.datamigration.models.MongoDbError] - :param events_pending: Required. The number of oplog events awaiting - replay + :param events_pending: Required. The number of oplog events awaiting replay. :type events_pending: long - :param events_replayed: Required. The number of oplog events replayed so - far + :param events_replayed: Required. The number of oplog events replayed so far. :type events_replayed: long - :param last_event_time: The timestamp of the last oplog event received, or - null if no oplog event has been received yet - :type last_event_time: datetime - :param last_replay_time: The timestamp of the last oplog event replayed, - or null if no oplog event has been replayed yet - :type last_replay_time: datetime - :param name: The name of the progress object. For a collection, this is - the unqualified collection name. For a database, this is the database - name. For the overall migration, this is null. + :param last_event_time: The timestamp of the last oplog event received, or null if no oplog + event has been received yet. + :type last_event_time: ~datetime.datetime + :param last_replay_time: The timestamp of the last oplog event replayed, or null if no oplog + event has been replayed yet. + :type last_replay_time: ~datetime.datetime + :param name: The name of the progress object. For a collection, this is the unqualified + collection name. For a database, this is the database name. For the overall migration, this is + null. :type name: str - :param qualified_name: The qualified name of the progress object. For a - collection, this is the database-qualified name. For a database, this is - the database name. For the overall migration, this is null. + :param qualified_name: The qualified name of the progress object. For a collection, this is the + database-qualified name. For a database, this is the database name. For the overall migration, + this is null. :type qualified_name: str - :param state: Required. Possible values include: 'NotStarted', - 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', - 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', - 'Failed' + :param result_type: Required. The type of progress object.Constant filled by server. Possible + values include: "Migration", "Database", "Collection". + :type result_type: str or ~azure.mgmt.datamigration.models.MongoDbProgressResultType + :param state: Required. Possible values include: "NotStarted", "ValidatingInput", + "Initializing", "Restarting", "Copying", "InitialReplay", "Replaying", "Finalizing", + "Complete", "Canceled", "Failed". :type state: str or ~azure.mgmt.datamigration.models.MongoDbMigrationState - :param total_bytes: Required. The total number of document bytes on the - source at the beginning of the Copying stage, or -1 if the total size was - unknown + :param total_bytes: Required. The total number of document bytes on the source at the beginning + of the Copying stage, or -1 if the total size was unknown. :type total_bytes: long - :param total_documents: Required. The total number of documents on the - source at the beginning of the Copying stage, or -1 if the total count was - unknown + :param total_documents: Required. The total number of documents on the source at the beginning + of the Copying stage, or -1 if the total count was unknown. :type total_documents: long - :param result_type: Required. Constant filled by server. - :type result_type: str - :param databases: The progress of the databases in the migration. The keys - are the names of the databases - :type databases: dict[str, - ~azure.mgmt.datamigration.models.MongoDbDatabaseProgress] + :param databases: The progress of the databases in the migration. The keys are the names of the + databases. + :type databases: dict[str, ~azure.mgmt.datamigration.models.MongoDbDatabaseProgress] """ _validation = { @@ -9642,10 +10108,10 @@ class MongoDbMigrationProgress(MongoDbProgress): 'errors': {'required': True}, 'events_pending': {'required': True}, 'events_replayed': {'required': True}, + 'result_type': {'required': True}, 'state': {'required': True}, 'total_bytes': {'required': True}, 'total_documents': {'required': True}, - 'result_type': {'required': True}, } _attribute_map = { @@ -9659,47 +10125,59 @@ class MongoDbMigrationProgress(MongoDbProgress): 'last_replay_time': {'key': 'lastReplayTime', 'type': 'iso-8601'}, 'name': {'key': 'name', 'type': 'str'}, 'qualified_name': {'key': 'qualifiedName', 'type': 'str'}, + 'result_type': {'key': 'resultType', 'type': 'str'}, 'state': {'key': 'state', 'type': 'str'}, 'total_bytes': {'key': 'totalBytes', 'type': 'long'}, 'total_documents': {'key': 'totalDocuments', 'type': 'long'}, - 'result_type': {'key': 'resultType', 'type': 'str'}, 'databases': {'key': 'databases', 'type': '{MongoDbDatabaseProgress}'}, } - def __init__(self, *, bytes_copied: int, documents_copied: int, elapsed_time: str, errors, events_pending: int, events_replayed: int, state, total_bytes: int, total_documents: int, last_event_time=None, last_replay_time=None, name: str=None, qualified_name: str=None, databases=None, **kwargs) -> None: + def __init__( + self, + *, + bytes_copied: int, + documents_copied: int, + elapsed_time: str, + errors: Dict[str, "MongoDbError"], + events_pending: int, + events_replayed: int, + state: Union[str, "MongoDbMigrationState"], + total_bytes: int, + total_documents: int, + last_event_time: Optional[datetime.datetime] = None, + last_replay_time: Optional[datetime.datetime] = None, + name: Optional[str] = None, + qualified_name: Optional[str] = None, + databases: Optional[Dict[str, "MongoDbDatabaseProgress"]] = None, + **kwargs + ): super(MongoDbMigrationProgress, self).__init__(bytes_copied=bytes_copied, documents_copied=documents_copied, elapsed_time=elapsed_time, errors=errors, events_pending=events_pending, events_replayed=events_replayed, last_event_time=last_event_time, last_replay_time=last_replay_time, name=name, qualified_name=qualified_name, state=state, total_bytes=total_bytes, total_documents=total_documents, **kwargs) + self.result_type = 'Migration' # type: str self.databases = databases - self.result_type = 'Migration' -class MongoDbMigrationSettings(Model): +class MongoDbMigrationSettings(msrest.serialization.Model): """Describes how a MongoDB data migration should be performed. All required parameters must be populated in order to send to Azure. - :param boost_rus: The RU limit on a CosmosDB target that collections will - be temporarily increased to (if lower) during the initial copy of a - migration, from 10,000 to 1,000,000, or 0 to use the default boost (which - is generally the maximum), or null to not boost the RUs. This setting has - no effect on non-CosmosDB targets. - :type boost_rus: int - :param databases: Required. The databases on the source cluster to migrate - to the target. The keys are the names of the databases. - :type databases: dict[str, - ~azure.mgmt.datamigration.models.MongoDbDatabaseSettings] - :param replication: Describes how changes will be replicated from the - source to the target. The default is OneTime. Possible values include: - 'Disabled', 'OneTime', 'Continuous' - :type replication: str or - ~azure.mgmt.datamigration.models.MongoDbReplication - :param source: Required. Settings used to connect to the source cluster + :param boost_r_us: The RU limit on a CosmosDB target that collections will be temporarily + increased to (if lower) during the initial copy of a migration, from 10,000 to 1,000,000, or 0 + to use the default boost (which is generally the maximum), or null to not boost the RUs. This + setting has no effect on non-CosmosDB targets. + :type boost_r_us: int + :param databases: Required. The databases on the source cluster to migrate to the target. The + keys are the names of the databases. + :type databases: dict[str, ~azure.mgmt.datamigration.models.MongoDbDatabaseSettings] + :param replication: Describes how changes will be replicated from the source to the target. The + default is OneTime. Possible values include: "Disabled", "OneTime", "Continuous". + :type replication: str or ~azure.mgmt.datamigration.models.MongoDbReplication + :param source: Required. Settings used to connect to the source cluster. :type source: ~azure.mgmt.datamigration.models.MongoDbConnectionInfo - :param target: Required. Settings used to connect to the target cluster + :param target: Required. Settings used to connect to the target cluster. :type target: ~azure.mgmt.datamigration.models.MongoDbConnectionInfo - :param throttling: Settings used to limit the resource usage of the - migration - :type throttling: - ~azure.mgmt.datamigration.models.MongoDbThrottlingSettings + :param throttling: Settings used to limit the resource usage of the migration. + :type throttling: ~azure.mgmt.datamigration.models.MongoDbThrottlingSettings """ _validation = { @@ -9709,7 +10187,7 @@ class MongoDbMigrationSettings(Model): } _attribute_map = { - 'boost_rus': {'key': 'boostRUs', 'type': 'int'}, + 'boost_r_us': {'key': 'boostRUs', 'type': 'int'}, 'databases': {'key': 'databases', 'type': '{MongoDbDatabaseSettings}'}, 'replication': {'key': 'replication', 'type': 'str'}, 'source': {'key': 'source', 'type': 'MongoDbConnectionInfo'}, @@ -9717,9 +10195,19 @@ class MongoDbMigrationSettings(Model): 'throttling': {'key': 'throttling', 'type': 'MongoDbThrottlingSettings'}, } - def __init__(self, *, databases, source, target, boost_rus: int=None, replication=None, throttling=None, **kwargs) -> None: + def __init__( + self, + *, + databases: Dict[str, "MongoDbDatabaseSettings"], + source: "MongoDbConnectionInfo", + target: "MongoDbConnectionInfo", + boost_r_us: Optional[int] = None, + replication: Optional[Union[str, "MongoDbReplication"]] = None, + throttling: Optional["MongoDbThrottlingSettings"] = None, + **kwargs + ): super(MongoDbMigrationSettings, self).__init__(**kwargs) - self.boost_rus = boost_rus + self.boost_r_us = boost_r_us self.databases = databases self.replication = replication self.source = source @@ -9730,51 +10218,54 @@ def __init__(self, *, databases, source, target, boost_rus: int=None, replicatio class MongoDbRestartCommand(CommandProperties): """Properties for the command that restarts a migration in whole or in part. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param command_type: Required. Command type.Constant filled by server. + :type command_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the command. This is ignored if submitted. - Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', - 'Failed' + :ivar state: The state of the command. This is ignored if submitted. Possible values include: + "Unknown", "Accepted", "Running", "Succeeded", "Failed". :vartype state: str or ~azure.mgmt.datamigration.models.CommandState - :param command_type: Required. Constant filled by server. - :type command_type: str - :param input: Command input + :param input: Command input. :type input: ~azure.mgmt.datamigration.models.MongoDbCommandInput """ _validation = { + 'command_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, - 'command_type': {'required': True}, } _attribute_map = { + 'command_type': {'key': 'commandType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, - 'command_type': {'key': 'commandType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbCommandInput'}, } - def __init__(self, *, input=None, **kwargs) -> None: + def __init__( + self, + *, + input: Optional["MongoDbCommandInput"] = None, + **kwargs + ): super(MongoDbRestartCommand, self).__init__(**kwargs) + self.command_type = 'restart' # type: str self.input = input - self.command_type = 'restart' -class MongoDbShardKeyField(Model): +class MongoDbShardKeyField(msrest.serialization.Model): """Describes a field reference within a MongoDB shard key. All required parameters must be populated in order to send to Azure. - :param name: Required. The name of the field + :param name: Required. The name of the field. :type name: str - :param order: Required. The field ordering. Possible values include: - 'Forward', 'Reverse', 'Hashed' + :param order: Required. The field ordering. Possible values include: "Forward", "Reverse", + "Hashed". :type order: str or ~azure.mgmt.datamigration.models.MongoDbShardKeyOrder """ @@ -9788,20 +10279,26 @@ class MongoDbShardKeyField(Model): 'order': {'key': 'order', 'type': 'str'}, } - def __init__(self, *, name: str, order, **kwargs) -> None: + def __init__( + self, + *, + name: str, + order: Union[str, "MongoDbShardKeyOrder"], + **kwargs + ): super(MongoDbShardKeyField, self).__init__(**kwargs) self.name = name self.order = order -class MongoDbShardKeyInfo(Model): +class MongoDbShardKeyInfo(msrest.serialization.Model): """Describes a MongoDB shard key. All required parameters must be populated in order to send to Azure. - :param fields: Required. The fields within the shard key + :param fields: Required. The fields within the shard key. :type fields: list[~azure.mgmt.datamigration.models.MongoDbShardKeyField] - :param is_unique: Required. Whether the shard key is unique + :param is_unique: Required. Whether the shard key is unique. :type is_unique: bool """ @@ -9815,20 +10312,26 @@ class MongoDbShardKeyInfo(Model): 'is_unique': {'key': 'isUnique', 'type': 'bool'}, } - def __init__(self, *, fields, is_unique: bool, **kwargs) -> None: + def __init__( + self, + *, + fields: List["MongoDbShardKeyField"], + is_unique: bool, + **kwargs + ): super(MongoDbShardKeyInfo, self).__init__(**kwargs) self.fields = fields self.is_unique = is_unique -class MongoDbShardKeySetting(Model): +class MongoDbShardKeySetting(msrest.serialization.Model): """Describes a MongoDB shard key. All required parameters must be populated in order to send to Azure. - :param fields: Required. The fields within the shard key + :param fields: Required. The fields within the shard key. :type fields: list[~azure.mgmt.datamigration.models.MongoDbShardKeyField] - :param is_unique: Required. Whether the shard key is unique + :param is_unique: Required. Whether the shard key is unique. :type is_unique: bool """ @@ -9842,23 +10345,29 @@ class MongoDbShardKeySetting(Model): 'is_unique': {'key': 'isUnique', 'type': 'bool'}, } - def __init__(self, *, fields, is_unique: bool, **kwargs) -> None: + def __init__( + self, + *, + fields: List["MongoDbShardKeyField"], + is_unique: bool, + **kwargs + ): super(MongoDbShardKeySetting, self).__init__(**kwargs) self.fields = fields self.is_unique = is_unique -class MongoDbThrottlingSettings(Model): +class MongoDbThrottlingSettings(msrest.serialization.Model): """Specifies resource limits for the migration. - :param min_free_cpu: The percentage of CPU time that the migrator will try - to avoid using, from 0 to 100 + :param min_free_cpu: The percentage of CPU time that the migrator will try to avoid using, from + 0 to 100. :type min_free_cpu: int - :param min_free_memory_mb: The number of megabytes of RAM that the - migrator will try to avoid using + :param min_free_memory_mb: The number of megabytes of RAM that the migrator will try to avoid + using. :type min_free_memory_mb: int - :param max_parallelism: The maximum number of work items (e.g. collection - copies) that will be processed in parallel + :param max_parallelism: The maximum number of work items (e.g. collection copies) that will be + processed in parallel. :type max_parallelism: int """ @@ -9868,7 +10377,14 @@ class MongoDbThrottlingSettings(Model): 'max_parallelism': {'key': 'maxParallelism', 'type': 'int'}, } - def __init__(self, *, min_free_cpu: int=None, min_free_memory_mb: int=None, max_parallelism: int=None, **kwargs) -> None: + def __init__( + self, + *, + min_free_cpu: Optional[int] = None, + min_free_memory_mb: Optional[int] = None, + max_parallelism: Optional[int] = None, + **kwargs + ): super(MongoDbThrottlingSettings, self).__init__(**kwargs) self.min_free_cpu = min_free_cpu self.min_free_memory_mb = min_free_memory_mb @@ -9880,15 +10396,15 @@ class MySqlConnectionInfo(ConnectionInfo): All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str - :param server_name: Required. Name of the server + :param server_name: Required. Name of the server. :type server_name: str - :param port: Required. Port for Server + :param port: Required. Port for Server. :type port: int """ @@ -9899,26 +10415,34 @@ class MySqlConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'server_name': {'key': 'serverName', 'type': 'str'}, 'port': {'key': 'port', 'type': 'int'}, } - def __init__(self, *, server_name: str, port: int, user_name: str=None, password: str=None, **kwargs) -> None: + def __init__( + self, + *, + server_name: str, + port: int, + user_name: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): super(MySqlConnectionInfo, self).__init__(user_name=user_name, password=password, **kwargs) + self.type = 'MySqlConnectionInfo' # type: str self.server_name = server_name self.port = port - self.type = 'MySqlConnectionInfo' -class NameAvailabilityRequest(Model): +class NameAvailabilityRequest(msrest.serialization.Model): """A resource type and proposed name. - :param name: The proposed resource name + :param name: The proposed resource name. :type name: str - :param type: The resource type chain (e.g. virtualMachines/extensions) + :param type: The resource type chain (e.g. virtualMachines/extensions). :type type: str """ @@ -9927,24 +10451,28 @@ class NameAvailabilityRequest(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, name: str=None, type: str=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[str] = None, + **kwargs + ): super(NameAvailabilityRequest, self).__init__(**kwargs) self.name = name self.type = type -class NameAvailabilityResponse(Model): +class NameAvailabilityResponse(msrest.serialization.Model): """Indicates whether a proposed resource name is available. - :param name_available: If true, the name is valid and available. If false, - 'reason' describes why not. + :param name_available: If true, the name is valid and available. If false, 'reason' describes + why not. :type name_available: bool - :param reason: The reason why the name is not available, if nameAvailable - is false. Possible values include: 'AlreadyExists', 'Invalid' - :type reason: str or - ~azure.mgmt.datamigration.models.NameCheckFailureReason - :param message: The localized reason why the name is not available, if - nameAvailable is false + :param reason: The reason why the name is not available, if nameAvailable is false. Possible + values include: "AlreadyExists", "Invalid". + :type reason: str or ~azure.mgmt.datamigration.models.NameCheckFailureReason + :param message: The localized reason why the name is not available, if nameAvailable is false. :type message: str """ @@ -9954,17 +10482,24 @@ class NameAvailabilityResponse(Model): 'message': {'key': 'message', 'type': 'str'}, } - def __init__(self, *, name_available: bool=None, reason=None, message: str=None, **kwargs) -> None: + def __init__( + self, + *, + name_available: Optional[bool] = None, + reason: Optional[Union[str, "NameCheckFailureReason"]] = None, + message: Optional[str] = None, + **kwargs + ): super(NameAvailabilityResponse, self).__init__(**kwargs) self.name_available = name_available self.reason = reason self.message = message -class NonSqlDataMigrationTable(Model): +class NonSqlDataMigrationTable(msrest.serialization.Model): """Defines metadata for table to be migrated. - :param source_name: Source table name + :param source_name: Source table name. :type source_name: str """ @@ -9972,33 +10507,36 @@ class NonSqlDataMigrationTable(Model): 'source_name': {'key': 'sourceName', 'type': 'str'}, } - def __init__(self, *, source_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + source_name: Optional[str] = None, + **kwargs + ): super(NonSqlDataMigrationTable, self).__init__(**kwargs) self.source_name = source_name -class NonSqlDataMigrationTableResult(Model): +class NonSqlDataMigrationTableResult(msrest.serialization.Model): """Object used to report the data migration results of a table. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar result_code: Result code of the data migration. Possible values - include: 'Initial', 'Completed', 'ObjectNotExistsInSource', - 'ObjectNotExistsInTarget', 'TargetObjectIsInaccessible', 'FatalError' - :vartype result_code: str or - ~azure.mgmt.datamigration.models.DataMigrationResultCode - :ivar source_name: Name of the source table + :ivar result_code: Result code of the data migration. Possible values include: "Initial", + "Completed", "ObjectNotExistsInSource", "ObjectNotExistsInTarget", + "TargetObjectIsInaccessible", "FatalError". + :vartype result_code: str or ~azure.mgmt.datamigration.models.DataMigrationResultCode + :ivar source_name: Name of the source table. :vartype source_name: str - :ivar target_name: Name of the target table + :ivar target_name: Name of the target table. :vartype target_name: str - :ivar source_row_count: Number of rows in the source table + :ivar source_row_count: Number of rows in the source table. :vartype source_row_count: long - :ivar target_row_count: Number of rows in the target table + :ivar target_row_count: Number of rows in the target table. :vartype target_row_count: long - :ivar elapsed_time_in_miliseconds: Time taken to migrate the data + :ivar elapsed_time_in_miliseconds: Time taken to migrate the data. :vartype elapsed_time_in_miliseconds: float - :ivar errors: List of errors, if any, during migration + :ivar errors: List of errors, if any, during migration. :vartype errors: list[~azure.mgmt.datamigration.models.DataMigrationError] """ @@ -10022,7 +10560,10 @@ class NonSqlDataMigrationTableResult(Model): 'errors': {'key': 'errors', 'type': '[DataMigrationError]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(NonSqlDataMigrationTableResult, self).__init__(**kwargs) self.result_code = None self.source_name = None @@ -10033,26 +10574,22 @@ def __init__(self, **kwargs) -> None: self.errors = None -class NonSqlMigrationTaskInput(Model): +class NonSqlMigrationTaskInput(msrest.serialization.Model): """Base class for non sql migration task input. All required parameters must be populated in order to send to Azure. - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_database_name: Required. Target database name + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_database_name: Required. Target database name. :type target_database_name: str - :param project_name: Required. Name of the migration project + :param project_name: Required. Name of the migration project. :type project_name: str - :param project_location: Required. A URL that points to the drop location - to access project artifacts + :param project_location: Required. A URL that points to the drop location to access project + artifacts. :type project_location: str - :param selected_tables: Required. Metadata of the tables selected for - migration - :type selected_tables: - list[~azure.mgmt.datamigration.models.NonSqlDataMigrationTable] + :param selected_tables: Required. Metadata of the tables selected for migration. + :type selected_tables: list[~azure.mgmt.datamigration.models.NonSqlDataMigrationTable] """ _validation = { @@ -10071,7 +10608,16 @@ class NonSqlMigrationTaskInput(Model): 'selected_tables': {'key': 'selectedTables', 'type': '[NonSqlDataMigrationTable]'}, } - def __init__(self, *, target_connection_info, target_database_name: str, project_name: str, project_location: str, selected_tables, **kwargs) -> None: + def __init__( + self, + *, + target_connection_info: "SqlConnectionInfo", + target_database_name: str, + project_name: str, + project_location: str, + selected_tables: List["NonSqlDataMigrationTable"], + **kwargs + ): super(NonSqlMigrationTaskInput, self).__init__(**kwargs) self.target_connection_info = target_connection_info self.target_database_name = target_database_name @@ -10080,32 +10626,29 @@ def __init__(self, *, target_connection_info, target_database_name: str, project self.selected_tables = selected_tables -class NonSqlMigrationTaskOutput(Model): +class NonSqlMigrationTaskOutput(msrest.serialization.Model): """Base class for non sql migration task output. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar started_on: Migration start time - :vartype started_on: datetime - :ivar ended_on: Migration end time - :vartype ended_on: datetime - :ivar status: Current state of migration. Possible values include: - 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', - 'Configured', 'Running', 'Error', 'Stopped', 'Completed', - 'CompletedWithWarnings' + :ivar started_on: Migration start time. + :vartype started_on: ~datetime.datetime + :ivar ended_on: Migration end time. + :vartype ended_on: ~datetime.datetime + :ivar status: Current state of migration. Possible values include: "Default", "Connecting", + "SourceAndTargetSelected", "SelectLogins", "Configured", "Running", "Error", "Stopped", + "Completed", "CompletedWithWarnings". :vartype status: str or ~azure.mgmt.datamigration.models.MigrationStatus - :ivar data_migration_table_results: Results of the migration. The key - contains the table name and the value the table result object - :vartype data_migration_table_results: dict[str, - ~azure.mgmt.datamigration.models.NonSqlDataMigrationTableResult] - :ivar progress_message: Message about the progress of the migration + :ivar data_migration_table_results: Results of the migration. The key contains the table name + and the value the table result object. + :vartype data_migration_table_results: str + :ivar progress_message: Message about the progress of the migration. :vartype progress_message: str - :ivar source_server_name: Name of source server + :ivar source_server_name: Name of source server. :vartype source_server_name: str - :ivar target_server_name: Name of target server + :ivar target_server_name: Name of target server. :vartype target_server_name: str """ @@ -10125,13 +10668,16 @@ class NonSqlMigrationTaskOutput(Model): 'started_on': {'key': 'startedOn', 'type': 'iso-8601'}, 'ended_on': {'key': 'endedOn', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, - 'data_migration_table_results': {'key': 'dataMigrationTableResults', 'type': '{NonSqlDataMigrationTableResult}'}, + 'data_migration_table_results': {'key': 'dataMigrationTableResults', 'type': 'str'}, 'progress_message': {'key': 'progressMessage', 'type': 'str'}, 'source_server_name': {'key': 'sourceServerName', 'type': 'str'}, 'target_server_name': {'key': 'targetServerName', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(NonSqlMigrationTaskOutput, self).__init__(**kwargs) self.id = None self.started_on = None @@ -10143,15 +10689,15 @@ def __init__(self, **kwargs) -> None: self.target_server_name = None -class ODataError(Model): +class ODataError(msrest.serialization.Model): """Error information in OData format. - :param code: The machine-readable description of the error, such as - 'InvalidRequest' or 'InternalServerError' + :param code: The machine-readable description of the error, such as 'InvalidRequest' or + 'InternalServerError'. :type code: str - :param message: The human-readable description of the error + :param message: The human-readable description of the error. :type message: str - :param details: Inner errors that caused this error + :param details: Inner errors that caused this error. :type details: list[~azure.mgmt.datamigration.models.ODataError] """ @@ -10161,7 +10707,14 @@ class ODataError(Model): 'details': {'key': 'details', 'type': '[ODataError]'}, } - def __init__(self, *, code: str=None, message: str=None, details=None, **kwargs) -> None: + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + details: Optional[List["ODataError"]] = None, + **kwargs + ): super(ODataError, self).__init__(**kwargs) self.code = code self.message = message @@ -10173,12 +10726,12 @@ class OracleConnectionInfo(ConnectionInfo): All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str :param data_source: Required. EZConnect or TNSName connection string. :type data_source: str """ @@ -10189,38 +10742,42 @@ class OracleConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'data_source': {'key': 'dataSource', 'type': 'str'}, } - def __init__(self, *, data_source: str, user_name: str=None, password: str=None, **kwargs) -> None: + def __init__( + self, + *, + data_source: str, + user_name: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): super(OracleConnectionInfo, self).__init__(user_name=user_name, password=password, **kwargs) + self.type = 'OracleConnectionInfo' # type: str self.data_source = data_source - self.type = 'OracleConnectionInfo' -class OracleOCIDriverInfo(Model): +class OracleOCIDriverInfo(msrest.serialization.Model): """Information about an Oracle OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar driver_name: The name of the driver package + :ivar driver_name: The name of the driver package. :vartype driver_name: str - :ivar driver_size: The size in bytes of the driver package + :ivar driver_size: The size in bytes of the driver package. :vartype driver_size: str - :ivar archive_checksum: The MD5 Base64 encoded checksum for the driver - package. + :ivar archive_checksum: The MD5 Base64 encoded checksum for the driver package. :vartype archive_checksum: str - :ivar oracle_checksum: The checksum for the driver package provided by - Oracle. + :ivar oracle_checksum: The checksum for the driver package provided by Oracle. :vartype oracle_checksum: str - :ivar assembly_version: Version listed in the OCI assembly 'oci.dll' + :ivar assembly_version: Version listed in the OCI assembly 'oci.dll'. :vartype assembly_version: str - :ivar supported_oracle_versions: List of Oracle database versions - supported by this driver. Only major minor of the version is listed. + :ivar supported_oracle_versions: List of Oracle database versions supported by this driver. + Only major minor of the version is listed. :vartype supported_oracle_versions: list[str] """ @@ -10242,7 +10799,10 @@ class OracleOCIDriverInfo(Model): 'supported_oracle_versions': {'key': 'supportedOracleVersions', 'type': '[str]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(OracleOCIDriverInfo, self).__init__(**kwargs) self.driver_name = None self.driver_size = None @@ -10252,12 +10812,12 @@ def __init__(self, **kwargs) -> None: self.supported_oracle_versions = None -class OrphanedUserInfo(Model): +class OrphanedUserInfo(msrest.serialization.Model): """Information of orphaned users on the SQL server database. - :param name: Name of the orphaned user + :param name: Name of the orphaned user. :type name: str - :param database_name: Parent database of the user + :param database_name: Parent database of the user. :type database_name: str """ @@ -10266,7 +10826,13 @@ class OrphanedUserInfo(Model): 'database_name': {'key': 'databaseName', 'type': 'str'}, } - def __init__(self, *, name: str=None, database_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + database_name: Optional[str] = None, + **kwargs + ): super(OrphanedUserInfo, self).__init__(**kwargs) self.name = name self.database_name = database_name @@ -10277,23 +10843,21 @@ class PostgreSqlConnectionInfo(ConnectionInfo): All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str - :param server_name: Required. Name of the server + :param server_name: Required. Name of the server. :type server_name: str - :param database_name: Name of the database + :param database_name: Name of the database. :type database_name: str - :param port: Required. Port for Server + :param port: Required. Port for Server. :type port: int - :param encrypt_connection: Whether to encrypt the connection. Default - value: True . + :param encrypt_connection: Whether to encrypt the connection. :type encrypt_connection: bool :param trust_server_certificate: Whether to trust the server certificate. - Default value: False . :type trust_server_certificate: bool """ @@ -10304,9 +10868,9 @@ class PostgreSqlConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'server_name': {'key': 'serverName', 'type': 'str'}, 'database_name': {'key': 'databaseName', 'type': 'str'}, 'port': {'key': 'port', 'type': 'int'}, @@ -10314,21 +10878,31 @@ class PostgreSqlConnectionInfo(ConnectionInfo): 'trust_server_certificate': {'key': 'trustServerCertificate', 'type': 'bool'}, } - def __init__(self, *, server_name: str, port: int, user_name: str=None, password: str=None, database_name: str=None, encrypt_connection: bool=True, trust_server_certificate: bool=False, **kwargs) -> None: + def __init__( + self, + *, + server_name: str, + port: int, + user_name: Optional[str] = None, + password: Optional[str] = None, + database_name: Optional[str] = None, + encrypt_connection: Optional[bool] = True, + trust_server_certificate: Optional[bool] = False, + **kwargs + ): super(PostgreSqlConnectionInfo, self).__init__(user_name=user_name, password=password, **kwargs) + self.type = 'PostgreSqlConnectionInfo' # type: str self.server_name = server_name self.database_name = database_name self.port = port self.encrypt_connection = encrypt_connection self.trust_server_certificate = trust_server_certificate - self.type = 'PostgreSqlConnectionInfo' class Project(TrackedResource): """A project resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -10338,34 +10912,27 @@ class Project(TrackedResource): :vartype name: str :ivar type: Resource type. :vartype type: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param location: Required. Resource location. :type location: str - :param source_platform: Required. Source platform for the project. - Possible values include: 'SQL', 'MySQL', 'PostgreSql', 'MongoDb', - 'Unknown' - :type source_platform: str or - ~azure.mgmt.datamigration.models.ProjectSourcePlatform - :param target_platform: Required. Target platform for the project. - Possible values include: 'SQLDB', 'SQLMI', 'AzureDbForMySql', - 'AzureDbForPostgreSql', 'MongoDb', 'Unknown' - :type target_platform: str or - ~azure.mgmt.datamigration.models.ProjectTargetPlatform - :ivar creation_time: UTC Date and time when project was created - :vartype creation_time: datetime - :param source_connection_info: Information for connecting to source - :type source_connection_info: - ~azure.mgmt.datamigration.models.ConnectionInfo - :param target_connection_info: Information for connecting to target - :type target_connection_info: - ~azure.mgmt.datamigration.models.ConnectionInfo - :param databases_info: List of DatabaseInfo + :param source_platform: Source platform for the project. Possible values include: "SQL", + "MySQL", "PostgreSql", "MongoDb", "Unknown". + :type source_platform: str or ~azure.mgmt.datamigration.models.ProjectSourcePlatform + :param target_platform: Target platform for the project. Possible values include: "SQLDB", + "SQLMI", "AzureDbForMySql", "AzureDbForPostgreSql", "MongoDb", "Unknown". + :type target_platform: str or ~azure.mgmt.datamigration.models.ProjectTargetPlatform + :ivar creation_time: UTC Date and time when project was created. + :vartype creation_time: ~datetime.datetime + :param source_connection_info: Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.ConnectionInfo + :param target_connection_info: Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.ConnectionInfo + :param databases_info: List of DatabaseInfo. :type databases_info: list[~azure.mgmt.datamigration.models.DatabaseInfo] - :ivar provisioning_state: The project's provisioning state. Possible - values include: 'Deleting', 'Succeeded' - :vartype provisioning_state: str or - ~azure.mgmt.datamigration.models.ProjectProvisioningState + :ivar provisioning_state: The project's provisioning state. Possible values include: + "Deleting", "Succeeded". + :vartype provisioning_state: str or ~azure.mgmt.datamigration.models.ProjectProvisioningState """ _validation = { @@ -10373,8 +10940,6 @@ class Project(TrackedResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, - 'source_platform': {'required': True}, - 'target_platform': {'required': True}, 'creation_time': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -10394,7 +10959,18 @@ class Project(TrackedResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, *, location: str, source_platform, target_platform, tags=None, source_connection_info=None, target_connection_info=None, databases_info=None, **kwargs) -> None: + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + source_platform: Optional[Union[str, "ProjectSourcePlatform"]] = None, + target_platform: Optional[Union[str, "ProjectTargetPlatform"]] = None, + source_connection_info: Optional["ConnectionInfo"] = None, + target_connection_info: Optional["ConnectionInfo"] = None, + databases_info: Optional[List["DatabaseInfo"]] = None, + **kwargs + ): super(Project, self).__init__(tags=tags, location=location, **kwargs) self.source_platform = source_platform self.target_platform = target_platform @@ -10408,8 +10984,7 @@ def __init__(self, *, location: str, source_platform, target_platform, tags=None class ProjectFile(Resource): """A file resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Resource ID. :vartype id: str @@ -10419,7 +10994,7 @@ class ProjectFile(Resource): :vartype type: str :param etag: HTTP strong entity tag value. This is ignored if submitted. :type etag: str - :param properties: Custom file properties + :param properties: Custom file properties. :type properties: ~azure.mgmt.datamigration.models.ProjectFileProperties """ @@ -10437,28 +11012,33 @@ class ProjectFile(Resource): 'properties': {'key': 'properties', 'type': 'ProjectFileProperties'}, } - def __init__(self, *, etag: str=None, properties=None, **kwargs) -> None: + def __init__( + self, + *, + etag: Optional[str] = None, + properties: Optional["ProjectFileProperties"] = None, + **kwargs + ): super(ProjectFile, self).__init__(**kwargs) self.etag = etag self.properties = properties -class ProjectFileProperties(Model): +class ProjectFileProperties(msrest.serialization.Model): """Base class for file properties. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :param extension: Optional File extension. If submitted it should not have - a leading period and must match the extension from filePath. + :param extension: Optional File extension. If submitted it should not have a leading period and + must match the extension from filePath. :type extension: str - :param file_path: Relative path of this file resource. This property can - be set when creating or updating the file resource. + :param file_path: Relative path of this file resource. This property can be set when creating + or updating the file resource. :type file_path: str :ivar last_modified: Modification DateTime. - :vartype last_modified: datetime - :param media_type: File content type. This property can be modified to - reflect the file content type. + :vartype last_modified: ~datetime.datetime + :param media_type: File content type. This property can be modified to reflect the file content + type. :type media_type: str :ivar size: File size. :vartype size: long @@ -10477,7 +11057,14 @@ class ProjectFileProperties(Model): 'size': {'key': 'size', 'type': 'long'}, } - def __init__(self, *, extension: str=None, file_path: str=None, media_type: str=None, **kwargs) -> None: + def __init__( + self, + *, + extension: Optional[str] = None, + file_path: Optional[str] = None, + media_type: Optional[str] = None, + **kwargs + ): super(ProjectFileProperties, self).__init__(**kwargs) self.extension = extension self.file_path = file_path @@ -10486,11 +11073,36 @@ def __init__(self, *, extension: str=None, file_path: str=None, media_type: str= self.size = None +class ProjectList(msrest.serialization.Model): + """OData page of project resources. + + :param value: List of projects. + :type value: list[~azure.mgmt.datamigration.models.Project] + :param next_link: URL to load the next page of projects. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Project]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Project"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ProjectList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + class ProjectTask(Resource): """A task resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Resource ID. :vartype id: str @@ -10500,7 +11112,7 @@ class ProjectTask(Resource): :vartype type: str :param etag: HTTP strong entity tag value. This is ignored if submitted. :type etag: str - :param properties: Custom task properties + :param properties: Custom task properties. :type properties: ~azure.mgmt.datamigration.models.ProjectTaskProperties """ @@ -10518,19 +11130,24 @@ class ProjectTask(Resource): 'properties': {'key': 'properties', 'type': 'ProjectTaskProperties'}, } - def __init__(self, *, etag: str=None, properties=None, **kwargs) -> None: + def __init__( + self, + *, + etag: Optional[str] = None, + properties: Optional["ProjectTaskProperties"] = None, + **kwargs + ): super(ProjectTask, self).__init__(**kwargs) self.etag = etag self.properties = properties -class QueryAnalysisValidationResult(Model): +class QueryAnalysisValidationResult(msrest.serialization.Model): """Results for query analysis comparison between the source and target. - :param query_results: List of queries executed and it's execution results - in source and target + :param query_results: List of queries executed and it's execution results in source and target. :type query_results: ~azure.mgmt.datamigration.models.QueryExecutionResult - :param validation_errors: Errors that are part of the execution + :param validation_errors: Errors that are part of the execution. :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError """ @@ -10539,22 +11156,28 @@ class QueryAnalysisValidationResult(Model): 'validation_errors': {'key': 'validationErrors', 'type': 'ValidationError'}, } - def __init__(self, *, query_results=None, validation_errors=None, **kwargs) -> None: + def __init__( + self, + *, + query_results: Optional["QueryExecutionResult"] = None, + validation_errors: Optional["ValidationError"] = None, + **kwargs + ): super(QueryAnalysisValidationResult, self).__init__(**kwargs) self.query_results = query_results self.validation_errors = validation_errors -class QueryExecutionResult(Model): +class QueryExecutionResult(msrest.serialization.Model): """Describes query analysis results for execution in source and target. - :param query_text: Query text retrieved from the source server + :param query_text: Query text retrieved from the source server. :type query_text: str - :param statements_in_batch: Total no. of statements in the batch + :param statements_in_batch: Total no. of statements in the batch. :type statements_in_batch: long - :param source_result: Query analysis result from the source + :param source_result: Query analysis result from the source. :type source_result: ~azure.mgmt.datamigration.models.ExecutionStatistics - :param target_result: Query analysis result from the target + :param target_result: Query analysis result from the target. :type target_result: ~azure.mgmt.datamigration.models.ExecutionStatistics """ @@ -10565,7 +11188,15 @@ class QueryExecutionResult(Model): 'target_result': {'key': 'targetResult', 'type': 'ExecutionStatistics'}, } - def __init__(self, *, query_text: str=None, statements_in_batch: int=None, source_result=None, target_result=None, **kwargs) -> None: + def __init__( + self, + *, + query_text: Optional[str] = None, + statements_in_batch: Optional[int] = None, + source_result: Optional["ExecutionStatistics"] = None, + target_result: Optional["ExecutionStatistics"] = None, + **kwargs + ): super(QueryExecutionResult, self).__init__(**kwargs) self.query_text = query_text self.statements_in_batch = statements_in_batch @@ -10573,21 +11204,20 @@ def __init__(self, *, query_text: str=None, statements_in_batch: int=None, sourc self.target_result = target_result -class Quota(Model): +class Quota(msrest.serialization.Model): """Describes a quota for or usage details about a resource. - :param current_value: The current value of the quota. If null or missing, - the current value cannot be determined in the context of the request. + :param current_value: The current value of the quota. If null or missing, the current value + cannot be determined in the context of the request. :type current_value: float - :param id: The resource ID of the quota object + :param id: The resource ID of the quota object. :type id: str - :param limit: The maximum value of the quota. If null or missing, the - quota has no maximum, in which case it merely tracks usage. + :param limit: The maximum value of the quota. If null or missing, the quota has no maximum, in + which case it merely tracks usage. :type limit: float - :param name: The name of the quota + :param name: The name of the quota. :type name: ~azure.mgmt.datamigration.models.QuotaName - :param unit: The unit for the quota, such as Count, Bytes, BytesPerSecond, - etc. + :param unit: The unit for the quota, such as Count, Bytes, BytesPerSecond, etc. :type unit: str """ @@ -10599,7 +11229,16 @@ class Quota(Model): 'unit': {'key': 'unit', 'type': 'str'}, } - def __init__(self, *, current_value: float=None, id: str=None, limit: float=None, name=None, unit: str=None, **kwargs) -> None: + def __init__( + self, + *, + current_value: Optional[float] = None, + id: Optional[str] = None, + limit: Optional[float] = None, + name: Optional["QuotaName"] = None, + unit: Optional[str] = None, + **kwargs + ): super(Quota, self).__init__(**kwargs) self.current_value = current_value self.id = id @@ -10608,12 +11247,39 @@ def __init__(self, *, current_value: float=None, id: str=None, limit: float=None self.unit = unit -class QuotaName(Model): +class QuotaList(msrest.serialization.Model): + """OData page of quota objects. + + :param value: List of quotas. + :type value: list[~azure.mgmt.datamigration.models.Quota] + :param next_link: URL to load the next page of quotas, or null or missing if this is the last + page. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Quota]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Quota"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(QuotaList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class QuotaName(msrest.serialization.Model): """The name of the quota. - :param localized_value: The localized name of the quota + :param localized_value: The localized name of the quota. :type localized_value: str - :param value: The unlocalized name (or ID) of the quota + :param value: The unlocalized name (or ID) of the quota. :type value: str """ @@ -10622,27 +11288,32 @@ class QuotaName(Model): 'value': {'key': 'value', 'type': 'str'}, } - def __init__(self, *, localized_value: str=None, value: str=None, **kwargs) -> None: + def __init__( + self, + *, + localized_value: Optional[str] = None, + value: Optional[str] = None, + **kwargs + ): super(QuotaName, self).__init__(**kwargs) self.localized_value = localized_value self.value = value -class ReportableException(Model): +class ReportableException(msrest.serialization.Model): """Exception object for all custom exceptions. - :param message: Error message + :param message: Error message. :type message: str - :param actionable_message: Actionable steps for this exception + :param actionable_message: Actionable steps for this exception. :type actionable_message: str - :param file_path: The path to the file where exception occurred + :param file_path: The path to the file where exception occurred. :type file_path: str - :param line_number: The line number where exception occurred + :param line_number: The line number where exception occurred. :type line_number: str - :param h_result: Coded numerical value that is assigned to a specific - exception + :param h_result: Coded numerical value that is assigned to a specific exception. :type h_result: int - :param stack_trace: Stack trace + :param stack_trace: Stack trace. :type stack_trace: str """ @@ -10655,7 +11326,17 @@ class ReportableException(Model): 'stack_trace': {'key': 'stackTrace', 'type': 'str'}, } - def __init__(self, *, message: str=None, actionable_message: str=None, file_path: str=None, line_number: str=None, h_result: int=None, stack_trace: str=None, **kwargs) -> None: + def __init__( + self, + *, + message: Optional[str] = None, + actionable_message: Optional[str] = None, + file_path: Optional[str] = None, + line_number: Optional[str] = None, + h_result: Optional[int] = None, + stack_trace: Optional[str] = None, + **kwargs + ): super(ReportableException, self).__init__(**kwargs) self.message = message self.actionable_message = actionable_message @@ -10665,11 +11346,10 @@ def __init__(self, *, message: str=None, actionable_message: str=None, file_path self.stack_trace = stack_trace -class ResourceSku(Model): +class ResourceSku(msrest.serialization.Model): """Describes an available DMS SKU. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar resource_type: The type of resource the SKU applies to. :vartype resource_type: str @@ -10692,12 +11372,10 @@ class ResourceSku(Model): :ivar costs: Metadata for retrieving price info. :vartype costs: list[~azure.mgmt.datamigration.models.ResourceSkuCosts] :ivar capabilities: A name value pair to describe the capability. - :vartype capabilities: - list[~azure.mgmt.datamigration.models.ResourceSkuCapabilities] - :ivar restrictions: The restrictions because of which SKU cannot be used. - This is empty if there are no restrictions. - :vartype restrictions: - list[~azure.mgmt.datamigration.models.ResourceSkuRestrictions] + :vartype capabilities: list[~azure.mgmt.datamigration.models.ResourceSkuCapabilities] + :ivar restrictions: The restrictions because of which SKU cannot be used. This is empty if + there are no restrictions. + :vartype restrictions: list[~azure.mgmt.datamigration.models.ResourceSkuRestrictions] """ _validation = { @@ -10730,7 +11408,10 @@ class ResourceSku(Model): 'restrictions': {'key': 'restrictions', 'type': '[ResourceSkuRestrictions]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ResourceSku, self).__init__(**kwargs) self.resource_type = None self.name = None @@ -10746,11 +11427,10 @@ def __init__(self, **kwargs) -> None: self.restrictions = None -class ResourceSkuCapabilities(Model): +class ResourceSkuCapabilities(msrest.serialization.Model): """Describes The SKU capabilities object. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar name: An invariant to describe the feature. :vartype name: str @@ -10768,17 +11448,19 @@ class ResourceSkuCapabilities(Model): 'value': {'key': 'value', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ResourceSkuCapabilities, self).__init__(**kwargs) self.name = None self.value = None -class ResourceSkuCapacity(Model): +class ResourceSkuCapacity(msrest.serialization.Model): """Describes scaling information of a SKU. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar minimum: The minimum capacity. :vartype minimum: long @@ -10786,10 +11468,9 @@ class ResourceSkuCapacity(Model): :vartype maximum: long :ivar default: The default capacity. :vartype default: long - :ivar scale_type: The scale type applicable to the SKU. Possible values - include: 'Automatic', 'Manual', 'None' - :vartype scale_type: str or - ~azure.mgmt.datamigration.models.ResourceSkuCapacityScaleType + :ivar scale_type: The scale type applicable to the SKU. Possible values include: "Automatic", + "Manual", "None". + :vartype scale_type: str or ~azure.mgmt.datamigration.models.ResourceSkuCapacityScaleType """ _validation = { @@ -10806,7 +11487,10 @@ class ResourceSkuCapacity(Model): 'scale_type': {'key': 'scaleType', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ResourceSkuCapacity, self).__init__(**kwargs) self.minimum = None self.maximum = None @@ -10814,11 +11498,10 @@ def __init__(self, **kwargs) -> None: self.scale_type = None -class ResourceSkuCosts(Model): +class ResourceSkuCosts(msrest.serialization.Model): """Describes metadata for retrieving price info. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar meter_id: Used for querying price from commerce. :vartype meter_id: str @@ -10840,29 +11523,29 @@ class ResourceSkuCosts(Model): 'extended_unit': {'key': 'extendedUnit', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ResourceSkuCosts, self).__init__(**kwargs) self.meter_id = None self.quantity = None self.extended_unit = None -class ResourceSkuRestrictions(Model): +class ResourceSkuRestrictions(msrest.serialization.Model): """Describes scaling information of a SKU. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar type: The type of restrictions. Possible values include: 'location' - :vartype type: str or - ~azure.mgmt.datamigration.models.ResourceSkuRestrictionsType - :ivar values: The value of restrictions. If the restriction type is set to - location. This would be different locations where the SKU is restricted. + :ivar type: The type of restrictions. Possible values include: "location". + :vartype type: str or ~azure.mgmt.datamigration.models.ResourceSkuRestrictionsType + :ivar values: The value of restrictions. If the restriction type is set to location. This would + be different locations where the SKU is restricted. :vartype values: list[str] - :ivar reason_code: The reason code for restriction. Possible values - include: 'QuotaId', 'NotAvailableForSubscription' - :vartype reason_code: str or - ~azure.mgmt.datamigration.models.ResourceSkuRestrictionsReasonCode + :ivar reason_code: The reason code for restriction. Possible values include: "QuotaId", + "NotAvailableForSubscription". + :vartype reason_code: str or ~azure.mgmt.datamigration.models.ResourceSkuRestrictionsReasonCode """ _validation = { @@ -10877,26 +11560,60 @@ class ResourceSkuRestrictions(Model): 'reason_code': {'key': 'reasonCode', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ResourceSkuRestrictions, self).__init__(**kwargs) self.type = None self.values = None self.reason_code = None -class SchemaComparisonValidationResult(Model): +class ResourceSkusResult(msrest.serialization.Model): + """The DMS List SKUs operation response. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. The list of SKUs available for the subscription. + :type value: list[~azure.mgmt.datamigration.models.ResourceSku] + :param next_link: The uri to fetch the next page of DMS SKUs. Call ListNext() with this to + fetch the next page of DMS SKUs. + :type next_link: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["ResourceSku"], + next_link: Optional[str] = None, + **kwargs + ): + super(ResourceSkusResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class SchemaComparisonValidationResult(msrest.serialization.Model): """Results for schema comparison between the source and target. - :param schema_differences: List of schema differences between the source - and target databases - :type schema_differences: - ~azure.mgmt.datamigration.models.SchemaComparisonValidationResultType - :param validation_errors: List of errors that happened while performing - schema compare validation + :param schema_differences: List of schema differences between the source and target databases. + :type schema_differences: ~azure.mgmt.datamigration.models.SchemaComparisonValidationResultType + :param validation_errors: List of errors that happened while performing schema compare + validation. :type validation_errors: ~azure.mgmt.datamigration.models.ValidationError - :param source_database_object_count: Count of source database objects + :param source_database_object_count: Count of source database objects. :type source_database_object_count: dict[str, long] - :param target_database_object_count: Count of target database objects + :param target_database_object_count: Count of target database objects. :type target_database_object_count: dict[str, long] """ @@ -10907,7 +11624,15 @@ class SchemaComparisonValidationResult(Model): 'target_database_object_count': {'key': 'targetDatabaseObjectCount', 'type': '{long}'}, } - def __init__(self, *, schema_differences=None, validation_errors=None, source_database_object_count=None, target_database_object_count=None, **kwargs) -> None: + def __init__( + self, + *, + schema_differences: Optional["SchemaComparisonValidationResultType"] = None, + validation_errors: Optional["ValidationError"] = None, + source_database_object_count: Optional[Dict[str, int]] = None, + target_database_object_count: Optional[Dict[str, int]] = None, + **kwargs + ): super(SchemaComparisonValidationResult, self).__init__(**kwargs) self.schema_differences = schema_differences self.validation_errors = validation_errors @@ -10915,19 +11640,18 @@ def __init__(self, *, schema_differences=None, validation_errors=None, source_da self.target_database_object_count = target_database_object_count -class SchemaComparisonValidationResultType(Model): +class SchemaComparisonValidationResultType(msrest.serialization.Model): """Description about the errors happen while performing migration validation. - :param object_name: Name of the object that has the difference + :param object_name: Name of the object that has the difference. :type object_name: str :param object_type: Type of the object that has the difference. e.g - (Table/View/StoredProcedure). Possible values include: 'StoredProcedures', - 'Table', 'User', 'View', 'Function' + (Table/View/StoredProcedure). Possible values include: "StoredProcedures", "Table", "User", + "View", "Function". :type object_type: str or ~azure.mgmt.datamigration.models.ObjectType - :param update_action: Update action type with respect to target. Possible - values include: 'DeletedOnTarget', 'ChangedOnTarget', 'AddedOnTarget' - :type update_action: str or - ~azure.mgmt.datamigration.models.UpdateActionType + :param update_action: Update action type with respect to target. Possible values include: + "DeletedOnTarget", "ChangedOnTarget", "AddedOnTarget". + :type update_action: str or ~azure.mgmt.datamigration.models.UpdateActionType """ _attribute_map = { @@ -10936,22 +11660,27 @@ class SchemaComparisonValidationResultType(Model): 'update_action': {'key': 'updateAction', 'type': 'str'}, } - def __init__(self, *, object_name: str=None, object_type=None, update_action=None, **kwargs) -> None: + def __init__( + self, + *, + object_name: Optional[str] = None, + object_type: Optional[Union[str, "ObjectType"]] = None, + update_action: Optional[Union[str, "UpdateActionType"]] = None, + **kwargs + ): super(SchemaComparisonValidationResultType, self).__init__(**kwargs) self.object_name = object_name self.object_type = object_type self.update_action = update_action -class SchemaMigrationSetting(Model): +class SchemaMigrationSetting(msrest.serialization.Model): """Settings for migrating schema from source to target. - :param schema_option: Option on how to migrate the schema. Possible values - include: 'None', 'ExtractFromSource', 'UseStorageFile' - :type schema_option: str or - ~azure.mgmt.datamigration.models.SchemaMigrationOption - :param file_id: Resource Identifier of a file resource containing the - uploaded schema file + :param schema_option: Option on how to migrate the schema. Possible values include: "None", + "ExtractFromSource", "UseStorageFile". + :type schema_option: str or ~azure.mgmt.datamigration.models.SchemaMigrationOption + :param file_id: Resource Identifier of a file resource containing the uploaded schema file. :type file_id: str """ @@ -10960,21 +11689,26 @@ class SchemaMigrationSetting(Model): 'file_id': {'key': 'fileId', 'type': 'str'}, } - def __init__(self, *, schema_option=None, file_id: str=None, **kwargs) -> None: + def __init__( + self, + *, + schema_option: Optional[Union[str, "SchemaMigrationOption"]] = None, + file_id: Optional[str] = None, + **kwargs + ): super(SchemaMigrationSetting, self).__init__(**kwargs) self.schema_option = schema_option self.file_id = file_id -class SelectedCertificateInput(Model): +class SelectedCertificateInput(msrest.serialization.Model): """Info for certificate to be exported for TDE enabled databases. All required parameters must be populated in order to send to Azure. :param certificate_name: Required. Name of certificate to be exported. :type certificate_name: str - :param password: Required. Password to use for encrypting the exported - certificate. + :param password: Required. Password to use for encrypting the exported certificate. :type password: str """ @@ -10988,29 +11722,34 @@ class SelectedCertificateInput(Model): 'password': {'key': 'password', 'type': 'str'}, } - def __init__(self, *, certificate_name: str, password: str, **kwargs) -> None: + def __init__( + self, + *, + certificate_name: str, + password: str, + **kwargs + ): super(SelectedCertificateInput, self).__init__(**kwargs) self.certificate_name = certificate_name self.password = password -class ServerProperties(Model): +class ServerProperties(msrest.serialization.Model): """Server properties for MySQL type source. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar server_platform: Name of the server platform + :ivar server_platform: Name of the server platform. :vartype server_platform: str - :ivar server_name: Name of the server + :ivar server_name: Name of the server. :vartype server_name: str - :ivar server_version: Version of the database server + :ivar server_version: Version of the database server. :vartype server_version: str - :ivar server_edition: Edition of the database server + :ivar server_edition: Edition of the database server. :vartype server_edition: str - :ivar server_operating_system_version: Version of the operating system + :ivar server_operating_system_version: Version of the operating system. :vartype server_operating_system_version: str - :ivar server_database_count: Number of databases in the server + :ivar server_database_count: Number of databases in the server. :vartype server_database_count: int """ @@ -11032,7 +11771,10 @@ class ServerProperties(Model): 'server_database_count': {'key': 'serverDatabaseCount', 'type': 'int'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ServerProperties, self).__init__(**kwargs) self.server_platform = None self.server_name = None @@ -11042,13 +11784,12 @@ def __init__(self, **kwargs) -> None: self.server_database_count = None -class ServiceOperation(Model): +class ServiceOperation(msrest.serialization.Model): """Description of an action supported by the Database Migration Service. - :param name: The fully qualified action name, e.g. - Microsoft.DataMigration/services/read + :param name: The fully qualified action name, e.g. Microsoft.DataMigration/services/read. :type name: str - :param display: Localized display text + :param display: Localized display text. :type display: ~azure.mgmt.datamigration.models.ServiceOperationDisplay """ @@ -11057,22 +11798,28 @@ class ServiceOperation(Model): 'display': {'key': 'display', 'type': 'ServiceOperationDisplay'}, } - def __init__(self, *, name: str=None, display=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["ServiceOperationDisplay"] = None, + **kwargs + ): super(ServiceOperation, self).__init__(**kwargs) self.name = name self.display = display -class ServiceOperationDisplay(Model): +class ServiceOperationDisplay(msrest.serialization.Model): """Localized display text. - :param provider: The localized resource provider name + :param provider: The localized resource provider name. :type provider: str - :param resource: The localized resource type name + :param resource: The localized resource type name. :type resource: str - :param operation: The localized operation name + :param operation: The localized operation name. :type operation: str - :param description: The localized operation description + :param description: The localized operation description. :type description: str """ @@ -11083,7 +11830,15 @@ class ServiceOperationDisplay(Model): 'description': {'key': 'description', 'type': 'str'}, } - def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, description: str=None, **kwargs) -> None: + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): super(ServiceOperationDisplay, self).__init__(**kwargs) self.provider = provider self.resource = resource @@ -11091,23 +11846,46 @@ def __init__(self, *, provider: str=None, resource: str=None, operation: str=Non self.description = description -class ServiceSku(Model): +class ServiceOperationList(msrest.serialization.Model): + """OData page of action (operation) objects. + + :param value: List of actions. + :type value: list[~azure.mgmt.datamigration.models.ServiceOperation] + :param next_link: URL to load the next page of actions. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ServiceOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ServiceOperation"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ServiceOperationList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ServiceSku(msrest.serialization.Model): """An Azure SKU instance. - :param name: The unique name of the SKU, such as 'P3' + :param name: The unique name of the SKU, such as 'P3'. :type name: str - :param tier: The tier of the SKU, such as 'Basic', 'General Purpose', or - 'Business Critical' + :param tier: The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'. :type tier: str - :param family: The SKU family, used when the service has multiple - performance classes within a tier, such as 'A', 'D', etc. for virtual - machines + :param family: The SKU family, used when the service has multiple performance classes within a + tier, such as 'A', 'D', etc. for virtual machines. :type family: str - :param size: The size of the SKU, used when the name alone does not denote - a service size or when a SKU has multiple performance classes within a - family, e.g. 'A1' for virtual machines + :param size: The size of the SKU, used when the name alone does not denote a service size or + when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines. :type size: str - :param capacity: The capacity of the SKU, if it supports scaling + :param capacity: The capacity of the SKU, if it supports scaling. :type capacity: int """ @@ -11119,7 +11897,16 @@ class ServiceSku(Model): 'capacity': {'key': 'capacity', 'type': 'int'}, } - def __init__(self, *, name: str=None, tier: str=None, family: str=None, size: str=None, capacity: int=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + tier: Optional[str] = None, + family: Optional[str] = None, + size: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs + ): super(ServiceSku, self).__init__(**kwargs) self.name = name self.tier = tier @@ -11128,35 +11915,57 @@ def __init__(self, *, name: str=None, tier: str=None, family: str=None, size: st self.capacity = capacity +class ServiceSkuList(msrest.serialization.Model): + """OData page of available SKUs. + + :param value: List of service SKUs. + :type value: list[~azure.mgmt.datamigration.models.AvailableServiceSku] + :param next_link: URL to load the next page of service SKUs. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailableServiceSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AvailableServiceSku"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ServiceSkuList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + class SqlConnectionInfo(ConnectionInfo): """Information for connecting to SQL database server. All required parameters must be populated in order to send to Azure. - :param user_name: User name + :param type: Required. Type of connection info.Constant filled by server. + :type type: str + :param user_name: User name. :type user_name: str :param password: Password credential. :type password: str - :param type: Required. Constant filled by server. - :type type: str :param data_source: Required. Data source in the format - Protocol:MachineName\\SQLServerInstanceName,PortNumber + Protocol:MachineName\SQLServerInstanceName,PortNumber. :type data_source: str - :param authentication: Authentication type to use for connection. Possible - values include: 'None', 'WindowsAuthentication', 'SqlAuthentication', - 'ActiveDirectoryIntegrated', 'ActiveDirectoryPassword' - :type authentication: str or - ~azure.mgmt.datamigration.models.AuthenticationType - :param encrypt_connection: Whether to encrypt the connection. Default - value: True . + :param authentication: Authentication type to use for connection. Possible values include: + "None", "WindowsAuthentication", "SqlAuthentication", "ActiveDirectoryIntegrated", + "ActiveDirectoryPassword". + :type authentication: str or ~azure.mgmt.datamigration.models.AuthenticationType + :param encrypt_connection: Whether to encrypt the connection. :type encrypt_connection: bool - :param additional_settings: Additional connection settings + :param additional_settings: Additional connection settings. :type additional_settings: str :param trust_server_certificate: Whether to trust the server certificate. - Default value: False . :type trust_server_certificate: bool - :param platform: Server platform type for connection. Possible values - include: 'SqlOnPrem' + :param platform: Server platform type for connection. Possible values include: "SqlOnPrem". :type platform: str or ~azure.mgmt.datamigration.models.SqlSourcePlatform """ @@ -11166,9 +11975,9 @@ class SqlConnectionInfo(ConnectionInfo): } _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, 'user_name': {'key': 'userName', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, 'data_source': {'key': 'dataSource', 'type': 'str'}, 'authentication': {'key': 'authentication', 'type': 'str'}, 'encrypt_connection': {'key': 'encryptConnection', 'type': 'bool'}, @@ -11177,30 +11986,41 @@ class SqlConnectionInfo(ConnectionInfo): 'platform': {'key': 'platform', 'type': 'str'}, } - def __init__(self, *, data_source: str, user_name: str=None, password: str=None, authentication=None, encrypt_connection: bool=True, additional_settings: str=None, trust_server_certificate: bool=False, platform=None, **kwargs) -> None: + def __init__( + self, + *, + data_source: str, + user_name: Optional[str] = None, + password: Optional[str] = None, + authentication: Optional[Union[str, "AuthenticationType"]] = None, + encrypt_connection: Optional[bool] = True, + additional_settings: Optional[str] = None, + trust_server_certificate: Optional[bool] = False, + platform: Optional[Union[str, "SqlSourcePlatform"]] = None, + **kwargs + ): super(SqlConnectionInfo, self).__init__(user_name=user_name, password=password, **kwargs) + self.type = 'SqlConnectionInfo' # type: str self.data_source = data_source self.authentication = authentication self.encrypt_connection = encrypt_connection self.additional_settings = additional_settings self.trust_server_certificate = trust_server_certificate self.platform = platform - self.type = 'SqlConnectionInfo' -class SsisMigrationInfo(Model): +class SsisMigrationInfo(msrest.serialization.Model): """SSIS migration info with SSIS store type, overwrite policy. - :param ssis_store_type: The SSIS store type of source, only SSIS catalog - is supported now in DMS. Possible values include: 'SsisCatalog' - :type ssis_store_type: str or - ~azure.mgmt.datamigration.models.SsisStoreType - :param project_overwrite_option: The overwrite option for the SSIS project - migration. Possible values include: 'Ignore', 'Overwrite' + :param ssis_store_type: The SSIS store type of source, only SSIS catalog is supported now in + DMS. Possible values include: "SsisCatalog". + :type ssis_store_type: str or ~azure.mgmt.datamigration.models.SsisStoreType + :param project_overwrite_option: The overwrite option for the SSIS project migration. Possible + values include: "Ignore", "Overwrite". :type project_overwrite_option: str or ~azure.mgmt.datamigration.models.SsisMigrationOverwriteOption - :param environment_overwrite_option: The overwrite option for the SSIS - environment migration. Possible values include: 'Ignore', 'Overwrite' + :param environment_overwrite_option: The overwrite option for the SSIS environment migration. + Possible values include: "Ignore", "Overwrite". :type environment_overwrite_option: str or ~azure.mgmt.datamigration.models.SsisMigrationOverwriteOption """ @@ -11211,27 +12031,32 @@ class SsisMigrationInfo(Model): 'environment_overwrite_option': {'key': 'environmentOverwriteOption', 'type': 'str'}, } - def __init__(self, *, ssis_store_type=None, project_overwrite_option=None, environment_overwrite_option=None, **kwargs) -> None: + def __init__( + self, + *, + ssis_store_type: Optional[Union[str, "SsisStoreType"]] = None, + project_overwrite_option: Optional[Union[str, "SsisMigrationOverwriteOption"]] = None, + environment_overwrite_option: Optional[Union[str, "SsisMigrationOverwriteOption"]] = None, + **kwargs + ): super(SsisMigrationInfo, self).__init__(**kwargs) self.ssis_store_type = ssis_store_type self.project_overwrite_option = project_overwrite_option self.environment_overwrite_option = environment_overwrite_option -class StartMigrationScenarioServerRoleResult(Model): +class StartMigrationScenarioServerRoleResult(msrest.serialization.Model): """Server role migration result. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar name: Name of server role. :vartype name: str - :ivar state: Current state of migration. Possible values include: 'None', - 'InProgress', 'Failed', 'Warning', 'Completed', 'Skipped', 'Stopped' + :ivar state: Current state of migration. Possible values include: "None", "InProgress", + "Failed", "Warning", "Completed", "Skipped", "Stopped". :vartype state: str or ~azure.mgmt.datamigration.models.MigrationState :ivar exceptions_and_warnings: Migration exceptions and warnings. - :vartype exceptions_and_warnings: - list[~azure.mgmt.datamigration.models.ReportableException] + :vartype exceptions_and_warnings: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11246,18 +12071,20 @@ class StartMigrationScenarioServerRoleResult(Model): 'exceptions_and_warnings': {'key': 'exceptionsAndWarnings', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(StartMigrationScenarioServerRoleResult, self).__init__(**kwargs) self.name = None self.state = None self.exceptions_and_warnings = None -class SyncMigrationDatabaseErrorEvent(Model): +class SyncMigrationDatabaseErrorEvent(msrest.serialization.Model): """Database migration errors for online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar timestamp_string: String value of timestamp. :vartype timestamp_string: str @@ -11279,14 +12106,43 @@ class SyncMigrationDatabaseErrorEvent(Model): 'event_text': {'key': 'eventText', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(SyncMigrationDatabaseErrorEvent, self).__init__(**kwargs) self.timestamp_string = None self.event_type_string = None self.event_text = None -class UploadOCIDriverTaskInput(Model): +class TaskList(msrest.serialization.Model): + """OData page of tasks. + + :param value: List of tasks. + :type value: list[~azure.mgmt.datamigration.models.ProjectTask] + :param next_link: URL to load the next page of tasks. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ProjectTask]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ProjectTask"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(TaskList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class UploadOCIDriverTaskInput(msrest.serialization.Model): """Input for the service task to upload an OCI driver. :param driver_share: File share information for the OCI driver archive. @@ -11297,23 +12153,25 @@ class UploadOCIDriverTaskInput(Model): 'driver_share': {'key': 'driverShare', 'type': 'FileShare'}, } - def __init__(self, *, driver_share=None, **kwargs) -> None: + def __init__( + self, + *, + driver_share: Optional["FileShare"] = None, + **kwargs + ): super(UploadOCIDriverTaskInput, self).__init__(**kwargs) self.driver_share = driver_share -class UploadOCIDriverTaskOutput(Model): +class UploadOCIDriverTaskOutput(msrest.serialization.Model): """Output for the service task to upload an OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar driver_package_name: The name of the driver package that was - validated and uploaded. + :ivar driver_package_name: The name of the driver package that was validated and uploaded. :vartype driver_package_name: str - :ivar validation_errors: Validation errors - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Validation errors. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11326,7 +12184,10 @@ class UploadOCIDriverTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(UploadOCIDriverTaskOutput, self).__init__(**kwargs) self.driver_package_name = None self.validation_errors = None @@ -11335,139 +12196,136 @@ def __init__(self, **kwargs) -> None: class UploadOCIDriverTaskProperties(ProjectTaskProperties): """Properties for the task that uploads an OCI driver. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Input for the service task to upload an OCI driver. :type input: ~azure.mgmt.datamigration.models.UploadOCIDriverTaskInput :ivar output: Task output. This is ignored if submitted. - :vartype output: - list[~azure.mgmt.datamigration.models.UploadOCIDriverTaskOutput] + :vartype output: list[~azure.mgmt.datamigration.models.UploadOCIDriverTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'UploadOCIDriverTaskInput'}, 'output': {'key': 'output', 'type': '[UploadOCIDriverTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["UploadOCIDriverTaskInput"] = None, + **kwargs + ): super(UploadOCIDriverTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Service.Upload.OCI' # type: str self.input = input self.output = None - self.task_type = 'Service.Upload.OCI' class ValidateMigrationInputSqlServerSqlDbSyncTaskProperties(ProjectTaskProperties): - """Properties for task that validates migration input for SQL to Azure SQL DB - sync migrations. + """Properties for task that validates migration input for SQL to Azure SQL DB sync migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ValidateSyncMigrationInputSqlServerTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ValidateSyncMigrationInputSqlServerTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ValidateSyncMigrationInputSqlServerTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateSyncMigrationInputSqlServerTaskInput'}, 'output': {'key': 'output', 'type': '[ValidateSyncMigrationInputSqlServerTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ValidateSyncMigrationInputSqlServerTaskInput"] = None, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ValidateMigrationInput.SqlServer.SqlDb.Sync' # type: str self.input = input self.output = None - self.task_type = 'ValidateMigrationInput.SqlServer.SqlDb.Sync' class ValidateMigrationInputSqlServerSqlMISyncTaskInput(SqlServerSqlMISyncTaskInput): - """Input for task that migrates SQL Server databases to Azure SQL Database - Managed Instance online scenario. + """Input for task that migrates SQL Server databases to Azure SQL Database Managed Instance online scenario. All required parameters must be populated in order to send to Azure. - :param selected_databases: Required. Databases to migrate + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param storage_resource_id: Required. Fully qualified resourceId of - storage + :param storage_resource_id: Required. Fully qualified resourceId of storage. :type storage_resource_id: str - :param source_connection_info: Required. Connection information for source - SQL Server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Connection information for Azure - SQL Database Managed Instance - :type target_connection_info: - ~azure.mgmt.datamigration.models.MiSqlConnectionInfo - :param azure_app: Required. Azure Active Directory Application the DMS - instance will use to connect to the target instance of Azure SQL Database - Managed Instance and the Azure Storage Account + :param source_connection_info: Required. Connection information for source SQL Server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Connection information for Azure SQL Database Managed + Instance. + :type target_connection_info: ~azure.mgmt.datamigration.models.MiSqlConnectionInfo + :param azure_app: Required. Azure Active Directory Application the DMS instance will use to + connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage + Account. :type azure_app: ~azure.mgmt.datamigration.models.AzureActiveDirectoryApp """ @@ -11488,24 +12346,31 @@ class ValidateMigrationInputSqlServerSqlMISyncTaskInput(SqlServerSqlMISyncTaskIn 'azure_app': {'key': 'azureApp', 'type': 'AzureActiveDirectoryApp'}, } - def __init__(self, *, selected_databases, storage_resource_id: str, source_connection_info, target_connection_info, azure_app, backup_file_share=None, **kwargs) -> None: + def __init__( + self, + *, + selected_databases: List["MigrateSqlServerSqlMIDatabaseInput"], + storage_resource_id: str, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "MiSqlConnectionInfo", + azure_app: "AzureActiveDirectoryApp", + backup_file_share: Optional["FileShare"] = None, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMISyncTaskInput, self).__init__(selected_databases=selected_databases, backup_file_share=backup_file_share, storage_resource_id=storage_resource_id, source_connection_info=source_connection_info, target_connection_info=target_connection_info, azure_app=azure_app, **kwargs) -class ValidateMigrationInputSqlServerSqlMISyncTaskOutput(Model): - """Output for task that validates migration input for Azure SQL Database - Managed Instance online migration. +class ValidateMigrationInputSqlServerSqlMISyncTaskOutput(msrest.serialization.Model): + """Output for task that validates migration input for Azure SQL Database Managed Instance online migration. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Database identifier + :ivar id: Database identifier. :vartype id: str - :ivar name: Name of database + :ivar name: Name of database. :vartype name: str - :ivar validation_errors: Errors associated with a selected database object - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Errors associated with a selected database object. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11520,7 +12385,10 @@ class ValidateMigrationInputSqlServerSqlMISyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMISyncTaskOutput, self).__init__(**kwargs) self.id = None self.name = None @@ -11528,89 +12396,83 @@ def __init__(self, **kwargs) -> None: class ValidateMigrationInputSqlServerSqlMISyncTaskProperties(ProjectTaskProperties): - """Properties for task that validates migration input for SQL to Azure SQL - Database Managed Instance sync scenario. + """Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance sync scenario. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMISyncTaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMISyncTaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMISyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateMigrationInputSqlServerSqlMISyncTaskInput'}, 'output': {'key': 'output', 'type': '[ValidateMigrationInputSqlServerSqlMISyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ValidateMigrationInputSqlServerSqlMISyncTaskInput"] = None, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMISyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS' # type: str self.input = input self.output = None - self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS' -class ValidateMigrationInputSqlServerSqlMITaskInput(Model): - """Input for task that validates migration input for SQL to Azure SQL Managed - Instance. +class ValidateMigrationInputSqlServerSqlMITaskInput(msrest.serialization.Model): + """Input for task that validates migration input for SQL to Azure SQL Managed Instance. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlMIDatabaseInput] - :param selected_logins: Logins to migrate + :param selected_logins: Logins to migrate. :type selected_logins: list[str] - :param backup_file_share: Backup file share information for all selected - databases. + :param backup_file_share: Backup file share information for all selected databases. :type backup_file_share: ~azure.mgmt.datamigration.models.FileShare - :param backup_blob_share: Required. SAS URI of Azure Storage Account - Container to be used for storing backup files. + :param backup_blob_share: Required. SAS URI of Azure Storage Account Container to be used for + storing backup files. :type backup_blob_share: ~azure.mgmt.datamigration.models.BlobShare - :param backup_mode: Backup Mode to specify whether to use existing backup - or create new backup. Possible values include: 'CreateBackup', - 'ExistingBackup' + :param backup_mode: Backup Mode to specify whether to use existing backup or create new backup. + Possible values include: "CreateBackup", "ExistingBackup". :type backup_mode: str or ~azure.mgmt.datamigration.models.BackupMode """ @@ -11631,7 +12493,18 @@ class ValidateMigrationInputSqlServerSqlMITaskInput(Model): 'backup_mode': {'key': 'backupMode', 'type': 'str'}, } - def __init__(self, *, source_connection_info, target_connection_info, selected_databases, backup_blob_share, selected_logins=None, backup_file_share=None, backup_mode=None, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + selected_databases: List["MigrateSqlServerSqlMIDatabaseInput"], + backup_blob_share: "BlobShare", + selected_logins: Optional[List[str]] = None, + backup_file_share: Optional["FileShare"] = None, + backup_mode: Optional[Union[str, "BackupMode"]] = None, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMITaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.target_connection_info = target_connection_info @@ -11642,40 +12515,31 @@ def __init__(self, *, source_connection_info, target_connection_info, selected_d self.backup_mode = backup_mode -class ValidateMigrationInputSqlServerSqlMITaskOutput(Model): - """Output for task that validates migration input for SQL to Azure SQL Managed - Instance migrations. +class ValidateMigrationInputSqlServerSqlMITaskOutput(msrest.serialization.Model): + """Output for task that validates migration input for SQL to Azure SQL Managed Instance migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Result identifier + :ivar id: Result identifier. :vartype id: str - :ivar name: Name of database + :ivar name: Name of database. :vartype name: str - :ivar restore_database_name_errors: Errors associated with the - RestoreDatabaseName + :ivar restore_database_name_errors: Errors associated with the RestoreDatabaseName. :vartype restore_database_name_errors: list[~azure.mgmt.datamigration.models.ReportableException] - :ivar backup_folder_errors: Errors associated with the BackupFolder path - :vartype backup_folder_errors: - list[~azure.mgmt.datamigration.models.ReportableException] - :ivar backup_share_credentials_errors: Errors associated with backup share - user name and password credentials + :ivar backup_folder_errors: Errors associated with the BackupFolder path. + :vartype backup_folder_errors: list[~azure.mgmt.datamigration.models.ReportableException] + :ivar backup_share_credentials_errors: Errors associated with backup share user name and + password credentials. :vartype backup_share_credentials_errors: list[~azure.mgmt.datamigration.models.ReportableException] - :ivar backup_storage_account_errors: Errors associated with the storage - account provided. + :ivar backup_storage_account_errors: Errors associated with the storage account provided. :vartype backup_storage_account_errors: list[~azure.mgmt.datamigration.models.ReportableException] - :ivar existing_backup_errors: Errors associated with existing backup - files. - :vartype existing_backup_errors: - list[~azure.mgmt.datamigration.models.ReportableException] - :param database_backup_info: Information about backup files when existing - backup mode is used. - :type database_backup_info: - ~azure.mgmt.datamigration.models.DatabaseBackupInfo + :ivar existing_backup_errors: Errors associated with existing backup files. + :vartype existing_backup_errors: list[~azure.mgmt.datamigration.models.ReportableException] + :param database_backup_info: Information about backup files when existing backup mode is used. + :type database_backup_info: ~azure.mgmt.datamigration.models.DatabaseBackupInfo """ _validation = { @@ -11699,7 +12563,12 @@ class ValidateMigrationInputSqlServerSqlMITaskOutput(Model): 'database_backup_info': {'key': 'databaseBackupInfo', 'type': 'DatabaseBackupInfo'}, } - def __init__(self, *, database_backup_info=None, **kwargs) -> None: + def __init__( + self, + *, + database_backup_info: Optional["DatabaseBackupInfo"] = None, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMITaskOutput, self).__init__(**kwargs) self.id = None self.name = None @@ -11712,183 +12581,183 @@ def __init__(self, *, database_backup_info=None, **kwargs) -> None: class ValidateMigrationInputSqlServerSqlMITaskProperties(ProjectTaskProperties): - """Properties for task that validates migration input for SQL to Azure SQL - Database Managed Instance. + """Properties for task that validates migration input for SQL to Azure SQL Database Managed Instance. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: Task input - :type input: - ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskInput + :param input: Task input. + :type input: ~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskInput :ivar output: Task output. This is ignored if submitted. :vartype output: list[~azure.mgmt.datamigration.models.ValidateMigrationInputSqlServerSqlMITaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'ValidateMigrationInputSqlServerSqlMITaskInput'}, 'output': {'key': 'output', 'type': '[ValidateMigrationInputSqlServerSqlMITaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["ValidateMigrationInputSqlServerSqlMITaskInput"] = None, + **kwargs + ): super(ValidateMigrationInputSqlServerSqlMITaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI' # type: str self.input = input self.output = None - self.task_type = 'ValidateMigrationInput.SqlServer.AzureSqlDbMI' class ValidateMongoDbTaskProperties(ProjectTaskProperties): - """Properties for the task that validates a migration between MongoDB data - sources. + """Properties for the task that validates a migration between MongoDB data sources. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: + :param input: Describes how a MongoDB data migration should be performed. :type input: ~azure.mgmt.datamigration.models.MongoDbMigrationSettings - :ivar output: An array containing a single MongoDbMigrationProgress object - :vartype output: - list[~azure.mgmt.datamigration.models.MongoDbMigrationProgress] + :ivar output: An array containing a single MongoDbMigrationProgress object. + :vartype output: list[~azure.mgmt.datamigration.models.MongoDbMigrationProgress] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MongoDbMigrationSettings'}, 'output': {'key': 'output', 'type': '[MongoDbMigrationProgress]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MongoDbMigrationSettings"] = None, + **kwargs + ): super(ValidateMongoDbTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Validate.MongoDb' # type: str self.input = input self.output = None - self.task_type = 'Validate.MongoDb' class ValidateOracleAzureDbForPostgreSqlSyncTaskProperties(ProjectTaskProperties): - """Properties for the task that validates a migration for Oracle to Azure - Database for PostgreSQL for online migrations. + """Properties for the task that validates a migration for Oracle to Azure Database for PostgreSQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :param task_type: Required. Task type.Constant filled by server. + :type task_type: str :ivar errors: Array of errors. This is ignored if submitted. :vartype errors: list[~azure.mgmt.datamigration.models.ODataError] - :ivar state: The state of the task. This is ignored if submitted. Possible - values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', - 'Failed', 'FailedInputValidation', 'Faulted' + :ivar state: The state of the task. This is ignored if submitted. Possible values include: + "Unknown", "Queued", "Running", "Canceled", "Succeeded", "Failed", "FailedInputValidation", + "Faulted". :vartype state: str or ~azure.mgmt.datamigration.models.TaskState :ivar commands: Array of command properties. - :vartype commands: - list[~azure.mgmt.datamigration.models.CommandProperties] - :param client_data: Key value pairs of client data to attach meta data - information to task + :vartype commands: list[~azure.mgmt.datamigration.models.CommandProperties] + :param client_data: Key value pairs of client data to attach meta data information to task. :type client_data: dict[str, str] - :param task_type: Required. Constant filled by server. - :type task_type: str - :param input: - :type input: - ~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskInput - :ivar output: An array containing a single validation error response - object + :param input: Input for the task that migrates Oracle databases to Azure Database for + PostgreSQL for online migrations. + :type input: ~azure.mgmt.datamigration.models.MigrateOracleAzureDbPostgreSqlSyncTaskInput + :ivar output: An array containing a single validation error response object. :vartype output: list[~azure.mgmt.datamigration.models.ValidateOracleAzureDbPostgreSqlSyncTaskOutput] """ _validation = { + 'task_type': {'required': True}, 'errors': {'readonly': True}, 'state': {'readonly': True}, 'commands': {'readonly': True}, - 'task_type': {'required': True}, 'output': {'readonly': True}, } _attribute_map = { + 'task_type': {'key': 'taskType', 'type': 'str'}, 'errors': {'key': 'errors', 'type': '[ODataError]'}, 'state': {'key': 'state', 'type': 'str'}, 'commands': {'key': 'commands', 'type': '[CommandProperties]'}, 'client_data': {'key': 'clientData', 'type': '{str}'}, - 'task_type': {'key': 'taskType', 'type': 'str'}, 'input': {'key': 'input', 'type': 'MigrateOracleAzureDbPostgreSqlSyncTaskInput'}, 'output': {'key': 'output', 'type': '[ValidateOracleAzureDbPostgreSqlSyncTaskOutput]'}, } - def __init__(self, *, client_data=None, input=None, **kwargs) -> None: + def __init__( + self, + *, + client_data: Optional[Dict[str, str]] = None, + input: Optional["MigrateOracleAzureDbPostgreSqlSyncTaskInput"] = None, + **kwargs + ): super(ValidateOracleAzureDbForPostgreSqlSyncTaskProperties, self).__init__(client_data=client_data, **kwargs) + self.task_type = 'Validate.Oracle.AzureDbPostgreSql.Sync' # type: str self.input = input self.output = None - self.task_type = 'Validate.Oracle.AzureDbPostgreSql.Sync' -class ValidateOracleAzureDbPostgreSqlSyncTaskOutput(Model): - """Output for task that validates migration input for Oracle to Azure Database - for PostgreSQL for online migrations. +class ValidateOracleAzureDbPostgreSqlSyncTaskOutput(msrest.serialization.Model): + """Output for task that validates migration input for Oracle to Azure Database for PostgreSQL for online migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar validation_errors: Errors associated with a selected database object - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Errors associated with a selected database object. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11899,25 +12768,24 @@ class ValidateOracleAzureDbPostgreSqlSyncTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ValidateOracleAzureDbPostgreSqlSyncTaskOutput, self).__init__(**kwargs) self.validation_errors = None -class ValidateSyncMigrationInputSqlServerTaskInput(Model): +class ValidateSyncMigrationInputSqlServerTaskInput(msrest.serialization.Model): """Input for task that validates migration input for SQL sync migrations. All required parameters must be populated in order to send to Azure. - :param source_connection_info: Required. Information for connecting to - source SQL server - :type source_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param target_connection_info: Required. Information for connecting to - target - :type target_connection_info: - ~azure.mgmt.datamigration.models.SqlConnectionInfo - :param selected_databases: Required. Databases to migrate + :param source_connection_info: Required. Information for connecting to source SQL server. + :type source_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param target_connection_info: Required. Information for connecting to target. + :type target_connection_info: ~azure.mgmt.datamigration.models.SqlConnectionInfo + :param selected_databases: Required. Databases to migrate. :type selected_databases: list[~azure.mgmt.datamigration.models.MigrateSqlServerSqlDbSyncDatabaseInput] """ @@ -11934,26 +12802,31 @@ class ValidateSyncMigrationInputSqlServerTaskInput(Model): 'selected_databases': {'key': 'selectedDatabases', 'type': '[MigrateSqlServerSqlDbSyncDatabaseInput]'}, } - def __init__(self, *, source_connection_info, target_connection_info, selected_databases, **kwargs) -> None: + def __init__( + self, + *, + source_connection_info: "SqlConnectionInfo", + target_connection_info: "SqlConnectionInfo", + selected_databases: List["MigrateSqlServerSqlDbSyncDatabaseInput"], + **kwargs + ): super(ValidateSyncMigrationInputSqlServerTaskInput, self).__init__(**kwargs) self.source_connection_info = source_connection_info self.target_connection_info = target_connection_info self.selected_databases = selected_databases -class ValidateSyncMigrationInputSqlServerTaskOutput(Model): +class ValidateSyncMigrationInputSqlServerTaskOutput(msrest.serialization.Model): """Output for task that validates migration input for SQL sync migrations. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Database identifier + :ivar id: Database identifier. :vartype id: str - :ivar name: Name of database + :ivar name: Name of database. :vartype name: str - :ivar validation_errors: Errors associated with a selected database object - :vartype validation_errors: - list[~azure.mgmt.datamigration.models.ReportableException] + :ivar validation_errors: Errors associated with a selected database object. + :vartype validation_errors: list[~azure.mgmt.datamigration.models.ReportableException] """ _validation = { @@ -11968,20 +12841,22 @@ class ValidateSyncMigrationInputSqlServerTaskOutput(Model): 'validation_errors': {'key': 'validationErrors', 'type': '[ReportableException]'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ValidateSyncMigrationInputSqlServerTaskOutput, self).__init__(**kwargs) self.id = None self.name = None self.validation_errors = None -class ValidationError(Model): +class ValidationError(msrest.serialization.Model): """Description about the errors happen while performing migration validation. - :param text: Error Text + :param text: Error Text. :type text: str - :param severity: Severity of the error. Possible values include: - 'Message', 'Warning', 'Error' + :param severity: Severity of the error. Possible values include: "Message", "Warning", "Error". :type severity: str or ~azure.mgmt.datamigration.models.Severity """ @@ -11990,21 +12865,26 @@ class ValidationError(Model): 'severity': {'key': 'severity', 'type': 'str'}, } - def __init__(self, *, text: str=None, severity=None, **kwargs) -> None: + def __init__( + self, + *, + text: Optional[str] = None, + severity: Optional[Union[str, "Severity"]] = None, + **kwargs + ): super(ValidationError, self).__init__(**kwargs) self.text = text self.severity = severity -class WaitStatistics(Model): +class WaitStatistics(msrest.serialization.Model): """Wait statistics gathered during query batch execution. - :param wait_type: Type of the Wait + :param wait_type: Type of the Wait. :type wait_type: str - :param wait_time_ms: Total wait time in millisecond(s) . Default value: 0 - . + :param wait_time_ms: Total wait time in millisecond(s). :type wait_time_ms: float - :param wait_count: Total no. of waits + :param wait_count: Total no. of waits. :type wait_count: long """ @@ -12014,7 +12894,14 @@ class WaitStatistics(Model): 'wait_count': {'key': 'waitCount', 'type': 'long'}, } - def __init__(self, *, wait_type: str=None, wait_time_ms: float=0, wait_count: int=None, **kwargs) -> None: + def __init__( + self, + *, + wait_type: Optional[str] = None, + wait_time_ms: Optional[float] = 0, + wait_count: Optional[int] = None, + **kwargs + ): super(WaitStatistics, self).__init__(**kwargs) self.wait_type = wait_type self.wait_time_ms = wait_time_ms diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_paged_models.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_paged_models.py deleted file mode 100644 index 4d6ecdca2dd..00000000000 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/models/_paged_models.py +++ /dev/null @@ -1,118 +0,0 @@ -# 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.paging import Paged - - -class ResourceSkuPaged(Paged): - """ - A paging container for iterating over a list of :class:`ResourceSku ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[ResourceSku]'} - } - - def __init__(self, *args, **kwargs): - - super(ResourceSkuPaged, self).__init__(*args, **kwargs) -class AvailableServiceSkuPaged(Paged): - """ - A paging container for iterating over a list of :class:`AvailableServiceSku ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[AvailableServiceSku]'} - } - - def __init__(self, *args, **kwargs): - - super(AvailableServiceSkuPaged, self).__init__(*args, **kwargs) -class DataMigrationServicePaged(Paged): - """ - A paging container for iterating over a list of :class:`DataMigrationService ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[DataMigrationService]'} - } - - def __init__(self, *args, **kwargs): - - super(DataMigrationServicePaged, self).__init__(*args, **kwargs) -class ProjectTaskPaged(Paged): - """ - A paging container for iterating over a list of :class:`ProjectTask ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[ProjectTask]'} - } - - def __init__(self, *args, **kwargs): - - super(ProjectTaskPaged, self).__init__(*args, **kwargs) -class ProjectPaged(Paged): - """ - A paging container for iterating over a list of :class:`Project ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Project]'} - } - - def __init__(self, *args, **kwargs): - - super(ProjectPaged, self).__init__(*args, **kwargs) -class QuotaPaged(Paged): - """ - A paging container for iterating over a list of :class:`Quota ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Quota]'} - } - - def __init__(self, *args, **kwargs): - - super(QuotaPaged, self).__init__(*args, **kwargs) -class ServiceOperationPaged(Paged): - """ - A paging container for iterating over a list of :class:`ServiceOperation ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[ServiceOperation]'} - } - - def __init__(self, *args, **kwargs): - - super(ServiceOperationPaged, self).__init__(*args, **kwargs) -class ProjectFilePaged(Paged): - """ - A paging container for iterating over a list of :class:`ProjectFile ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[ProjectFile]'} - } - - def __init__(self, *args, **kwargs): - - super(ProjectFilePaged, self).__init__(*args, **kwargs) diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/__init__.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/__init__.py index a3319d1ca33..6fcef949b4a 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/__init__.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/__init__.py @@ -1,12 +1,9 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from ._resource_skus_operations import ResourceSkusOperations diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_files_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_files_operations.py index 70e7f635352..9d7a7913701 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_files_operations.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_files_operations.py @@ -1,547 +1,568 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class FilesOperations(object): """FilesOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API. Constant value: "2018-07-15-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-15-preview" - - self.config = config + self._config = config def list( - self, group_name, service_name, project_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.FileList"] """Get files in a project. - The project resource is a nested resource representing a stored - migration project. This method returns a list of files owned by a - project resource. + The project resource is a nested resource representing a stored migration project. This method + returns a list of files owned by a project resource. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of ProjectFile - :rtype: - ~azure.mgmt.datamigration.models.ProjectFilePaged[~azure.mgmt.datamigration.models.ProjectFile] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FileList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.FileList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FileList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] + url = self.list.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'projectName': self._serialize.url("project_name", project_name, 'str') + 'projectName': self._serialize.url("project_name", project_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('FileList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) - - return response + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ProjectFilePaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files'} + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files'} # type: ignore def get( - self, group_name, service_name, project_name, file_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + file_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectFile" """Get file information. - The files resource is a nested, proxy-only resource representing a file - stored under the project resource. This method retrieves information - about a file. + The files resource is a nested, proxy-only resource representing a file stored under the + project resource. This method retrieves information about a file. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param file_name: Name of the File + :param file_name: Name of the File. :type file_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectFile or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectFile or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectFile, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectFile + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectFile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'fileName': self._serialize.url("file_name", file_name, 'str') + 'fileName': self._serialize.url("file_name", file_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ProjectFile', response) + deserialized = self._deserialize('ProjectFile', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} # type: ignore def create_or_update( - self, group_name, service_name, project_name, file_name, etag=None, properties=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + file_name, # type: str + parameters, # type: "_models.ProjectFile" + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectFile" """Create a file resource. The PUT method creates a new file or updates an existing one. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param file_name: Name of the File + :param file_name: Name of the File. :type file_name: str - :param etag: HTTP strong entity tag value. This is ignored if - submitted. - :type etag: str - :param properties: Custom file properties - :type properties: - ~azure.mgmt.datamigration.models.ProjectFileProperties - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectFile or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectFile or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Information about the file. + :type parameters: ~azure.mgmt.datamigration.models.ProjectFile + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectFile, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectFile + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.ProjectFile(etag=etag, properties=properties) + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectFile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.create_or_update.metadata['url'] + url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'fileName': self._serialize.url("file_name", file_name, 'str') + 'fileName': self._serialize.url("file_name", file_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ProjectFile') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectFile') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 201]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: - deserialized = self._deserialize('ProjectFile', response) + deserialized = self._deserialize('ProjectFile', pipeline_response) + if response.status_code == 201: - deserialized = self._deserialize('ProjectFile', response) + deserialized = self._deserialize('ProjectFile', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} # type: ignore def delete( - self, group_name, service_name, project_name, file_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + file_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None """Delete file. This method deletes a file. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param file_name: Name of the File + :param file_name: Name of the File. :type file_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: None or ClientRawResponse if raw=true - :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self.delete.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'fileName': self._serialize.url("file_name", file_name, 'str') + 'fileName': self._serialize.url("file_name", file_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 204]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} # type: ignore def update( - self, group_name, service_name, project_name, file_name, etag=None, properties=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + file_name, # type: str + parameters, # type: "_models.ProjectFile" + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectFile" """Update a file. This method updates an existing file. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param file_name: Name of the File + :param file_name: Name of the File. :type file_name: str - :param etag: HTTP strong entity tag value. This is ignored if - submitted. - :type etag: str - :param properties: Custom file properties - :type properties: - ~azure.mgmt.datamigration.models.ProjectFileProperties - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectFile or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectFile or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Information about the file. + :type parameters: ~azure.mgmt.datamigration.models.ProjectFile + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectFile, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectFile + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.ProjectFile(etag=etag, properties=properties) + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectFile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.update.metadata['url'] + url = self.update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'fileName': self._serialize.url("file_name", file_name, 'str') + 'fileName': self._serialize.url("file_name", file_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ProjectFile') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectFile') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ProjectFile', response) + deserialized = self._deserialize('ProjectFile', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'} # type: ignore def read( - self, group_name, service_name, project_name, file_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + file_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.FileStorageInfo" """Request storage information for downloading the file content. - This method is used for requesting storage information using which - contents of the file can be downloaded. + This method is used for requesting storage information using which contents of the file can be + downloaded. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param file_name: Name of the File + :param file_name: Name of the File. :type file_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: FileStorageInfo or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.FileStorageInfo or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FileStorageInfo, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.FileStorageInfo + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FileStorageInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.read.metadata['url'] + url = self.read.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'fileName': self._serialize.url("file_name", file_name, 'str') + 'fileName': self._serialize.url("file_name", file_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('FileStorageInfo', response) + deserialized = self._deserialize('FileStorageInfo', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - read.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read'} + read.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read'} # type: ignore def read_write( - self, group_name, service_name, project_name, file_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + file_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.FileStorageInfo" """Request information for reading and writing file content. - This method is used for requesting information for reading and writing - the file content. + This method is used for requesting information for reading and writing the file content. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param file_name: Name of the File + :param file_name: Name of the File. :type file_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: FileStorageInfo or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.FileStorageInfo or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FileStorageInfo, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.FileStorageInfo + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FileStorageInfo"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.read_write.metadata['url'] + url = self.read_write.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'fileName': self._serialize.url("file_name", file_name, 'str') + 'fileName': self._serialize.url("file_name", file_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('FileStorageInfo', response) + deserialized = self._deserialize('FileStorageInfo', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - read_write.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite'} + read_write.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_operations.py index def6196e99d..43150ee4ea9 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_operations.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_operations.py @@ -1,103 +1,112 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class Operations(object): """Operations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API. Constant value: "2018-07-15-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-15-preview" - - self.config = config + self._config = config def list( - self, custom_headers=None, raw=False, **operation_config): + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ServiceOperationList"] """Get available resource provider actions (operations). - Lists all available actions exposed by the Database Migration Service - resource provider. - - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of ServiceOperation - :rtype: - ~azure.mgmt.datamigration.models.ServiceOperationPaged[~azure.mgmt.datamigration.models.ServiceOperation] - :raises: - :class:`ApiErrorException` + Lists all available actions exposed by the Database Migration Service resource provider. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceOperationList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.ServiceOperationList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceOperationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] - + url = self.list.metadata['url'] # type: ignore # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceOperationList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) - - return response + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ServiceOperationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list.metadata = {'url': '/providers/Microsoft.DataMigration/operations'} + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.DataMigration/operations'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_projects_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_projects_operations.py index 042c4eeea4e..93839c1aea3 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_projects_operations.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_projects_operations.py @@ -1,391 +1,415 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ProjectsOperations(object): """ProjectsOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API. Constant value: "2018-07-15-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-15-preview" - - self.config = config + self._config = config def list( - self, group_name, service_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ProjectList"] """Get projects in a service. - The project resource is a nested resource representing a stored - migration project. This method returns a list of projects owned by a - service resource. + The project resource is a nested resource representing a stored migration project. This method + returns a list of projects owned by a service resource. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of Project - :rtype: - ~azure.mgmt.datamigration.models.ProjectPaged[~azure.mgmt.datamigration.models.Project] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ProjectList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.ProjectList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] + url = self.list.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ProjectList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - return response + return pipeline_response - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ProjectPaged(internal_paging, self._deserialize.dependencies, header_dict) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects'} + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects'} # type: ignore def create_or_update( - self, parameters, group_name, service_name, project_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + parameters, # type: "_models.Project" + **kwargs # type: Any + ): + # type: (...) -> "_models.Project" """Create or update project. - The project resource is a nested resource representing a stored - migration project. The PUT method creates a new project or updates an - existing one. + The project resource is a nested resource representing a stored migration project. The PUT + method creates a new project or updates an existing one. - :param parameters: Information about the project - :type parameters: ~azure.mgmt.datamigration.models.Project - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: Project or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.Project or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Information about the project. + :type parameters: ~azure.mgmt.datamigration.models.Project + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Project, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.Project + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Project"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.create_or_update.metadata['url'] + url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'projectName': self._serialize.url("project_name", project_name, 'str') + 'projectName': self._serialize.url("project_name", project_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'Project') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Project') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 201]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: - deserialized = self._deserialize('Project', response) + deserialized = self._deserialize('Project', pipeline_response) + if response.status_code == 201: - deserialized = self._deserialize('Project', response) + deserialized = self._deserialize('Project', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} # type: ignore def get( - self, group_name, service_name, project_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Project" """Get project information. - The project resource is a nested resource representing a stored - migration project. The GET method retrieves information about a - project. + The project resource is a nested resource representing a stored migration project. The GET + method retrieves information about a project. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: Project or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.Project or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Project, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.Project + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Project"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'projectName': self._serialize.url("project_name", project_name, 'str') + 'projectName': self._serialize.url("project_name", project_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('Project', response) + deserialized = self._deserialize('Project', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} # type: ignore def delete( - self, group_name, service_name, project_name, delete_running_tasks=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + delete_running_tasks=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> None """Delete project. - The project resource is a nested resource representing a stored - migration project. The DELETE method deletes a project. + The project resource is a nested resource representing a stored migration project. The DELETE + method deletes a project. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param delete_running_tasks: Delete the resource even if it contains - running tasks + :param delete_running_tasks: Delete the resource even if it contains running tasks. :type delete_running_tasks: bool - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: None or ClientRawResponse if raw=true - :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self.delete.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'projectName': self._serialize.url("project_name", project_name, 'str') + 'projectName': self._serialize.url("project_name", project_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') if delete_running_tasks is not None: query_parameters['deleteRunningTasks'] = self._serialize.query("delete_running_tasks", delete_running_tasks, 'bool') - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 204]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} # type: ignore def update( - self, parameters, group_name, service_name, project_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + parameters, # type: "_models.Project" + **kwargs # type: Any + ): + # type: (...) -> "_models.Project" """Update project. - The project resource is a nested resource representing a stored - migration project. The PATCH method updates an existing project. + The project resource is a nested resource representing a stored migration project. The PATCH + method updates an existing project. - :param parameters: Information about the project - :type parameters: ~azure.mgmt.datamigration.models.Project - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: Project or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.Project or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Information about the project. + :type parameters: ~azure.mgmt.datamigration.models.Project + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Project, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.Project + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Project"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.update.metadata['url'] + url = self.update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'projectName': self._serialize.url("project_name", project_name, 'str') + 'projectName': self._serialize.url("project_name", project_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'Project') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Project') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('Project', response) + deserialized = self._deserialize('Project', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_resource_skus_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_resource_skus_operations.py index 1b5b6015fbb..e1ec7e1e5b8 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_resource_skus_operations.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_resource_skus_operations.py @@ -1,106 +1,116 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ResourceSkusOperations(object): """ResourceSkusOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API. Constant value: "2018-07-15-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-15-preview" - - self.config = config + self._config = config def list_skus( - self, custom_headers=None, raw=False, **operation_config): + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ResourceSkusResult"] """Get supported SKUs. The skus action returns the list of SKUs that DMS supports. - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of ResourceSku - :rtype: - ~azure.mgmt.datamigration.models.ResourceSkuPaged[~azure.mgmt.datamigration.models.ResourceSku] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ResourceSkusResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.ResourceSkusResult] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ResourceSkusResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_skus.metadata['url'] + url = self.list_skus.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ResourceSkusResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) - - return response + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ResourceSkuPaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list_skus.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus'} + return ItemPaged( + get_next, extract_data + ) + list_skus.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_service_tasks_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_service_tasks_operations.py index 0e4ba0aeef2..1c6dd9958d8 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_service_tasks_operations.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_service_tasks_operations.py @@ -1,485 +1,497 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ServiceTasksOperations(object): """ServiceTasksOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API. Constant value: "2018-07-15-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-15-preview" - - self.config = config + self._config = config def list( - self, group_name, service_name, task_type=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + task_type=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TaskList"] """Get service level tasks for a service. - The services resource is the top-level resource that represents the - Database Migration Service. This method returns a list of service level - tasks owned by a service resource. Some tasks may have a status of - Unknown, which indicates that an error occurred while querying the - status of that task. + The services resource is the top-level resource that represents the Database Migration Service. + This method returns a list of service level tasks owned by a service resource. Some tasks may + have a status of Unknown, which indicates that an error occurred while querying the status of + that task. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param task_type: Filter tasks by task type + :param task_type: Filter tasks by task type. :type task_type: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of ProjectTask - :rtype: - ~azure.mgmt.datamigration.models.ProjectTaskPaged[~azure.mgmt.datamigration.models.ProjectTask] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TaskList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.TaskList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TaskList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] + url = self.list.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') if task_type is not None: query_parameters['taskType'] = self._serialize.query("task_type", task_type, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('TaskList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - return response + return pipeline_response - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ProjectTaskPaged(internal_paging, self._deserialize.dependencies, header_dict) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks'} + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks'} # type: ignore def create_or_update( - self, group_name, service_name, task_name, etag=None, properties=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + task_name, # type: str + parameters, # type: "_models.ProjectTask" + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectTask" """Create or update service task. - The service tasks resource is a nested, proxy-only resource - representing work performed by a DMS instance. The PUT method creates a - new service task or updates an existing one, although since service - tasks have no mutable custom properties, there is little reason to - update an existing one. + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. The PUT method creates a new service task or updates an existing one, although + since service tasks have no mutable custom properties, there is little reason to update an + existing one. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param etag: HTTP strong entity tag value. This is ignored if - submitted. - :type etag: str - :param properties: Custom task properties - :type properties: - ~azure.mgmt.datamigration.models.ProjectTaskProperties - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectTask or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectTask or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Information about the task. + :type parameters: ~azure.mgmt.datamigration.models.ProjectTask + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.ProjectTask(etag=etag, properties=properties) + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.create_or_update.metadata['url'] + url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ProjectTask') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectTask') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 201]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) + if response.status_code == 201: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} # type: ignore def get( - self, group_name, service_name, task_name, expand=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + task_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectTask" """Get service task information. - The service tasks resource is a nested, proxy-only resource - representing work performed by a DMS instance. The GET method retrieves - information about a service task. + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. The GET method retrieves information about a service task. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param expand: Expand the response + :param expand: Expand the response. :type expand: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectTask or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectTask or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') if expand is not None: query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} # type: ignore def delete( - self, group_name, service_name, task_name, delete_running_tasks=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + task_name, # type: str + delete_running_tasks=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> None """Delete service task. - The service tasks resource is a nested, proxy-only resource - representing work performed by a DMS instance. The DELETE method - deletes a service task, canceling it first if it's running. + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. The DELETE method deletes a service task, canceling it first if it's running. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param delete_running_tasks: Delete the resource even if it contains - running tasks + :param delete_running_tasks: Delete the resource even if it contains running tasks. :type delete_running_tasks: bool - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: None or ClientRawResponse if raw=true - :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self.delete.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') if delete_running_tasks is not None: query_parameters['deleteRunningTasks'] = self._serialize.query("delete_running_tasks", delete_running_tasks, 'bool') - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 204]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} # type: ignore def update( - self, group_name, service_name, task_name, etag=None, properties=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + task_name, # type: str + parameters, # type: "_models.ProjectTask" + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectTask" """Create or update service task. - The service tasks resource is a nested, proxy-only resource - representing work performed by a DMS instance. The PATCH method updates - an existing service task, but since service tasks have no mutable - custom properties, there is little reason to do so. + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. The PATCH method updates an existing service task, but since service tasks have + no mutable custom properties, there is little reason to do so. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param etag: HTTP strong entity tag value. This is ignored if - submitted. - :type etag: str - :param properties: Custom task properties - :type properties: - ~azure.mgmt.datamigration.models.ProjectTaskProperties - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectTask or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectTask or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Information about the task. + :type parameters: ~azure.mgmt.datamigration.models.ProjectTask + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.ProjectTask(etag=etag, properties=properties) + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.update.metadata['url'] + url = self.update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ProjectTask') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectTask') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}'} # type: ignore def cancel( - self, group_name, service_name, task_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + task_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectTask" """Cancel a service task. - The service tasks resource is a nested, proxy-only resource - representing work performed by a DMS instance. This method cancels a - service task if it's currently queued or running. + The service tasks resource is a nested, proxy-only resource representing work performed by a + DMS instance. This method cancels a service task if it's currently queued or running. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectTask or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectTask or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.cancel.metadata['url'] + url = self.cancel.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel'} + cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_services_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_services_operations.py index dc4eeabef31..7924909938b 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_services_operations.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_services_operations.py @@ -1,1003 +1,1161 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse -from msrest.polling import LROPoller, NoPolling -from msrestazure.polling.arm_polling import ARMPolling +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ServicesOperations(object): """ServicesOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API. Constant value: "2018-07-15-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-15-preview" - - self.config = config - + self._config = config def _create_or_update_initial( - self, parameters, group_name, service_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + parameters, # type: "_models.DataMigrationService" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.DataMigrationService"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.DataMigrationService"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.create_or_update.metadata['url'] + url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'DataMigrationService') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataMigrationService') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 201, 202]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('DataMigrationService', response) + deserialized = self._deserialize('DataMigrationService', pipeline_response) + if response.status_code == 201: - deserialized = self._deserialize('DataMigrationService', response) + deserialized = self._deserialize('DataMigrationService', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - - def create_or_update( - self, parameters, group_name, service_name, custom_headers=None, raw=False, polling=True, **operation_config): + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + def begin_create_or_update( + self, + group_name, # type: str + service_name, # type: str + parameters, # type: "_models.DataMigrationService" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DataMigrationService"] """Create or update DMS Instance. - The services resource is the top-level resource that represents the - Database Migration Service. The PUT method creates a new service or - updates an existing one. When a service is updated, existing child - resources (i.e. tasks) are unaffected. Services currently support a - single kind, "vm", which refers to a VM-based service, although other - kinds may be added in the future. This method can change the kind, SKU, - and network of the service, but if tasks are currently running (i.e. - the service is busy), this will fail with 400 Bad Request - ("ServiceIsBusy"). The provider will reply when successful with 200 OK - or 201 Created. Long-running operations use the provisioningState - property. - - :param parameters: Information about the service - :type parameters: - ~azure.mgmt.datamigration.models.DataMigrationService - :param group_name: Name of the resource group + The services resource is the top-level resource that represents the Database Migration Service. + The PUT method creates a new service or updates an existing one. When a service is updated, + existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, + "vm", which refers to a VM-based service, although other kinds may be added in the future. This + method can change the kind, SKU, and network of the service, but if tasks are currently running + (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider + will reply when successful with 200 OK or 201 Created. Long-running operations use the + provisioningState property. + + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns DataMigrationService or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.datamigration.models.DataMigrationService] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.datamigration.models.DataMigrationService]] - :raises: - :class:`ApiErrorException` + :param parameters: Information about the service. + :type parameters: ~azure.mgmt.datamigration.models.DataMigrationService + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DataMigrationService or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.datamigration.models.DataMigrationService] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._create_or_update_initial( - parameters=parameters, - group_name=group_name, - service_name=service_name, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationService"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - deserialized = self._deserialize('DataMigrationService', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + group_name=group_name, + service_name=service_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataMigrationService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore def get( - self, group_name, service_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataMigrationService" """Get DMS Service Instance. - The services resource is the top-level resource that represents the - Database Migration Service. The GET method retrieves information about - a service instance. + The services resource is the top-level resource that represents the Database Migration Service. + The GET method retrieves information about a service instance. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: DataMigrationService or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.DataMigrationService or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataMigrationService, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.DataMigrationService + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationService"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('DataMigrationService', response) + deserialized = self._deserialize('DataMigrationService', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} - + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore def _delete_initial( - self, group_name, service_name, delete_running_tasks=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + delete_running_tasks=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') if delete_running_tasks is not None: query_parameters['deleteRunningTasks'] = self._serialize.query("delete_running_tasks", delete_running_tasks, 'bool') - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202, 204]: - raise models.ApiErrorException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def delete( - self, group_name, service_name, delete_running_tasks=None, custom_headers=None, raw=False, polling=True, **operation_config): + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + def begin_delete( + self, + group_name, # type: str + service_name, # type: str + delete_running_tasks=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Delete DMS Service Instance. - The services resource is the top-level resource that represents the - Database Migration Service. The DELETE method deletes a service. Any - running tasks will be canceled. + The services resource is the top-level resource that represents the Database Migration Service. + The DELETE method deletes a service. Any running tasks will be canceled. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param delete_running_tasks: Delete the resource even if it contains - running tasks + :param delete_running_tasks: Delete the resource even if it contains running tasks. :type delete_running_tasks: bool - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._delete_initial( - group_name=group_name, - service_name=service_name, - delete_running_tasks=delete_running_tasks, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + group_name=group_name, + service_name=service_name, + delete_running_tasks=delete_running_tasks, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} - + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore def _update_initial( - self, parameters, group_name, service_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + parameters, # type: "_models.DataMigrationService" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.DataMigrationService"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.DataMigrationService"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.update.metadata['url'] + url = self._update_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'DataMigrationService') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DataMigrationService') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('DataMigrationService', response) + deserialized = self._deserialize('DataMigrationService', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - - def update( - self, parameters, group_name, service_name, custom_headers=None, raw=False, polling=True, **operation_config): + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore + + def begin_update( + self, + group_name, # type: str + service_name, # type: str + parameters, # type: "_models.DataMigrationService" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DataMigrationService"] """Create or update DMS Service Instance. - The services resource is the top-level resource that represents the - Database Migration Service. The PATCH method updates an existing - service. This method can change the kind, SKU, and network of the - service, but if tasks are currently running (i.e. the service is busy), - this will fail with 400 Bad Request ("ServiceIsBusy"). + The services resource is the top-level resource that represents the Database Migration Service. + The PATCH method updates an existing service. This method can change the kind, SKU, and network + of the service, but if tasks are currently running (i.e. the service is busy), this will fail + with 400 Bad Request ("ServiceIsBusy"). - :param parameters: Information about the service - :type parameters: - ~azure.mgmt.datamigration.models.DataMigrationService - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns DataMigrationService or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.datamigration.models.DataMigrationService] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.datamigration.models.DataMigrationService]] - :raises: - :class:`ApiErrorException` + :param parameters: Information about the service. + :type parameters: ~azure.mgmt.datamigration.models.DataMigrationService + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DataMigrationService or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.datamigration.models.DataMigrationService] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._update_initial( - parameters=parameters, - group_name=group_name, - service_name=service_name, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationService"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - deserialized = self._deserialize('DataMigrationService', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + group_name=group_name, + service_name=service_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DataMigrationService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}'} # type: ignore def check_status( - self, group_name, service_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DataMigrationServiceStatusResponse" """Check service health status. - The services resource is the top-level resource that represents the - Database Migration Service. This action performs a health check and - returns the status of the service and virtual machine size. + The services resource is the top-level resource that represents the Database Migration Service. + This action performs a health check and returns the status of the service and virtual machine + size. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: DataMigrationServiceStatusResponse or ClientRawResponse if - raw=true - :rtype: - ~azure.mgmt.datamigration.models.DataMigrationServiceStatusResponse or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataMigrationServiceStatusResponse, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.DataMigrationServiceStatusResponse + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationServiceStatusResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.check_status.metadata['url'] + url = self.check_status.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('DataMigrationServiceStatusResponse', response) + deserialized = self._deserialize('DataMigrationServiceStatusResponse', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - check_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus'} - + check_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus'} # type: ignore def _start_initial( - self, group_name, service_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.start.metadata['url'] + url = self._start_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ApiErrorException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def start( - self, group_name, service_name, custom_headers=None, raw=False, polling=True, **operation_config): + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start'} # type: ignore + + def begin_start( + self, + group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Start service. - The services resource is the top-level resource that represents the - Database Migration Service. This action starts the service and the - service can be used for data migration. + The services resource is the top-level resource that represents the Database Migration Service. + This action starts the service and the service can be used for data migration. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._start_initial( - group_name=group_name, - service_name=service_name, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._start_initial( + group_name=group_name, + service_name=service_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start'} - + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start'} # type: ignore def _stop_initial( - self, group_name, service_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.stop.metadata['url'] + url = self._stop_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ApiErrorException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def stop( - self, group_name, service_name, custom_headers=None, raw=False, polling=True, **operation_config): + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop'} # type: ignore + + def begin_stop( + self, + group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Stop service. - The services resource is the top-level resource that represents the - Database Migration Service. This action stops the service and the - service cannot be used for data migration. The service owner won't be - billed when the service is stopped. + The services resource is the top-level resource that represents the Database Migration Service. + This action stops the service and the service cannot be used for data migration. The service + owner won't be billed when the service is stopped. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._stop_initial( - group_name=group_name, - service_name=service_name, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_initial( + group_name=group_name, + service_name=service_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + } - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop'} # type: ignore def list_skus( - self, group_name, service_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ServiceSkuList"] """Get compatible SKUs. - The services resource is the top-level resource that represents the - Database Migration Service. The skus action returns the list of SKUs - that a service resource can be updated to. + The services resource is the top-level resource that represents the Database Migration Service. + The skus action returns the list of SKUs that a service resource can be updated to. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of AvailableServiceSku - :rtype: - ~azure.mgmt.datamigration.models.AvailableServiceSkuPaged[~azure.mgmt.datamigration.models.AvailableServiceSku] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceSkuList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.ServiceSkuList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceSkuList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_skus.metadata['url'] + url = self.list_skus.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceSkuList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) - - return response + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.AvailableServiceSkuPaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list_skus.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus'} + return ItemPaged( + get_next, extract_data + ) + list_skus.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus'} # type: ignore def check_children_name_availability( - self, group_name, service_name, name=None, type=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + parameters, # type: "_models.NameAvailabilityRequest" + **kwargs # type: Any + ): + # type: (...) -> "_models.NameAvailabilityResponse" """Check nested resource name validity and availability. - This method checks whether a proposed nested resource name is valid and - available. + This method checks whether a proposed nested resource name is valid and available. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param name: The proposed resource name - :type name: str - :param type: The resource type chain (e.g. virtualMachines/extensions) - :type type: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: NameAvailabilityResponse or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.NameAvailabilityResponse or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Requested name to validate. + :type parameters: ~azure.mgmt.datamigration.models.NameAvailabilityRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NameAvailabilityResponse, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.NameAvailabilityResponse + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.NameAvailabilityRequest(name=name, type=type) + cls = kwargs.pop('cls', None) # type: ClsType["_models.NameAvailabilityResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.check_children_name_availability.metadata['url'] + url = self.check_children_name_availability.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), - 'serviceName': self._serialize.url("service_name", service_name, 'str') + 'serviceName': self._serialize.url("service_name", service_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'NameAvailabilityRequest') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NameAvailabilityRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('NameAvailabilityResponse', response) + deserialized = self._deserialize('NameAvailabilityResponse', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - check_children_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability'} + check_children_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability'} # type: ignore def list_by_resource_group( - self, group_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataMigrationServiceList"] """Get services in resource group. - The Services resource is the top-level resource that represents the - Database Migration Service. This method returns a list of service - resources in a resource group. + The Services resource is the top-level resource that represents the Database Migration Service. + This method returns a list of service resources in a resource group. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of DataMigrationService - :rtype: - ~azure.mgmt.datamigration.models.DataMigrationServicePaged[~azure.mgmt.datamigration.models.DataMigrationService] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataMigrationServiceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.DataMigrationServiceList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationServiceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_by_resource_group.metadata['url'] + url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'groupName': self._serialize.url("group_name", group_name, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'groupName': self._serialize.url("group_name", group_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('DataMigrationServiceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) - - return response + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.DataMigrationServicePaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services'} + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services'} # type: ignore def list( - self, custom_headers=None, raw=False, **operation_config): + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DataMigrationServiceList"] """Get services in subscription. - The services resource is the top-level resource that represents the - Database Migration Service. This method returns a list of service - resources in a subscription. - - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of DataMigrationService - :rtype: - ~azure.mgmt.datamigration.models.DataMigrationServicePaged[~azure.mgmt.datamigration.models.DataMigrationService] - :raises: - :class:`ApiErrorException` + The services resource is the top-level resource that represents the Database Migration Service. + This method returns a list of service resources in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DataMigrationServiceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.DataMigrationServiceList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DataMigrationServiceList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] + url = self.list.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('DataMigrationServiceList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) - - return response + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.DataMigrationServicePaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services'} + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services'} # type: ignore def check_name_availability( - self, location, name=None, type=None, custom_headers=None, raw=False, **operation_config): + self, + location, # type: str + parameters, # type: "_models.NameAvailabilityRequest" + **kwargs # type: Any + ): + # type: (...) -> "_models.NameAvailabilityResponse" """Check name validity and availability. - This method checks whether a proposed top-level resource name is valid - and available. + This method checks whether a proposed top-level resource name is valid and available. - :param location: The Azure region of the operation + :param location: The Azure region of the operation. :type location: str - :param name: The proposed resource name - :type name: str - :param type: The resource type chain (e.g. virtualMachines/extensions) - :type type: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: NameAvailabilityResponse or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.NameAvailabilityResponse or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Requested name to validate. + :type parameters: ~azure.mgmt.datamigration.models.NameAvailabilityRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NameAvailabilityResponse, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.NameAvailabilityResponse + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.NameAvailabilityRequest(name=name, type=type) + cls = kwargs.pop('cls', None) # type: ClsType["_models.NameAvailabilityResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.check_name_availability.metadata['url'] + url = self.check_name_availability.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'location': self._serialize.url("location", location, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'NameAvailabilityRequest') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NameAvailabilityRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('NameAvailabilityResponse', response) + deserialized = self._deserialize('NameAvailabilityResponse', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability'} + check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_tasks_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_tasks_operations.py index 4f482c34a2c..ea9a4476a34 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_tasks_operations.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_tasks_operations.py @@ -1,578 +1,598 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class TasksOperations(object): """TasksOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API. Constant value: "2018-07-15-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-15-preview" - - self.config = config + self._config = config def list( - self, group_name, service_name, project_name, task_type=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + task_type=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TaskList"] """Get tasks in a service. - The services resource is the top-level resource that represents the - Database Migration Service. This method returns a list of tasks owned - by a service resource. Some tasks may have a status of Unknown, which - indicates that an error occurred while querying the status of that - task. + The services resource is the top-level resource that represents the Database Migration Service. + This method returns a list of tasks owned by a service resource. Some tasks may have a status + of Unknown, which indicates that an error occurred while querying the status of that task. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param task_type: Filter tasks by task type + :param task_type: Filter tasks by task type. :type task_type: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of ProjectTask - :rtype: - ~azure.mgmt.datamigration.models.ProjectTaskPaged[~azure.mgmt.datamigration.models.ProjectTask] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TaskList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.TaskList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TaskList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] + url = self.list.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), - 'projectName': self._serialize.url("project_name", project_name, 'str') + 'projectName': self._serialize.url("project_name", project_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') if task_type is not None: query_parameters['taskType'] = self._serialize.query("task_type", task_type, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('TaskList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) - - return response + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ProjectTaskPaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks'} + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks'} # type: ignore def create_or_update( - self, group_name, service_name, project_name, task_name, etag=None, properties=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + task_name, # type: str + parameters, # type: "_models.ProjectTask" + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectTask" """Create or update task. - The tasks resource is a nested, proxy-only resource representing work - performed by a DMS instance. The PUT method creates a new task or - updates an existing one, although since tasks have no mutable custom - properties, there is little reason to update an existing one. + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. The PUT method creates a new task or updates an existing one, although since tasks + have no mutable custom properties, there is little reason to update an existing one. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param etag: HTTP strong entity tag value. This is ignored if - submitted. - :type etag: str - :param properties: Custom task properties - :type properties: - ~azure.mgmt.datamigration.models.ProjectTaskProperties - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectTask or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectTask or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Information about the task. + :type parameters: ~azure.mgmt.datamigration.models.ProjectTask + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.ProjectTask(etag=etag, properties=properties) + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.create_or_update.metadata['url'] + url = self.create_or_update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ProjectTask') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectTask') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 201]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) + if response.status_code == 201: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} # type: ignore def get( - self, group_name, service_name, project_name, task_name, expand=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + task_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectTask" """Get task information. - The tasks resource is a nested, proxy-only resource representing work - performed by a DMS instance. The GET method retrieves information about - a task. + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. The GET method retrieves information about a task. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param expand: Expand the response + :param expand: Expand the response. :type expand: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectTask or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectTask or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') if expand is not None: query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} # type: ignore def delete( - self, group_name, service_name, project_name, task_name, delete_running_tasks=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + task_name, # type: str + delete_running_tasks=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> None """Delete task. - The tasks resource is a nested, proxy-only resource representing work - performed by a DMS instance. The DELETE method deletes a task, - canceling it first if it's running. + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. The DELETE method deletes a task, canceling it first if it's running. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param delete_running_tasks: Delete the resource even if it contains - running tasks + :param delete_running_tasks: Delete the resource even if it contains running tasks. :type delete_running_tasks: bool - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: None or ClientRawResponse if raw=true - :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self.delete.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') if delete_running_tasks is not None: query_parameters['deleteRunningTasks'] = self._serialize.query("delete_running_tasks", delete_running_tasks, 'bool') - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 204]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} # type: ignore def update( - self, group_name, service_name, project_name, task_name, etag=None, properties=None, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + task_name, # type: str + parameters, # type: "_models.ProjectTask" + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectTask" """Create or update task. - The tasks resource is a nested, proxy-only resource representing work - performed by a DMS instance. The PATCH method updates an existing task, - but since tasks have no mutable custom properties, there is little - reason to do so. + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. The PATCH method updates an existing task, but since tasks have no mutable custom + properties, there is little reason to do so. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param etag: HTTP strong entity tag value. This is ignored if - submitted. - :type etag: str - :param properties: Custom task properties - :type properties: - ~azure.mgmt.datamigration.models.ProjectTaskProperties - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectTask or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectTask or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :param parameters: Information about the task. + :type parameters: ~azure.mgmt.datamigration.models.ProjectTask + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.ProjectTask(etag=etag, properties=properties) + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.update.metadata['url'] + url = self.update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ProjectTask') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ProjectTask') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'} # type: ignore def cancel( - self, group_name, service_name, project_name, task_name, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + task_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ProjectTask" """Cancel a task. - The tasks resource is a nested, proxy-only resource representing work - performed by a DMS instance. This method cancels a task if it's - currently queued or running. + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. This method cancels a task if it's currently queued or running. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ProjectTask or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.ProjectTask or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ProjectTask, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.ProjectTask + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ProjectTask"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + # Construct URL - url = self.cancel.metadata['url'] + url = self.cancel.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ProjectTask', response) + deserialized = self._deserialize('ProjectTask', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel'} + cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel'} # type: ignore def command( - self, group_name, service_name, project_name, task_name, parameters, custom_headers=None, raw=False, **operation_config): + self, + group_name, # type: str + service_name, # type: str + project_name, # type: str + task_name, # type: str + parameters, # type: "_models.CommandProperties" + **kwargs # type: Any + ): + # type: (...) -> "_models.CommandProperties" """Execute a command on a task. - The tasks resource is a nested, proxy-only resource representing work - performed by a DMS instance. This method executes a command on a - running task. + The tasks resource is a nested, proxy-only resource representing work performed by a DMS + instance. This method executes a command on a running task. - :param group_name: Name of the resource group + :param group_name: Name of the resource group. :type group_name: str - :param service_name: Name of the service + :param service_name: Name of the service. :type service_name: str - :param project_name: Name of the project + :param project_name: Name of the project. :type project_name: str - :param task_name: Name of the Task + :param task_name: Name of the Task. :type task_name: str - :param parameters: Command to execute + :param parameters: Command to execute. :type parameters: ~azure.mgmt.datamigration.models.CommandProperties - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: CommandProperties or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.datamigration.models.CommandProperties or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CommandProperties, or the result of cls(response) + :rtype: ~azure.mgmt.datamigration.models.CommandProperties + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CommandProperties"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.command.metadata['url'] + url = self.command.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'groupName': self._serialize.url("group_name", group_name, 'str'), 'serviceName': self._serialize.url("service_name", service_name, 'str'), 'projectName': self._serialize.url("project_name", project_name, 'str'), - 'taskName': self._serialize.url("task_name", task_name, 'str') + 'taskName': self._serialize.url("task_name", task_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'CommandProperties') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CommandProperties') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('CommandProperties', response) + deserialized = self._deserialize('CommandProperties', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - command.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command'} + command.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_usages_operations.py b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_usages_operations.py index a106f782767..d7b73afe05b 100644 --- a/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_usages_operations.py +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/operations/_usages_operations.py @@ -1,110 +1,121 @@ # 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. -# +# 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. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class UsagesOperations(object): """UsagesOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.datamigration.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API. Constant value: "2018-07-15-preview". """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-15-preview" - - self.config = config + self._config = config def list( - self, location, custom_headers=None, raw=False, **operation_config): + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.QuotaList"] """Get resource quotas and usage information. - This method returns region-specific quotas and resource usage - information for the Database Migration Service. + This method returns region-specific quotas and resource usage information for the Database + Migration Service. - :param location: The Azure region of the operation + :param location: The Azure region of the operation. :type location: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of Quota - :rtype: - ~azure.mgmt.datamigration.models.QuotaPaged[~azure.mgmt.datamigration.models.Quota] - :raises: - :class:`ApiErrorException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either QuotaList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datamigration.models.QuotaList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.QuotaList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-07-15-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] + url = self.list.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'location': self._serialize.url("location", location, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('QuotaList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ApiErrorException(self._deserialize, response) - - return response + error = self._deserialize.failsafe_deserialize(_models.ApiError, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.QuotaPaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages'} + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages'} # type: ignore diff --git a/src/dms-preview/azext_dms/vendored_sdks/datamigration/py.typed b/src/dms-preview/azext_dms/vendored_sdks/datamigration/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/dms-preview/azext_dms/vendored_sdks/datamigration/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/src/dms-preview/setup.py b/src/dms-preview/setup.py index a8291c155d3..efb9de60c73 100644 --- a/src/dms-preview/setup.py +++ b/src/dms-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.14.0" +VERSION = "0.15.0" CLASSIFIERS = [ 'Development Status :: 4 - Beta', From 9f261016ee1e416fe369c0e5a7123014a97b378b Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Wed, 18 Aug 2021 11:22:27 +0800 Subject: [PATCH 12/43] [Release] Update index.json for extension [ dms-preview ] (#3784) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1053804 Last commit: https://github.com/Azure/azure-cli-extensions/commit/bd40998ee4e8903d2dcfe0db6219d8dcb9501e21 --- src/index.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/src/index.json b/src/index.json index f51ee77dd95..0110b777656 100644 --- a/src/index.json +++ b/src/index.json @@ -11122,6 +11122,51 @@ "version": "0.14.0" }, "sha256Digest": "77680dfecb50e2a017314ff2b5f2e0340fec73f225b41f5668abc561aed088cd" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/dms_preview-0.15.0-py2.py3-none-any.whl", + "filename": "dms_preview-0.15.0-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.27.0", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "arpavlic@microsoft.com", + "name": "Artyom Pavlichenko", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/dms-preview" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "dms-preview", + "summary": "Support for new Database Migration Service scenarios.", + "version": "0.15.0" + }, + "sha256Digest": "556c145c03b8d529d8e77f7b35702fb8de382891635e858f928117f33688ee9c" } ], "dnc": [ From 81dd55b46e58078b172200825be81c1acc44f52f Mon Sep 17 00:00:00 2001 From: Yishi Wang Date: Wed, 18 Aug 2021 12:40:30 +0800 Subject: [PATCH 13/43] [Datafactory] Support managed virtual network and managed private endpoint (#3778) * regenerate * regenerate param * new command groups * test yaml * linter --- src/datafactory/HISTORY.rst | 5 + src/datafactory/azext_datafactory/__init__.py | 21 +- src/datafactory/azext_datafactory/_help.py | 20 + src/datafactory/azext_datafactory/action.py | 7 +- src/datafactory/azext_datafactory/custom.py | 7 +- .../generated/_client_factory.py | 8 + .../azext_datafactory/generated/_help.py | 117 +- .../azext_datafactory/generated/_params.py | 134 +- .../azext_datafactory/generated/action.py | 79 +- .../azext_datafactory/generated/commands.py | 237 +- .../azext_datafactory/generated/custom.py | 238 +- .../tests/latest/test_datafactory_scenario.py | 245 +- .../azext_datafactory/manual/version.py | 2 +- .../tests/latest/example_steps.py | 248 +- ...enario.yaml => test_datafactory_main.yaml} | 0 ...st_datafactory_managedPrivateEndpoint.yaml | 536 ++ .../tests/latest/test_datafactory_scenario.py | 203 +- .../test_datafactory_scenario_coverage.md | 56 +- .../vendored_sdks/datafactory/__init__.py | 3 + .../datafactory/_configuration.py | 5 +- .../_data_factory_management_client.py | 40 +- .../vendored_sdks/datafactory/_version.py | 9 + .../datafactory/aio/_configuration.py | 5 +- .../datafactory/aio/_configuration_async.py | 67 - .../aio/_data_factory_management_client.py | 40 +- .../_data_factory_management_client_async.py | 143 - .../operations/_activity_runs_operations.py | 6 +- .../_data_flow_debug_session_operations.py | 18 +- .../aio/operations/_data_flows_operations.py | 10 +- .../aio/operations/_datasets_operations.py | 10 +- .../_exposure_control_operations.py | 14 +- .../aio/operations/_factories_operations.py | 28 +- .../_integration_runtime_nodes_operations.py | 10 +- ...tion_runtime_object_metadata_operations.py | 8 +- .../_integration_runtimes_operations.py | 96 +- .../operations/_linked_services_operations.py | 10 +- .../_managed_private_endpoints_operations.py | 10 +- .../_managed_virtual_networks_operations.py | 10 +- .../datafactory/aio/operations/_operations.py | 4 +- .../operations/_pipeline_runs_operations.py | 8 +- .../aio/operations/_pipelines_operations.py | 12 +- ...rivate_end_point_connections_operations.py | 4 +- ..._private_endpoint_connection_operations.py | 8 +- .../_private_link_resources_operations.py | 4 +- .../operations/_trigger_runs_operations.py | 6 +- .../aio/operations/_triggers_operations.py | 20 +- .../aio/operations_async/__init__.py | 45 - .../_activity_run_operations_async.py | 127 - ...ata_flow_debug_session_operations_async.py | 551 -- .../_data_flow_operations_async.py | 309 - .../_dataset_operations_async.py | 311 - .../_exposure_control_operations_async.py | 241 - .../_factory_operations_async.py | 658 --- ...tegration_runtime_node_operations_async.py | 301 - ...untime_object_metadata_operations_async.py | 230 - .../_integration_runtime_operations_async.py | 1176 ---- .../_linked_service_operations_async.py | 312 - ...naged_private_endpoint_operations_async.py | 336 -- ...anaged_virtual_network_operations_async.py | 255 - .../_operation_operations_async.py | 101 - .../_pipeline_operations_async.py | 405 -- .../_pipeline_run_operations_async.py | 243 - .../_trigger_operations_async.py | 877 --- .../_trigger_run_operations_async.py | 241 - .../datafactory/models/__init__.py | 53 +- .../_data_factory_management_client_enums.py | 50 +- .../datafactory/models/_models.py | 4499 +++++++++----- .../datafactory/models/_models_py3.py | 5260 +++++++++++------ .../operations/_activity_run_operations.py | 132 - .../operations/_activity_runs_operations.py | 6 +- .../_data_flow_debug_session_operations.py | 18 +- .../operations/_data_flow_operations.py | 317 - .../operations/_data_flows_operations.py | 10 +- .../operations/_dataset_operations.py | 319 - .../operations/_datasets_operations.py | 10 +- .../_exposure_control_operations.py | 14 +- .../operations/_factories_operations.py | 28 +- .../operations/_factory_operations.py | 671 --- .../_integration_runtime_node_operations.py | 309 - .../_integration_runtime_nodes_operations.py | 10 +- ...tion_runtime_object_metadata_operations.py | 8 +- .../_integration_runtime_operations.py | 1198 ---- .../_integration_runtimes_operations.py | 97 +- .../operations/_linked_service_operations.py | 320 - .../operations/_linked_services_operations.py | 10 +- .../_managed_private_endpoint_operations.py | 344 -- .../_managed_private_endpoints_operations.py | 10 +- .../_managed_virtual_network_operations.py | 262 - .../_managed_virtual_networks_operations.py | 10 +- .../operations/_operation_operations.py | 106 - .../datafactory/operations/_operations.py | 4 +- .../operations/_pipeline_operations.py | 414 -- .../operations/_pipeline_run_operations.py | 250 - .../operations/_pipeline_runs_operations.py | 8 +- .../operations/_pipelines_operations.py | 12 +- ...rivate_end_point_connections_operations.py | 4 +- ..._private_endpoint_connection_operations.py | 8 +- .../_private_link_resources_operations.py | 4 +- .../operations/_trigger_operations.py | 895 --- .../operations/_trigger_run_operations.py | 248 - .../operations/_trigger_runs_operations.py | 6 +- .../operations/_triggers_operations.py | 20 +- .../vendored_sdks/datafactory/setup.py | 37 + src/datafactory/gen.zip | Bin 39102 -> 0 bytes src/datafactory/report.md | 200 +- 105 files changed, 8621 insertions(+), 17050 deletions(-) create mode 100644 src/datafactory/azext_datafactory/_help.py rename src/datafactory/azext_datafactory/tests/latest/recordings/{test_datafactory_Scenario.yaml => test_datafactory_main.yaml} (100%) create mode 100644 src/datafactory/azext_datafactory/tests/latest/recordings/test_datafactory_managedPrivateEndpoint.yaml create mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/_version.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_configuration_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_data_factory_management_client_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/__init__.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_activity_run_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_data_flow_debug_session_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_data_flow_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_dataset_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_exposure_control_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_factory_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_node_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_object_metadata_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_linked_service_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_managed_private_endpoint_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_managed_virtual_network_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_operation_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_pipeline_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_pipeline_run_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_trigger_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_trigger_run_operations_async.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_activity_run_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flow_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_dataset_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_factory_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_node_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_linked_service_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_private_endpoint_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_virtual_network_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_operation_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_run_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_operations.py delete mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_run_operations.py create mode 100644 src/datafactory/azext_datafactory/vendored_sdks/datafactory/setup.py delete mode 100644 src/datafactory/gen.zip diff --git a/src/datafactory/HISTORY.rst b/src/datafactory/HISTORY.rst index f4e5240e156..01a0f93ca2b 100644 --- a/src/datafactory/HISTORY.rst +++ b/src/datafactory/HISTORY.rst @@ -3,6 +3,11 @@ Release History =============== +0.5.0 ++++++ +* az datafactory managed-virtual-network: Support create/update/list/show managed virtual network. +* az datafactory managed-private-endpoint: Support create/update/list/show/delete managed private endpoint. + 0.4.0 +++++ * GA the whole module diff --git a/src/datafactory/azext_datafactory/__init__.py b/src/datafactory/azext_datafactory/__init__.py index 4de09e21613..68dc1a4c888 100644 --- a/src/datafactory/azext_datafactory/__init__.py +++ b/src/datafactory/azext_datafactory/__init__.py @@ -7,13 +7,10 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- +# pylint: disable=unused-import +import azext_datafactory._help from azure.cli.core import AzCommandsLoader -from azext_datafactory.generated._help import helps # pylint: disable=unused-import -try: - from azext_datafactory.manual._help import helps # pylint: disable=reimported -except ImportError: - pass class DataFactoryManagementClientCommandsLoader(AzCommandsLoader): @@ -33,8 +30,11 @@ def load_command_table(self, args): try: from azext_datafactory.manual.commands import load_command_table as load_command_table_manual load_command_table_manual(self, args) - except ImportError: - pass + except ImportError as e: + if e.name.endswith('manual.commands'): + pass + else: + raise e return self.command_table def load_arguments(self, command): @@ -43,8 +43,11 @@ def load_arguments(self, command): try: from azext_datafactory.manual._params import load_arguments as load_arguments_manual load_arguments_manual(self, command) - except ImportError: - pass + except ImportError as e: + if e.name.endswith('manual._params'): + pass + else: + raise e COMMAND_LOADER_CLS = DataFactoryManagementClientCommandsLoader diff --git a/src/datafactory/azext_datafactory/_help.py b/src/datafactory/azext_datafactory/_help.py new file mode 100644 index 00000000000..9b93f87a6e9 --- /dev/null +++ b/src/datafactory/azext_datafactory/_help.py @@ -0,0 +1,20 @@ +# -------------------------------------------------------------------------- +# 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. +# -------------------------------------------------------------------------- +# pylint: disable=wildcard-import +# pylint: disable=unused-wildcard-import +# pylint: disable=unused-import +from .generated._help import helps # pylint: disable=reimported +try: + from .manual._help import helps # pylint: disable=reimported +except ImportError as e: + if e.name.endswith('manual._help'): + pass + else: + raise e diff --git a/src/datafactory/azext_datafactory/action.py b/src/datafactory/azext_datafactory/action.py index d95d53bf711..9b3d0a8a78c 100644 --- a/src/datafactory/azext_datafactory/action.py +++ b/src/datafactory/azext_datafactory/action.py @@ -13,5 +13,8 @@ from .generated.action import * # noqa: F403 try: from .manual.action import * # noqa: F403 -except ImportError: - pass +except ImportError as e: + if e.name.endswith('manual.action'): + pass + else: + raise e diff --git a/src/datafactory/azext_datafactory/custom.py b/src/datafactory/azext_datafactory/custom.py index dbe9d5f9742..885447229d6 100644 --- a/src/datafactory/azext_datafactory/custom.py +++ b/src/datafactory/azext_datafactory/custom.py @@ -13,5 +13,8 @@ from .generated.custom import * # noqa: F403 try: from .manual.custom import * # noqa: F403 -except ImportError: - pass +except ImportError as e: + if e.name.endswith('manual.custom'): + pass + else: + raise e diff --git a/src/datafactory/azext_datafactory/generated/_client_factory.py b/src/datafactory/azext_datafactory/generated/_client_factory.py index 7db87b484da..7f3f4f6fc12 100644 --- a/src/datafactory/azext_datafactory/generated/_client_factory.py +++ b/src/datafactory/azext_datafactory/generated/_client_factory.py @@ -54,3 +54,11 @@ def cf_trigger(cli_ctx, *_): def cf_trigger_run(cli_ctx, *_): return cf_datafactory_cl(cli_ctx).trigger_runs + + +def cf_managed_virtual_network(cli_ctx, *_): + return cf_datafactory_cl(cli_ctx).managed_virtual_networks + + +def cf_managed_private_endpoint(cli_ctx, *_): + return cf_datafactory_cl(cli_ctx).managed_private_endpoints diff --git a/src/datafactory/azext_datafactory/generated/_help.py b/src/datafactory/azext_datafactory/generated/_help.py index fd2ab1dcd0e..b48ae278922 100644 --- a/src/datafactory/azext_datafactory/generated/_help.py +++ b/src/datafactory/azext_datafactory/generated/_help.py @@ -12,10 +12,10 @@ from knack.help_files import helps -helps['datafactory'] = """ +helps['datafactory'] = ''' type: group - short-summary: Manage factory with datafactory -""" + short-summary: Manage Data Factory +''' helps['datafactory list'] = """ type: command @@ -447,11 +447,6 @@ helps['datafactory linked-service update'] = """ type: command short-summary: "Update a linked service." - examples: - - name: LinkedServices_Update - text: |- - az datafactory linked-service update --factory-name "exampleFactoryName" --description "Example \ -description" --name "exampleLinkedService" --resource-group "exampleResourceGroup" """ helps['datafactory linked-service delete'] = """ @@ -512,13 +507,6 @@ Usage: --folder name=XX name: The name of the folder that this Dataset is in. - examples: - - name: Datasets_Update - text: |- - az datafactory dataset update --description "Example description" --linked-service-name \ -"{\\"type\\":\\"LinkedServiceReference\\",\\"referenceName\\":\\"exampleLinkedService\\"}" --parameters \ -"{\\"MyFileName\\":{\\"type\\":\\"String\\"},\\"MyFolderPath\\":{\\"type\\":\\"String\\"}}" --name "exampleDataset" \ ---factory-name "exampleFactoryName" --resource-group "exampleResourceGroup" """ helps['datafactory dataset delete'] = """ @@ -756,11 +744,6 @@ helps['datafactory trigger update'] = """ type: command short-summary: "Update a trigger." - examples: - - name: Triggers_Update - text: |- - az datafactory trigger update --factory-name "exampleFactoryName" --resource-group \ -"exampleResourceGroup" --description "Example description" --name "exampleTrigger" """ helps['datafactory trigger delete'] = """ @@ -902,3 +885,97 @@ az datafactory trigger-run rerun --factory-name "exampleFactoryName" --resource-group \ "exampleResourceGroup" --run-id "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b" --trigger-name "exampleTrigger" """ + +helps['datafactory managed-virtual-network'] = """ + type: group + short-summary: Manage managed virtual network with datafactory +""" + +helps['datafactory managed-virtual-network list'] = """ + type: command + short-summary: "Lists managed Virtual Networks." + examples: + - name: ManagedVirtualNetworks_ListByFactory + text: |- + az datafactory managed-virtual-network list --factory-name "exampleFactoryName" --resource-group \ +"exampleResourceGroup" +""" + +helps['datafactory managed-virtual-network show'] = """ + type: command + short-summary: "Gets a managed Virtual Network." + examples: + - name: ManagedVirtualNetworks_Get + text: |- + az datafactory managed-virtual-network show --factory-name "exampleFactoryName" --name \ +"exampleManagedVirtualNetworkName" --resource-group "exampleResourceGroup" +""" + +helps['datafactory managed-virtual-network create'] = """ + type: command + short-summary: "Create a managed Virtual Network." + examples: + - name: ManagedVirtualNetworks_Create + text: |- + az datafactory managed-virtual-network create --factory-name "exampleFactoryName" --name \ +"exampleManagedVirtualNetworkName" --resource-group "exampleResourceGroup" +""" + +helps['datafactory managed-virtual-network update'] = """ + type: command + short-summary: "Update a managed Virtual Network." +""" + +helps['datafactory managed-private-endpoint'] = """ + type: group + short-summary: Manage managed private endpoint with datafactory +""" + +helps['datafactory managed-private-endpoint list'] = """ + type: command + short-summary: "Lists managed private endpoints." + examples: + - name: ManagedPrivateEndpoints_ListByFactory + text: |- + az datafactory managed-private-endpoint list --factory-name "exampleFactoryName" \ +--managed-virtual-network-name "exampleManagedVirtualNetworkName" --resource-group "exampleResourceGroup" +""" + +helps['datafactory managed-private-endpoint show'] = """ + type: command + short-summary: "Gets a managed private endpoint." + examples: + - name: ManagedPrivateEndpoints_Get + text: |- + az datafactory managed-private-endpoint show --factory-name "exampleFactoryName" --name \ +"exampleManagedPrivateEndpointName" --managed-virtual-network-name "exampleManagedVirtualNetworkName" --resource-group \ +"exampleResourceGroup" +""" + +helps['datafactory managed-private-endpoint create'] = """ + type: command + short-summary: "Create a managed private endpoint." + examples: + - name: ManagedPrivateEndpoints_Create + text: |- + az datafactory managed-private-endpoint create --factory-name "exampleFactoryName" --group-id "blob" \ +--private-link-resource-id "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/prov\ +iders/Microsoft.Storage/storageAccounts/exampleBlobStorage" --name "exampleManagedPrivateEndpointName" \ +--managed-virtual-network-name "exampleManagedVirtualNetworkName" --resource-group "exampleResourceGroup" +""" + +helps['datafactory managed-private-endpoint update'] = """ + type: command + short-summary: "Update a managed private endpoint." +""" + +helps['datafactory managed-private-endpoint delete'] = """ + type: command + short-summary: "Deletes a managed private endpoint." + examples: + - name: ManagedPrivateEndpoints_Delete + text: |- + az datafactory managed-private-endpoint delete --factory-name "exampleFactoryName" --name \ +"exampleManagedPrivateEndpointName" --managed-virtual-network-name "exampleManagedVirtualNetworkName" --resource-group \ +"exampleResourceGroup" +""" diff --git a/src/datafactory/azext_datafactory/generated/_params.py b/src/datafactory/azext_datafactory/generated/_params.py index 2162b81c231..76633d40136 100644 --- a/src/datafactory/azext_datafactory/generated/_params.py +++ b/src/datafactory/azext_datafactory/generated/_params.py @@ -56,7 +56,7 @@ def load_arguments(self, _): c.argument('factory_git_hub_configuration', action=AddFactoryGitHubConfiguration, nargs='+', help='Factory\'s ' 'GitHub repo information.', arg_group='RepoConfiguration') c.argument('global_parameters', type=validate_file_or_dict, help='List of parameters for factory. Expected ' - 'value: json-string/@json-file.') + 'value: json-string/json-file/@json-file.') with self.argument_context('datafactory update') as c: c.argument('resource_group_name', resource_group_name_type) @@ -134,9 +134,10 @@ def load_arguments(self, _): 'update, for which it should match existing entity or can be * for unconditional update.') c.argument('description', type=str, help='Integration runtime description.') c.argument('compute_properties', type=validate_file_or_dict, help='The compute resource for managed ' - 'integration runtime. Expected value: json-string/@json-file.', arg_group='Type Properties') + 'integration runtime. Expected value: json-string/json-file/@json-file.', arg_group='Type ' + 'Properties') c.argument('ssis_properties', type=validate_file_or_dict, help='SSIS properties for managed integration ' - 'runtime. Expected value: json-string/@json-file.', arg_group='Type Properties') + 'runtime. Expected value: json-string/json-file/@json-file.', arg_group='Type Properties') with self.argument_context('datafactory integration-runtime self-hosted create') as c: c.argument('resource_group_name', resource_group_name_type) @@ -147,7 +148,7 @@ def load_arguments(self, _): 'update, for which it should match existing entity or can be * for unconditional update.') c.argument('description', type=str, help='Integration runtime description.') c.argument('linked_info', type=validate_file_or_dict, help='The base definition of a linked integration ' - 'runtime. Expected value: json-string/@json-file.', arg_group='Type Properties') + 'runtime. Expected value: json-string/json-file/@json-file.', arg_group='Type Properties') with self.argument_context('datafactory integration-runtime update') as c: c.argument('resource_group_name', resource_group_name_type) @@ -285,7 +286,7 @@ def load_arguments(self, _): c.argument('if_match', type=str, help='ETag of the linkedService entity. Should only be specified for update, ' 'for which it should match existing entity or can be * for unconditional update.') c.argument('properties', type=validate_file_or_dict, help='Properties of linked service. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') with self.argument_context('datafactory linked-service update') as c: c.argument('resource_group_name', resource_group_name_type) @@ -295,12 +296,12 @@ def load_arguments(self, _): c.argument('if_match', type=str, help='ETag of the linkedService entity. Should only be specified for update, ' 'for which it should match existing entity or can be * for unconditional update.') c.argument('connect_via', type=validate_file_or_dict, help='The integration runtime reference. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('description', type=str, help='Linked service description.') c.argument('parameters', type=validate_file_or_dict, help='Parameters for linked service. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('annotations', type=validate_file_or_dict, help='List of tags that can be used for describing the ' - 'linked service. Expected value: json-string/@json-file.') + 'linked service. Expected value: json-string/json-file/@json-file.') c.ignore('linked_service') with self.argument_context('datafactory linked-service delete') as c: @@ -329,7 +330,7 @@ def load_arguments(self, _): c.argument('if_match', type=str, help='ETag of the dataset entity. Should only be specified for update, for ' 'which it should match existing entity or can be * for unconditional update.') c.argument('properties', type=validate_file_or_dict, help='Dataset properties. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') with self.argument_context('datafactory dataset update') as c: c.argument('resource_group_name', resource_group_name_type) @@ -341,16 +342,16 @@ def load_arguments(self, _): c.argument('description', type=str, help='Dataset description.') c.argument('structure', type=validate_file_or_dict, help='Columns that define the structure of the dataset. ' 'Type: array (or Expression with resultType array), itemType: DatasetDataElement. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('schema', type=validate_file_or_dict, help='Columns that define the physical type schema of the ' 'dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. ' - 'Expected value: json-string/@json-file.') + 'Expected value: json-string/json-file/@json-file.') c.argument('linked_service_name', type=validate_file_or_dict, help='Linked service reference. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('parameters', type=validate_file_or_dict, help='Parameters for dataset. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('annotations', type=validate_file_or_dict, help='List of tags that can be used for describing the ' - 'Dataset. Expected value: json-string/@json-file.') + 'Dataset. Expected value: json-string/json-file/@json-file.') c.argument('folder', action=AddFolder, nargs='+', help='The folder that this Dataset is in. If not specified, ' 'Dataset will appear at the root level.') c.ignore('dataset') @@ -381,7 +382,7 @@ def load_arguments(self, _): c.argument('if_match', type=str, help='ETag of the pipeline entity. Should only be specified for update, for ' 'which it should match existing entity or can be * for unconditional update.') c.argument('pipeline', type=validate_file_or_dict, help='Pipeline resource definition. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') with self.argument_context('datafactory pipeline update') as c: c.argument('resource_group_name', resource_group_name_type) @@ -392,18 +393,19 @@ def load_arguments(self, _): 'which it should match existing entity or can be * for unconditional update.') c.argument('description', type=str, help='The description of the pipeline.') c.argument('activities', type=validate_file_or_dict, help='List of activities in pipeline. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('parameters', type=validate_file_or_dict, help='List of parameters for pipeline. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('variables', type=validate_file_or_dict, help='List of variables for pipeline. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('concurrency', type=int, help='The max number of concurrent runs for the pipeline.') c.argument('annotations', type=validate_file_or_dict, help='List of tags that can be used for describing the ' - 'Pipeline. Expected value: json-string/@json-file.') + 'Pipeline. Expected value: json-string/json-file/@json-file.') c.argument('run_dimensions', type=validate_file_or_dict, help='Dimensions emitted by Pipeline. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') c.argument('duration', type=validate_file_or_dict, help='TimeSpan value, after which an Azure Monitoring ' - 'Metric is fired. Expected value: json-string/@json-file.', arg_group='Policy Elapsed Time Metric') + 'Metric is fired. Expected value: json-string/json-file/@json-file.', arg_group='Policy Elapsed ' + 'Time Metric') c.argument('folder_name', type=str, help='The name of the folder that this Pipeline is in.', arg_group='Folder') c.ignore('pipeline') @@ -430,7 +432,7 @@ def load_arguments(self, _): 'rerun will start from failed activities. The property will be used only if startActivityName is ' 'not specified.') c.argument('parameters', type=validate_file_or_dict, help='Parameters of the pipeline run. These parameters ' - 'will be used only if the runId is not specified. Expected value: json-string/@json-file.') + 'will be used only if the runId is not specified. Expected value: json-string/json-file/@json-file.') with self.argument_context('datafactory pipeline-run show') as c: c.argument('resource_group_name', resource_group_name_type) @@ -489,7 +491,7 @@ def load_arguments(self, _): c.argument('if_match', type=str, help='ETag of the trigger entity. Should only be specified for update, for ' 'which it should match existing entity or can be * for unconditional update.') c.argument('properties', type=validate_file_or_dict, help='Properties of the trigger. Expected value: ' - 'json-string/@json-file.') + 'json-string/json-file/@json-file.') with self.argument_context('datafactory trigger update') as c: c.argument('resource_group_name', resource_group_name_type) @@ -500,7 +502,7 @@ def load_arguments(self, _): 'which it should match existing entity or can be * for unconditional update.') c.argument('description', type=str, help='Trigger description.') c.argument('annotations', type=validate_file_or_dict, help='List of tags that can be used for describing the ' - 'trigger. Expected value: json-string/@json-file.') + 'trigger. Expected value: json-string/json-file/@json-file.') c.ignore('trigger') with self.argument_context('datafactory trigger delete') as c: @@ -578,3 +580,87 @@ def load_arguments(self, _): c.argument('factory_name', type=str, help='The factory name.', id_part='name') c.argument('trigger_name', type=str, help='The trigger name.', id_part='child_name_1') c.argument('run_id', type=str, help='The pipeline run identifier.', id_part='child_name_2') + + with self.argument_context('datafactory managed-virtual-network list') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.') + + with self.argument_context('datafactory managed-virtual-network show') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.', id_part='name') + c.argument('managed_virtual_network_name', options_list=['--name', '-n', '--managed-virtual-network-name'], + type=str, help='Managed virtual network name', id_part='child_name_1') + c.argument('if_none_match', type=str, help='ETag of the managed Virtual Network entity. Should only be ' + 'specified for get. If the ETag matches the existing entity tag, or if * was provided, then no ' + 'content will be returned.') + + with self.argument_context('datafactory managed-virtual-network create') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.') + c.argument('managed_virtual_network_name', options_list=['--name', '-n', '--managed-virtual-network-name'], + type=str, help='Managed virtual network name') + c.argument('if_match', type=str, help='ETag of the managed Virtual Network entity. Should only be specified ' + 'for update, for which it should match existing entity or can be * for unconditional update.') + + with self.argument_context('datafactory managed-virtual-network update') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.', id_part='name') + c.argument('managed_virtual_network_name', options_list=['--name', '-n', '--managed-virtual-network-name'], + type=str, help='Managed virtual network name', id_part='child_name_1') + c.argument('if_match', type=str, help='ETag of the managed Virtual Network entity. Should only be specified ' + 'for update, for which it should match existing entity or can be * for unconditional update.') + c.ignore('managed_virtual_network') + + with self.argument_context('datafactory managed-private-endpoint list') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.') + c.argument('managed_virtual_network_name', options_list=['--managed-virtual-network-name', '--mvnet-name'], + type=str, help='Managed virtual network name') + + with self.argument_context('datafactory managed-private-endpoint show') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.', id_part='name') + c.argument('managed_virtual_network_name', options_list=['--managed-virtual-network-name', '--mvnet-name'], + type=str, help='Managed virtual network name', id_part='child_name_1') + c.argument('managed_private_endpoint_name', options_list=['--name', '-n', '--managed-private-endpoint-name'], + type=str, help='Managed private endpoint name', id_part='child_name_2') + c.argument('if_none_match', type=str, help='ETag of the managed private endpoint entity. Should only be ' + 'specified for get. If the ETag matches the existing entity tag, or if * was provided, then no ' + 'content will be returned.') + + with self.argument_context('datafactory managed-private-endpoint create') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.') + c.argument('managed_virtual_network_name', options_list=['--managed-virtual-network-name', '--mvnet-name'], + type=str, help='Managed virtual network name') + c.argument('managed_private_endpoint_name', options_list=['--name', '-n', '--managed-private-endpoint-name'], + type=str, help='Managed private endpoint name') + c.argument('if_match', type=str, help='ETag of the managed private endpoint entity. Should only be specified ' + 'for update, for which it should match existing entity or can be * for unconditional update.') + c.argument('fqdns', nargs='+', help='Fully qualified domain names') + c.argument('group_id', type=str, help='The groupId to which the managed private endpoint is created') + c.argument('private_link_resource_id', options_list=['--private-link-resource-id', '--private-link'], type=str, + help='The ARM resource ID of the resource to which the managed private endpoint is created') + + with self.argument_context('datafactory managed-private-endpoint update') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.', id_part='name') + c.argument('managed_virtual_network_name', options_list=['--managed-virtual-network-name', '--mvnet-name'], + type=str, help='Managed virtual network name', id_part='child_name_1') + c.argument('managed_private_endpoint_name', options_list=['--name', '-n', '--managed-private-endpoint-name'], + type=str, help='Managed private endpoint name', id_part='child_name_2') + c.argument('if_match', type=str, help='ETag of the managed private endpoint entity. Should only be specified ' + 'for update, for which it should match existing entity or can be * for unconditional update.') + c.argument('fqdns', nargs='+', help='Fully qualified domain names') + c.argument('group_id', type=str, help='The groupId to which the managed private endpoint is created') + c.argument('private_link_resource_id', options_list=['--private-link-resource-id', '--private-link'], type=str, + help='The ARM resource ID of the resource to which the managed private endpoint is created') + c.ignore('managed_private_endpoint') + + with self.argument_context('datafactory managed-private-endpoint delete') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('factory_name', type=str, help='The factory name.', id_part='name') + c.argument('managed_virtual_network_name', options_list=['--managed-virtual-network-name', '--mvnet-name'], + type=str, help='Managed virtual network name', id_part='child_name_1') + c.argument('managed_private_endpoint_name', options_list=['--name', '-n', '--managed-private-endpoint-name'], + type=str, help='Managed private endpoint name', id_part='child_name_2') diff --git a/src/datafactory/azext_datafactory/generated/action.py b/src/datafactory/azext_datafactory/generated/action.py index f645d72981a..8737ce3fbb2 100644 --- a/src/datafactory/azext_datafactory/generated/action.py +++ b/src/datafactory/azext_datafactory/generated/action.py @@ -7,8 +7,13 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- + + # pylint: disable=protected-access +# pylint: disable=no-self-use + + import argparse from collections import defaultdict from knack.util import CLIError @@ -19,7 +24,7 @@ def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) namespace.factory_vsts_configuration = action - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -31,25 +36,37 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'project-name': d['project_name'] = v[0] + elif kl == 'tenant-id': d['tenant_id'] = v[0] + elif kl == 'account-name': d['account_name'] = v[0] + elif kl == 'repository-name': d['repository_name'] = v[0] + elif kl == 'collaboration-branch': d['collaboration_branch'] = v[0] + elif kl == 'root-folder': d['root_folder'] = v[0] + elif kl == 'last-commit-id': d['last_commit_id'] = v[0] + else: - raise CLIError('Unsupported Key {} is provided for parameter factory_vsts_configuration. All possible ' - 'keys are: project-name, tenant-id, account-name, repository-name, ' - 'collaboration-branch, root-folder, last-commit-id'.format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter factory-vsts-configuration. All possible keys are:' + ' project-name, tenant-id, account-name, repository-name, collaboration-branch, root-folder,' + ' last-commit-id'.format(k) + ) + d['type'] = 'FactoryVSTSConfiguration' + return d @@ -58,7 +75,7 @@ def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) namespace.factory_git_hub_configuration = action - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -70,23 +87,34 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'host-name': d['host_name'] = v[0] + elif kl == 'account-name': d['account_name'] = v[0] + elif kl == 'repository-name': d['repository_name'] = v[0] + elif kl == 'collaboration-branch': d['collaboration_branch'] = v[0] + elif kl == 'root-folder': d['root_folder'] = v[0] + elif kl == 'last-commit-id': d['last_commit_id'] = v[0] + else: - raise CLIError('Unsupported Key {} is provided for parameter factory_git_hub_configuration. All ' - 'possible keys are: host-name, account-name, repository-name, collaboration-branch, ' - 'root-folder, last-commit-id'.format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter factory-git-hub-configuration. All possible keys are:' + ' host-name, account-name, repository-name, collaboration-branch, root-folder, last-commit-id' + .format(k) + ) + d['type'] = 'FactoryGitHubConfiguration' + return d @@ -95,7 +123,7 @@ def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) namespace.folder = action - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -107,11 +135,15 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'name': d['name'] = v[0] + else: - raise CLIError('Unsupported Key {} is provided for parameter folder. All possible keys are: name'. - format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter folder. All possible keys are: name'.format(k) + ) + return d @@ -120,7 +152,7 @@ def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) super(AddFilters, self).__call__(parser, namespace, action, option_string) - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -132,15 +164,22 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'operand': d['operand'] = v[0] + elif kl == 'operator': d['operator'] = v[0] + elif kl == 'values': d['values'] = v + else: - raise CLIError('Unsupported Key {} is provided for parameter filters. All possible keys are: operand, ' - 'operator, values'.format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter filters. All possible keys are: operand, operator,' + ' values'.format(k) + ) + return d @@ -149,7 +188,7 @@ def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) super(AddOrderBy, self).__call__(parser, namespace, action, option_string) - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -161,11 +200,17 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'order-by': d['order_by'] = v[0] + elif kl == 'order': d['order'] = v[0] + else: - raise CLIError('Unsupported Key {} is provided for parameter order_by. All possible keys are: ' - 'order-by, order'.format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter order-by. All possible keys are: order-by, order' + .format(k) + ) + return d diff --git a/src/datafactory/azext_datafactory/generated/commands.py b/src/datafactory/azext_datafactory/generated/commands.py index 83b7f9db34e..027d5c6638a 100644 --- a/src/datafactory/azext_datafactory/generated/commands.py +++ b/src/datafactory/azext_datafactory/generated/commands.py @@ -9,17 +9,112 @@ # -------------------------------------------------------------------------- # pylint: disable=too-many-statements # pylint: disable=too-many-locals +# pylint: disable=bad-continuation +# pylint: disable=line-too-long from azure.cli.core.commands import CliCommandType +from azext_datafactory.generated._client_factory import ( + cf_factory, + cf_integration_runtime, + cf_integration_runtime_node, + cf_linked_service, + cf_dataset, + cf_pipeline, + cf_pipeline_run, + cf_activity_run, + cf_trigger, + cf_trigger_run, + cf_managed_virtual_network, + cf_managed_private_endpoint, +) + + +datafactory_factory = CliCommandType( + operations_tmpl=( + 'azext_datafactory.vendored_sdks.datafactory.operations._factories_operations#FactoriesOperations.{}' + ), + client_factory=cf_factory, +) + + +datafactory_activity_run = CliCommandType( + operations_tmpl=( + 'azext_datafactory.vendored_sdks.datafactory.operations._activity_runs_operations#ActivityRunsOperations.{}' + ), + client_factory=cf_activity_run, +) + + +datafactory_dataset = CliCommandType( + operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._datasets_operations#DatasetsOperations.{}', + client_factory=cf_dataset, +) + + +datafactory_integration_runtime = CliCommandType( + operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._integration_runtimes_operations#IntegrationRuntimesOperations.{}', + client_factory=cf_integration_runtime, +) + + +datafactory_integration_runtime_node = CliCommandType( + operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._integration_runtime_nodes_operations#IntegrationRuntimeNodesOperations.{}', + client_factory=cf_integration_runtime_node, +) + + +datafactory_linked_service = CliCommandType( + operations_tmpl=( + 'azext_datafactory.vendored_sdks.datafactory.operations._linked_services_operations#LinkedServicesOperations.{}' + ), + client_factory=cf_linked_service, +) + + +datafactory_managed_private_endpoint = CliCommandType( + operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._managed_private_endpoints_operations#ManagedPrivateEndpointsOperations.{}', + client_factory=cf_managed_private_endpoint, +) + + +datafactory_managed_virtual_network = CliCommandType( + operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._managed_virtual_networks_operations#ManagedVirtualNetworksOperations.{}', + client_factory=cf_managed_virtual_network, +) + + +datafactory_pipeline = CliCommandType( + operations_tmpl=( + 'azext_datafactory.vendored_sdks.datafactory.operations._pipelines_operations#PipelinesOperations.{}' + ), + client_factory=cf_pipeline, +) + + +datafactory_pipeline_run = CliCommandType( + operations_tmpl=( + 'azext_datafactory.vendored_sdks.datafactory.operations._pipeline_runs_operations#PipelineRunsOperations.{}' + ), + client_factory=cf_pipeline_run, +) + + +datafactory_trigger = CliCommandType( + operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._triggers_operations#TriggersOperations.{}', + client_factory=cf_trigger, +) + + +datafactory_trigger_run = CliCommandType( + operations_tmpl=( + 'azext_datafactory.vendored_sdks.datafactory.operations._trigger_runs_operations#TriggerRunsOperations.{}' + ), + client_factory=cf_trigger_run, +) def load_command_table(self, _): - from azext_datafactory.generated._client_factory import cf_factory - datafactory_factory = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._factories_operations#FactoriesOperatio' - 'ns.{}', - client_factory=cf_factory) with self.command_group('datafactory', datafactory_factory, client_factory=cf_factory) as g: g.custom_command('list', 'datafactory_list') g.custom_show_command('show', 'datafactory_show') @@ -30,17 +125,24 @@ def load_command_table(self, _): g.custom_command('get-data-plane-access', 'datafactory_get_data_plane_access') g.custom_command('get-git-hub-access-token', 'datafactory_get_git_hub_access_token') - from azext_datafactory.generated._client_factory import cf_integration_runtime - datafactory_integration_runtime = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._integration_runtimes_operations#Integr' - 'ationRuntimesOperations.{}', - client_factory=cf_integration_runtime) - with self.command_group('datafactory integration-runtime', datafactory_integration_runtime, - client_factory=cf_integration_runtime) as g: + with self.command_group('datafactory activity-run', datafactory_activity_run, client_factory=cf_activity_run) as g: + g.custom_command('query-by-pipeline-run', 'datafactory_activity_run_query_by_pipeline_run') + + with self.command_group('datafactory dataset', datafactory_dataset, client_factory=cf_dataset) as g: + g.custom_command('list', 'datafactory_dataset_list') + g.custom_show_command('show', 'datafactory_dataset_show') + g.custom_command('create', 'datafactory_dataset_create') + g.generic_update_command('update', custom_func_name='datafactory_dataset_update', setter_arg_name='dataset') + g.custom_command('delete', 'datafactory_dataset_delete', confirmation=True) + + with self.command_group( + 'datafactory integration-runtime', datafactory_integration_runtime, client_factory=cf_integration_runtime + ) as g: g.custom_command('list', 'datafactory_integration_runtime_list') g.custom_show_command('show', 'datafactory_integration_runtime_show') - g.custom_command('linked-integration-runtime create', 'datafactory_integration_runtime_linked_integration_runti' - 'me_create') + g.custom_command( + 'linked-integration-runtime create', 'datafactory_integration_runtime_linked_integration_runtime_create' + ) g.custom_command('managed create', 'datafactory_integration_runtime_managed_create') g.custom_command('self-hosted create', 'datafactory_integration_runtime_self_hosted_create') g.custom_command('update', 'datafactory_integration_runtime_update') @@ -57,102 +159,85 @@ def load_command_table(self, _): g.custom_command('upgrade', 'datafactory_integration_runtime_upgrade') g.custom_wait_command('wait', 'datafactory_integration_runtime_show') - from azext_datafactory.generated._client_factory import cf_integration_runtime_node - datafactory_integration_runtime_node = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._integration_runtime_nodes_operations#I' - 'ntegrationRuntimeNodesOperations.{}', - client_factory=cf_integration_runtime_node) - with self.command_group('datafactory integration-runtime-node', datafactory_integration_runtime_node, - client_factory=cf_integration_runtime_node) as g: + with self.command_group( + 'datafactory integration-runtime-node', + datafactory_integration_runtime_node, + client_factory=cf_integration_runtime_node, + ) as g: g.custom_show_command('show', 'datafactory_integration_runtime_node_show') g.custom_command('update', 'datafactory_integration_runtime_node_update') g.custom_command('delete', 'datafactory_integration_runtime_node_delete', confirmation=True) g.custom_command('get-ip-address', 'datafactory_integration_runtime_node_get_ip_address') - from azext_datafactory.generated._client_factory import cf_linked_service - datafactory_linked_service = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._linked_services_operations#LinkedServi' - 'cesOperations.{}', - client_factory=cf_linked_service) - with self.command_group('datafactory linked-service', datafactory_linked_service, - client_factory=cf_linked_service) as g: + with self.command_group( + 'datafactory linked-service', datafactory_linked_service, client_factory=cf_linked_service + ) as g: g.custom_command('list', 'datafactory_linked_service_list') g.custom_show_command('show', 'datafactory_linked_service_show') g.custom_command('create', 'datafactory_linked_service_create') - g.generic_update_command('update', setter_arg_name='linked_service', - custom_func_name='datafactory_linked_service_update') + g.generic_update_command( + 'update', custom_func_name='datafactory_linked_service_update', setter_arg_name='linked_service' + ) g.custom_command('delete', 'datafactory_linked_service_delete', confirmation=True) - from azext_datafactory.generated._client_factory import cf_dataset - datafactory_dataset = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._datasets_operations#DatasetsOperations' - '.{}', - client_factory=cf_dataset) - with self.command_group('datafactory dataset', datafactory_dataset, client_factory=cf_dataset) as g: - g.custom_command('list', 'datafactory_dataset_list') - g.custom_show_command('show', 'datafactory_dataset_show') - g.custom_command('create', 'datafactory_dataset_create') - g.generic_update_command('update', setter_arg_name='dataset', custom_func_name='datafactory_dataset_update') - g.custom_command('delete', 'datafactory_dataset_delete', confirmation=True) + with self.command_group( + 'datafactory managed-private-endpoint', + datafactory_managed_private_endpoint, + client_factory=cf_managed_private_endpoint, + is_preview=True, + ) as g: + g.custom_command('list', 'datafactory_managed_private_endpoint_list') + g.custom_show_command('show', 'datafactory_managed_private_endpoint_show') + g.custom_command('create', 'datafactory_managed_private_endpoint_create') + g.generic_update_command( + 'update', + custom_func_name='datafactory_managed_private_endpoint_update', + setter_arg_name='managed_private_endpoint', + ) + g.custom_command('delete', 'datafactory_managed_private_endpoint_delete', confirmation=True) + + with self.command_group( + 'datafactory managed-virtual-network', + datafactory_managed_virtual_network, + client_factory=cf_managed_virtual_network, + is_preview=True, + ) as g: + g.custom_command('list', 'datafactory_managed_virtual_network_list') + g.custom_show_command('show', 'datafactory_managed_virtual_network_show') + g.custom_command('create', 'datafactory_managed_virtual_network_create') + g.generic_update_command( + 'update', + custom_func_name='datafactory_managed_virtual_network_update', + setter_arg_name='managed_virtual_network', + ) - from azext_datafactory.generated._client_factory import cf_pipeline - datafactory_pipeline = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._pipelines_operations#PipelinesOperatio' - 'ns.{}', - client_factory=cf_pipeline) with self.command_group('datafactory pipeline', datafactory_pipeline, client_factory=cf_pipeline) as g: g.custom_command('list', 'datafactory_pipeline_list') g.custom_show_command('show', 'datafactory_pipeline_show') g.custom_command('create', 'datafactory_pipeline_create') - g.generic_update_command('update', setter_arg_name='pipeline', custom_func_name='datafactory_pipeline_update') + g.generic_update_command('update', custom_func_name='datafactory_pipeline_update', setter_arg_name='pipeline') g.custom_command('delete', 'datafactory_pipeline_delete', confirmation=True) g.custom_command('create-run', 'datafactory_pipeline_create_run') - from azext_datafactory.generated._client_factory import cf_pipeline_run - datafactory_pipeline_run = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._pipeline_runs_operations#PipelineRunsO' - 'perations.{}', - client_factory=cf_pipeline_run) - with self.command_group('datafactory pipeline-run', datafactory_pipeline_run, - client_factory=cf_pipeline_run) as g: + with self.command_group('datafactory pipeline-run', datafactory_pipeline_run, client_factory=cf_pipeline_run) as g: g.custom_show_command('show', 'datafactory_pipeline_run_show') g.custom_command('cancel', 'datafactory_pipeline_run_cancel') g.custom_command('query-by-factory', 'datafactory_pipeline_run_query_by_factory') - from azext_datafactory.generated._client_factory import cf_activity_run - datafactory_activity_run = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._activity_runs_operations#ActivityRunsO' - 'perations.{}', - client_factory=cf_activity_run) - with self.command_group('datafactory activity-run', datafactory_activity_run, - client_factory=cf_activity_run) as g: - g.custom_command('query-by-pipeline-run', 'datafactory_activity_run_query_by_pipeline_run') - - from azext_datafactory.generated._client_factory import cf_trigger - datafactory_trigger = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._triggers_operations#TriggersOperations' - '.{}', - client_factory=cf_trigger) with self.command_group('datafactory trigger', datafactory_trigger, client_factory=cf_trigger) as g: g.custom_command('list', 'datafactory_trigger_list') g.custom_show_command('show', 'datafactory_trigger_show') g.custom_command('create', 'datafactory_trigger_create') - g.generic_update_command('update', setter_arg_name='trigger', custom_func_name='datafactory_trigger_update') + g.generic_update_command('update', custom_func_name='datafactory_trigger_update', setter_arg_name='trigger') g.custom_command('delete', 'datafactory_trigger_delete', confirmation=True) g.custom_command('get-event-subscription-status', 'datafactory_trigger_get_event_subscription_status') g.custom_command('query-by-factory', 'datafactory_trigger_query_by_factory') g.custom_command('start', 'datafactory_trigger_start', supports_no_wait=True) g.custom_command('stop', 'datafactory_trigger_stop', supports_no_wait=True) g.custom_command('subscribe-to-event', 'datafactory_trigger_subscribe_to_event', supports_no_wait=True) - g.custom_command('unsubscribe-from-event', 'datafactory_trigger_unsubscribe_from_event', - supports_no_wait=True) + g.custom_command('unsubscribe-from-event', 'datafactory_trigger_unsubscribe_from_event', supports_no_wait=True) g.custom_wait_command('wait', 'datafactory_trigger_show') - from azext_datafactory.generated._client_factory import cf_trigger_run - datafactory_trigger_run = CliCommandType( - operations_tmpl='azext_datafactory.vendored_sdks.datafactory.operations._trigger_runs_operations#TriggerRunsOpe' - 'rations.{}', - client_factory=cf_trigger_run) with self.command_group('datafactory trigger-run', datafactory_trigger_run, client_factory=cf_trigger_run) as g: g.custom_command('cancel', 'datafactory_trigger_run_cancel') g.custom_command('query-by-factory', 'datafactory_trigger_run_query_by_factory') diff --git a/src/datafactory/azext_datafactory/generated/custom.py b/src/datafactory/azext_datafactory/generated/custom.py index c269c1999ff..d9b21280a67 100644 --- a/src/datafactory/azext_datafactory/generated/custom.py +++ b/src/datafactory/azext_datafactory/generated/custom.py @@ -50,12 +50,20 @@ def datafactory_create(client, 'repo_configuration!') repo_configuration = all_repo_configuration[0] if len(all_repo_configuration) == 1 else None factory = {} - factory['location'] = location - factory['tags'] = tags - factory['repo_configuration'] = repo_configuration - factory['global_parameters'] = global_parameters + if location is not None: + factory['location'] = location + if tags is not None: + factory['tags'] = tags + if repo_configuration is not None: + factory['repo_configuration'] = repo_configuration + if global_parameters is not None: + factory['global_parameters'] = global_parameters factory['encryption'] = {} + if len(factory['encryption']) == 0: + del factory['encryption'] factory['identity'] = {} + if len(factory['identity']) == 0: + del factory['identity'] return client.create_or_update(resource_group_name=resource_group_name, factory_name=factory_name, if_match=if_match, @@ -67,8 +75,11 @@ def datafactory_update(client, factory_name, tags=None): factory_update_parameters = {} - factory_update_parameters['tags'] = tags + if tags is not None: + factory_update_parameters['tags'] = tags factory_update_parameters['identity'] = {} + if len(factory_update_parameters['identity']) == 0: + del factory_update_parameters['identity'] return client.update(resource_group_name=resource_group_name, factory_name=factory_name, factory_update_parameters=factory_update_parameters) @@ -96,8 +107,10 @@ def datafactory_configure_factory_repo(client, 'repo_configuration!') repo_configuration = all_repo_configuration[0] if len(all_repo_configuration) == 1 else None factory_repo_update = {} - factory_repo_update['factory_resource_id'] = factory_resource_id - factory_repo_update['repo_configuration'] = repo_configuration + if factory_resource_id is not None: + factory_repo_update['factory_resource_id'] = factory_resource_id + if repo_configuration is not None: + factory_repo_update['repo_configuration'] = repo_configuration return client.configure_factory_repo(location_id=location, factory_repo_update=factory_repo_update) @@ -111,11 +124,16 @@ def datafactory_get_data_plane_access(client, start_time=None, expire_time=None): policy = {} - policy['permissions'] = permissions - policy['access_resource_path'] = access_resource_path - policy['profile_name'] = profile_name - policy['start_time'] = start_time - policy['expire_time'] = expire_time + if permissions is not None: + policy['permissions'] = permissions + if access_resource_path is not None: + policy['access_resource_path'] = access_resource_path + if profile_name is not None: + policy['profile_name'] = profile_name + if start_time is not None: + policy['start_time'] = start_time + if expire_time is not None: + policy['expire_time'] = expire_time return client.get_data_plane_access(resource_group_name=resource_group_name, factory_name=factory_name, policy=policy) @@ -129,7 +147,8 @@ def datafactory_get_git_hub_access_token(client, git_hub_client_id=None): git_hub_access_token_request = {} git_hub_access_token_request['git_hub_access_code'] = git_hub_access_code - git_hub_access_token_request['git_hub_client_id'] = git_hub_client_id + if git_hub_client_id is not None: + git_hub_access_token_request['git_hub_client_id'] = git_hub_client_id git_hub_access_token_request['git_hub_access_token_base_url'] = git_hub_access_token_base_url return client.get_git_hub_access_token(resource_group_name=resource_group_name, factory_name=factory_name, @@ -163,10 +182,14 @@ def datafactory_integration_runtime_linked_integration_runtime_create(client, data_factory_name=None, location=None): create_linked_integration_runtime_request = {} - create_linked_integration_runtime_request['name'] = name - create_linked_integration_runtime_request['subscription_id'] = subscription_id - create_linked_integration_runtime_request['data_factory_name'] = data_factory_name - create_linked_integration_runtime_request['data_factory_location'] = location + if name is not None: + create_linked_integration_runtime_request['name'] = name + if subscription_id is not None: + create_linked_integration_runtime_request['subscription_id'] = subscription_id + if data_factory_name is not None: + create_linked_integration_runtime_request['data_factory_name'] = data_factory_name + if location is not None: + create_linked_integration_runtime_request['data_factory_location'] = location return client.create_linked_integration_runtime(resource_group_name=resource_group_name, factory_name=factory_name, integration_runtime_name=integration_runtime_name, @@ -184,9 +207,12 @@ def datafactory_integration_runtime_managed_create(client, integration_runtime = {} integration_runtime['properties'] = {} integration_runtime['properties']['type'] = 'Managed' - integration_runtime['properties']['description'] = description - integration_runtime['properties']['compute_properties'] = compute_properties - integration_runtime['properties']['ssis_properties'] = ssis_properties + if description is not None: + integration_runtime['properties']['description'] = description + if compute_properties is not None: + integration_runtime['properties']['compute_properties'] = compute_properties + if ssis_properties is not None: + integration_runtime['properties']['ssis_properties'] = ssis_properties return client.create_or_update(resource_group_name=resource_group_name, factory_name=factory_name, integration_runtime_name=integration_runtime_name, @@ -204,8 +230,10 @@ def datafactory_integration_runtime_self_hosted_create(client, integration_runtime = {} integration_runtime['properties'] = {} integration_runtime['properties']['type'] = 'SelfHosted' - integration_runtime['properties']['description'] = description - integration_runtime['properties']['linked_info'] = linked_info + if description is not None: + integration_runtime['properties']['description'] = description + if linked_info is not None: + integration_runtime['properties']['linked_info'] = linked_info return client.create_or_update(resource_group_name=resource_group_name, factory_name=factory_name, integration_runtime_name=integration_runtime_name, @@ -220,8 +248,10 @@ def datafactory_integration_runtime_update(client, auto_update=None, update_delay_offset=None): update_integration_runtime_request = {} - update_integration_runtime_request['auto_update'] = auto_update - update_integration_runtime_request['update_delay_offset'] = update_delay_offset + if auto_update is not None: + update_integration_runtime_request['auto_update'] = auto_update + if update_delay_offset is not None: + update_integration_runtime_request['update_delay_offset'] = update_delay_offset return client.update(resource_group_name=resource_group_name, factory_name=factory_name, integration_runtime_name=integration_runtime_name, @@ -279,7 +309,8 @@ def datafactory_integration_runtime_regenerate_auth_key(client, integration_runtime_name, key_name=None): regenerate_key_parameters = {} - regenerate_key_parameters['key_name'] = key_name + if key_name is not None: + regenerate_key_parameters['key_name'] = key_name return client.regenerate_auth_key(resource_group_name=resource_group_name, factory_name=factory_name, integration_runtime_name=integration_runtime_name, @@ -359,7 +390,8 @@ def datafactory_integration_runtime_node_update(client, node_name, concurrent_jobs_limit=None): update_integration_runtime_node_request = {} - update_integration_runtime_node_request['concurrent_jobs_limit'] = concurrent_jobs_limit + if concurrent_jobs_limit is not None: + update_integration_runtime_node_request['concurrent_jobs_limit'] = concurrent_jobs_limit return client.update(resource_group_name=resource_group_name, factory_name=factory_name, integration_runtime_name=integration_runtime_name, @@ -502,8 +534,7 @@ def datafactory_dataset_update(instance, instance.properties.structure = structure if schema is not None: instance.properties.schema = schema - if linked_service_name is not None: - instance.properties.linked_service_name = linked_service_name + instance.properties.linked_service_name = linked_service_name if parameters is not None: instance.properties.parameters = parameters if annotations is not None: @@ -645,11 +676,14 @@ def datafactory_pipeline_run_query_by_factory(client, filters=None, order_by=None): filter_parameters = {} - filter_parameters['continuation_token'] = continuation_token + if continuation_token is not None: + filter_parameters['continuation_token'] = continuation_token filter_parameters['last_updated_after'] = last_updated_after filter_parameters['last_updated_before'] = last_updated_before - filter_parameters['filters'] = filters - filter_parameters['order_by'] = order_by + if filters is not None: + filter_parameters['filters'] = filters + if order_by is not None: + filter_parameters['order_by'] = order_by return client.query_by_factory(resource_group_name=resource_group_name, factory_name=factory_name, filter_parameters=filter_parameters) @@ -665,11 +699,14 @@ def datafactory_activity_run_query_by_pipeline_run(client, filters=None, order_by=None): filter_parameters = {} - filter_parameters['continuation_token'] = continuation_token + if continuation_token is not None: + filter_parameters['continuation_token'] = continuation_token filter_parameters['last_updated_after'] = last_updated_after filter_parameters['last_updated_before'] = last_updated_before - filter_parameters['filters'] = filters - filter_parameters['order_by'] = order_by + if filters is not None: + filter_parameters['filters'] = filters + if order_by is not None: + filter_parameters['order_by'] = order_by return client.query_by_pipeline_run(resource_group_name=resource_group_name, factory_name=factory_name, run_id=run_id, @@ -747,8 +784,10 @@ def datafactory_trigger_query_by_factory(client, continuation_token=None, parent_trigger_name=None): filter_parameters = {} - filter_parameters['continuation_token'] = continuation_token - filter_parameters['parent_trigger_name'] = parent_trigger_name + if continuation_token is not None: + filter_parameters['continuation_token'] = continuation_token + if parent_trigger_name is not None: + filter_parameters['parent_trigger_name'] = parent_trigger_name return client.query_by_factory(resource_group_name=resource_group_name, factory_name=factory_name, filter_parameters=filter_parameters) @@ -822,11 +861,14 @@ def datafactory_trigger_run_query_by_factory(client, filters=None, order_by=None): filter_parameters = {} - filter_parameters['continuation_token'] = continuation_token + if continuation_token is not None: + filter_parameters['continuation_token'] = continuation_token filter_parameters['last_updated_after'] = last_updated_after filter_parameters['last_updated_before'] = last_updated_before - filter_parameters['filters'] = filters - filter_parameters['order_by'] = order_by + if filters is not None: + filter_parameters['filters'] = filters + if order_by is not None: + filter_parameters['order_by'] = order_by return client.query_by_factory(resource_group_name=resource_group_name, factory_name=factory_name, filter_parameters=filter_parameters) @@ -841,3 +883,121 @@ def datafactory_trigger_run_rerun(client, factory_name=factory_name, trigger_name=trigger_name, run_id=run_id) + + +def datafactory_managed_virtual_network_list(client, + resource_group_name, + factory_name): + return client.list_by_factory(resource_group_name=resource_group_name, + factory_name=factory_name) + + +def datafactory_managed_virtual_network_show(client, + resource_group_name, + factory_name, + managed_virtual_network_name, + if_none_match=None): + return client.get(resource_group_name=resource_group_name, + factory_name=factory_name, + managed_virtual_network_name=managed_virtual_network_name, + if_none_match=if_none_match) + + +def datafactory_managed_virtual_network_create(client, + resource_group_name, + factory_name, + managed_virtual_network_name, + if_match=None): + managed_virtual_network = {} + managed_virtual_network['properties'] = {} + return client.create_or_update(resource_group_name=resource_group_name, + factory_name=factory_name, + managed_virtual_network_name=managed_virtual_network_name, + if_match=if_match, + managed_virtual_network=managed_virtual_network) + + +def datafactory_managed_virtual_network_update(instance, + resource_group_name, + factory_name, + managed_virtual_network_name, + if_match=None): + return instance + + +def datafactory_managed_private_endpoint_list(client, + resource_group_name, + factory_name, + managed_virtual_network_name): + return client.list_by_factory(resource_group_name=resource_group_name, + factory_name=factory_name, + managed_virtual_network_name=managed_virtual_network_name) + + +def datafactory_managed_private_endpoint_show(client, + resource_group_name, + factory_name, + managed_virtual_network_name, + managed_private_endpoint_name, + if_none_match=None): + return client.get(resource_group_name=resource_group_name, + factory_name=factory_name, + managed_virtual_network_name=managed_virtual_network_name, + managed_private_endpoint_name=managed_private_endpoint_name, + if_none_match=if_none_match) + + +def datafactory_managed_private_endpoint_create(client, + resource_group_name, + factory_name, + managed_virtual_network_name, + managed_private_endpoint_name, + if_match=None, + fqdns=None, + group_id=None, + private_link_resource_id=None): + managed_private_endpoint = {} + managed_private_endpoint['properties'] = {} + if fqdns is not None: + managed_private_endpoint['properties']['fqdns'] = fqdns + if group_id is not None: + managed_private_endpoint['properties']['group_id'] = group_id + if private_link_resource_id is not None: + managed_private_endpoint['properties']['private_link_resource_id'] = private_link_resource_id + if len(managed_private_endpoint['properties']) == 0: + del managed_private_endpoint['properties'] + return client.create_or_update(resource_group_name=resource_group_name, + factory_name=factory_name, + managed_virtual_network_name=managed_virtual_network_name, + managed_private_endpoint_name=managed_private_endpoint_name, + if_match=if_match, + managed_private_endpoint=managed_private_endpoint) + + +def datafactory_managed_private_endpoint_update(instance, + resource_group_name, + factory_name, + managed_virtual_network_name, + managed_private_endpoint_name, + if_match=None, + fqdns=None, + group_id=None, + private_link_resource_id=None): + if fqdns is not None: + instance.properties.fqdns = fqdns + if group_id is not None: + instance.properties.group_id = group_id + if private_link_resource_id is not None: + instance.properties.private_link_resource_id = private_link_resource_id + return instance + + +def datafactory_managed_private_endpoint_delete(client, + resource_group_name, + factory_name, + managed_virtual_network_name, + managed_private_endpoint_name): + return client.delete(resource_group_name=resource_group_name, + factory_name=factory_name, + managed_virtual_network_name=managed_virtual_network_name, + managed_private_endpoint_name=managed_private_endpoint_name) diff --git a/src/datafactory/azext_datafactory/manual/tests/latest/test_datafactory_scenario.py b/src/datafactory/azext_datafactory/manual/tests/latest/test_datafactory_scenario.py index 64fc8cefe48..28519f30473 100644 --- a/src/datafactory/azext_datafactory/manual/tests/latest/test_datafactory_scenario.py +++ b/src/datafactory/azext_datafactory/manual/tests/latest/test_datafactory_scenario.py @@ -9,8 +9,45 @@ # -------------------------------------------------------------------------- +def step_dataset_update(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory dataset update ' + '--description "Example description" ' + '--linked-service-name "{{\\"type\\":\\"LinkedServiceReference\\",\\"referenceName\\":\\"{myLinkedService}' + '\\"}}" ' + '--parameters "{{\\"MyFileName\\":{{\\"type\\":\\"String\\"}},\\"MyFolderPath\\":{{\\"type\\":\\"String\\"' + '}}}}" ' + '--name "{myDataset}" ' + '--factory-name "{myFactory}" ' + '--resource-group "{rg}"', + checks=checks) + + +def step_linked_service_update(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory linked-service update ' + '--factory-name "{myFactory}" ' + '--description "Example description" ' + '--name "{myLinkedService}" ' + '--resource-group "{rg}"', + checks=checks) + + +def step_trigger_update(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory trigger update ' + '--factory-name "{myFactory}" ' + '--resource-group "{rg}" ' + '--description "Example description" ' + '--name "{myTrigger}"', + checks=checks) + + # EXAMPLE: IntegrationRuntimes_Create -def step_integration_runtime_create(test, rg): +def step_integration_runtime_create(test): test.cmd('az datafactory integration-runtime self-hosted create ' '--factory-name "{myFactory}" ' '--description "A selfhosted integration runtime" ' @@ -22,7 +59,7 @@ def step_integration_runtime_create(test, rg): ]) -def step_trigger_run_rerun(test, rg): +def step_trigger_run_rerun(test): test.cmd('az datafactory trigger-run rerun ' '--factory-name "{myFactory}" ' '--resource-group "{rg}" ' @@ -31,7 +68,7 @@ def step_trigger_run_rerun(test, rg): checks=[]) -def step_pipeline_create_run(test, rg): +def step_pipeline_create_run(test): output = test.cmd('az datafactory pipeline create-run ' '--factory-name "{myFactory}" ' '--parameters "{{\\"OutputBlobNameList\\":[\\"exampleoutput.csv\\"]}}" ' @@ -41,7 +78,7 @@ def step_pipeline_create_run(test, rg): return output -def step_pipeline_run_cancel(test, rg): +def step_pipeline_run_cancel(test): test.cmd('az datafactory pipeline-run cancel ' '--factory-name "{myFactory}" ' '--resource-group "{rg}" ' @@ -49,7 +86,7 @@ def step_pipeline_run_cancel(test, rg): checks=[]) -def step_pipeline_run_show(test, rg): +def step_pipeline_run_show(test): test.cmd('az datafactory pipeline-run show ' '--factory-name "{myFactory}" ' '--resource-group "{rg}" ' @@ -57,7 +94,7 @@ def step_pipeline_run_show(test, rg): checks=[]) -def step_pipeline_update(test, rg): +def step_pipeline_update(test): test.cmd('az datafactory pipeline update ' '--factory-name "{myFactory}" ' '--description "Test Update description" ' @@ -66,7 +103,7 @@ def step_pipeline_update(test, rg): checks=[]) -def step_trigger_run_query_by_factory(test, rg): +def step_trigger_run_query_by_factory(test): output = test.cmd('az datafactory trigger-run query-by-factory ' '--factory-name "{myFactory}" ' '--last-updated-after "{myStartTime}" ' @@ -76,7 +113,7 @@ def step_trigger_run_query_by_factory(test, rg): return output -def step_integration_runtime_managed_create(test, rg): +def step_integration_runtime_managed_create(test): test.cmd('az datafactory integration-runtime managed create ' '--factory-name "{myFactory}" ' '--name "{myIntegrationRuntime}" ' @@ -93,7 +130,7 @@ def step_integration_runtime_managed_create(test, rg): ]) -def step_pipeline_wait_create(test, rg): +def step_pipeline_wait_create(test): test.cmd('az datafactory pipeline create ' '--factory-name "{myFactory}" ' '--pipeline "{{\\"activities\\":[{{\\"name\\":\\"Wait1\\",' @@ -108,7 +145,7 @@ def step_pipeline_wait_create(test, rg): ]) -def step_trigger_tumble_create(test, rg): +def step_trigger_tumble_create(test): test.cmd('az datafactory trigger create ' '--resource-group "{rg}" ' '--properties "{{\\"description\\":\\"trumblingwindowtrigger' @@ -130,40 +167,40 @@ def step_trigger_tumble_create(test, rg): ]) -def call_managed_integrationruntime_scenario(test, rg): +def call_managed_integrationruntime_scenario(test): from ....tests.latest import test_datafactory_scenario as g - g.setup_scenario(test, rg) - g.step_create(test, rg) - step_integration_runtime_managed_create(test, rg) - g.step_integration_runtime_show(test, rg) + g.setup_main(test) + g.step_create(test) + step_integration_runtime_managed_create(test) + g.step_integration_runtime_show(test) test.kwargs.update({'myIntegrationRuntime2': test.kwargs.get('myIntegrationRuntime')}) - g.step_integration_runtime_start(test, rg) - g.step_integration_runtime_stop(test, rg) - g.step_integration_runtime_delete(test, rg) - g.step_delete(test, rg) - g.cleanup_scenario(test, rg) + g.step_integration_runtime_start(test) + g.step_integration_runtime_stop(test) + g.step_integration_runtime_delete(test) + g.step_delete(test) + g.cleanup_main(test) -def call_triggerrun_scenario(test, rg): +def call_triggerrun_scenario(test): from ....tests.latest import test_datafactory_scenario as g import time - g.setup_scenario(test, rg) - g.step_create(test, rg) - step_pipeline_wait_create(test, rg) - createrun_res = step_pipeline_create_run(test, rg) + g.setup_main(test) + g.step_create(test) + step_pipeline_wait_create(test) + createrun_res = step_pipeline_create_run(test) time.sleep(5) test.kwargs.update({'myRunId': createrun_res.get('runId')}) - step_pipeline_run_show(test, rg) - g.step_activity_run_query_by_pipeline_run(test, rg) - createrun_res = step_pipeline_create_run(test, rg) + step_pipeline_run_show(test) + g.step_activity_run_query_by_pipeline_run(test) + createrun_res = step_pipeline_create_run(test) test.kwargs.update({'myRunId': createrun_res.get('runId')}) - step_pipeline_run_cancel(test, rg) - step_trigger_tumble_create(test, rg) - g.step_trigger_start(test, rg) - g.step_trigger_show(test, rg) + step_pipeline_run_cancel(test) + step_trigger_tumble_create(test) + g.step_trigger_start(test) + g.step_trigger_show(test) maxRound = 2 while True: - triggerrun_res = step_trigger_run_query_by_factory(test, rg) + triggerrun_res = step_trigger_run_query_by_factory(test) if len(triggerrun_res['value']) > 0 and triggerrun_res['value'][0]['status'] == 'Succeeded': test.kwargs.update({'myRunId': triggerrun_res['value'][0]['triggerRunId']}) break @@ -175,77 +212,77 @@ def call_triggerrun_scenario(test, rg): else: break if maxRound > 0: - step_trigger_run_rerun(test, rg) - step_trigger_run_query_by_factory(test, rg) - g.step_trigger_stop(test, rg) - g.step_trigger_delete(test, rg) - g.step_pipeline_delete(test, rg) - g.step_delete(test, rg) - g.cleanup_scenario(test, rg) + step_trigger_run_rerun(test) + step_trigger_run_query_by_factory(test) + g.step_trigger_stop(test) + g.step_trigger_delete(test) + g.step_pipeline_delete(test) + g.step_delete(test) + g.cleanup_main(test) -def call_main_scenario(test, rg): +def call_main_scenario(test): from ....tests.latest import test_datafactory_scenario as g - g.setup_scenario(test, rg) - g.step_create(test, rg) - g.step_update(test, rg) - g.step_linked_service_create(test, rg) - g.step_linked_service_update(test, rg) - g.step_dataset_create(test, rg) - g.step_dataset_update(test, rg) - g.step_pipeline_create(test, rg) - step_pipeline_update(test, rg) - g.step_trigger_create(test, rg) - g.step_trigger_update(test, rg) - g.step_integration_runtime_self_hosted_create(test, rg) - g.step_integration_runtime_update(test, rg) - # g.step_integration_runtime_linked(test, rg) - step_pipeline_create_run(test, rg) - g.step_integration_runtime_show(test, rg) - g.step_linked_service_show(test, rg) - g.step_pipeline_show(test, rg) - g.step_dataset_show(test, rg) - g.step_trigger_show(test, rg) - g.step_integration_runtime_list(test, rg) - g.step_linked_service_list(test, rg) - g.step_pipeline_list(test, rg) - g.step_trigger_list(test, rg) - g.step_dataset_list(test, rg) - g.step_show(test, rg) - g.step_list2(test, rg) - g.step_list(test, rg) - g.step_integration_runtime_regenerate_auth_key(test, rg) - # g.step_integration_runtime_get_connection_info(test, rg) - g.step_integration_runtime_sync_credentials(test, rg) - g.step_integration_runtime_get_monitoring_data(test, rg) - g.step_integration_runtime_list_auth_key(test, rg) - g.step_integration_runtime_remove_link(test, rg) - g.step_integration_runtime_get_status(test, rg) - # g.step_integration_runtime_start(test, rg) - # g.step_integration_runtime_stop(test, rg) - # g.step_integrationruntimes_createlinkedintegrationruntime(test, rg) - g.step_trigger_get_event_subscription_status(test, rg) - # g.step_activity_run_query_by_pipeline_run(test, rg) - g.step_trigger_unsubscribe_from_event(test, rg) - g.step_trigger_subscribe_to_event(test, rg) - g.step_trigger_start(test, rg) - g.step_trigger_stop(test, rg) - # g.step_get_git_hub_access_token(test, rg) - g.step_get_data_plane_access(test, rg) - # g.step_pipeline_run_query_by_factory(test, rg) - # g.step_pipeline_run_cancel(test, rg) - step_trigger_run_query_by_factory(test, rg) - g.step_configure_factory_repo(test, rg) - g.step_integration_runtime_delete(test, rg) - g.step_trigger_delete(test, rg) - g.step_pipeline_delete(test, rg) - g.step_dataset_delete(test, rg) - g.step_linked_service_delete(test, rg) - g.step_delete(test, rg) - g.cleanup_scenario(test, rg) - - -def call_scenario(test, rg): + g.setup_main(test) + g.step_create(test) + g.step_update(test) + g.step_linked_service_create(test) + step_linked_service_update(test) + g.step_dataset_create(test) + step_dataset_update(test) + g.step_pipeline_create(test) + step_pipeline_update(test) + g.step_trigger_create(test) + step_trigger_update(test) + g.step_integration_runtime_self_hosted_create(test) + g.step_integration_runtime_update(test) + # g.step_integration_runtime_linked(test) + step_pipeline_create_run(test) + g.step_integration_runtime_show(test) + g.step_linked_service_show(test) + g.step_pipeline_show(test) + g.step_dataset_show(test) + g.step_trigger_show(test) + g.step_integration_runtime_list(test) + g.step_linked_service_list(test) + g.step_pipeline_list(test) + g.step_trigger_list(test) + g.step_dataset_list(test) + g.step_show(test) + g.step_list2(test) + g.step_list(test) + g.step_integration_runtime_regenerate_auth_key(test) + # g.step_integration_runtime_get_connection_info(test) + g.step_integration_runtime_sync_credentials(test) + g.step_integration_runtime_get_monitoring_data(test) + g.step_integration_runtime_list_auth_key(test) + g.step_integration_runtime_remove_link(test) + g.step_integration_runtime_get_status(test) + # g.step_integration_runtime_start(test) + # g.step_integration_runtime_stop(test) + # g.step_integrationruntimes_createlinkedintegrationruntime(test) + g.step_trigger_get_event_subscription_status(test) + # g.step_activity_run_query_by_pipeline_run(test) + g.step_trigger_unsubscribe_from_event(test) + g.step_trigger_subscribe_to_event(test) + g.step_trigger_start(test) + g.step_trigger_stop(test) + # g.step_get_git_hub_access_token(test) + g.step_get_data_plane_access(test) + # g.step_pipeline_run_query_by_factory(test) + # g.step_pipeline_run_cancel(test) + step_trigger_run_query_by_factory(test) + g.step_configure_factory_repo(test) + g.step_integration_runtime_delete(test) + g.step_trigger_delete(test) + g.step_pipeline_delete(test) + g.step_dataset_delete(test) + g.step_linked_service_delete(test) + g.step_delete(test) + g.cleanup_main(test) + + +def call_main(test): from datetime import datetime, timedelta now = datetime.utcnow() startTime = now.strftime("%Y-%m-%dT%H:%M:%SZ") @@ -255,6 +292,6 @@ def call_scenario(test, rg): 'myStartTime': startTime, 'myEndTime': endTime }) - call_main_scenario(test, rg) - call_managed_integrationruntime_scenario(test, rg) - call_triggerrun_scenario(test, rg) + call_main_scenario(test) + call_managed_integrationruntime_scenario(test) + call_triggerrun_scenario(test) diff --git a/src/datafactory/azext_datafactory/manual/version.py b/src/datafactory/azext_datafactory/manual/version.py index 8e3e0e73f37..75df532f317 100644 --- a/src/datafactory/azext_datafactory/manual/version.py +++ b/src/datafactory/azext_datafactory/manual/version.py @@ -8,4 +8,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.4.0" +VERSION = "0.5.0" diff --git a/src/datafactory/azext_datafactory/tests/latest/example_steps.py b/src/datafactory/azext_datafactory/tests/latest/example_steps.py index 42222d4e576..0704716920c 100644 --- a/src/datafactory/azext_datafactory/tests/latest/example_steps.py +++ b/src/datafactory/azext_datafactory/tests/latest/example_steps.py @@ -8,15 +8,13 @@ # regenerated. # -------------------------------------------------------------------------- -# pylint: disable=unused-argument - from .. import try_manual # EXAMPLE: /Factories/put/Factories_CreateOrUpdate @try_manual -def step_create(test, rg, checks=None): +def step_create(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory create ' @@ -28,7 +26,7 @@ def step_create(test, rg, checks=None): # EXAMPLE: /Factories/get/Factories_Get @try_manual -def step_show(test, rg, checks=None): +def step_show(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory show ' @@ -39,7 +37,7 @@ def step_show(test, rg, checks=None): # EXAMPLE: /Factories/get/Factories_List @try_manual -def step_list(test, rg, checks=None): +def step_list(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory list ' @@ -49,7 +47,7 @@ def step_list(test, rg, checks=None): # EXAMPLE: /Factories/get/Factories_ListByResourceGroup @try_manual -def step_list2(test, rg, checks=None): +def step_list2(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory list ' @@ -59,7 +57,7 @@ def step_list2(test, rg, checks=None): # EXAMPLE: /Factories/patch/Factories_Update @try_manual -def step_update(test, rg, checks=None): +def step_update(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory update ' @@ -71,7 +69,7 @@ def step_update(test, rg, checks=None): # EXAMPLE: /Factories/post/Factories_ConfigureFactoryRepo @try_manual -def step_configure_factory_repo(test, rg, checks=None): +def step_configure_factory_repo(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory configure-factory-repo ' @@ -85,7 +83,7 @@ def step_configure_factory_repo(test, rg, checks=None): # EXAMPLE: /Factories/post/Factories_GetDataPlaneAccess @try_manual -def step_get_data_plane_access(test, rg, checks=None): +def step_get_data_plane_access(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory get-data-plane-access ' @@ -101,7 +99,7 @@ def step_get_data_plane_access(test, rg, checks=None): # EXAMPLE: /Factories/post/Factories_GetGitHubAccessToken @try_manual -def step_get_git_hub_access_token(test, rg, checks=None): +def step_get_git_hub_access_token(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory get-git-hub-access-token ' @@ -115,7 +113,7 @@ def step_get_git_hub_access_token(test, rg, checks=None): # EXAMPLE: /ActivityRuns/post/ActivityRuns_QueryByPipelineRun @try_manual -def step_activity_run_query_by_pipeline_run(test, rg, checks=None): +def step_activity_run_query_by_pipeline_run(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory activity-run query-by-pipeline-run ' @@ -129,7 +127,7 @@ def step_activity_run_query_by_pipeline_run(test, rg, checks=None): # EXAMPLE: /Datasets/put/Datasets_Create @try_manual -def step_dataset_create(test, rg, checks=None): +def step_dataset_create(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory dataset create ' @@ -144,26 +142,9 @@ def step_dataset_create(test, rg, checks=None): checks=checks) -# EXAMPLE: /Datasets/put/Datasets_Update -@try_manual -def step_dataset_update(test, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az datafactory dataset update ' - '--description "Example description" ' - '--linked-service-name "{{\\"type\\":\\"LinkedServiceReference\\",\\"referenceName\\":\\"{myLinkedService}' - '\\"}}" ' - '--parameters "{{\\"MyFileName\\":{{\\"type\\":\\"String\\"}},\\"MyFolderPath\\":{{\\"type\\":\\"String\\"' - '}}}}" ' - '--name "{myDataset}" ' - '--factory-name "{myFactory}" ' - '--resource-group "{rg}"', - checks=checks) - - # EXAMPLE: /Datasets/get/Datasets_Get @try_manual -def step_dataset_show(test, rg, checks=None): +def step_dataset_show(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory dataset show ' @@ -175,7 +156,7 @@ def step_dataset_show(test, rg, checks=None): # EXAMPLE: /Datasets/get/Datasets_ListByFactory @try_manual -def step_dataset_list(test, rg, checks=None): +def step_dataset_list(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory dataset list ' @@ -186,7 +167,7 @@ def step_dataset_list(test, rg, checks=None): # EXAMPLE: /Datasets/delete/Datasets_Delete @try_manual -def step_dataset_delete(test, rg, checks=None): +def step_dataset_delete(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory dataset delete -y ' @@ -198,7 +179,7 @@ def step_dataset_delete(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/put/IntegrationRuntimes_Create @try_manual -def step_integration_runtime_self_hosted_create(test, rg, checks=None): +def step_integration_runtime_self_hosted_create(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime self-hosted create ' @@ -211,7 +192,7 @@ def step_integration_runtime_self_hosted_create(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/get/IntegrationRuntimes_Get @try_manual -def step_integration_runtime_show(test, rg, checks=None): +def step_integration_runtime_show(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime show ' @@ -223,7 +204,7 @@ def step_integration_runtime_show(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/get/IntegrationRuntimes_ListByFactory @try_manual -def step_integration_runtime_list(test, rg, checks=None): +def step_integration_runtime_list(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime list ' @@ -234,7 +215,7 @@ def step_integration_runtime_list(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/patch/IntegrationRuntimes_Update @try_manual -def step_integration_runtime_update(test, rg, checks=None): +def step_integration_runtime_update(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime update ' @@ -248,7 +229,7 @@ def step_integration_runtime_update(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_CreateLinkedIntegrationRuntime @try_manual -def step_integration_runtime_linked(test, rg, checks=None): +def step_integration_runtime_linked(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime linked-integration-runtime create ' @@ -264,7 +245,7 @@ def step_integration_runtime_linked(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_GetConnectionInfo @try_manual -def step_integration_runtime_get_connection_info(test, rg, checks=None): +def step_integration_runtime_get_connection_info(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime get-connection-info ' @@ -276,7 +257,7 @@ def step_integration_runtime_get_connection_info(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_GetMonitoringData @try_manual -def step_integration_runtime_get_monitoring_data(test, rg, checks=None): +def step_integration_runtime_get_monitoring_data(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime get-monitoring-data ' @@ -288,7 +269,7 @@ def step_integration_runtime_get_monitoring_data(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_GetStatus @try_manual -def step_integration_runtime_get_status(test, rg, checks=None): +def step_integration_runtime_get_status(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime get-status ' @@ -300,7 +281,7 @@ def step_integration_runtime_get_status(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_ListAuthKeys @try_manual -def step_integration_runtime_list_auth_key(test, rg, checks=None): +def step_integration_runtime_list_auth_key(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime list-auth-key ' @@ -312,7 +293,7 @@ def step_integration_runtime_list_auth_key(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_RegenerateAuthKey @try_manual -def step_integration_runtime_regenerate_auth_key(test, rg, checks=None): +def step_integration_runtime_regenerate_auth_key(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime regenerate-auth-key ' @@ -325,7 +306,7 @@ def step_integration_runtime_regenerate_auth_key(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_Start @try_manual -def step_integration_runtime_start(test, rg, checks=None): +def step_integration_runtime_start(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime start ' @@ -337,7 +318,7 @@ def step_integration_runtime_start(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_Stop @try_manual -def step_integration_runtime_stop(test, rg, checks=None): +def step_integration_runtime_stop(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime stop ' @@ -349,7 +330,7 @@ def step_integration_runtime_stop(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_SyncCredentials @try_manual -def step_integration_runtime_sync_credentials(test, rg, checks=None): +def step_integration_runtime_sync_credentials(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime sync-credentials ' @@ -361,7 +342,7 @@ def step_integration_runtime_sync_credentials(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/post/IntegrationRuntimes_Upgrade @try_manual -def step_integration_runtime_remove_link(test, rg, checks=None): +def step_integration_runtime_remove_link(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime remove-link ' @@ -374,7 +355,7 @@ def step_integration_runtime_remove_link(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimeNodes/get/IntegrationRuntimeNodes_Get @try_manual -def step_integration_runtime_node_show(test, rg, checks=None): +def step_integration_runtime_node_show(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime-node show ' @@ -387,7 +368,7 @@ def step_integration_runtime_node_show(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimeNodes/patch/IntegrationRuntimeNodes_Update @try_manual -def step_integration_runtime_node_update(test, rg, checks=None): +def step_integration_runtime_node_update(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime-node update ' @@ -401,7 +382,7 @@ def step_integration_runtime_node_update(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimeNodes/post/IntegrationRuntimeNodes_GetIpAddress @try_manual -def step_integration_runtime_node_get_ip_address(test, rg, checks=None): +def step_integration_runtime_node_get_ip_address(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime-node get-ip-address ' @@ -414,7 +395,7 @@ def step_integration_runtime_node_get_ip_address(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimeNodes/delete/IntegrationRuntimesNodes_Delete @try_manual -def step_integration_runtime_node_delete(test, rg, checks=None): +def step_integration_runtime_node_delete(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime-node delete -y ' @@ -427,7 +408,7 @@ def step_integration_runtime_node_delete(test, rg, checks=None): # EXAMPLE: /IntegrationRuntimes/delete/IntegrationRuntimes_Delete @try_manual -def step_integration_runtime_delete(test, rg, checks=None): +def step_integration_runtime_delete(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory integration-runtime delete -y ' @@ -439,7 +420,7 @@ def step_integration_runtime_delete(test, rg, checks=None): # EXAMPLE: /LinkedServices/put/LinkedServices_Create @try_manual -def step_linked_service_create(test, rg, checks=None): +def step_linked_service_create(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory linked-service create ' @@ -452,57 +433,133 @@ def step_linked_service_create(test, rg, checks=None): checks=checks) -# EXAMPLE: /LinkedServices/put/LinkedServices_Update +# EXAMPLE: /LinkedServices/get/LinkedServices_Get @try_manual -def step_linked_service_update(test, rg, checks=None): +def step_linked_service_show(test, checks=None): if checks is None: checks = [] - test.cmd('az datafactory linked-service update ' + test.cmd('az datafactory linked-service show ' '--factory-name "{myFactory}" ' - '--description "Example description" ' '--name "{myLinkedService}" ' '--resource-group "{rg}"', checks=checks) -# EXAMPLE: /LinkedServices/get/LinkedServices_Get +# EXAMPLE: /LinkedServices/get/LinkedServices_ListByFactory @try_manual -def step_linked_service_show(test, rg, checks=None): +def step_linked_service_list(test, checks=None): if checks is None: checks = [] - test.cmd('az datafactory linked-service show ' + test.cmd('az datafactory linked-service list ' + '--factory-name "{myFactory}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /LinkedServices/delete/LinkedServices_Delete +@try_manual +def step_linked_service_delete(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory linked-service delete -y ' '--factory-name "{myFactory}" ' '--name "{myLinkedService}" ' '--resource-group "{rg}"', checks=checks) -# EXAMPLE: /LinkedServices/get/LinkedServices_ListByFactory +# EXAMPLE: /ManagedVirtualNetworks/put/ManagedVirtualNetworks_Create @try_manual -def step_linked_service_list(test, rg, checks=None): +def step_managed_virtual_network_create(test, checks=None): if checks is None: checks = [] - test.cmd('az datafactory linked-service list ' + test.cmd('az datafactory managed-virtual-network create ' '--factory-name "{myFactory}" ' + '--name "{myManagedVirtualNetwork}" ' '--resource-group "{rg}"', checks=checks) -# EXAMPLE: /LinkedServices/delete/LinkedServices_Delete +# EXAMPLE: /ManagedVirtualNetworks/get/ManagedVirtualNetworks_Get @try_manual -def step_linked_service_delete(test, rg, checks=None): +def step_managed_virtual_network_show(test, checks=None): if checks is None: checks = [] - test.cmd('az datafactory linked-service delete -y ' + test.cmd('az datafactory managed-virtual-network show ' + '--factory-name "{myFactory}" ' + '--name "{myManagedVirtualNetwork}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /ManagedVirtualNetworks/get/ManagedVirtualNetworks_ListByFactory +@try_manual +def step_managed_virtual_network_list(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory managed-virtual-network list ' '--factory-name "{myFactory}" ' - '--name "{myLinkedService}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /ManagedPrivateEndpoints/put/ManagedPrivateEndpoints_Create +@try_manual +def step_managed_private_endpoint_create(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory managed-private-endpoint create ' + '--factory-name "{myFactory}" ' + '--group-id "blob" ' + '--private-link-resource-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Stor' + 'age/storageAccounts/{sa}" ' + '--name "{myManagedPrivateEndpoint}" ' + '--managed-virtual-network-name "{myManagedVirtualNetwork}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /ManagedPrivateEndpoints/get/ManagedPrivateEndpoints_Get +@try_manual +def step_managed_private_endpoint_show(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory managed-private-endpoint show ' + '--factory-name "{myFactory}" ' + '--name "{myManagedPrivateEndpoint}" ' + '--managed-virtual-network-name "{myManagedVirtualNetwork}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /ManagedPrivateEndpoints/get/ManagedPrivateEndpoints_ListByFactory +@try_manual +def step_managed_private_endpoint_list(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory managed-private-endpoint list ' + '--factory-name "{myFactory}" ' + '--managed-virtual-network-name "{myManagedVirtualNetwork}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /ManagedPrivateEndpoints/delete/ManagedPrivateEndpoints_Delete +@try_manual +def step_managed_private_endpoint_delete(test, checks=None): + if checks is None: + checks = [] + test.cmd('az datafactory managed-private-endpoint delete -y ' + '--factory-name "{myFactory}" ' + '--name "{myManagedPrivateEndpoint}" ' + '--managed-virtual-network-name "{myManagedVirtualNetwork}" ' '--resource-group "{rg}"', checks=checks) # EXAMPLE: /PipelineRuns/get/PipelineRuns_Get @try_manual -def step_pipeline_run_show(test, rg, checks=None): +def step_pipeline_run_show(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline-run show ' @@ -514,7 +571,7 @@ def step_pipeline_run_show(test, rg, checks=None): # EXAMPLE: /PipelineRuns/post/PipelineRuns_Cancel @try_manual -def step_pipeline_run_cancel(test, rg, checks=None): +def step_pipeline_run_cancel(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline-run cancel ' @@ -526,7 +583,7 @@ def step_pipeline_run_cancel(test, rg, checks=None): # EXAMPLE: /PipelineRuns/post/PipelineRuns_QueryByFactory @try_manual -def step_pipeline_run_query_by_factory(test, rg, checks=None): +def step_pipeline_run_query_by_factory(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline-run query-by-factory ' @@ -540,7 +597,7 @@ def step_pipeline_run_query_by_factory(test, rg, checks=None): # EXAMPLE: /Pipelines/put/Pipelines_Create @try_manual -def step_pipeline_create(test, rg, checks=None): +def step_pipeline_create(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline create ' @@ -564,7 +621,7 @@ def step_pipeline_create(test, rg, checks=None): # EXAMPLE: /Pipelines/put/Pipelines_Update @try_manual -def step_pipeline_update(test, rg, checks=None): +def step_pipeline_update(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline update ' @@ -588,7 +645,7 @@ def step_pipeline_update(test, rg, checks=None): # EXAMPLE: /Pipelines/get/Pipelines_Get @try_manual -def step_pipeline_show(test, rg, checks=None): +def step_pipeline_show(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline show ' @@ -600,7 +657,7 @@ def step_pipeline_show(test, rg, checks=None): # EXAMPLE: /Pipelines/get/Pipelines_ListByFactory @try_manual -def step_pipeline_list(test, rg, checks=None): +def step_pipeline_list(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline list ' @@ -611,7 +668,7 @@ def step_pipeline_list(test, rg, checks=None): # EXAMPLE: /Pipelines/post/Pipelines_CreateRun @try_manual -def step_pipeline_create_run(test, rg, checks=None): +def step_pipeline_create_run(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline create-run ' @@ -624,7 +681,7 @@ def step_pipeline_create_run(test, rg, checks=None): # EXAMPLE: /Pipelines/delete/Pipelines_Delete @try_manual -def step_pipeline_delete(test, rg, checks=None): +def step_pipeline_delete(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory pipeline delete -y ' @@ -636,7 +693,7 @@ def step_pipeline_delete(test, rg, checks=None): # EXAMPLE: /Triggers/put/Triggers_Create @try_manual -def step_trigger_create(test, rg, checks=None): +def step_trigger_create(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger create ' @@ -651,22 +708,9 @@ def step_trigger_create(test, rg, checks=None): checks=checks) -# EXAMPLE: /Triggers/put/Triggers_Update -@try_manual -def step_trigger_update(test, rg, checks=None): - if checks is None: - checks = [] - test.cmd('az datafactory trigger update ' - '--factory-name "{myFactory}" ' - '--resource-group "{rg}" ' - '--description "Example description" ' - '--name "{myTrigger}"', - checks=checks) - - # EXAMPLE: /Triggers/get/Triggers_Get @try_manual -def step_trigger_show(test, rg, checks=None): +def step_trigger_show(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger show ' @@ -678,7 +722,7 @@ def step_trigger_show(test, rg, checks=None): # EXAMPLE: /Triggers/get/Triggers_ListByFactory @try_manual -def step_trigger_list(test, rg, checks=None): +def step_trigger_list(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger list ' @@ -689,7 +733,7 @@ def step_trigger_list(test, rg, checks=None): # EXAMPLE: /Triggers/post/Triggers_GetEventSubscriptionStatus @try_manual -def step_trigger_get_event_subscription_status(test, rg, checks=None): +def step_trigger_get_event_subscription_status(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger get-event-subscription-status ' @@ -701,7 +745,7 @@ def step_trigger_get_event_subscription_status(test, rg, checks=None): # EXAMPLE: /Triggers/post/Triggers_QueryByFactory @try_manual -def step_trigger_query_by_factory(test, rg, checks=None): +def step_trigger_query_by_factory(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger query-by-factory ' @@ -713,7 +757,7 @@ def step_trigger_query_by_factory(test, rg, checks=None): # EXAMPLE: /Triggers/post/Triggers_Start @try_manual -def step_trigger_start(test, rg, checks=None): +def step_trigger_start(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger start ' @@ -725,7 +769,7 @@ def step_trigger_start(test, rg, checks=None): # EXAMPLE: /Triggers/post/Triggers_Stop @try_manual -def step_trigger_stop(test, rg, checks=None): +def step_trigger_stop(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger stop ' @@ -737,7 +781,7 @@ def step_trigger_stop(test, rg, checks=None): # EXAMPLE: /Triggers/post/Triggers_SubscribeToEvents @try_manual -def step_trigger_subscribe_to_event(test, rg, checks=None): +def step_trigger_subscribe_to_event(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger subscribe-to-event ' @@ -749,7 +793,7 @@ def step_trigger_subscribe_to_event(test, rg, checks=None): # EXAMPLE: /Triggers/post/Triggers_UnsubscribeFromEvents @try_manual -def step_trigger_unsubscribe_from_event(test, rg, checks=None): +def step_trigger_unsubscribe_from_event(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger unsubscribe-from-event ' @@ -761,7 +805,7 @@ def step_trigger_unsubscribe_from_event(test, rg, checks=None): # EXAMPLE: /TriggerRuns/post/TriggerRuns_QueryByFactory @try_manual -def step_trigger_run_query_by_factory(test, rg, checks=None): +def step_trigger_run_query_by_factory(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger-run query-by-factory ' @@ -775,7 +819,7 @@ def step_trigger_run_query_by_factory(test, rg, checks=None): # EXAMPLE: /TriggerRuns/post/Triggers_Cancel @try_manual -def step_trigger_run_cancel(test, rg, checks=None): +def step_trigger_run_cancel(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger-run cancel ' @@ -788,7 +832,7 @@ def step_trigger_run_cancel(test, rg, checks=None): # EXAMPLE: /TriggerRuns/post/Triggers_Rerun @try_manual -def step_trigger_run_rerun(test, rg, checks=None): +def step_trigger_run_rerun(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger-run rerun ' @@ -801,7 +845,7 @@ def step_trigger_run_rerun(test, rg, checks=None): # EXAMPLE: /Triggers/delete/Triggers_Delete @try_manual -def step_trigger_delete(test, rg, checks=None): +def step_trigger_delete(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory trigger delete -y ' @@ -813,7 +857,7 @@ def step_trigger_delete(test, rg, checks=None): # EXAMPLE: /Factories/delete/Factories_Delete @try_manual -def step_delete(test, rg, checks=None): +def step_delete(test, checks=None): if checks is None: checks = [] test.cmd('az datafactory delete -y ' diff --git a/src/datafactory/azext_datafactory/tests/latest/recordings/test_datafactory_Scenario.yaml b/src/datafactory/azext_datafactory/tests/latest/recordings/test_datafactory_main.yaml similarity index 100% rename from src/datafactory/azext_datafactory/tests/latest/recordings/test_datafactory_Scenario.yaml rename to src/datafactory/azext_datafactory/tests/latest/recordings/test_datafactory_main.yaml diff --git a/src/datafactory/azext_datafactory/tests/latest/recordings/test_datafactory_managedPrivateEndpoint.yaml b/src/datafactory/azext_datafactory/tests/latest/recordings/test_datafactory_managedPrivateEndpoint.yaml new file mode 100644 index 00000000000..f6596ff4246 --- /dev/null +++ b/src/datafactory/azext_datafactory/tests/latest/recordings/test_datafactory_managedPrivateEndpoint.yaml @@ -0,0 +1,536 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - account list + Connection: + - keep-alive + ParameterSetName: + - --query -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.218370\",\"latitude\":\"-25.731340\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.9780\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.3730\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.890\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\",\"name\":\"swedensouth\",\"displayName\":\"Sweden + South\",\"regionalDisplayName\":\"(Europe) Sweden South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"13.0007\",\"latitude\":\"55.6059\",\"physicalLocation\":\"Malmo\",\"pairedRegion\":[{\"name\":\"swedencentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusslv\",\"name\":\"eastusslv\",\"displayName\":\"East + US SLV\",\"regionalDisplayName\":\"(South America) East US SLV\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Silverstone\",\"pairedRegion\":[{\"name\":\"eastusslv\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusslv\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Europe) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '28399' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Aug 2021 07:27:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": + {"encryption": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - datafactory create + Connection: + - keep-alive + Content-Length: + - '96' + Content-Type: + - application/json + ParameterSetName: + - --location --name --resource-group + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-datafactory/1.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001?api-version=2018-06-01 + response: + body: + string: '{"name":"exampleFa000001","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/examplefaag7y7rdu5","type":"Microsoft.DataFactory/factories","properties":{"provisioningState":"Succeeded","createTime":"2021-08-16T07:27:31.2087066Z","version":"2018-06-01","encryption":{}},"eTag":"\"08004aba-0000-0100-0000-611a13630000\"","location":"eastus","identity":{"type":"SystemAssigned","principalId":"e059b2b7-5d2c-44f5-81c2-3662b3cbdeb4","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"},"tags":{}}' + headers: + cache-control: + - no-cache + content-length: + - '631' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Aug 2021 07:27:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - datafactory managed-virtual-network create + Connection: + - keep-alive + Content-Length: + - '18' + Content-Type: + - application/json + ParameterSetName: + - --factory-name --name --resource-group + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-datafactory/1.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedVirtualNetworks/exampleManagedVi000002?api-version=2018-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedvirtualnetworks/exampleManagedVi000002","name":"exampleManagedVi000002","type":"Microsoft.DataFactory/factories/managedvirtualnetworks","properties":{"vNetId":"3eb3a45b-f6c4-4ab8-887d-88eaf048162b","preventDataExfiltration":false,"alias":"examplefaag7y7rdu5"},"etag":"07001564-0000-0100-0000-611a13680000"}' + headers: + cache-control: + - no-cache + content-length: + - '544' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Aug 2021 07:27:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - datafactory managed-virtual-network list + Connection: + - keep-alive + ParameterSetName: + - --factory-name --resource-group + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-datafactory/1.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedVirtualNetworks?api-version=2018-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedvirtualnetworks/exampleManagedVi000002","name":"exampleManagedVi000002","type":"Microsoft.DataFactory/factories/managedvirtualnetworks","properties":{"vNetId":"3eb3a45b-f6c4-4ab8-887d-88eaf048162b","preventDataExfiltration":false,"alias":"examplefaag7y7rdu5"},"etag":"07001564-0000-0100-0000-611a13680000"}]}' + headers: + cache-control: + - no-cache + content-length: + - '556' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Aug 2021 07:27:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - datafactory managed-virtual-network show + Connection: + - keep-alive + ParameterSetName: + - --factory-name --name --resource-group + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-datafactory/1.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedVirtualNetworks/exampleManagedVi000002?api-version=2018-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedvirtualnetworks/exampleManagedVi000002","name":"exampleManagedVi000002","type":"Microsoft.DataFactory/factories/managedvirtualnetworks","properties":{"vNetId":"3eb3a45b-f6c4-4ab8-887d-88eaf048162b","preventDataExfiltration":false,"alias":"examplefaag7y7rdu5"},"etag":"07001564-0000-0100-0000-611a13680000"}' + headers: + cache-control: + - no-cache + content-length: + - '544' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Aug 2021 07:27:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"groupId": "blob", "privateLinkResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.Storage/storageAccounts/clitest000005"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - datafactory managed-private-endpoint create + Connection: + - keep-alive + Content-Length: + - '275' + Content-Type: + - application/json + ParameterSetName: + - --factory-name --group-id --private-link-resource-id --name --managed-virtual-network-name + --resource-group + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-datafactory/1.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedVirtualNetworks/exampleManagedVi000002/managedPrivateEndpoints/exampleManagedPr000003?api-version=2018-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedvirtualnetworks/exampleManagedVi000002/managedprivateendpoints/exampleManagedPr000003","name":"exampleManagedPr000003","type":"Microsoft.DataFactory/factories/managedvirtualnetworks/managedprivateendpoints","properties":{"provisioningState":"Provisioning","privateLinkResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.Storage/storageAccounts/clitest000005","groupId":"blob","fqdns":[],"connectionState":{"status":"","description":"","actionsRequired":""}}}' + headers: + cache-control: + - no-cache + content-length: + - '843' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Aug 2021 07:27:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - datafactory managed-private-endpoint list + Connection: + - keep-alive + ParameterSetName: + - --factory-name --managed-virtual-network-name --resource-group + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-datafactory/1.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedVirtualNetworks/exampleManagedVi000002/managedPrivateEndpoints?api-version=2018-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedvirtualnetworks/exampleManagedVi000002/managedprivateendpoints/exampleManagedPr000003","name":"exampleManagedPr000003","type":"Microsoft.DataFactory/factories/managedvirtualnetworks/managedprivateendpoints","properties":{"provisioningState":"Provisioning","privateLinkResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.Storage/storageAccounts/clitest000005","groupId":"blob","fqdns":[],"connectionState":{"status":"","description":"","actionsRequired":""}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '855' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Aug 2021 07:27:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - datafactory managed-private-endpoint show + Connection: + - keep-alive + ParameterSetName: + - --factory-name --name --managed-virtual-network-name --resource-group + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-datafactory/1.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedVirtualNetworks/exampleManagedVi000002/managedPrivateEndpoints/exampleManagedPr000003?api-version=2018-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001/managedvirtualnetworks/exampleManagedVi000002/managedprivateendpoints/exampleManagedPr000003","name":"exampleManagedPr000003","type":"Microsoft.DataFactory/factories/managedvirtualnetworks/managedprivateendpoints","properties":{"provisioningState":"Provisioning","privateLinkResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.Storage/storageAccounts/clitest000005","groupId":"blob","fqdns":[],"connectionState":{"status":"","description":"","actionsRequired":""}}}' + headers: + cache-control: + - no-cache + content-length: + - '843' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 16 Aug 2021 07:27:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - datafactory delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -y --name --resource-group + User-Agent: + - AZURECLI/2.27.0 azsdk-python-mgmt-datafactory/1.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000004/providers/Microsoft.DataFactory/factories/exampleFa000001?api-version=2018-06-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 16 Aug 2021 07:27:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +version: 1 diff --git a/src/datafactory/azext_datafactory/tests/latest/test_datafactory_scenario.py b/src/datafactory/azext_datafactory/tests/latest/test_datafactory_scenario.py index 517a35650f8..6bfdf3885a3 100644 --- a/src/datafactory/azext_datafactory/tests/latest/test_datafactory_scenario.py +++ b/src/datafactory/azext_datafactory/tests/latest/test_datafactory_scenario.py @@ -11,16 +11,14 @@ import os from azure.cli.testsdk import ScenarioTest from azure.cli.testsdk import ResourceGroupPreparer +from azure.cli.testsdk import StorageAccountPreparer from .example_steps import step_create from .example_steps import step_update from .example_steps import step_linked_service_create -from .example_steps import step_linked_service_update from .example_steps import step_dataset_create -from .example_steps import step_dataset_update from .example_steps import step_pipeline_create from .example_steps import step_pipeline_update from .example_steps import step_trigger_create -from .example_steps import step_trigger_update from .example_steps import step_integration_runtime_self_hosted_create from .example_steps import step_integration_runtime_update from .example_steps import step_integration_runtime_linked @@ -66,6 +64,12 @@ from .example_steps import step_dataset_delete from .example_steps import step_linked_service_delete from .example_steps import step_delete +from .example_steps import step_managed_virtual_network_create +from .example_steps import step_managed_virtual_network_list +from .example_steps import step_managed_virtual_network_show +from .example_steps import step_managed_private_endpoint_create +from .example_steps import step_managed_private_endpoint_list +from .example_steps import step_managed_private_endpoint_show from .. import ( try_manual, raise_if, @@ -76,92 +80,91 @@ TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) -# Env setup_scenario +# Env setup_main @try_manual -def setup_scenario(test, rg): +def setup_main(test): pass -# Env cleanup_scenario +# Env cleanup_main @try_manual -def cleanup_scenario(test, rg): +def cleanup_main(test): pass -# Testcase: Scenario +# Testcase: main @try_manual -def call_scenario(test, rg): - setup_scenario(test, rg) - step_create(test, rg, checks=[]) - step_update(test, rg, checks=[]) - step_linked_service_create(test, rg, checks=[]) - step_linked_service_update(test, rg, checks=[]) - step_dataset_create(test, rg, checks=[]) - step_dataset_update(test, rg, checks=[]) - step_pipeline_create(test, rg, checks=[]) - step_pipeline_update(test, rg, checks=[]) - step_trigger_create(test, rg, checks=[]) - step_trigger_update(test, rg, checks=[]) - step_integration_runtime_self_hosted_create(test, rg, checks=[]) - step_integration_runtime_update(test, rg, checks=[]) - step_integration_runtime_linked(test, rg, checks=[]) - step_pipeline_create_run(test, rg, checks=[]) - step_integration_runtime_show(test, rg, checks=[]) +def call_main(test): + setup_main(test) + step_create(test, checks=[]) + step_update(test, checks=[]) + step_linked_service_create(test, checks=[]) + # STEP NOT FOUND: LinkedServices_Update + step_dataset_create(test, checks=[]) + # STEP NOT FOUND: Datasets_Update + step_pipeline_create(test, checks=[]) + step_pipeline_update(test, checks=[]) + step_trigger_create(test, checks=[]) + # STEP NOT FOUND: Triggers_Update + step_integration_runtime_self_hosted_create(test, checks=[]) + step_integration_runtime_update(test, checks=[]) + step_integration_runtime_linked(test, checks=[]) + step_pipeline_create_run(test, checks=[]) + step_integration_runtime_show(test, checks=[]) # STEP NOT FOUND: RerunTriggers_ListByTrigger - step_linked_service_show(test, rg, checks=[]) - step_pipeline_run_show(test, rg, checks=[]) - step_pipeline_show(test, rg, checks=[]) - step_dataset_show(test, rg, checks=[]) - step_trigger_show(test, rg, checks=[]) - step_integration_runtime_list(test, rg, checks=[]) - step_linked_service_list(test, rg, checks=[]) - step_pipeline_list(test, rg, checks=[]) - step_trigger_list(test, rg, checks=[]) - step_dataset_list(test, rg, checks=[]) - step_show(test, rg, checks=[]) - step_list2(test, rg, checks=[]) - step_list(test, rg, checks=[]) + step_linked_service_show(test, checks=[]) + step_pipeline_run_show(test, checks=[]) + step_pipeline_show(test, checks=[]) + step_dataset_show(test, checks=[]) + step_trigger_show(test, checks=[]) + step_integration_runtime_list(test, checks=[]) + step_linked_service_list(test, checks=[]) + step_pipeline_list(test, checks=[]) + step_trigger_list(test, checks=[]) + step_dataset_list(test, checks=[]) + step_show(test, checks=[]) + step_list2(test, checks=[]) + step_list(test, checks=[]) # STEP NOT FOUND: Operations_List # STEP NOT FOUND: RerunTriggers_Cancel # STEP NOT FOUND: RerunTriggers_Start # STEP NOT FOUND: RerunTriggers_Stop - step_integration_runtime_regenerate_auth_key(test, rg, checks=[]) + step_integration_runtime_regenerate_auth_key(test, checks=[]) # STEP NOT FOUND: TriggerRuns_Rerun - step_integration_runtime_get_connection_info(test, rg, checks=[]) - step_integration_runtime_sync_credentials(test, rg, checks=[]) - step_integration_runtime_get_monitoring_data(test, rg, checks=[]) - step_integration_runtime_list_auth_key(test, rg, checks=[]) - step_integration_runtime_remove_link(test, rg, checks=[]) - step_integration_runtime_get_status(test, rg, checks=[]) - step_integration_runtime_start(test, rg, checks=[]) - step_integration_runtime_stop(test, rg, checks=[]) - step_trigger_get_event_subscription_status(test, rg, checks=[]) - step_activity_run_query_by_pipeline_run(test, rg, checks=[]) - step_trigger_unsubscribe_from_event(test, rg, checks=[]) - step_trigger_subscribe_to_event(test, rg, checks=[]) - step_trigger_start(test, rg, checks=[]) - step_trigger_stop(test, rg, checks=[]) - step_get_git_hub_access_token(test, rg, checks=[]) - step_get_data_plane_access(test, rg, checks=[]) - step_pipeline_run_query_by_factory(test, rg, checks=[]) - step_pipeline_run_cancel(test, rg, checks=[]) - step_trigger_run_query_by_factory(test, rg, checks=[]) - step_configure_factory_repo(test, rg, checks=[]) - step_integration_runtime_delete(test, rg, checks=[]) - step_trigger_delete(test, rg, checks=[]) - step_pipeline_delete(test, rg, checks=[]) - step_dataset_delete(test, rg, checks=[]) - step_linked_service_delete(test, rg, checks=[]) - step_delete(test, rg, checks=[]) - cleanup_scenario(test, rg) - - -# Test class for Scenario -@try_manual -class DatafactoryScenarioTest(ScenarioTest): + step_integration_runtime_get_connection_info(test, checks=[]) + step_integration_runtime_sync_credentials(test, checks=[]) + step_integration_runtime_get_monitoring_data(test, checks=[]) + step_integration_runtime_list_auth_key(test, checks=[]) + step_integration_runtime_remove_link(test, checks=[]) + step_integration_runtime_get_status(test, checks=[]) + step_integration_runtime_start(test, checks=[]) + step_integration_runtime_stop(test, checks=[]) + step_trigger_get_event_subscription_status(test, checks=[]) + step_activity_run_query_by_pipeline_run(test, checks=[]) + step_trigger_unsubscribe_from_event(test, checks=[]) + step_trigger_subscribe_to_event(test, checks=[]) + step_trigger_start(test, checks=[]) + step_trigger_stop(test, checks=[]) + step_get_git_hub_access_token(test, checks=[]) + step_get_data_plane_access(test, checks=[]) + step_pipeline_run_query_by_factory(test, checks=[]) + step_pipeline_run_cancel(test, checks=[]) + step_trigger_run_query_by_factory(test, checks=[]) + step_configure_factory_repo(test, checks=[]) + step_integration_runtime_delete(test, checks=[]) + step_trigger_delete(test, checks=[]) + step_pipeline_delete(test, checks=[]) + step_dataset_delete(test, checks=[]) + step_linked_service_delete(test, checks=[]) + step_delete(test, checks=[]) + cleanup_main(test) + +# Test class for main +@try_manual +class DatafactorymainTest(ScenarioTest): def __init__(self, *args, **kwargs): - super(DatafactoryScenarioTest, self).__init__(*args, **kwargs) + super(DatafactorymainTest, self).__init__(*args, **kwargs) self.kwargs.update({ 'subscription_id': self.get_subscription_id() }) @@ -177,7 +180,59 @@ def __init__(self, *args, **kwargs): }) @ResourceGroupPreparer(name_prefix='clitestdatafactory_exampleResourceGroup'[:7], key='rg', parameter_name='rg') - def test_datafactory_Scenario(self, rg): - call_scenario(self, rg) + def test_datafactory_main(self, rg): + call_main(self) + calc_coverage(__file__) + raise_if() + +# Env setup_managedprivateendpoint +@try_manual +def setup_managedprivateendpoint(test): + pass + + +# Env cleanup_managedprivateendpoint +@try_manual +def cleanup_managedprivateendpoint(test): + pass + + +# Testcase: managedPrivateEndpoint +@try_manual +def call_managedprivateendpoint(test): + setup_managedprivateendpoint(test) + step_create(test, checks=[]) + step_managed_virtual_network_create(test, checks=[]) + step_managed_virtual_network_list(test, checks=[]) + step_managed_virtual_network_show(test, checks=[]) + step_managed_private_endpoint_create(test, checks=[]) + step_managed_private_endpoint_list(test, checks=[]) + step_managed_private_endpoint_show(test, checks=[]) + step_delete(test, checks=[]) + cleanup_managedprivateendpoint(test) + + +# Test class for managedPrivateEndpoint +@try_manual +class DatafactorymanagedPrivateEndpointTest(ScenarioTest): + def __init__(self, *args, **kwargs): + super(DatafactorymanagedPrivateEndpointTest, self).__init__(*args, **kwargs) + self.kwargs.update({ + 'subscription_id': self.get_subscription_id() + }) + + self.kwargs.update({ + 'myFactory': self.create_random_name(prefix='exampleFactoryName'[:9], length=18), + 'myManagedVirtualNetwork': self.create_random_name(prefix='exampleManagedVirtualNetworkName'[:16], + length=32), + 'myManagedPrivateEndpoint': self.create_random_name(prefix='exampleManagedPrivateEndpointName'[:16], + length=33), + }) + + @ResourceGroupPreparer(name_prefix='clitestdatafactory_exampleResourceGroup'[:7], key='rg', parameter_name='rg') + @StorageAccountPreparer(name_prefix='clitestdatafactory_exampleBlobStorage'[:7], key='sa', + resource_group_parameter_name='rg') + def test_datafactory_managedPrivateEndpoint(self, rg): + call_managedprivateendpoint(self) calc_coverage(__file__) raise_if() diff --git a/src/datafactory/azext_datafactory/tests/latest/test_datafactory_scenario_coverage.md b/src/datafactory/azext_datafactory/tests/latest/test_datafactory_scenario_coverage.md index b7eabe4528a..ca7eec23d45 100644 --- a/src/datafactory/azext_datafactory/tests/latest/test_datafactory_scenario_coverage.md +++ b/src/datafactory/azext_datafactory/tests/latest/test_datafactory_scenario_coverage.md @@ -1,48 +1,10 @@ |Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt| -|step_create|successed||||2021-04-26 09:05:32.308913|2021-04-26 09:05:32.501033| -|step_update|successed||||2021-04-26 09:05:22.750754|2021-04-26 09:05:22.880707| -|step_linked_service_create|successed||||2021-04-26 09:05:22.880707|2021-04-26 09:05:23.009706| -|step_linked_service_update|successed||||2021-04-26 09:05:23.010706|2021-04-26 09:05:23.174579| -|step_dataset_create|successed||||2021-04-26 09:05:23.174579|2021-04-26 09:05:23.317043| -|step_dataset_update|successed||||2021-04-26 09:05:23.318045|2021-04-26 09:05:23.451047| -|step_pipeline_create|successed||||2021-04-26 09:05:23.452049|2021-04-26 09:05:23.575751| -|step_trigger_create|successed||||2021-04-26 09:05:23.703756|2021-04-26 09:05:23.871057| -|step_trigger_update|successed||||2021-04-26 09:05:23.871057|2021-04-26 09:05:24.019053| -|step_integration_runtime_self_hosted_create|successed||||2021-04-26 09:05:24.019053|2021-04-26 09:05:24.155099| -|step_integration_runtime_update|successed||||2021-04-26 09:05:24.155099|2021-04-26 09:05:24.285096| -|step_integration_runtime_show|successed||||2021-04-26 09:05:29.524820|2021-04-26 09:05:29.675815| -|step_linked_service_show|successed||||2021-04-26 09:05:24.582291|2021-04-26 09:05:24.718292| -|step_pipeline_show|successed||||2021-04-26 09:05:24.719291|2021-04-26 09:05:24.872517| -|step_dataset_show|successed||||2021-04-26 09:05:24.873517|2021-04-26 09:05:25.000030| -|step_trigger_show|successed||||2021-04-26 09:05:33.782136|2021-04-26 09:05:33.927138| -|step_integration_runtime_list|successed||||2021-04-26 09:05:25.115003|2021-04-26 09:05:25.253055| -|step_linked_service_list|successed||||2021-04-26 09:05:25.254059|2021-04-26 09:05:25.409635| -|step_pipeline_list|successed||||2021-04-26 09:05:25.409635|2021-04-26 09:05:25.533704| -|step_trigger_list|successed||||2021-04-26 09:05:25.533704|2021-04-26 09:05:25.676865| -|step_dataset_list|successed||||2021-04-26 09:05:25.676865|2021-04-26 09:05:25.810871| -|step_show|successed||||2021-04-26 09:05:25.810871|2021-04-26 09:05:25.938042| -|step_list2|successed||||2021-04-26 09:05:25.938042|2021-04-26 09:05:26.060042| -|step_list|successed||||2021-04-26 09:05:26.060042|2021-04-26 09:05:26.183196| -|step_integration_runtime_regenerate_auth_key|successed||||2021-04-26 09:05:26.184194|2021-04-26 09:05:26.313194| -|step_integration_runtime_sync_credentials|successed||||2021-04-26 09:05:26.314192|2021-04-26 09:05:26.449307| -|step_integration_runtime_get_monitoring_data|successed||||2021-04-26 09:05:26.449307|2021-04-26 09:05:26.636000| -|step_integration_runtime_list_auth_key|successed||||2021-04-26 09:05:26.636000|2021-04-26 09:05:26.790002| -|step_integration_runtime_remove_link|successed||||2021-04-26 09:05:26.791005|2021-04-26 09:05:26.934513| -|step_integration_runtime_get_status|successed||||2021-04-26 09:05:26.935512|2021-04-26 09:05:27.069511| -|step_trigger_get_event_subscription_status|successed||||2021-04-26 09:05:27.069511|2021-04-26 09:05:27.211487| -|step_trigger_unsubscribe_from_event|successed||||2021-04-26 09:05:27.212492|2021-04-26 09:05:27.402802| -|step_trigger_subscribe_to_event|successed||||2021-04-26 09:05:27.402802|2021-04-26 09:05:27.532807| -|step_trigger_start|successed||||2021-04-26 09:05:33.632612|2021-04-26 09:05:33.782136| -|step_trigger_stop|successed||||2021-04-26 09:05:34.611518|2021-04-26 09:05:34.768873| -|step_get_data_plane_access|successed||||2021-04-26 09:05:27.837090|2021-04-26 09:05:27.977072| -|step_configure_factory_repo|successed||||2021-04-26 09:05:28.099075|2021-04-26 09:05:28.288426| -|step_integration_runtime_delete|successed||||2021-04-26 09:05:31.965947|2021-04-26 09:05:32.140944| -|step_trigger_delete|successed||||2021-04-26 09:05:34.768873|2021-04-26 09:05:34.900878| -|step_pipeline_delete|successed||||2021-04-26 09:05:34.900878|2021-04-26 09:05:35.030991| -|step_dataset_delete|successed||||2021-04-26 09:05:28.737334|2021-04-26 09:05:28.861337| -|step_linked_service_delete|successed||||2021-04-26 09:05:28.861337|2021-04-26 09:05:28.989612| -|step_delete|successed||||2021-04-26 09:05:35.031990|2021-04-26 09:05:35.197507| -|step_integration_runtime_start|successed||||2021-04-26 09:05:29.676815|2021-04-26 09:05:30.373119| -|step_integration_runtime_stop|successed||||2021-04-26 09:05:30.374118|2021-04-26 09:05:31.964925| -|step_activity_run_query_by_pipeline_run|successed||||2021-04-26 09:05:33.012581|2021-04-26 09:05:33.193579| -Coverage: 46/46 +|step_create|successed||||2021-08-16 07:27:16.493725|2021-08-16 07:27:34.207925| +|step_managed_virtual_network_create|successed||||2021-08-16 07:27:34.207925|2021-08-16 07:27:36.767592| +|step_managed_virtual_network_list|successed||||2021-08-16 07:27:36.767592|2021-08-16 07:27:37.485625| +|step_managed_virtual_network_show|successed||||2021-08-16 07:27:37.486610|2021-08-16 07:27:38.936934| +|step_managed_private_endpoint_create|successed||||2021-08-16 07:27:38.936934|2021-08-16 07:27:40.441373| +|step_managed_private_endpoint_list|successed||||2021-08-16 07:27:40.441373|2021-08-16 07:27:41.849929| +|step_managed_private_endpoint_show|successed||||2021-08-16 07:27:41.849929|2021-08-16 07:27:43.250730| +|step_delete|successed||||2021-08-16 07:27:43.250730|2021-08-16 07:27:48.809653| +Coverage: 8/8 diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/__init__.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/__init__.py index df905149155..0363a016fcc 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/__init__.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/__init__.py @@ -7,6 +7,9 @@ # -------------------------------------------------------------------------- from ._data_factory_management_client import DataFactoryManagementClient +from ._version import VERSION + +__version__ = VERSION __all__ = ['DataFactoryManagementClient'] try: diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_configuration.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_configuration.py index 3e3cbab9738..79ca686fbd5 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_configuration.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_configuration.py @@ -12,13 +12,14 @@ from azure.core.pipeline import policies from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from ._version import VERSION + if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from typing import Any from azure.core.credentials import TokenCredential -VERSION = "unknown" class DataFactoryManagementClientConfiguration(Configuration): """Configuration for DataFactoryManagementClient. @@ -49,7 +50,7 @@ def __init__( self.subscription_id = subscription_id self.api_version = "2018-06-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'datafactorymanagementclient/{}'.format(VERSION)) + kwargs.setdefault('sdk_moniker', 'mgmt-datafactory/{}'.format(VERSION)) self._configure(**kwargs) def _configure( diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_data_factory_management_client.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_data_factory_management_client.py index f272437a3e9..afb3f8d6f74 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_data_factory_management_client.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_data_factory_management_client.py @@ -45,45 +45,45 @@ class DataFactoryManagementClient(object): """The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. :ivar operations: Operations operations - :vartype operations: data_factory_management_client.operations.Operations + :vartype operations: azure.mgmt.datafactory.operations.Operations :ivar factories: FactoriesOperations operations - :vartype factories: data_factory_management_client.operations.FactoriesOperations + :vartype factories: azure.mgmt.datafactory.operations.FactoriesOperations :ivar exposure_control: ExposureControlOperations operations - :vartype exposure_control: data_factory_management_client.operations.ExposureControlOperations + :vartype exposure_control: azure.mgmt.datafactory.operations.ExposureControlOperations :ivar integration_runtimes: IntegrationRuntimesOperations operations - :vartype integration_runtimes: data_factory_management_client.operations.IntegrationRuntimesOperations + :vartype integration_runtimes: azure.mgmt.datafactory.operations.IntegrationRuntimesOperations :ivar integration_runtime_object_metadata: IntegrationRuntimeObjectMetadataOperations operations - :vartype integration_runtime_object_metadata: data_factory_management_client.operations.IntegrationRuntimeObjectMetadataOperations + :vartype integration_runtime_object_metadata: azure.mgmt.datafactory.operations.IntegrationRuntimeObjectMetadataOperations :ivar integration_runtime_nodes: IntegrationRuntimeNodesOperations operations - :vartype integration_runtime_nodes: data_factory_management_client.operations.IntegrationRuntimeNodesOperations + :vartype integration_runtime_nodes: azure.mgmt.datafactory.operations.IntegrationRuntimeNodesOperations :ivar linked_services: LinkedServicesOperations operations - :vartype linked_services: data_factory_management_client.operations.LinkedServicesOperations + :vartype linked_services: azure.mgmt.datafactory.operations.LinkedServicesOperations :ivar datasets: DatasetsOperations operations - :vartype datasets: data_factory_management_client.operations.DatasetsOperations + :vartype datasets: azure.mgmt.datafactory.operations.DatasetsOperations :ivar pipelines: PipelinesOperations operations - :vartype pipelines: data_factory_management_client.operations.PipelinesOperations + :vartype pipelines: azure.mgmt.datafactory.operations.PipelinesOperations :ivar pipeline_runs: PipelineRunsOperations operations - :vartype pipeline_runs: data_factory_management_client.operations.PipelineRunsOperations + :vartype pipeline_runs: azure.mgmt.datafactory.operations.PipelineRunsOperations :ivar activity_runs: ActivityRunsOperations operations - :vartype activity_runs: data_factory_management_client.operations.ActivityRunsOperations + :vartype activity_runs: azure.mgmt.datafactory.operations.ActivityRunsOperations :ivar triggers: TriggersOperations operations - :vartype triggers: data_factory_management_client.operations.TriggersOperations + :vartype triggers: azure.mgmt.datafactory.operations.TriggersOperations :ivar trigger_runs: TriggerRunsOperations operations - :vartype trigger_runs: data_factory_management_client.operations.TriggerRunsOperations + :vartype trigger_runs: azure.mgmt.datafactory.operations.TriggerRunsOperations :ivar data_flows: DataFlowsOperations operations - :vartype data_flows: data_factory_management_client.operations.DataFlowsOperations + :vartype data_flows: azure.mgmt.datafactory.operations.DataFlowsOperations :ivar data_flow_debug_session: DataFlowDebugSessionOperations operations - :vartype data_flow_debug_session: data_factory_management_client.operations.DataFlowDebugSessionOperations + :vartype data_flow_debug_session: azure.mgmt.datafactory.operations.DataFlowDebugSessionOperations :ivar managed_virtual_networks: ManagedVirtualNetworksOperations operations - :vartype managed_virtual_networks: data_factory_management_client.operations.ManagedVirtualNetworksOperations + :vartype managed_virtual_networks: azure.mgmt.datafactory.operations.ManagedVirtualNetworksOperations :ivar managed_private_endpoints: ManagedPrivateEndpointsOperations operations - :vartype managed_private_endpoints: data_factory_management_client.operations.ManagedPrivateEndpointsOperations + :vartype managed_private_endpoints: azure.mgmt.datafactory.operations.ManagedPrivateEndpointsOperations :ivar private_end_point_connections: PrivateEndPointConnectionsOperations operations - :vartype private_end_point_connections: data_factory_management_client.operations.PrivateEndPointConnectionsOperations + :vartype private_end_point_connections: azure.mgmt.datafactory.operations.PrivateEndPointConnectionsOperations :ivar private_endpoint_connection: PrivateEndpointConnectionOperations operations - :vartype private_endpoint_connection: data_factory_management_client.operations.PrivateEndpointConnectionOperations + :vartype private_endpoint_connection: azure.mgmt.datafactory.operations.PrivateEndpointConnectionOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: data_factory_management_client.operations.PrivateLinkResourcesOperations + :vartype private_link_resources: azure.mgmt.datafactory.operations.PrivateLinkResourcesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription identifier. diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_version.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_version.py new file mode 100644 index 00000000000..c47f66669f1 --- /dev/null +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/_version.py @@ -0,0 +1,9 @@ +# 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. +# -------------------------------------------------------------------------- + +VERSION = "1.0.0" diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_configuration.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_configuration.py index c88a091bdb9..e540bdbfb3f 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_configuration.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_configuration.py @@ -12,11 +12,12 @@ from azure.core.pipeline import policies from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from .._version import VERSION + if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -VERSION = "unknown" class DataFactoryManagementClientConfiguration(Configuration): """Configuration for DataFactoryManagementClient. @@ -46,7 +47,7 @@ def __init__( self.subscription_id = subscription_id self.api_version = "2018-06-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'datafactorymanagementclient/{}'.format(VERSION)) + kwargs.setdefault('sdk_moniker', 'mgmt-datafactory/{}'.format(VERSION)) self._configure(**kwargs) def _configure( diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_configuration_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_configuration_async.py deleted file mode 100644 index 411d6c4a66e..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_configuration_async.py +++ /dev/null @@ -1,67 +0,0 @@ -# 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 typing import Any, TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -VERSION = "unknown" - -class DataFactoryManagementClientConfiguration(Configuration): - """Configuration for DataFactoryManagementClient. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The subscription identifier. - :type subscription_id: str - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(DataFactoryManagementClientConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2018-06-01" - self.credential_scopes = ['https://management.azure.com/.default'] - self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) - kwargs.setdefault('sdk_moniker', 'datafactorymanagementclient/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs: Any - ) -> None: - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_data_factory_management_client.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_data_factory_management_client.py index 255a1839c21..ce6023b2263 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_data_factory_management_client.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_data_factory_management_client.py @@ -43,45 +43,45 @@ class DataFactoryManagementClient(object): """The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. :ivar operations: Operations operations - :vartype operations: data_factory_management_client.aio.operations.Operations + :vartype operations: azure.mgmt.datafactory.aio.operations.Operations :ivar factories: FactoriesOperations operations - :vartype factories: data_factory_management_client.aio.operations.FactoriesOperations + :vartype factories: azure.mgmt.datafactory.aio.operations.FactoriesOperations :ivar exposure_control: ExposureControlOperations operations - :vartype exposure_control: data_factory_management_client.aio.operations.ExposureControlOperations + :vartype exposure_control: azure.mgmt.datafactory.aio.operations.ExposureControlOperations :ivar integration_runtimes: IntegrationRuntimesOperations operations - :vartype integration_runtimes: data_factory_management_client.aio.operations.IntegrationRuntimesOperations + :vartype integration_runtimes: azure.mgmt.datafactory.aio.operations.IntegrationRuntimesOperations :ivar integration_runtime_object_metadata: IntegrationRuntimeObjectMetadataOperations operations - :vartype integration_runtime_object_metadata: data_factory_management_client.aio.operations.IntegrationRuntimeObjectMetadataOperations + :vartype integration_runtime_object_metadata: azure.mgmt.datafactory.aio.operations.IntegrationRuntimeObjectMetadataOperations :ivar integration_runtime_nodes: IntegrationRuntimeNodesOperations operations - :vartype integration_runtime_nodes: data_factory_management_client.aio.operations.IntegrationRuntimeNodesOperations + :vartype integration_runtime_nodes: azure.mgmt.datafactory.aio.operations.IntegrationRuntimeNodesOperations :ivar linked_services: LinkedServicesOperations operations - :vartype linked_services: data_factory_management_client.aio.operations.LinkedServicesOperations + :vartype linked_services: azure.mgmt.datafactory.aio.operations.LinkedServicesOperations :ivar datasets: DatasetsOperations operations - :vartype datasets: data_factory_management_client.aio.operations.DatasetsOperations + :vartype datasets: azure.mgmt.datafactory.aio.operations.DatasetsOperations :ivar pipelines: PipelinesOperations operations - :vartype pipelines: data_factory_management_client.aio.operations.PipelinesOperations + :vartype pipelines: azure.mgmt.datafactory.aio.operations.PipelinesOperations :ivar pipeline_runs: PipelineRunsOperations operations - :vartype pipeline_runs: data_factory_management_client.aio.operations.PipelineRunsOperations + :vartype pipeline_runs: azure.mgmt.datafactory.aio.operations.PipelineRunsOperations :ivar activity_runs: ActivityRunsOperations operations - :vartype activity_runs: data_factory_management_client.aio.operations.ActivityRunsOperations + :vartype activity_runs: azure.mgmt.datafactory.aio.operations.ActivityRunsOperations :ivar triggers: TriggersOperations operations - :vartype triggers: data_factory_management_client.aio.operations.TriggersOperations + :vartype triggers: azure.mgmt.datafactory.aio.operations.TriggersOperations :ivar trigger_runs: TriggerRunsOperations operations - :vartype trigger_runs: data_factory_management_client.aio.operations.TriggerRunsOperations + :vartype trigger_runs: azure.mgmt.datafactory.aio.operations.TriggerRunsOperations :ivar data_flows: DataFlowsOperations operations - :vartype data_flows: data_factory_management_client.aio.operations.DataFlowsOperations + :vartype data_flows: azure.mgmt.datafactory.aio.operations.DataFlowsOperations :ivar data_flow_debug_session: DataFlowDebugSessionOperations operations - :vartype data_flow_debug_session: data_factory_management_client.aio.operations.DataFlowDebugSessionOperations + :vartype data_flow_debug_session: azure.mgmt.datafactory.aio.operations.DataFlowDebugSessionOperations :ivar managed_virtual_networks: ManagedVirtualNetworksOperations operations - :vartype managed_virtual_networks: data_factory_management_client.aio.operations.ManagedVirtualNetworksOperations + :vartype managed_virtual_networks: azure.mgmt.datafactory.aio.operations.ManagedVirtualNetworksOperations :ivar managed_private_endpoints: ManagedPrivateEndpointsOperations operations - :vartype managed_private_endpoints: data_factory_management_client.aio.operations.ManagedPrivateEndpointsOperations + :vartype managed_private_endpoints: azure.mgmt.datafactory.aio.operations.ManagedPrivateEndpointsOperations :ivar private_end_point_connections: PrivateEndPointConnectionsOperations operations - :vartype private_end_point_connections: data_factory_management_client.aio.operations.PrivateEndPointConnectionsOperations + :vartype private_end_point_connections: azure.mgmt.datafactory.aio.operations.PrivateEndPointConnectionsOperations :ivar private_endpoint_connection: PrivateEndpointConnectionOperations operations - :vartype private_endpoint_connection: data_factory_management_client.aio.operations.PrivateEndpointConnectionOperations + :vartype private_endpoint_connection: azure.mgmt.datafactory.aio.operations.PrivateEndpointConnectionOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: data_factory_management_client.aio.operations.PrivateLinkResourcesOperations + :vartype private_link_resources: azure.mgmt.datafactory.aio.operations.PrivateLinkResourcesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription identifier. diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_data_factory_management_client_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_data_factory_management_client_async.py deleted file mode 100644 index b2b322686b8..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/_data_factory_management_client_async.py +++ /dev/null @@ -1,143 +0,0 @@ -# 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 typing import Any, Optional, TYPE_CHECKING - -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -from ._configuration_async import DataFactoryManagementClientConfiguration -from .operations_async import OperationOperations -from .operations_async import FactoryOperations -from .operations_async import ExposureControlOperations -from .operations_async import IntegrationRuntimeOperations -from .operations_async import IntegrationRuntimeObjectMetadataOperations -from .operations_async import IntegrationRuntimeNodeOperations -from .operations_async import LinkedServiceOperations -from .operations_async import DatasetOperations -from .operations_async import PipelineOperations -from .operations_async import PipelineRunOperations -from .operations_async import ActivityRunOperations -from .operations_async import TriggerOperations -from .operations_async import TriggerRunOperations -from .operations_async import DataFlowOperations -from .operations_async import DataFlowDebugSessionOperations -from .operations_async import ManagedVirtualNetworkOperations -from .operations_async import ManagedPrivateEndpointOperations -from .. import models - - -class DataFactoryManagementClient(object): - """The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. - - :ivar operation: OperationOperations operations - :vartype operation: data_factory_management_client.aio.operations_async.OperationOperations - :ivar factory: FactoryOperations operations - :vartype factory: data_factory_management_client.aio.operations_async.FactoryOperations - :ivar exposure_control: ExposureControlOperations operations - :vartype exposure_control: data_factory_management_client.aio.operations_async.ExposureControlOperations - :ivar integration_runtime: IntegrationRuntimeOperations operations - :vartype integration_runtime: data_factory_management_client.aio.operations_async.IntegrationRuntimeOperations - :ivar integration_runtime_object_metadata: IntegrationRuntimeObjectMetadataOperations operations - :vartype integration_runtime_object_metadata: data_factory_management_client.aio.operations_async.IntegrationRuntimeObjectMetadataOperations - :ivar integration_runtime_node: IntegrationRuntimeNodeOperations operations - :vartype integration_runtime_node: data_factory_management_client.aio.operations_async.IntegrationRuntimeNodeOperations - :ivar linked_service: LinkedServiceOperations operations - :vartype linked_service: data_factory_management_client.aio.operations_async.LinkedServiceOperations - :ivar dataset: DatasetOperations operations - :vartype dataset: data_factory_management_client.aio.operations_async.DatasetOperations - :ivar pipeline: PipelineOperations operations - :vartype pipeline: data_factory_management_client.aio.operations_async.PipelineOperations - :ivar pipeline_run: PipelineRunOperations operations - :vartype pipeline_run: data_factory_management_client.aio.operations_async.PipelineRunOperations - :ivar activity_run: ActivityRunOperations operations - :vartype activity_run: data_factory_management_client.aio.operations_async.ActivityRunOperations - :ivar trigger: TriggerOperations operations - :vartype trigger: data_factory_management_client.aio.operations_async.TriggerOperations - :ivar trigger_run: TriggerRunOperations operations - :vartype trigger_run: data_factory_management_client.aio.operations_async.TriggerRunOperations - :ivar data_flow: DataFlowOperations operations - :vartype data_flow: data_factory_management_client.aio.operations_async.DataFlowOperations - :ivar data_flow_debug_session: DataFlowDebugSessionOperations operations - :vartype data_flow_debug_session: data_factory_management_client.aio.operations_async.DataFlowDebugSessionOperations - :ivar managed_virtual_network: ManagedVirtualNetworkOperations operations - :vartype managed_virtual_network: data_factory_management_client.aio.operations_async.ManagedVirtualNetworkOperations - :ivar managed_private_endpoint: ManagedPrivateEndpointOperations operations - :vartype managed_private_endpoint: data_factory_management_client.aio.operations_async.ManagedPrivateEndpointOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The subscription identifier. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - base_url: Optional[str] = None, - **kwargs: Any - ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = DataFactoryManagementClientConfiguration(credential, subscription_id, **kwargs) - self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._deserialize = Deserializer(client_models) - - self.operation = OperationOperations( - self._client, self._config, self._serialize, self._deserialize) - self.factory = FactoryOperations( - self._client, self._config, self._serialize, self._deserialize) - self.exposure_control = ExposureControlOperations( - self._client, self._config, self._serialize, self._deserialize) - self.integration_runtime = IntegrationRuntimeOperations( - self._client, self._config, self._serialize, self._deserialize) - self.integration_runtime_object_metadata = IntegrationRuntimeObjectMetadataOperations( - self._client, self._config, self._serialize, self._deserialize) - self.integration_runtime_node = IntegrationRuntimeNodeOperations( - self._client, self._config, self._serialize, self._deserialize) - self.linked_service = LinkedServiceOperations( - self._client, self._config, self._serialize, self._deserialize) - self.dataset = DatasetOperations( - self._client, self._config, self._serialize, self._deserialize) - self.pipeline = PipelineOperations( - self._client, self._config, self._serialize, self._deserialize) - self.pipeline_run = PipelineRunOperations( - self._client, self._config, self._serialize, self._deserialize) - self.activity_run = ActivityRunOperations( - self._client, self._config, self._serialize, self._deserialize) - self.trigger = TriggerOperations( - self._client, self._config, self._serialize, self._deserialize) - self.trigger_run = TriggerRunOperations( - self._client, self._config, self._serialize, self._deserialize) - self.data_flow = DataFlowOperations( - self._client, self._config, self._serialize, self._deserialize) - self.data_flow_debug_session = DataFlowDebugSessionOperations( - self._client, self._config, self._serialize, self._deserialize) - self.managed_virtual_network = ManagedVirtualNetworkOperations( - self._client, self._config, self._serialize, self._deserialize) - self.managed_private_endpoint = ManagedPrivateEndpointOperations( - self._client, self._config, self._serialize, self._deserialize) - - async def close(self) -> None: - await self._client.close() - - async def __aenter__(self) -> "DataFactoryManagementClient": - await self._client.__aenter__() - return self - - async def __aexit__(self, *exc_details) -> None: - await self._client.__aexit__(*exc_details) diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_activity_runs_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_activity_runs_operations.py index 39382a45d74..4742074a90c 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_activity_runs_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_activity_runs_operations.py @@ -25,7 +25,7 @@ class ActivityRunsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,10 +57,10 @@ async def query_by_pipeline_run( :param run_id: The pipeline run identifier. :type run_id: str :param filter_parameters: Parameters to filter the activity runs. - :type filter_parameters: ~data_factory_management_client.models.RunFilterParameters + :type filter_parameters: ~azure.mgmt.datafactory.models.RunFilterParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: ActivityRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ActivityRunsQueryResponse + :rtype: ~azure.mgmt.datafactory.models.ActivityRunsQueryResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ActivityRunsQueryResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_data_flow_debug_session_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_data_flow_debug_session_operations.py index dbb85249ab9..40af760f268 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_data_flow_debug_session_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_data_flow_debug_session_operations.py @@ -28,7 +28,7 @@ class DataFlowDebugSessionOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -116,7 +116,7 @@ async def begin_create( :param factory_name: The factory name. :type factory_name: str :param request: Data flow debug session definition. - :type request: ~data_factory_management_client.models.CreateDataFlowDebugSessionRequest + :type request: ~azure.mgmt.datafactory.models.CreateDataFlowDebugSessionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -124,7 +124,7 @@ async def begin_create( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either CreateDataFlowDebugSessionResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.CreateDataFlowDebugSessionResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.datafactory.models.CreateDataFlowDebugSessionResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -187,7 +187,7 @@ def query_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either QueryDataFlowDebugSessionsResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.QueryDataFlowDebugSessionsResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.QueryDataFlowDebugSessionsResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.QueryDataFlowDebugSessionsResponse"] @@ -261,10 +261,10 @@ async def add_data_flow( :param factory_name: The factory name. :type factory_name: str :param request: Data flow debug session definition with debug content. - :type request: ~data_factory_management_client.models.DataFlowDebugPackage + :type request: ~azure.mgmt.datafactory.models.DataFlowDebugPackage :keyword callable cls: A custom type or function that will be passed the direct response :return: AddDataFlowToDebugSessionResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.AddDataFlowToDebugSessionResponse + :rtype: ~azure.mgmt.datafactory.models.AddDataFlowToDebugSessionResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AddDataFlowToDebugSessionResponse"] @@ -327,7 +327,7 @@ async def delete( :param factory_name: The factory name. :type factory_name: str :param request: Data flow debug session definition for deletion. - :type request: ~data_factory_management_client.models.DeleteDataFlowDebugSessionRequest + :type request: ~azure.mgmt.datafactory.models.DeleteDataFlowDebugSessionRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None @@ -449,7 +449,7 @@ async def begin_execute_command( :param factory_name: The factory name. :type factory_name: str :param request: Data flow debug command definition. - :type request: ~data_factory_management_client.models.DataFlowDebugCommandRequest + :type request: ~azure.mgmt.datafactory.models.DataFlowDebugCommandRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -457,7 +457,7 @@ async def begin_execute_command( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DataFlowDebugCommandResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.DataFlowDebugCommandResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.datafactory.models.DataFlowDebugCommandResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_data_flows_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_data_flows_operations.py index 20d1ec288ce..203e381976b 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_data_flows_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_data_flows_operations.py @@ -26,7 +26,7 @@ class DataFlowsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,13 +59,13 @@ async def create_or_update( :param data_flow_name: The data flow name. :type data_flow_name: str :param data_flow: Data flow resource definition. - :type data_flow: ~data_factory_management_client.models.DataFlowResource + :type data_flow: ~azure.mgmt.datafactory.models.DataFlowResource :param if_match: ETag of the data flow entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataFlowResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DataFlowResource + :rtype: ~azure.mgmt.datafactory.models.DataFlowResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowResource"] @@ -138,7 +138,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataFlowResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DataFlowResource + :rtype: ~azure.mgmt.datafactory.models.DataFlowResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowResource"] @@ -258,7 +258,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataFlowListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.DataFlowListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.DataFlowListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowListResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_datasets_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_datasets_operations.py index 23cd39c246d..e0ced18dac1 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_datasets_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_datasets_operations.py @@ -26,7 +26,7 @@ class DatasetsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DatasetListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.DatasetListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.DatasetListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DatasetListResponse"] @@ -133,13 +133,13 @@ async def create_or_update( :param dataset_name: The dataset name. :type dataset_name: str :param dataset: Dataset resource definition. - :type dataset: ~data_factory_management_client.models.DatasetResource + :type dataset: ~azure.mgmt.datafactory.models.DatasetResource :param if_match: ETag of the dataset entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DatasetResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DatasetResource + :rtype: ~azure.mgmt.datafactory.models.DatasetResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DatasetResource"] @@ -212,7 +212,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DatasetResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DatasetResource or None + :rtype: ~azure.mgmt.datafactory.models.DatasetResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.DatasetResource"]] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_exposure_control_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_exposure_control_operations.py index df180e52804..481eddc31af 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_exposure_control_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_exposure_control_operations.py @@ -25,7 +25,7 @@ class ExposureControlOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,10 +51,10 @@ async def get_feature_value( :param location_id: The location identifier. :type location_id: str :param exposure_control_request: The exposure control request. - :type exposure_control_request: ~data_factory_management_client.models.ExposureControlRequest + :type exposure_control_request: ~azure.mgmt.datafactory.models.ExposureControlRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: ExposureControlResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlResponse + :rtype: ~azure.mgmt.datafactory.models.ExposureControlResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlResponse"] @@ -116,10 +116,10 @@ async def get_feature_value_by_factory( :param factory_name: The factory name. :type factory_name: str :param exposure_control_request: The exposure control request. - :type exposure_control_request: ~data_factory_management_client.models.ExposureControlRequest + :type exposure_control_request: ~azure.mgmt.datafactory.models.ExposureControlRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: ExposureControlResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlResponse + :rtype: ~azure.mgmt.datafactory.models.ExposureControlResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlResponse"] @@ -182,10 +182,10 @@ async def query_feature_values_by_factory( :param factory_name: The factory name. :type factory_name: str :param exposure_control_batch_request: The exposure control request for list of features. - :type exposure_control_batch_request: ~data_factory_management_client.models.ExposureControlBatchRequest + :type exposure_control_batch_request: ~azure.mgmt.datafactory.models.ExposureControlBatchRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: ExposureControlBatchResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlBatchResponse + :rtype: ~azure.mgmt.datafactory.models.ExposureControlBatchResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlBatchResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_factories_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_factories_operations.py index f8b64723a03..e1cd9769777 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_factories_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_factories_operations.py @@ -26,7 +26,7 @@ class FactoriesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,7 +49,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FactoryListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.FactoryListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.FactoryListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FactoryListResponse"] @@ -118,10 +118,10 @@ async def configure_factory_repo( :param location_id: The location identifier. :type location_id: str :param factory_repo_update: Update factory repo request definition. - :type factory_repo_update: ~data_factory_management_client.models.FactoryRepoUpdate + :type factory_repo_update: ~azure.mgmt.datafactory.models.FactoryRepoUpdate :keyword callable cls: A custom type or function that will be passed the direct response :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory + :rtype: ~azure.mgmt.datafactory.models.Factory :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] @@ -180,7 +180,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FactoryListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.FactoryListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.FactoryListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FactoryListResponse"] @@ -254,13 +254,13 @@ async def create_or_update( :param factory_name: The factory name. :type factory_name: str :param factory: Factory resource definition. - :type factory: ~data_factory_management_client.models.Factory + :type factory: ~azure.mgmt.datafactory.models.Factory :param if_match: ETag of the factory entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory + :rtype: ~azure.mgmt.datafactory.models.Factory :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] @@ -325,10 +325,10 @@ async def update( :param factory_name: The factory name. :type factory_name: str :param factory_update_parameters: The parameters for updating a factory. - :type factory_update_parameters: ~data_factory_management_client.models.FactoryUpdateParameters + :type factory_update_parameters: ~azure.mgmt.datafactory.models.FactoryUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory + :rtype: ~azure.mgmt.datafactory.models.Factory :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] @@ -395,7 +395,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory or None + :rtype: ~azure.mgmt.datafactory.models.Factory or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.Factory"]] @@ -512,10 +512,10 @@ async def get_git_hub_access_token( :param factory_name: The factory name. :type factory_name: str :param git_hub_access_token_request: Get GitHub access token request definition. - :type git_hub_access_token_request: ~data_factory_management_client.models.GitHubAccessTokenRequest + :type git_hub_access_token_request: ~azure.mgmt.datafactory.models.GitHubAccessTokenRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: GitHubAccessTokenResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.GitHubAccessTokenResponse + :rtype: ~azure.mgmt.datafactory.models.GitHubAccessTokenResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.GitHubAccessTokenResponse"] @@ -578,10 +578,10 @@ async def get_data_plane_access( :param factory_name: The factory name. :type factory_name: str :param policy: Data Plane user access policy definition. - :type policy: ~data_factory_management_client.models.UserAccessPolicy + :type policy: ~azure.mgmt.datafactory.models.UserAccessPolicy :keyword callable cls: A custom type or function that will be passed the direct response :return: AccessPolicyResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.AccessPolicyResponse + :rtype: ~azure.mgmt.datafactory.models.AccessPolicyResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AccessPolicyResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtime_nodes_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtime_nodes_operations.py index 098d00bbb3e..2e475b49a33 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtime_nodes_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtime_nodes_operations.py @@ -25,7 +25,7 @@ class IntegrationRuntimeNodesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ async def get( :type node_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: SelfHostedIntegrationRuntimeNode, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode + :rtype: ~azure.mgmt.datafactory.models.SelfHostedIntegrationRuntimeNode :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SelfHostedIntegrationRuntimeNode"] @@ -190,10 +190,10 @@ async def update( :type node_name: str :param update_integration_runtime_node_request: The parameters for updating an integration runtime node. - :type update_integration_runtime_node_request: ~data_factory_management_client.models.UpdateIntegrationRuntimeNodeRequest + :type update_integration_runtime_node_request: ~azure.mgmt.datafactory.models.UpdateIntegrationRuntimeNodeRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: SelfHostedIntegrationRuntimeNode, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode + :rtype: ~azure.mgmt.datafactory.models.SelfHostedIntegrationRuntimeNode :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SelfHostedIntegrationRuntimeNode"] @@ -264,7 +264,7 @@ async def get_ip_address( :type node_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeNodeIpAddress, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeNodeIpAddress + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeNodeIpAddress :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeNodeIpAddress"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtime_object_metadata_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtime_object_metadata_operations.py index a1825a0d1bb..2b15981c5e1 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtime_object_metadata_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtime_object_metadata_operations.py @@ -27,7 +27,7 @@ class IntegrationRuntimeObjectMetadataOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -115,7 +115,7 @@ async def begin_refresh( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SsisObjectMetadataStatusResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.SsisObjectMetadataStatusResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.datafactory.models.SsisObjectMetadataStatusResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -183,10 +183,10 @@ async def get( :param integration_runtime_name: The integration runtime name. :type integration_runtime_name: str :param get_metadata_request: The parameters for getting a SSIS object metadata. - :type get_metadata_request: ~data_factory_management_client.models.GetSsisObjectMetadataRequest + :type get_metadata_request: ~azure.mgmt.datafactory.models.GetSsisObjectMetadataRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: SsisObjectMetadataListResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SsisObjectMetadataListResponse + :rtype: ~azure.mgmt.datafactory.models.SsisObjectMetadataListResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SsisObjectMetadataListResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtimes_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtimes_operations.py index 6b27efc1819..8a957a86373 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtimes_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_integration_runtimes_operations.py @@ -28,7 +28,7 @@ class IntegrationRuntimesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IntegrationRuntimeListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.IntegrationRuntimeListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.IntegrationRuntimeListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeListResponse"] @@ -135,13 +135,13 @@ async def create_or_update( :param integration_runtime_name: The integration runtime name. :type integration_runtime_name: str :param integration_runtime: Integration runtime resource definition. - :type integration_runtime: ~data_factory_management_client.models.IntegrationRuntimeResource + :type integration_runtime: ~azure.mgmt.datafactory.models.IntegrationRuntimeResource :param if_match: ETag of the integration runtime entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeResource"] @@ -215,7 +215,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource or None + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.IntegrationRuntimeResource"]] @@ -281,10 +281,10 @@ async def update( :param integration_runtime_name: The integration runtime name. :type integration_runtime_name: str :param update_integration_runtime_request: The parameters for updating an integration runtime. - :type update_integration_runtime_request: ~data_factory_management_client.models.UpdateIntegrationRuntimeRequest + :type update_integration_runtime_request: ~azure.mgmt.datafactory.models.UpdateIntegrationRuntimeRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeResource"] @@ -410,7 +410,7 @@ async def get_status( :type integration_runtime_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeStatusResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeStatusResponse + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeStatusResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] @@ -455,6 +455,68 @@ async def get_status( return deserialized get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus'} # type: ignore + async def list_outbound_network_dependencies_endpoints( + self, + resource_group_name: str, + factory_name: str, + integration_runtime_name: str, + **kwargs + ) -> "models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse": + """Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param factory_name: The factory name. + :type factory_name: str + :param integration_runtime_name: The integration runtime name. + :type integration_runtime_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse, or the result of cls(response) + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01" + accept = "application/json" + + # Construct URL + url = self.list_outbound_network_dependencies_endpoints.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), + 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_outbound_network_dependencies_endpoints.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints'} # type: ignore + async def get_connection_info( self, resource_group_name: str, @@ -473,7 +535,7 @@ async def get_connection_info( :type integration_runtime_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeConnectionInfo, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeConnectionInfo + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeConnectionInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeConnectionInfo"] @@ -536,10 +598,10 @@ async def regenerate_auth_key( :type integration_runtime_name: str :param regenerate_key_parameters: The parameters for regenerating integration runtime authentication key. - :type regenerate_key_parameters: ~data_factory_management_client.models.IntegrationRuntimeRegenerateKeyParameters + :type regenerate_key_parameters: ~azure.mgmt.datafactory.models.IntegrationRuntimeRegenerateKeyParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeAuthKeys, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeAuthKeys + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeAuthKeys :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeAuthKeys"] @@ -606,7 +668,7 @@ async def list_auth_keys( :type integration_runtime_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeAuthKeys, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeAuthKeys + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeAuthKeys :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeAuthKeys"] @@ -724,7 +786,7 @@ async def begin_start( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IntegrationRuntimeStatusResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.IntegrationRuntimeStatusResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.datafactory.models.IntegrationRuntimeStatusResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -969,7 +1031,7 @@ async def get_monitoring_data( :type integration_runtime_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeMonitoringData, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeMonitoringData + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeMonitoringData :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeMonitoringData"] @@ -1092,7 +1154,7 @@ async def remove_links( :type integration_runtime_name: str :param linked_integration_runtime_request: The data factory name for the linked integration runtime. - :type linked_integration_runtime_request: ~data_factory_management_client.models.LinkedIntegrationRuntimeRequest + :type linked_integration_runtime_request: ~azure.mgmt.datafactory.models.LinkedIntegrationRuntimeRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None @@ -1159,10 +1221,10 @@ async def create_linked_integration_runtime( :param integration_runtime_name: The integration runtime name. :type integration_runtime_name: str :param create_linked_integration_runtime_request: The linked integration runtime properties. - :type create_linked_integration_runtime_request: ~data_factory_management_client.models.CreateLinkedIntegrationRuntimeRequest + :type create_linked_integration_runtime_request: ~azure.mgmt.datafactory.models.CreateLinkedIntegrationRuntimeRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeStatusResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeStatusResponse + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeStatusResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_linked_services_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_linked_services_operations.py index e6444acf5f7..a76caa476f3 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_linked_services_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_linked_services_operations.py @@ -26,7 +26,7 @@ class LinkedServicesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LinkedServiceListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.LinkedServiceListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.LinkedServiceListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LinkedServiceListResponse"] @@ -133,13 +133,13 @@ async def create_or_update( :param linked_service_name: The linked service name. :type linked_service_name: str :param linked_service: Linked service resource definition. - :type linked_service: ~data_factory_management_client.models.LinkedServiceResource + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceResource :param if_match: ETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LinkedServiceResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.LinkedServiceResource + :rtype: ~azure.mgmt.datafactory.models.LinkedServiceResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LinkedServiceResource"] @@ -213,7 +213,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LinkedServiceResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.LinkedServiceResource or None + :rtype: ~azure.mgmt.datafactory.models.LinkedServiceResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.LinkedServiceResource"]] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_managed_private_endpoints_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_managed_private_endpoints_operations.py index 3a0dfd46129..5d8793b0b56 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_managed_private_endpoints_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_managed_private_endpoints_operations.py @@ -26,7 +26,7 @@ class ManagedPrivateEndpointsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -58,7 +58,7 @@ def list_by_factory( :type managed_virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ManagedPrivateEndpointListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.ManagedPrivateEndpointListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.ManagedPrivateEndpointListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointListResponse"] @@ -140,13 +140,13 @@ async def create_or_update( :param managed_private_endpoint_name: Managed private endpoint name. :type managed_private_endpoint_name: str :param managed_private_endpoint: Managed private endpoint resource definition. - :type managed_private_endpoint: ~data_factory_management_client.models.ManagedPrivateEndpointResource + :type managed_private_endpoint: ~azure.mgmt.datafactory.models.ManagedPrivateEndpointResource :param if_match: ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedPrivateEndpointResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedPrivateEndpointResource + :rtype: ~azure.mgmt.datafactory.models.ManagedPrivateEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointResource"] @@ -224,7 +224,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedPrivateEndpointResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedPrivateEndpointResource + :rtype: ~azure.mgmt.datafactory.models.ManagedPrivateEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointResource"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_managed_virtual_networks_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_managed_virtual_networks_operations.py index 908d7b58ffe..56da8f2504e 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_managed_virtual_networks_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_managed_virtual_networks_operations.py @@ -26,7 +26,7 @@ class ManagedVirtualNetworksOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ManagedVirtualNetworkListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.ManagedVirtualNetworkListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.ManagedVirtualNetworkListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkListResponse"] @@ -133,13 +133,13 @@ async def create_or_update( :param managed_virtual_network_name: Managed virtual network name. :type managed_virtual_network_name: str :param managed_virtual_network: Managed Virtual Network resource definition. - :type managed_virtual_network: ~data_factory_management_client.models.ManagedVirtualNetworkResource + :type managed_virtual_network: ~azure.mgmt.datafactory.models.ManagedVirtualNetworkResource :param if_match: ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedVirtualNetworkResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedVirtualNetworkResource + :rtype: ~azure.mgmt.datafactory.models.ManagedVirtualNetworkResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkResource"] @@ -213,7 +213,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedVirtualNetworkResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedVirtualNetworkResource + :rtype: ~azure.mgmt.datafactory.models.ManagedVirtualNetworkResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkResource"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_operations.py index 8d96ffc136c..9bad59587eb 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_operations.py @@ -26,7 +26,7 @@ class Operations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,7 +49,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.OperationListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.OperationListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_pipeline_runs_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_pipeline_runs_operations.py index 8d4b4efdb99..abfccb9ee57 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_pipeline_runs_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_pipeline_runs_operations.py @@ -25,7 +25,7 @@ class PipelineRunsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,10 +54,10 @@ async def query_by_factory( :param factory_name: The factory name. :type factory_name: str :param filter_parameters: Parameters to filter the pipeline run. - :type filter_parameters: ~data_factory_management_client.models.RunFilterParameters + :type filter_parameters: ~azure.mgmt.datafactory.models.RunFilterParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: PipelineRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineRunsQueryResponse + :rtype: ~azure.mgmt.datafactory.models.PipelineRunsQueryResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineRunsQueryResponse"] @@ -123,7 +123,7 @@ async def get( :type run_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PipelineRun, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineRun + :rtype: ~azure.mgmt.datafactory.models.PipelineRun :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineRun"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_pipelines_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_pipelines_operations.py index 1c73e154e35..12c5792383c 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_pipelines_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_pipelines_operations.py @@ -26,7 +26,7 @@ class PipelinesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PipelineListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.PipelineListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.PipelineListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineListResponse"] @@ -133,13 +133,13 @@ async def create_or_update( :param pipeline_name: The pipeline name. :type pipeline_name: str :param pipeline: Pipeline resource definition. - :type pipeline: ~data_factory_management_client.models.PipelineResource + :type pipeline: ~azure.mgmt.datafactory.models.PipelineResource :param if_match: ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PipelineResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineResource + :rtype: ~azure.mgmt.datafactory.models.PipelineResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineResource"] @@ -212,7 +212,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PipelineResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineResource or None + :rtype: ~azure.mgmt.datafactory.models.PipelineResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.PipelineResource"]] @@ -357,7 +357,7 @@ async def create_run( :type parameters: dict[str, object] :keyword callable cls: A custom type or function that will be passed the direct response :return: CreateRunResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.CreateRunResponse + :rtype: ~azure.mgmt.datafactory.models.CreateRunResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CreateRunResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_end_point_connections_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_end_point_connections_operations.py index 4dabd9932f8..c6e085a66e9 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_end_point_connections_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_end_point_connections_operations.py @@ -26,7 +26,7 @@ class PrivateEndPointConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,7 +55,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.PrivateEndpointConnectionListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.PrivateEndpointConnectionListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_endpoint_connection_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_endpoint_connection_operations.py index 90ee37632ce..a9bdb71c6ca 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_endpoint_connection_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_endpoint_connection_operations.py @@ -25,7 +25,7 @@ class PrivateEndpointConnectionOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -58,13 +58,13 @@ async def create_or_update( :param private_endpoint_connection_name: The private endpoint connection name. :type private_endpoint_connection_name: str :param private_endpoint_wrapper: - :type private_endpoint_wrapper: ~data_factory_management_client.models.PrivateLinkConnectionApprovalRequestResource + :type private_endpoint_wrapper: ~azure.mgmt.datafactory.models.PrivateLinkConnectionApprovalRequestResource :param if_match: ETag of the private endpoint connection entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnectionResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PrivateEndpointConnectionResource + :rtype: ~azure.mgmt.datafactory.models.PrivateEndpointConnectionResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionResource"] @@ -138,7 +138,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnectionResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PrivateEndpointConnectionResource + :rtype: ~azure.mgmt.datafactory.models.PrivateEndpointConnectionResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionResource"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_link_resources_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_link_resources_operations.py index fd47a6c7373..bd2a99f5def 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_link_resources_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_private_link_resources_operations.py @@ -25,7 +25,7 @@ class PrivateLinkResourcesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ async def get( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourcesWrapper, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PrivateLinkResourcesWrapper + :rtype: ~azure.mgmt.datafactory.models.PrivateLinkResourcesWrapper :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResourcesWrapper"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_trigger_runs_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_trigger_runs_operations.py index 7fbcbc61f39..3a90a28b3b0 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_trigger_runs_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_trigger_runs_operations.py @@ -25,7 +25,7 @@ class TriggerRunsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -180,10 +180,10 @@ async def query_by_factory( :param factory_name: The factory name. :type factory_name: str :param filter_parameters: Parameters to filter the pipeline run. - :type filter_parameters: ~data_factory_management_client.models.RunFilterParameters + :type filter_parameters: ~azure.mgmt.datafactory.models.RunFilterParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerRunsQueryResponse + :rtype: ~azure.mgmt.datafactory.models.TriggerRunsQueryResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerRunsQueryResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_triggers_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_triggers_operations.py index a9f7bd54c4d..1a7a49887e2 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_triggers_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations/_triggers_operations.py @@ -28,7 +28,7 @@ class TriggersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -57,7 +57,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.TriggerListResponse] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.datafactory.models.TriggerListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerListResponse"] @@ -131,10 +131,10 @@ async def query_by_factory( :param factory_name: The factory name. :type factory_name: str :param filter_parameters: Parameters to filter the triggers. - :type filter_parameters: ~data_factory_management_client.models.TriggerFilterParameters + :type filter_parameters: ~azure.mgmt.datafactory.models.TriggerFilterParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerQueryResponse + :rtype: ~azure.mgmt.datafactory.models.TriggerQueryResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerQueryResponse"] @@ -201,13 +201,13 @@ async def create_or_update( :param trigger_name: The trigger name. :type trigger_name: str :param trigger: Trigger resource definition. - :type trigger: ~data_factory_management_client.models.TriggerResource + :type trigger: ~azure.mgmt.datafactory.models.TriggerResource :param if_match: ETag of the trigger entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerResource + :rtype: ~azure.mgmt.datafactory.models.TriggerResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerResource"] @@ -280,7 +280,7 @@ async def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerResource or None + :rtype: ~azure.mgmt.datafactory.models.TriggerResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.TriggerResource"]] @@ -461,7 +461,7 @@ async def begin_subscribe_to_events( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.TriggerSubscriptionOperationStatus] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.datafactory.models.TriggerSubscriptionOperationStatus] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -528,7 +528,7 @@ async def get_event_subscription_status( :type trigger_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerSubscriptionOperationStatus, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerSubscriptionOperationStatus + :rtype: ~azure.mgmt.datafactory.models.TriggerSubscriptionOperationStatus :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerSubscriptionOperationStatus"] @@ -646,7 +646,7 @@ async def begin_unsubscribe_from_events( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.TriggerSubscriptionOperationStatus] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.datafactory.models.TriggerSubscriptionOperationStatus] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/__init__.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/__init__.py deleted file mode 100644 index 554e3ba9232..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/__init__.py +++ /dev/null @@ -1,45 +0,0 @@ -# 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 ._operation_operations_async import OperationOperations -from ._factory_operations_async import FactoryOperations -from ._exposure_control_operations_async import ExposureControlOperations -from ._integration_runtime_operations_async import IntegrationRuntimeOperations -from ._integration_runtime_object_metadata_operations_async import IntegrationRuntimeObjectMetadataOperations -from ._integration_runtime_node_operations_async import IntegrationRuntimeNodeOperations -from ._linked_service_operations_async import LinkedServiceOperations -from ._dataset_operations_async import DatasetOperations -from ._pipeline_operations_async import PipelineOperations -from ._pipeline_run_operations_async import PipelineRunOperations -from ._activity_run_operations_async import ActivityRunOperations -from ._trigger_operations_async import TriggerOperations -from ._trigger_run_operations_async import TriggerRunOperations -from ._data_flow_operations_async import DataFlowOperations -from ._data_flow_debug_session_operations_async import DataFlowDebugSessionOperations -from ._managed_virtual_network_operations_async import ManagedVirtualNetworkOperations -from ._managed_private_endpoint_operations_async import ManagedPrivateEndpointOperations - -__all__ = [ - 'OperationOperations', - 'FactoryOperations', - 'ExposureControlOperations', - 'IntegrationRuntimeOperations', - 'IntegrationRuntimeObjectMetadataOperations', - 'IntegrationRuntimeNodeOperations', - 'LinkedServiceOperations', - 'DatasetOperations', - 'PipelineOperations', - 'PipelineRunOperations', - 'ActivityRunOperations', - 'TriggerOperations', - 'TriggerRunOperations', - 'DataFlowOperations', - 'DataFlowDebugSessionOperations', - 'ManagedVirtualNetworkOperations', - 'ManagedPrivateEndpointOperations', -] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_activity_run_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_activity_run_operations_async.py deleted file mode 100644 index 0d2e56be08b..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_activity_run_operations_async.py +++ /dev/null @@ -1,127 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- -import datetime -from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class ActivityRunOperations: - """ActivityRunOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def query_by_pipeline_run( - self, - resource_group_name: str, - factory_name: str, - run_id: str, - last_updated_after: datetime.datetime, - last_updated_before: datetime.datetime, - continuation_token_parameter: Optional[str] = None, - filters: Optional[List["models.RunQueryFilter"]] = None, - order_by: Optional[List["models.RunQueryOrderBy"]] = None, - **kwargs - ) -> "models.ActivityRunsQueryResponse": - """Query activity runs based on input filter conditions. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :param last_updated_after: The time at or after which the run event was updated in 'ISO 8601' - format. - :type last_updated_after: ~datetime.datetime - :param last_updated_before: The time at or before which the run event was updated in 'ISO 8601' - format. - :type last_updated_before: ~datetime.datetime - :param continuation_token_parameter: The continuation token for getting the next page of - results. Null for first page. - :type continuation_token_parameter: str - :param filters: List of filters. - :type filters: list[~data_factory_management_client.models.RunQueryFilter] - :param order_by: List of OrderBy option. - :type order_by: list[~data_factory_management_client.models.RunQueryOrderBy] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ActivityRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ActivityRunsQueryResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ActivityRunsQueryResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - filter_parameters = models.RunFilterParameters(continuation_token=continuation_token_parameter, last_updated_after=last_updated_after, last_updated_before=last_updated_before, filters=filters, order_by=order_by) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_by_pipeline_run.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(filter_parameters, 'RunFilterParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ActivityRunsQueryResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_by_pipeline_run.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_data_flow_debug_session_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_data_flow_debug_session_operations_async.py deleted file mode 100644 index f1bf8ee8f73..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_data_flow_debug_session_operations_async.py +++ /dev/null @@ -1,551 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DataFlowDebugSessionOperations: - """DataFlowDebugSessionOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def _create_initial( - self, - resource_group_name: str, - factory_name: str, - compute_type: Optional[str] = None, - core_count: Optional[int] = None, - time_to_live: Optional[int] = None, - name: Optional[str] = None, - properties: Optional["models.IntegrationRuntime"] = None, - **kwargs - ) -> Optional["models.CreateDataFlowDebugSessionResponse"]: - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.CreateDataFlowDebugSessionResponse"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - request = models.CreateDataFlowDebugSessionRequest(compute_type=compute_type, core_count=core_count, time_to_live=time_to_live, name=name, properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self._create_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(request, 'CreateDataFlowDebugSessionRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('CreateDataFlowDebugSessionResponse', pipeline_response) - - if response.status_code == 202: - response_headers['location']=self._deserialize('str', response.headers.get('location')) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/createDataFlowDebugSession'} # type: ignore - - async def begin_create( - self, - resource_group_name: str, - factory_name: str, - compute_type: Optional[str] = None, - core_count: Optional[int] = None, - time_to_live: Optional[int] = None, - name: Optional[str] = None, - properties: Optional["models.IntegrationRuntime"] = None, - **kwargs - ) -> AsyncLROPoller["models.CreateDataFlowDebugSessionResponse"]: - """Creates a data flow debug session. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param compute_type: Compute type of the cluster. The value will be overwritten by the same - setting in integration runtime if provided. - :type compute_type: str - :param core_count: Core count of the cluster. The value will be overwritten by the same setting - in integration runtime if provided. - :type core_count: int - :param time_to_live: Time to live setting of the cluster in minutes. - :type time_to_live: int - :param name: The resource name. - :type name: str - :param properties: Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntime - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either CreateDataFlowDebugSessionResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.CreateDataFlowDebugSessionResponse] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.CreateDataFlowDebugSessionResponse"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._create_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - compute_type=compute_type, - core_count=core_count, - time_to_live=time_to_live, - name=name, - properties=properties, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('CreateDataFlowDebugSessionResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/createDataFlowDebugSession'} # type: ignore - - def query_by_factory( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> AsyncIterable["models.QueryDataFlowDebugSessionsResponse"]: - """Query all active data flow debug sessions. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either QueryDataFlowDebugSessionsResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.QueryDataFlowDebugSessionsResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.QueryDataFlowDebugSessionsResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.query_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('QueryDataFlowDebugSessionsResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - query_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryDataFlowDebugSessions'} # type: ignore - - async def add_data_flow( - self, - resource_group_name: str, - factory_name: str, - session_id: Optional[str] = None, - datasets: Optional[List["models.DatasetDebugResource"]] = None, - linked_services: Optional[List["models.LinkedServiceDebugResource"]] = None, - source_settings: Optional[List["models.DataFlowSourceSetting"]] = None, - parameters: Optional[Dict[str, object]] = None, - dataset_parameters: Optional[object] = None, - folder_path: Optional[object] = None, - reference_name: Optional[str] = None, - name: Optional[str] = None, - properties: Optional["models.DataFlow"] = None, - **kwargs - ) -> "models.AddDataFlowToDebugSessionResponse": - """Add a data flow into debug session. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param session_id: The ID of data flow debug session. - :type session_id: str - :param datasets: List of datasets. - :type datasets: list[~data_factory_management_client.models.DatasetDebugResource] - :param linked_services: List of linked services. - :type linked_services: list[~data_factory_management_client.models.LinkedServiceDebugResource] - :param source_settings: Source setting for data flow debug. - :type source_settings: list[~data_factory_management_client.models.DataFlowSourceSetting] - :param parameters: Data flow parameters. - :type parameters: dict[str, object] - :param dataset_parameters: Parameters for dataset. - :type dataset_parameters: object - :param folder_path: Folder path for staging blob. Type: string (or Expression with resultType - string). - :type folder_path: object - :param reference_name: Reference LinkedService name. - :type reference_name: str - :param name: The resource name. - :type name: str - :param properties: Data flow properties. - :type properties: ~data_factory_management_client.models.DataFlow - :keyword callable cls: A custom type or function that will be passed the direct response - :return: AddDataFlowToDebugSessionResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.AddDataFlowToDebugSessionResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AddDataFlowToDebugSessionResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - request = models.DataFlowDebugPackage(session_id=session_id, datasets=datasets, linked_services=linked_services, source_settings=source_settings, parameters_debug_settings_parameters=parameters, dataset_parameters=dataset_parameters, folder_path=folder_path, reference_name=reference_name, name=name, properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.add_data_flow.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(request, 'DataFlowDebugPackage') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('AddDataFlowToDebugSessionResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - add_data_flow.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/addDataFlowToDebugSession'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - session_id: Optional[str] = None, - **kwargs - ) -> None: - """Deletes a data flow debug session. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param session_id: The ID of data flow debug session. - :type session_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - request = models.DeleteDataFlowDebugSessionRequest(session_id=session_id) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(request, 'DeleteDataFlowDebugSessionRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/deleteDataFlowDebugSession'} # type: ignore - - async def _execute_command_initial( - self, - resource_group_name: str, - factory_name: str, - session_id: Optional[str] = None, - command: Optional[Union[str, "models.DataFlowDebugCommandType"]] = None, - command_payload: Optional["models.DataFlowDebugCommandPayload"] = None, - **kwargs - ) -> Optional["models.DataFlowDebugCommandResponse"]: - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.DataFlowDebugCommandResponse"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - request = models.DataFlowDebugCommandRequest(session_id=session_id, command=command, command_payload=command_payload) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self._execute_command_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(request, 'DataFlowDebugCommandRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('DataFlowDebugCommandResponse', pipeline_response) - - if response.status_code == 202: - response_headers['location']=self._deserialize('str', response.headers.get('location')) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - _execute_command_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/executeDataFlowDebugCommand'} # type: ignore - - async def begin_execute_command( - self, - resource_group_name: str, - factory_name: str, - session_id: Optional[str] = None, - command: Optional[Union[str, "models.DataFlowDebugCommandType"]] = None, - command_payload: Optional["models.DataFlowDebugCommandPayload"] = None, - **kwargs - ) -> AsyncLROPoller["models.DataFlowDebugCommandResponse"]: - """Execute a data flow debug command. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param session_id: The ID of data flow debug session. - :type session_id: str - :param command: The command type. - :type command: str or ~data_factory_management_client.models.DataFlowDebugCommandType - :param command_payload: The command payload object. - :type command_payload: ~data_factory_management_client.models.DataFlowDebugCommandPayload - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either DataFlowDebugCommandResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.DataFlowDebugCommandResponse] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowDebugCommandResponse"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._execute_command_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - session_id=session_id, - command=command, - command_payload=command_payload, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('DataFlowDebugCommandResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_execute_command.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/executeDataFlowDebugCommand'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_data_flow_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_data_flow_operations_async.py deleted file mode 100644 index b5c2e5656ce..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_data_flow_operations_async.py +++ /dev/null @@ -1,309 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DataFlowOperations: - """DataFlowOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - data_flow_name: str, - properties: "models.DataFlow", - if_match: Optional[str] = None, - **kwargs - ) -> "models.DataFlowResource": - """Creates or updates a data flow. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param data_flow_name: The data flow name. - :type data_flow_name: str - :param properties: Data flow properties. - :type properties: ~data_factory_management_client.models.DataFlow - :param if_match: ETag of the data flow entity. Should only be specified for update, for which - it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataFlowResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DataFlowResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - data_flow = models.DataFlowResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'dataFlowName': self._serialize.url("data_flow_name", data_flow_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(data_flow, 'DataFlowResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DataFlowResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - data_flow_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> "models.DataFlowResource": - """Gets a data flow. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param data_flow_name: The data flow name. - :type data_flow_name: str - :param if_none_match: ETag of the data flow entity. Should only be specified for get. If the - ETag matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataFlowResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DataFlowResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'dataFlowName': self._serialize.url("data_flow_name", data_flow_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DataFlowResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - data_flow_name: str, - **kwargs - ) -> None: - """Deletes a data flow. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param data_flow_name: The data flow name. - :type data_flow_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'dataFlowName': self._serialize.url("data_flow_name", data_flow_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'} # type: ignore - - def list_by_factory( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> AsyncIterable["models.DataFlowListResponse"]: - """Lists data flows. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DataFlowListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.DataFlowListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('DataFlowListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_dataset_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_dataset_operations_async.py deleted file mode 100644 index a8be0369365..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_dataset_operations_async.py +++ /dev/null @@ -1,311 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DatasetOperations: - """DatasetOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> AsyncIterable["models.DatasetListResponse"]: - """Lists datasets. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DatasetListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.DatasetListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DatasetListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('DatasetListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - dataset_name: str, - properties: "models.Dataset", - if_match: Optional[str] = None, - **kwargs - ) -> "models.DatasetResource": - """Creates or updates a dataset. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param dataset_name: The dataset name. - :type dataset_name: str - :param properties: Dataset properties. - :type properties: ~data_factory_management_client.models.Dataset - :param if_match: ETag of the dataset entity. Should only be specified for update, for which it - should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DatasetResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DatasetResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DatasetResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - dataset = models.DatasetResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'datasetName': self._serialize.url("dataset_name", dataset_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(dataset, 'DatasetResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DatasetResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - dataset_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> Optional["models.DatasetResource"]: - """Gets a dataset. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param dataset_name: The dataset name. - :type dataset_name: str - :param if_none_match: ETag of the dataset entity. Should only be specified for get. If the ETag - matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DatasetResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DatasetResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.DatasetResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'datasetName': self._serialize.url("dataset_name", dataset_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('DatasetResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - dataset_name: str, - **kwargs - ) -> None: - """Deletes a dataset. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param dataset_name: The dataset name. - :type dataset_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'datasetName': self._serialize.url("dataset_name", dataset_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_exposure_control_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_exposure_control_operations_async.py deleted file mode 100644 index b20acb1c3c8..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_exposure_control_operations_async.py +++ /dev/null @@ -1,241 +0,0 @@ -# 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 typing import Any, Callable, Dict, Generic, List, Optional, TypeVar -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class ExposureControlOperations: - """ExposureControlOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def get_feature_value( - self, - location_id: str, - feature_name: Optional[str] = None, - feature_type: Optional[str] = None, - **kwargs - ) -> "models.ExposureControlResponse": - """Get exposure control feature for specific location. - - :param location_id: The location identifier. - :type location_id: str - :param feature_name: The feature name. - :type feature_name: str - :param feature_type: The feature type. - :type feature_type: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ExposureControlResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - exposure_control_request = models.ExposureControlRequest(feature_name=feature_name, feature_type=feature_type) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.get_feature_value.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'locationId': self._serialize.url("location_id", location_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(exposure_control_request, 'ExposureControlRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ExposureControlResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_feature_value.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/getFeatureValue'} # type: ignore - - async def get_feature_value_by_factory( - self, - resource_group_name: str, - factory_name: str, - feature_name: Optional[str] = None, - feature_type: Optional[str] = None, - **kwargs - ) -> "models.ExposureControlResponse": - """Get exposure control feature for specific factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param feature_name: The feature name. - :type feature_name: str - :param feature_type: The feature type. - :type feature_type: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ExposureControlResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - exposure_control_request = models.ExposureControlRequest(feature_name=feature_name, feature_type=feature_type) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.get_feature_value_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(exposure_control_request, 'ExposureControlRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ExposureControlResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_feature_value_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getFeatureValue'} # type: ignore - - async def query_feature_value_by_factory( - self, - resource_group_name: str, - factory_name: str, - exposure_control_requests: List["models.ExposureControlRequest"], - **kwargs - ) -> "models.ExposureControlBatchResponse": - """Get list of exposure control features for specific factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param exposure_control_requests: List of exposure control features. - :type exposure_control_requests: list[~data_factory_management_client.models.ExposureControlRequest] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ExposureControlBatchResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlBatchResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlBatchResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - exposure_control_batch_request = models.ExposureControlBatchRequest(exposure_control_requests=exposure_control_requests) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_feature_value_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(exposure_control_batch_request, 'ExposureControlBatchRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ExposureControlBatchResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_feature_value_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_factory_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_factory_operations_async.py deleted file mode 100644 index 46f37c1a6f7..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_factory_operations_async.py +++ /dev/null @@ -1,658 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class FactoryOperations: - """FactoryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs - ) -> AsyncIterable["models.FactoryListResponse"]: - """Lists factories under the specified subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FactoryListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.FactoryListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.FactoryListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('FactoryListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories'} # type: ignore - - async def configure_factory_repo( - self, - location_id: str, - factory_resource_id: Optional[str] = None, - repo_configuration: Optional["models.FactoryRepoConfiguration"] = None, - **kwargs - ) -> "models.Factory": - """Updates a factory's repo information. - - :param location_id: The location identifier. - :type location_id: str - :param factory_resource_id: The factory resource id. - :type factory_resource_id: str - :param repo_configuration: Git repo information of the factory. - :type repo_configuration: ~data_factory_management_client.models.FactoryRepoConfiguration - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - factory_repo_update = models.FactoryRepoUpdate(factory_resource_id=factory_resource_id, repo_configuration=repo_configuration) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.configure_factory_repo.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'locationId': self._serialize.url("location_id", location_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(factory_repo_update, 'FactoryRepoUpdate') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Factory', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - configure_factory_repo.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs - ) -> AsyncIterable["models.FactoryListResponse"]: - """Lists factories. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FactoryListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.FactoryListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.FactoryListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('FactoryListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - if_match: Optional[str] = None, - location: Optional[str] = None, - tags: Optional[Dict[str, str]] = None, - identity: Optional["models.FactoryIdentity"] = None, - repo_configuration: Optional["models.FactoryRepoConfiguration"] = None, - global_parameters: Optional[Dict[str, "models.GlobalParameterSpecification"]] = None, - **kwargs - ) -> "models.Factory": - """Creates or updates a factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param if_match: ETag of the factory entity. Should only be specified for update, for which it - should match existing entity or can be * for unconditional update. - :type if_match: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param identity: Managed service identity of the factory. - :type identity: ~data_factory_management_client.models.FactoryIdentity - :param repo_configuration: Git repo information of the factory. - :type repo_configuration: ~data_factory_management_client.models.FactoryRepoConfiguration - :param global_parameters: List of parameters for factory. - :type global_parameters: dict[str, ~data_factory_management_client.models.GlobalParameterSpecification] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - factory = models.Factory(location=location, tags=tags, identity=identity, repo_configuration=repo_configuration, global_parameters=global_parameters) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(factory, 'Factory') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Factory', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - factory_name: str, - tags: Optional[Dict[str, str]] = None, - identity: Optional["models.FactoryIdentity"] = None, - **kwargs - ) -> "models.Factory": - """Updates a factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param identity: Managed service identity of the factory. - :type identity: ~data_factory_management_client.models.FactoryIdentity - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - factory_update_parameters = models.FactoryUpdateParameters(tags=tags, identity=identity) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(factory_update_parameters, 'FactoryUpdateParameters') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Factory', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> Optional["models.Factory"]: - """Gets a factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param if_none_match: ETag of the factory entity. Should only be specified for get. If the ETag - matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.Factory"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('Factory', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> None: - """Deletes a factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}'} # type: ignore - - async def get_git_hub_access_token( - self, - resource_group_name: str, - factory_name: str, - git_hub_access_code: str, - git_hub_access_token_base_url: str, - git_hub_client_id: Optional[str] = None, - **kwargs - ) -> "models.GitHubAccessTokenResponse": - """Get GitHub Access Token. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param git_hub_access_code: GitHub access code. - :type git_hub_access_code: str - :param git_hub_access_token_base_url: GitHub access token base URL. - :type git_hub_access_token_base_url: str - :param git_hub_client_id: GitHub application client ID. - :type git_hub_client_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: GitHubAccessTokenResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.GitHubAccessTokenResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.GitHubAccessTokenResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - git_hub_access_token_request = models.GitHubAccessTokenRequest(git_hub_access_code=git_hub_access_code, git_hub_client_id=git_hub_client_id, git_hub_access_token_base_url=git_hub_access_token_base_url) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.get_git_hub_access_token.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(git_hub_access_token_request, 'GitHubAccessTokenRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('GitHubAccessTokenResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_git_hub_access_token.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getGitHubAccessToken'} # type: ignore - - async def get_data_plane_access( - self, - resource_group_name: str, - factory_name: str, - permissions: Optional[str] = None, - access_resource_path: Optional[str] = None, - profile_name: Optional[str] = None, - start_time: Optional[str] = None, - expire_time: Optional[str] = None, - **kwargs - ) -> "models.AccessPolicyResponse": - """Get Data Plane access. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param permissions: The string with permissions for Data Plane access. Currently only 'r' is - supported which grants read only access. - :type permissions: str - :param access_resource_path: The resource path to get access relative to factory. Currently - only empty string is supported which corresponds to the factory resource. - :type access_resource_path: str - :param profile_name: The name of the profile. Currently only the default is supported. The - default value is DefaultProfile. - :type profile_name: str - :param start_time: Start time for the token. If not specified the current time will be used. - :type start_time: str - :param expire_time: Expiration time for the token. Maximum duration for the token is eight - hours and by default the token will expire in eight hours. - :type expire_time: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: AccessPolicyResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.AccessPolicyResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AccessPolicyResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - policy = models.UserAccessPolicy(permissions=permissions, access_resource_path=access_resource_path, profile_name=profile_name, start_time=start_time, expire_time=expire_time) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.get_data_plane_access.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(policy, 'UserAccessPolicy') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('AccessPolicyResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_data_plane_access.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getDataPlaneAccess'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_node_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_node_operations_async.py deleted file mode 100644 index a6022196653..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_node_operations_async.py +++ /dev/null @@ -1,301 +0,0 @@ -# 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 typing import Any, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class IntegrationRuntimeNodeOperations: - """IntegrationRuntimeNodeOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def get( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - node_name: str, - **kwargs - ) -> "models.SelfHostedIntegrationRuntimeNode": - """Gets a self-hosted integration runtime node. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param node_name: The integration runtime node name. - :type node_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: SelfHostedIntegrationRuntimeNode, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.SelfHostedIntegrationRuntimeNode"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'nodeName': self._serialize.url("node_name", node_name, 'str', max_length=150, min_length=1, pattern=r'^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('SelfHostedIntegrationRuntimeNode', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - node_name: str, - **kwargs - ) -> None: - """Deletes a self-hosted integration runtime node. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param node_name: The integration runtime node name. - :type node_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'nodeName': self._serialize.url("node_name", node_name, 'str', max_length=150, min_length=1, pattern=r'^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - node_name: str, - concurrent_jobs_limit: Optional[int] = None, - **kwargs - ) -> "models.SelfHostedIntegrationRuntimeNode": - """Updates a self-hosted integration runtime node. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param node_name: The integration runtime node name. - :type node_name: str - :param concurrent_jobs_limit: The number of concurrent jobs permitted to run on the integration - runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed. - :type concurrent_jobs_limit: int - :keyword callable cls: A custom type or function that will be passed the direct response - :return: SelfHostedIntegrationRuntimeNode, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.SelfHostedIntegrationRuntimeNode"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - update_integration_runtime_node_request = models.UpdateIntegrationRuntimeNodeRequest(concurrent_jobs_limit=concurrent_jobs_limit) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'nodeName': self._serialize.url("node_name", node_name, 'str', max_length=150, min_length=1, pattern=r'^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(update_integration_runtime_node_request, 'UpdateIntegrationRuntimeNodeRequest') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('SelfHostedIntegrationRuntimeNode', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}'} # type: ignore - - async def get_ip_address( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - node_name: str, - **kwargs - ) -> "models.IntegrationRuntimeNodeIpAddress": - """Get the IP address of self-hosted integration runtime node. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param node_name: The integration runtime node name. - :type node_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeNodeIpAddress, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeNodeIpAddress - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeNodeIpAddress"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_ip_address.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'nodeName': self._serialize.url("node_name", node_name, 'str', max_length=150, min_length=1, pattern=r'^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeNodeIpAddress', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_ip_address.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_object_metadata_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_object_metadata_operations_async.py deleted file mode 100644 index 70df0716c21..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_object_metadata_operations_async.py +++ /dev/null @@ -1,230 +0,0 @@ -# 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 typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class IntegrationRuntimeObjectMetadataOperations: - """IntegrationRuntimeObjectMetadataOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def _refresh_initial( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> Optional["models.SsisObjectMetadataStatusResponse"]: - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.SsisObjectMetadataStatusResponse"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._refresh_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('SsisObjectMetadataStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _refresh_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata'} # type: ignore - - async def begin_refresh( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> AsyncLROPoller["models.SsisObjectMetadataStatusResponse"]: - """Refresh a SSIS integration runtime object metadata. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either SsisObjectMetadataStatusResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.SsisObjectMetadataStatusResponse] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.SsisObjectMetadataStatusResponse"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._refresh_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - integration_runtime_name=integration_runtime_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('SsisObjectMetadataStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_refresh.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - metadata_path: Optional[str] = None, - **kwargs - ) -> "models.SsisObjectMetadataListResponse": - """Get a SSIS integration runtime object metadata by specified path. The return is pageable - metadata list. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param metadata_path: Metadata path. - :type metadata_path: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: SsisObjectMetadataListResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SsisObjectMetadataListResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.SsisObjectMetadataListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - get_metadata_request = models.GetSsisObjectMetadataRequest(metadata_path=metadata_path) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - if get_metadata_request is not None: - body_content = self._serialize.body(get_metadata_request, 'GetSsisObjectMetadataRequest') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('SsisObjectMetadataListResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_operations_async.py deleted file mode 100644 index 82b285c7a74..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_integration_runtime_operations_async.py +++ /dev/null @@ -1,1176 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class IntegrationRuntimeOperations: - """IntegrationRuntimeOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> AsyncIterable["models.IntegrationRuntimeListResponse"]: - """Lists integration runtimes. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either IntegrationRuntimeListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.IntegrationRuntimeListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('IntegrationRuntimeListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - properties: "models.IntegrationRuntime", - if_match: Optional[str] = None, - **kwargs - ) -> "models.IntegrationRuntimeResource": - """Creates or updates an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param properties: Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntime - :param if_match: ETag of the integration runtime entity. Should only be specified for update, - for which it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - integration_runtime = models.IntegrationRuntimeResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(integration_runtime, 'IntegrationRuntimeResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> Optional["models.IntegrationRuntimeResource"]: - """Gets an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param if_none_match: ETag of the integration runtime entity. Should only be specified for get. - If the ETag matches the existing entity tag, or if * was provided, then no content will be - returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.IntegrationRuntimeResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('IntegrationRuntimeResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - auto_update: Optional[Union[str, "models.IntegrationRuntimeAutoUpdate"]] = None, - update_delay_offset: Optional[str] = None, - **kwargs - ) -> "models.IntegrationRuntimeResource": - """Updates an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param auto_update: Enables or disables the auto-update feature of the self-hosted integration - runtime. See https://go.microsoft.com/fwlink/?linkid=854189. - :type auto_update: str or ~data_factory_management_client.models.IntegrationRuntimeAutoUpdate - :param update_delay_offset: The time offset (in hours) in the day, e.g., PT03H is 3 hours. The - integration runtime auto update will happen on that time. - :type update_delay_offset: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - update_integration_runtime_request = models.UpdateIntegrationRuntimeRequest(auto_update=auto_update, update_delay_offset=update_delay_offset) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(update_integration_runtime_request, 'UpdateIntegrationRuntimeRequest') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> None: - """Deletes an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'} # type: ignore - - async def get_status( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> "models.IntegrationRuntimeStatusResponse": - """Gets detailed status information for an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeStatusResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeStatusResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_status.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus'} # type: ignore - - async def get_connection_info( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> "models.IntegrationRuntimeConnectionInfo": - """Gets the on-premises integration runtime connection information for encrypting the on-premises - data source credentials. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeConnectionInfo, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeConnectionInfo - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeConnectionInfo"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_connection_info.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeConnectionInfo', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_connection_info.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo'} # type: ignore - - async def regenerate_auth_key( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - key_name: Optional[Union[str, "models.IntegrationRuntimeAuthKeyName"]] = None, - **kwargs - ) -> "models.IntegrationRuntimeAuthKeys": - """Regenerates the authentication key for an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param key_name: The name of the authentication key to regenerate. - :type key_name: str or ~data_factory_management_client.models.IntegrationRuntimeAuthKeyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeAuthKeys, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeAuthKeys - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeAuthKeys"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - regenerate_key_parameters = models.IntegrationRuntimeRegenerateKeyParameters(key_name=key_name) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.regenerate_auth_key.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(regenerate_key_parameters, 'IntegrationRuntimeRegenerateKeyParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeAuthKeys', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - regenerate_auth_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey'} # type: ignore - - async def list_auth_key( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> "models.IntegrationRuntimeAuthKeys": - """Retrieves the authentication keys for an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeAuthKeys, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeAuthKeys - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeAuthKeys"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.list_auth_key.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeAuthKeys', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_auth_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys'} # type: ignore - - async def _start_initial( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> Optional["models.IntegrationRuntimeStatusResponse"]: - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.IntegrationRuntimeStatusResponse"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._start_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('IntegrationRuntimeStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start'} # type: ignore - - async def begin_start( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> AsyncLROPoller["models.IntegrationRuntimeStatusResponse"]: - """Starts a ManagedReserved type integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either IntegrationRuntimeStatusResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.IntegrationRuntimeStatusResponse] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._start_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - integration_runtime_name=integration_runtime_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IntegrationRuntimeStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start'} # type: ignore - - async def _stop_initial( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._stop_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop'} # type: ignore - - async def begin_stop( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Stops a ManagedReserved type integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._stop_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - integration_runtime_name=integration_runtime_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop'} # type: ignore - - async def sync_credentials( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> None: - """Force the integration runtime to synchronize credentials across integration runtime nodes, and - this will override the credentials across all worker nodes with those available on the - dispatcher node. If you already have the latest credential backup file, you should manually - import it (preferred) on any self-hosted integration runtime node than using this API directly. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.sync_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - sync_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials'} # type: ignore - - async def get_monitoring_data( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> "models.IntegrationRuntimeMonitoringData": - """Get the integration runtime monitoring data, which includes the monitor data for all the nodes - under this integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeMonitoringData, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeMonitoringData - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeMonitoringData"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_monitoring_data.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeMonitoringData', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_monitoring_data.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData'} # type: ignore - - async def upgrade( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - **kwargs - ) -> None: - """Upgrade self-hosted integration runtime to latest version if availability. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.upgrade.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - upgrade.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade'} # type: ignore - - async def remove_link( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - linked_factory_name: str, - **kwargs - ) -> None: - """Remove all linked integration runtimes under specific data factory in a self-hosted integration - runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param linked_factory_name: The data factory name for linked integration runtime. - :type linked_factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - linked_integration_runtime_request = models.LinkedIntegrationRuntimeRequest(linked_factory_name=linked_factory_name) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.remove_link.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(linked_integration_runtime_request, 'LinkedIntegrationRuntimeRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - remove_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks'} # type: ignore - - async def create_linked_integration_runtime( - self, - resource_group_name: str, - factory_name: str, - integration_runtime_name: str, - name: Optional[str] = None, - subscription_id: Optional[str] = None, - data_factory_name: Optional[str] = None, - data_factory_location: Optional[str] = None, - **kwargs - ) -> "models.IntegrationRuntimeStatusResponse": - """Create a linked integration runtime entry in a shared integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param name: The name of the linked integration runtime. - :type name: str - :param subscription_id: The ID of the subscription that the linked integration runtime belongs - to. - :type subscription_id: str - :param data_factory_name: The name of the data factory that the linked integration runtime - belongs to. - :type data_factory_name: str - :param data_factory_location: The location of the data factory that the linked integration - runtime belongs to. - :type data_factory_location: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeStatusResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeStatusResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - create_linked_integration_runtime_request = models.CreateLinkedIntegrationRuntimeRequest(name=name, subscription_id=subscription_id, data_factory_name=data_factory_name, data_factory_location=data_factory_location) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_linked_integration_runtime.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(create_linked_integration_runtime_request, 'CreateLinkedIntegrationRuntimeRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_linked_integration_runtime.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_linked_service_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_linked_service_operations_async.py deleted file mode 100644 index 56e9e6f663a..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_linked_service_operations_async.py +++ /dev/null @@ -1,312 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class LinkedServiceOperations: - """LinkedServiceOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> AsyncIterable["models.LinkedServiceListResponse"]: - """Lists linked services. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either LinkedServiceListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.LinkedServiceListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.LinkedServiceListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('LinkedServiceListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - linked_service_name: str, - properties: "models.LinkedService", - if_match: Optional[str] = None, - **kwargs - ) -> "models.LinkedServiceResource": - """Creates or updates a linked service. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param linked_service_name: The linked service name. - :type linked_service_name: str - :param properties: Properties of linked service. - :type properties: ~data_factory_management_client.models.LinkedService - :param if_match: ETag of the linkedService entity. Should only be specified for update, for - which it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LinkedServiceResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.LinkedServiceResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.LinkedServiceResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - linked_service = models.LinkedServiceResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'linkedServiceName': self._serialize.url("linked_service_name", linked_service_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(linked_service, 'LinkedServiceResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('LinkedServiceResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - linked_service_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> Optional["models.LinkedServiceResource"]: - """Gets a linked service. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param linked_service_name: The linked service name. - :type linked_service_name: str - :param if_none_match: ETag of the linked service entity. Should only be specified for get. If - the ETag matches the existing entity tag, or if * was provided, then no content will be - returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LinkedServiceResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.LinkedServiceResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.LinkedServiceResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'linkedServiceName': self._serialize.url("linked_service_name", linked_service_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('LinkedServiceResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - linked_service_name: str, - **kwargs - ) -> None: - """Deletes a linked service. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param linked_service_name: The linked service name. - :type linked_service_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'linkedServiceName': self._serialize.url("linked_service_name", linked_service_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_managed_private_endpoint_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_managed_private_endpoint_operations_async.py deleted file mode 100644 index 3a899779963..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_managed_private_endpoint_operations_async.py +++ /dev/null @@ -1,336 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class ManagedPrivateEndpointOperations: - """ManagedPrivateEndpointOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name: str, - factory_name: str, - managed_virtual_network_name: str, - **kwargs - ) -> AsyncIterable["models.ManagedPrivateEndpointListResponse"]: - """Lists managed private endpoints. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedPrivateEndpointListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.ManagedPrivateEndpointListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ManagedPrivateEndpointListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - managed_virtual_network_name: str, - managed_private_endpoint_name: str, - if_match: Optional[str] = None, - connection_state: Optional["models.ConnectionStateProperties"] = None, - fqdns: Optional[List[str]] = None, - group_id: Optional[str] = None, - private_link_resource_id: Optional[str] = None, - **kwargs - ) -> "models.ManagedPrivateEndpointResource": - """Creates or updates a managed private endpoint. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param managed_private_endpoint_name: Managed private endpoint name. - :type managed_private_endpoint_name: str - :param if_match: ETag of the managed private endpoint entity. Should only be specified for - update, for which it should match existing entity or can be * for unconditional update. - :type if_match: str - :param connection_state: The managed private endpoint connection state. - :type connection_state: ~data_factory_management_client.models.ConnectionStateProperties - :param fqdns: Fully qualified domain names. - :type fqdns: list[str] - :param group_id: The groupId to which the managed private endpoint is created. - :type group_id: str - :param private_link_resource_id: The ARM resource ID of the resource to which the managed - private endpoint is created. - :type private_link_resource_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedPrivateEndpointResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedPrivateEndpointResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - managed_private_endpoint = models.ManagedPrivateEndpointResource(connection_state=connection_state, fqdns=fqdns, group_id=group_id, private_link_resource_id=private_link_resource_id) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - 'managedPrivateEndpointName': self._serialize.url("managed_private_endpoint_name", managed_private_endpoint_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(managed_private_endpoint, 'ManagedPrivateEndpointResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedPrivateEndpointResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - managed_virtual_network_name: str, - managed_private_endpoint_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> "models.ManagedPrivateEndpointResource": - """Gets a managed private endpoint. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param managed_private_endpoint_name: Managed private endpoint name. - :type managed_private_endpoint_name: str - :param if_none_match: ETag of the managed private endpoint entity. Should only be specified for - get. If the ETag matches the existing entity tag, or if * was provided, then no content will be - returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedPrivateEndpointResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedPrivateEndpointResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - 'managedPrivateEndpointName': self._serialize.url("managed_private_endpoint_name", managed_private_endpoint_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedPrivateEndpointResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - managed_virtual_network_name: str, - managed_private_endpoint_name: str, - **kwargs - ) -> None: - """Deletes a managed private endpoint. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param managed_private_endpoint_name: Managed private endpoint name. - :type managed_private_endpoint_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - 'managedPrivateEndpointName': self._serialize.url("managed_private_endpoint_name", managed_private_endpoint_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_managed_virtual_network_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_managed_virtual_network_operations_async.py deleted file mode 100644 index 2152988d7ef..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_managed_virtual_network_operations_async.py +++ /dev/null @@ -1,255 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class ManagedVirtualNetworkOperations: - """ManagedVirtualNetworkOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> AsyncIterable["models.ManagedVirtualNetworkListResponse"]: - """Lists managed Virtual Networks. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedVirtualNetworkListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.ManagedVirtualNetworkListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ManagedVirtualNetworkListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - managed_virtual_network_name: str, - properties: "models.ManagedVirtualNetwork", - if_match: Optional[str] = None, - **kwargs - ) -> "models.ManagedVirtualNetworkResource": - """Creates or updates a managed Virtual Network. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param properties: Managed Virtual Network properties. - :type properties: ~data_factory_management_client.models.ManagedVirtualNetwork - :param if_match: ETag of the managed Virtual Network entity. Should only be specified for - update, for which it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedVirtualNetworkResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedVirtualNetworkResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - managed_virtual_network = models.ManagedVirtualNetworkResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(managed_virtual_network, 'ManagedVirtualNetworkResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedVirtualNetworkResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - managed_virtual_network_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> "models.ManagedVirtualNetworkResource": - """Gets a managed Virtual Network. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param if_none_match: ETag of the managed Virtual Network entity. Should only be specified for - get. If the ETag matches the existing entity tag, or if * was provided, then no content will be - returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedVirtualNetworkResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedVirtualNetworkResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedVirtualNetworkResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_operation_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_operation_operations_async.py deleted file mode 100644 index 83206d77039..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_operation_operations_async.py +++ /dev/null @@ -1,101 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class OperationOperations: - """OperationOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs - ) -> AsyncIterable["models.OperationListResponse"]: - """Lists the available Azure Data Factory API operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OperationListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.OperationListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('OperationListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/providers/Microsoft.DataFactory/operations'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_pipeline_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_pipeline_operations_async.py deleted file mode 100644 index 34c7453f951..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_pipeline_operations_async.py +++ /dev/null @@ -1,405 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class PipelineOperations: - """PipelineOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> AsyncIterable["models.PipelineListResponse"]: - """Lists pipelines. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either PipelineListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.PipelineListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('PipelineListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - pipeline_name: str, - pipeline: "models.PipelineResource", - if_match: Optional[str] = None, - **kwargs - ) -> "models.PipelineResource": - """Creates or updates a pipeline. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param pipeline_name: The pipeline name. - :type pipeline_name: str - :param pipeline: Pipeline resource definition. - :type pipeline: ~data_factory_management_client.models.PipelineResource - :param if_match: ETag of the pipeline entity. Should only be specified for update, for which - it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PipelineResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'pipelineName': self._serialize.url("pipeline_name", pipeline_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(pipeline, 'PipelineResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PipelineResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - pipeline_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> Optional["models.PipelineResource"]: - """Gets a pipeline. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param pipeline_name: The pipeline name. - :type pipeline_name: str - :param if_none_match: ETag of the pipeline entity. Should only be specified for get. If the - ETag matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PipelineResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.PipelineResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'pipelineName': self._serialize.url("pipeline_name", pipeline_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('PipelineResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - pipeline_name: str, - **kwargs - ) -> None: - """Deletes a pipeline. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param pipeline_name: The pipeline name. - :type pipeline_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'pipelineName': self._serialize.url("pipeline_name", pipeline_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}'} # type: ignore - - async def create_run( - self, - resource_group_name: str, - factory_name: str, - pipeline_name: str, - reference_pipeline_run_id: Optional[str] = None, - is_recovery: Optional[bool] = None, - start_activity_name: Optional[str] = None, - start_from_failure: Optional[bool] = None, - parameters: Optional[Dict[str, object]] = None, - **kwargs - ) -> "models.CreateRunResponse": - """Creates a run of a pipeline. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param pipeline_name: The pipeline name. - :type pipeline_name: str - :param reference_pipeline_run_id: The pipeline run identifier. If run ID is specified the - parameters of the specified run will be used to create a new run. - :type reference_pipeline_run_id: str - :param is_recovery: Recovery mode flag. If recovery mode is set to true, the specified - referenced pipeline run and the new run will be grouped under the same groupId. - :type is_recovery: bool - :param start_activity_name: In recovery mode, the rerun will start from this activity. If not - specified, all activities will run. - :type start_activity_name: str - :param start_from_failure: In recovery mode, if set to true, the rerun will start from failed - activities. The property will be used only if startActivityName is not specified. - :type start_from_failure: bool - :param parameters: Parameters of the pipeline run. These parameters will be used only if the - runId is not specified. - :type parameters: dict[str, object] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CreateRunResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.CreateRunResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CreateRunResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_run.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'pipelineName': self._serialize.url("pipeline_name", pipeline_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if reference_pipeline_run_id is not None: - query_parameters['referencePipelineRunId'] = self._serialize.query("reference_pipeline_run_id", reference_pipeline_run_id, 'str') - if is_recovery is not None: - query_parameters['isRecovery'] = self._serialize.query("is_recovery", is_recovery, 'bool') - if start_activity_name is not None: - query_parameters['startActivityName'] = self._serialize.query("start_activity_name", start_activity_name, 'str') - if start_from_failure is not None: - query_parameters['startFromFailure'] = self._serialize.query("start_from_failure", start_from_failure, 'bool') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - if parameters is not None: - body_content = self._serialize.body(parameters, '{object}') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CreateRunResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_run.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_pipeline_run_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_pipeline_run_operations_async.py deleted file mode 100644 index 5cdfd09fe01..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_pipeline_run_operations_async.py +++ /dev/null @@ -1,243 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- -import datetime -from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class PipelineRunOperations: - """PipelineRunOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def query_by_factory( - self, - resource_group_name: str, - factory_name: str, - last_updated_after: datetime.datetime, - last_updated_before: datetime.datetime, - continuation_token_parameter: Optional[str] = None, - filters: Optional[List["models.RunQueryFilter"]] = None, - order_by: Optional[List["models.RunQueryOrderBy"]] = None, - **kwargs - ) -> "models.PipelineRunsQueryResponse": - """Query pipeline runs in the factory based on input filter conditions. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param last_updated_after: The time at or after which the run event was updated in 'ISO 8601' - format. - :type last_updated_after: ~datetime.datetime - :param last_updated_before: The time at or before which the run event was updated in 'ISO 8601' - format. - :type last_updated_before: ~datetime.datetime - :param continuation_token_parameter: The continuation token for getting the next page of - results. Null for first page. - :type continuation_token_parameter: str - :param filters: List of filters. - :type filters: list[~data_factory_management_client.models.RunQueryFilter] - :param order_by: List of OrderBy option. - :type order_by: list[~data_factory_management_client.models.RunQueryOrderBy] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PipelineRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineRunsQueryResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineRunsQueryResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - filter_parameters = models.RunFilterParameters(continuation_token=continuation_token_parameter, last_updated_after=last_updated_after, last_updated_before=last_updated_before, filters=filters, order_by=order_by) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(filter_parameters, 'RunFilterParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PipelineRunsQueryResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - run_id: str, - **kwargs - ) -> "models.PipelineRun": - """Get a pipeline run by its run ID. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PipelineRun, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineRun - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineRun"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PipelineRun', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}'} # type: ignore - - async def cancel( - self, - resource_group_name: str, - factory_name: str, - run_id: str, - is_recursive: Optional[bool] = None, - **kwargs - ) -> None: - """Cancel a pipeline run by its run ID. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :param is_recursive: If true, cancel all the Child pipelines that are triggered by the current - pipeline. - :type is_recursive: bool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.cancel.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if is_recursive is not None: - query_parameters['isRecursive'] = self._serialize.query("is_recursive", is_recursive, 'bool') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_trigger_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_trigger_operations_async.py deleted file mode 100644 index f4669b45bc2..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_trigger_operations_async.py +++ /dev/null @@ -1,877 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class TriggerOperations: - """TriggerOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name: str, - factory_name: str, - **kwargs - ) -> AsyncIterable["models.TriggerListResponse"]: - """Lists triggers. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either TriggerListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~data_factory_management_client.models.TriggerListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('TriggerListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers'} # type: ignore - - async def query_by_factory( - self, - resource_group_name: str, - factory_name: str, - continuation_token_parameter: Optional[str] = None, - parent_trigger_name: Optional[str] = None, - **kwargs - ) -> "models.TriggerQueryResponse": - """Query triggers. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param continuation_token_parameter: The continuation token for getting the next page of - results. Null for first page. - :type continuation_token_parameter: str - :param parent_trigger_name: The name of the parent TumblingWindowTrigger to get the child rerun - triggers. - :type parent_trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerQueryResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerQueryResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - filter_parameters = models.TriggerFilterParameters(continuation_token=continuation_token_parameter, parent_trigger_name=parent_trigger_name) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(filter_parameters, 'TriggerFilterParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TriggerQueryResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - properties: "models.Trigger", - if_match: Optional[str] = None, - **kwargs - ) -> "models.TriggerResource": - """Creates or updates a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :param properties: Properties of the trigger. - :type properties: ~data_factory_management_client.models.Trigger - :param if_match: ETag of the trigger entity. Should only be specified for update, for which it - should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - trigger = models.TriggerResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(trigger, 'TriggerResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TriggerResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - if_none_match: Optional[str] = None, - **kwargs - ) -> Optional["models.TriggerResource"]: - """Gets a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :param if_none_match: ETag of the trigger entity. Should only be specified for get. If the ETag - matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.TriggerResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('TriggerResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> None: - """Deletes a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}'} # type: ignore - - async def _subscribe_to_event_initial( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> Optional["models.TriggerSubscriptionOperationStatus"]: - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.TriggerSubscriptionOperationStatus"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._subscribe_to_event_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _subscribe_to_event_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents'} # type: ignore - - async def begin_subscribe_to_event( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> AsyncLROPoller["models.TriggerSubscriptionOperationStatus"]: - """Subscribe event trigger to events. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.TriggerSubscriptionOperationStatus] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerSubscriptionOperationStatus"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._subscribe_to_event_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - trigger_name=trigger_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_subscribe_to_event.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents'} # type: ignore - - async def get_event_subscription_status( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> "models.TriggerSubscriptionOperationStatus": - """Get a trigger's event subscription status. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerSubscriptionOperationStatus, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerSubscriptionOperationStatus - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerSubscriptionOperationStatus"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_event_subscription_status.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_event_subscription_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus'} # type: ignore - - async def _unsubscribe_from_event_initial( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> Optional["models.TriggerSubscriptionOperationStatus"]: - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.TriggerSubscriptionOperationStatus"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._unsubscribe_from_event_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _unsubscribe_from_event_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents'} # type: ignore - - async def begin_unsubscribe_from_event( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> AsyncLROPoller["models.TriggerSubscriptionOperationStatus"]: - """Unsubscribe event trigger from events. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~data_factory_management_client.models.TriggerSubscriptionOperationStatus] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerSubscriptionOperationStatus"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._unsubscribe_from_event_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - trigger_name=trigger_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_unsubscribe_from_event.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents'} # type: ignore - - async def _start_initial( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._start_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start'} # type: ignore - - async def begin_start( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Starts a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._start_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - trigger_name=trigger_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start'} # type: ignore - - async def _stop_initial( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._stop_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop'} # type: ignore - - async def begin_stop( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Stops a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._stop_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - trigger_name=trigger_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_trigger_run_operations_async.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_trigger_run_operations_async.py deleted file mode 100644 index 3401f9c95c1..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/aio/operations_async/_trigger_run_operations_async.py +++ /dev/null @@ -1,241 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- -import datetime -from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class TriggerRunOperations: - """TriggerRunOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def rerun( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - run_id: str, - **kwargs - ) -> None: - """Rerun single trigger instance by runId. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.rerun.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - rerun.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun'} # type: ignore - - async def cancel( - self, - resource_group_name: str, - factory_name: str, - trigger_name: str, - run_id: str, - **kwargs - ) -> None: - """Cancel a single trigger instance by runId. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.cancel.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel'} # type: ignore - - async def query_by_factory( - self, - resource_group_name: str, - factory_name: str, - last_updated_after: datetime.datetime, - last_updated_before: datetime.datetime, - continuation_token_parameter: Optional[str] = None, - filters: Optional[List["models.RunQueryFilter"]] = None, - order_by: Optional[List["models.RunQueryOrderBy"]] = None, - **kwargs - ) -> "models.TriggerRunsQueryResponse": - """Query trigger runs. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param last_updated_after: The time at or after which the run event was updated in 'ISO 8601' - format. - :type last_updated_after: ~datetime.datetime - :param last_updated_before: The time at or before which the run event was updated in 'ISO 8601' - format. - :type last_updated_before: ~datetime.datetime - :param continuation_token_parameter: The continuation token for getting the next page of - results. Null for first page. - :type continuation_token_parameter: str - :param filters: List of filters. - :type filters: list[~data_factory_management_client.models.RunQueryFilter] - :param order_by: List of OrderBy option. - :type order_by: list[~data_factory_management_client.models.RunQueryOrderBy] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerRunsQueryResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerRunsQueryResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - filter_parameters = models.RunFilterParameters(continuation_token=continuation_token_parameter, last_updated_after=last_updated_after, last_updated_before=last_updated_before, filters=filters, order_by=order_by) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(filter_parameters, 'RunFilterParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TriggerRunsQueryResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/__init__.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/__init__.py index 1f1ab102631..d558e88e00d 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/__init__.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/__init__.py @@ -157,6 +157,9 @@ from ._models_py3 import CreateDataFlowDebugSessionResponse from ._models_py3 import CreateLinkedIntegrationRuntimeRequest from ._models_py3 import CreateRunResponse + from ._models_py3 import Credential + from ._models_py3 import CredentialReference + from ._models_py3 import CredentialResource from ._models_py3 import CustomActivity from ._models_py3 import CustomActivityReferenceObject from ._models_py3 import CustomDataSourceLinkedService @@ -277,6 +280,7 @@ from ._models_py3 import GetSsisObjectMetadataRequest from ._models_py3 import GitHubAccessTokenRequest from ._models_py3 import GitHubAccessTokenResponse + from ._models_py3 import GitHubClientSecret from ._models_py3 import GlobalParameterSpecification from ._models_py3 import GoogleAdWordsLinkedService from ._models_py3 import GoogleAdWordsObjectDataset @@ -336,6 +340,10 @@ from ._models_py3 import IntegrationRuntimeMonitoringData from ._models_py3 import IntegrationRuntimeNodeIpAddress from ._models_py3 import IntegrationRuntimeNodeMonitoringData + from ._models_py3 import IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint + from ._models_py3 import IntegrationRuntimeOutboundNetworkDependenciesEndpoint + from ._models_py3 import IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails + from ._models_py3 import IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse from ._models_py3 import IntegrationRuntimeReference from ._models_py3 import IntegrationRuntimeRegenerateKeyParameters from ._models_py3 import IntegrationRuntimeResource @@ -371,6 +379,7 @@ from ._models_py3 import MagentoLinkedService from ._models_py3 import MagentoObjectDataset from ._models_py3 import MagentoSource + from ._models_py3 import ManagedIdentityCredential from ._models_py3 import ManagedIntegrationRuntime from ._models_py3 import ManagedIntegrationRuntimeError from ._models_py3 import ManagedIntegrationRuntimeNode @@ -390,12 +399,14 @@ from ._models_py3 import MarketoLinkedService from ._models_py3 import MarketoObjectDataset from ._models_py3 import MarketoSource + from ._models_py3 import MetadataItem from ._models_py3 import MicrosoftAccessLinkedService from ._models_py3 import MicrosoftAccessSink from ._models_py3 import MicrosoftAccessSource from ._models_py3 import MicrosoftAccessTableDataset from ._models_py3 import MongoDbAtlasCollectionDataset from ._models_py3 import MongoDbAtlasLinkedService + from ._models_py3 import MongoDbAtlasSink from ._models_py3 import MongoDbAtlasSource from ._models_py3 import MongoDbCollectionDataset from ._models_py3 import MongoDbCursorMethodsProperties @@ -403,6 +414,7 @@ from ._models_py3 import MongoDbSource from ._models_py3 import MongoDbV2CollectionDataset from ._models_py3 import MongoDbV2LinkedService + from ._models_py3 import MongoDbV2Sink from ._models_py3 import MongoDbV2Source from ._models_py3 import MultiplePipelineTrigger from ._models_py3 import MySqlLinkedService @@ -551,6 +563,7 @@ from ._models_py3 import ServiceNowLinkedService from ._models_py3 import ServiceNowObjectDataset from ._models_py3 import ServiceNowSource + from ._models_py3 import ServicePrincipalCredential from ._models_py3 import SetVariableActivity from ._models_py3 import SftpLocation from ._models_py3 import SftpReadSettings @@ -575,6 +588,7 @@ from ._models_py3 import SqlAlwaysEncryptedProperties from ._models_py3 import SqlDwSink from ._models_py3 import SqlDwSource + from ._models_py3 import SqlDwUpsertSettings from ._models_py3 import SqlMiSink from ._models_py3 import SqlMiSource from ._models_py3 import SqlPartitionSettings @@ -585,6 +599,7 @@ from ._models_py3 import SqlServerTableDataset from ._models_py3 import SqlSink from ._models_py3 import SqlSource + from ._models_py3 import SqlUpsertSettings from ._models_py3 import SquareLinkedService from ._models_py3 import SquareObjectDataset from ._models_py3 import SquareSource @@ -822,6 +837,9 @@ from ._models import CreateDataFlowDebugSessionResponse # type: ignore from ._models import CreateLinkedIntegrationRuntimeRequest # type: ignore from ._models import CreateRunResponse # type: ignore + from ._models import Credential # type: ignore + from ._models import CredentialReference # type: ignore + from ._models import CredentialResource # type: ignore from ._models import CustomActivity # type: ignore from ._models import CustomActivityReferenceObject # type: ignore from ._models import CustomDataSourceLinkedService # type: ignore @@ -942,6 +960,7 @@ from ._models import GetSsisObjectMetadataRequest # type: ignore from ._models import GitHubAccessTokenRequest # type: ignore from ._models import GitHubAccessTokenResponse # type: ignore + from ._models import GitHubClientSecret # type: ignore from ._models import GlobalParameterSpecification # type: ignore from ._models import GoogleAdWordsLinkedService # type: ignore from ._models import GoogleAdWordsObjectDataset # type: ignore @@ -1001,6 +1020,10 @@ from ._models import IntegrationRuntimeMonitoringData # type: ignore from ._models import IntegrationRuntimeNodeIpAddress # type: ignore from ._models import IntegrationRuntimeNodeMonitoringData # type: ignore + from ._models import IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint # type: ignore + from ._models import IntegrationRuntimeOutboundNetworkDependenciesEndpoint # type: ignore + from ._models import IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails # type: ignore + from ._models import IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse # type: ignore from ._models import IntegrationRuntimeReference # type: ignore from ._models import IntegrationRuntimeRegenerateKeyParameters # type: ignore from ._models import IntegrationRuntimeResource # type: ignore @@ -1036,6 +1059,7 @@ from ._models import MagentoLinkedService # type: ignore from ._models import MagentoObjectDataset # type: ignore from ._models import MagentoSource # type: ignore + from ._models import ManagedIdentityCredential # type: ignore from ._models import ManagedIntegrationRuntime # type: ignore from ._models import ManagedIntegrationRuntimeError # type: ignore from ._models import ManagedIntegrationRuntimeNode # type: ignore @@ -1055,12 +1079,14 @@ from ._models import MarketoLinkedService # type: ignore from ._models import MarketoObjectDataset # type: ignore from ._models import MarketoSource # type: ignore + from ._models import MetadataItem # type: ignore from ._models import MicrosoftAccessLinkedService # type: ignore from ._models import MicrosoftAccessSink # type: ignore from ._models import MicrosoftAccessSource # type: ignore from ._models import MicrosoftAccessTableDataset # type: ignore from ._models import MongoDbAtlasCollectionDataset # type: ignore from ._models import MongoDbAtlasLinkedService # type: ignore + from ._models import MongoDbAtlasSink # type: ignore from ._models import MongoDbAtlasSource # type: ignore from ._models import MongoDbCollectionDataset # type: ignore from ._models import MongoDbCursorMethodsProperties # type: ignore @@ -1068,6 +1094,7 @@ from ._models import MongoDbSource # type: ignore from ._models import MongoDbV2CollectionDataset # type: ignore from ._models import MongoDbV2LinkedService # type: ignore + from ._models import MongoDbV2Sink # type: ignore from ._models import MongoDbV2Source # type: ignore from ._models import MultiplePipelineTrigger # type: ignore from ._models import MySqlLinkedService # type: ignore @@ -1216,6 +1243,7 @@ from ._models import ServiceNowLinkedService # type: ignore from ._models import ServiceNowObjectDataset # type: ignore from ._models import ServiceNowSource # type: ignore + from ._models import ServicePrincipalCredential # type: ignore from ._models import SetVariableActivity # type: ignore from ._models import SftpLocation # type: ignore from ._models import SftpReadSettings # type: ignore @@ -1240,6 +1268,7 @@ from ._models import SqlAlwaysEncryptedProperties # type: ignore from ._models import SqlDwSink # type: ignore from ._models import SqlDwSource # type: ignore + from ._models import SqlDwUpsertSettings # type: ignore from ._models import SqlMiSink # type: ignore from ._models import SqlMiSource # type: ignore from ._models import SqlPartitionSettings # type: ignore @@ -1250,6 +1279,7 @@ from ._models import SqlServerTableDataset # type: ignore from ._models import SqlSink # type: ignore from ._models import SqlSource # type: ignore + from ._models import SqlUpsertSettings # type: ignore from ._models import SquareLinkedService # type: ignore from ._models import SquareObjectDataset # type: ignore from ._models import SquareSource # type: ignore @@ -1356,7 +1386,6 @@ DependencyCondition, DynamicsAuthenticationType, DynamicsDeploymentType, - DynamicsServicePrincipalCredentialType, DynamicsSinkWriteBehavior, EventSubscriptionStatus, FactoryIdentityType, @@ -1410,12 +1439,15 @@ SapTablePartitionOption, SelfHostedIntegrationRuntimeNodeStatus, ServiceNowAuthenticationType, + ServicePrincipalCredentialType, SftpAuthenticationType, SparkAuthenticationType, SparkServerType, SparkThriftTransportProtocol, SqlAlwaysEncryptedAkvAuthType, + SqlDwWriteBehaviorEnum, SqlPartitionOption, + SqlWriteBehaviorEnum, SsisLogLocationType, SsisObjectMetadataType, SsisPackageLocationType, @@ -1583,6 +1615,9 @@ 'CreateDataFlowDebugSessionResponse', 'CreateLinkedIntegrationRuntimeRequest', 'CreateRunResponse', + 'Credential', + 'CredentialReference', + 'CredentialResource', 'CustomActivity', 'CustomActivityReferenceObject', 'CustomDataSourceLinkedService', @@ -1703,6 +1738,7 @@ 'GetSsisObjectMetadataRequest', 'GitHubAccessTokenRequest', 'GitHubAccessTokenResponse', + 'GitHubClientSecret', 'GlobalParameterSpecification', 'GoogleAdWordsLinkedService', 'GoogleAdWordsObjectDataset', @@ -1762,6 +1798,10 @@ 'IntegrationRuntimeMonitoringData', 'IntegrationRuntimeNodeIpAddress', 'IntegrationRuntimeNodeMonitoringData', + 'IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint', + 'IntegrationRuntimeOutboundNetworkDependenciesEndpoint', + 'IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails', + 'IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse', 'IntegrationRuntimeReference', 'IntegrationRuntimeRegenerateKeyParameters', 'IntegrationRuntimeResource', @@ -1797,6 +1837,7 @@ 'MagentoLinkedService', 'MagentoObjectDataset', 'MagentoSource', + 'ManagedIdentityCredential', 'ManagedIntegrationRuntime', 'ManagedIntegrationRuntimeError', 'ManagedIntegrationRuntimeNode', @@ -1816,12 +1857,14 @@ 'MarketoLinkedService', 'MarketoObjectDataset', 'MarketoSource', + 'MetadataItem', 'MicrosoftAccessLinkedService', 'MicrosoftAccessSink', 'MicrosoftAccessSource', 'MicrosoftAccessTableDataset', 'MongoDbAtlasCollectionDataset', 'MongoDbAtlasLinkedService', + 'MongoDbAtlasSink', 'MongoDbAtlasSource', 'MongoDbCollectionDataset', 'MongoDbCursorMethodsProperties', @@ -1829,6 +1872,7 @@ 'MongoDbSource', 'MongoDbV2CollectionDataset', 'MongoDbV2LinkedService', + 'MongoDbV2Sink', 'MongoDbV2Source', 'MultiplePipelineTrigger', 'MySqlLinkedService', @@ -1977,6 +2021,7 @@ 'ServiceNowLinkedService', 'ServiceNowObjectDataset', 'ServiceNowSource', + 'ServicePrincipalCredential', 'SetVariableActivity', 'SftpLocation', 'SftpReadSettings', @@ -2001,6 +2046,7 @@ 'SqlAlwaysEncryptedProperties', 'SqlDwSink', 'SqlDwSource', + 'SqlDwUpsertSettings', 'SqlMiSink', 'SqlMiSource', 'SqlPartitionSettings', @@ -2011,6 +2057,7 @@ 'SqlServerTableDataset', 'SqlSink', 'SqlSource', + 'SqlUpsertSettings', 'SquareLinkedService', 'SquareObjectDataset', 'SquareSource', @@ -2115,7 +2162,6 @@ 'DependencyCondition', 'DynamicsAuthenticationType', 'DynamicsDeploymentType', - 'DynamicsServicePrincipalCredentialType', 'DynamicsSinkWriteBehavior', 'EventSubscriptionStatus', 'FactoryIdentityType', @@ -2169,12 +2215,15 @@ 'SapTablePartitionOption', 'SelfHostedIntegrationRuntimeNodeStatus', 'ServiceNowAuthenticationType', + 'ServicePrincipalCredentialType', 'SftpAuthenticationType', 'SparkAuthenticationType', 'SparkServerType', 'SparkThriftTransportProtocol', 'SqlAlwaysEncryptedAkvAuthType', + 'SqlDwWriteBehaviorEnum', 'SqlPartitionOption', + 'SqlWriteBehaviorEnum', 'SsisLogLocationType', 'SsisObjectMetadataType', 'SsisPackageLocationType', diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_data_factory_management_client_enums.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_data_factory_management_client_enums.py index 1e1c0d92c7d..4d250610be9 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_data_factory_management_client_enums.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_data_factory_management_client_enums.py @@ -77,14 +77,16 @@ class CassandraSourceReadConsistencyLevels(with_metaclass(_CaseInsensitiveEnumMe LOCAL_SERIAL = "LOCAL_SERIAL" class CompressionCodec(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """All available compressionCodec values. + """ NONE = "none" - GZIP = "gzip" - SNAPPY = "snappy" LZO = "lzo" BZIP2 = "bzip2" + GZIP = "gzip" DEFLATE = "deflate" ZIP_DEFLATE = "zipDeflate" + SNAPPY = "snappy" LZ4 = "lz4" TAR = "tar" TAR_G_ZIP = "tarGZip" @@ -174,9 +176,7 @@ class DependencyCondition(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): COMPLETED = "Completed" class DynamicsAuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' - for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in - online scenario. Type: string (or Expression with resultType string). + """All available dynamicsAuthenticationType values. """ OFFICE365 = "Office365" @@ -184,23 +184,12 @@ class DynamicsAuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, E AAD_SERVICE_PRINCIPAL = "AADServicePrincipal" class DynamicsDeploymentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The deployment type of the Dynamics instance. 'Online' for Dynamics Online and - 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with - resultType string). + """All available dynamicsDeploymentType values. """ ONLINE = "Online" ON_PREMISES_WITH_IFD = "OnPremisesWithIfd" -class DynamicsServicePrincipalCredentialType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The service principal credential type to use in Server-To-Server authentication. - 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - Expression with resultType string). - """ - - SERVICE_PRINCIPAL_KEY = "ServicePrincipalKey" - SERVICE_PRINCIPAL_CERT = "ServicePrincipalCert" - class DynamicsSinkWriteBehavior(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Defines values for DynamicsSinkWriteBehavior. """ @@ -267,7 +256,7 @@ class HBaseAuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum BASIC = "Basic" class HdiNodeTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The node types on which the script action should be executed. + """All available HdiNodeTypes values. """ HEADNODE = "Headnode" @@ -417,8 +406,7 @@ class JsonFormatFilePattern(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)) ARRAY_OF_OBJECTS = "arrayOfObjects" class JsonWriteFilePattern(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """File pattern of JSON. This setting controls the way a collection of JSON objects will be - treated. The default value is 'setOfObjects'. It is case-sensitive. + """All available filePatterns. """ SET_OF_OBJECTS = "setOfObjects" @@ -661,6 +649,13 @@ class ServiceNowAuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, BASIC = "Basic" O_AUTH2 = "OAuth2" +class ServicePrincipalCredentialType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """All available servicePrincipalCredentialType values. + """ + + SERVICE_PRINCIPAL_KEY = "ServicePrincipalKey" + SERVICE_PRINCIPAL_CERT = "ServicePrincipalCert" + class SftpAuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The authentication type to be used to connect to the FTP server. """ @@ -702,6 +697,13 @@ class SqlAlwaysEncryptedAkvAuthType(with_metaclass(_CaseInsensitiveEnumMeta, str SERVICE_PRINCIPAL = "ServicePrincipal" MANAGED_IDENTITY = "ManagedIdentity" +class SqlDwWriteBehaviorEnum(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Specify the write behavior when copying data into sql dw. + """ + + INSERT = "Insert" + UPSERT = "Upsert" + class SqlPartitionOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The partition mechanism that will be used for Sql read in parallel. """ @@ -710,6 +712,14 @@ class SqlPartitionOption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): PHYSICAL_PARTITIONS_OF_TABLE = "PhysicalPartitionsOfTable" DYNAMIC_RANGE = "DynamicRange" +class SqlWriteBehaviorEnum(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Specify the write behavior when copying data into sql. + """ + + INSERT = "Insert" + UPSERT = "Upsert" + STORED_PROCEDURE = "StoredProcedure" + class SsisLogLocationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The type of SSIS log location. """ diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_models.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_models.py index e97fd0ab305..fb43215b43c 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_models.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_models.py @@ -13,7 +13,7 @@ class AccessPolicyResponse(msrest.serialization.Model): """Get Data Plane read only token response definition. :param policy: The user access policy. - :type policy: ~data_factory_management_client.models.UserAccessPolicy + :type policy: ~azure.mgmt.datafactory.models.UserAccessPolicy :param access_token: Data Plane read only access token. :type access_token: str :param data_plane_url: Data Plane service base URL. @@ -54,9 +54,9 @@ class Activity(msrest.serialization.Model): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] """ _validation = { @@ -101,8 +101,7 @@ class ActivityDependency(msrest.serialization.Model): :param activity: Required. Activity name. :type activity: str :param dependency_conditions: Required. Match-Condition for the dependency. - :type dependency_conditions: list[str or - ~data_factory_management_client.models.DependencyCondition] + :type dependency_conditions: list[str or ~azure.mgmt.datafactory.models.DependencyCondition] """ _validation = { @@ -272,7 +271,7 @@ class ActivityRunsQueryResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of activity runs. - :type value: list[~data_factory_management_client.models.ActivityRun] + :type value: list[~azure.mgmt.datafactory.models.ActivityRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str @@ -352,11 +351,11 @@ class LinkedService(msrest.serialization.Model): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] """ @@ -402,11 +401,11 @@ class AmazonMwsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Amazon MWS server, (i.e. @@ -419,11 +418,11 @@ class AmazonMwsLinkedService(LinkedService): :param seller_id: Required. The Amazon seller ID. :type seller_id: object :param mws_auth_token: The Amazon MWS authentication token. - :type mws_auth_token: ~data_factory_management_client.models.SecretBase + :type mws_auth_token: ~azure.mgmt.datafactory.models.SecretBase :param access_key_id: Required. The access key id used to access data. :type access_key_id: object :param secret_key: The secret key used to access data. - :type secret_key: ~data_factory_management_client.models.SecretBase + :type secret_key: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -507,14 +506,14 @@ class Dataset(msrest.serialization.Model): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder """ _validation = { @@ -573,14 +572,14 @@ class AmazonMwsObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -634,6 +633,9 @@ class CopySource(msrest.serialization.Model): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object """ _validation = { @@ -646,6 +648,7 @@ class CopySource(msrest.serialization.Model): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, } _subtype_map = { @@ -662,6 +665,7 @@ def __init__( self.source_retry_count = kwargs.get('source_retry_count', None) self.source_retry_wait = kwargs.get('source_retry_wait', None) self.max_concurrent_connections = kwargs.get('max_concurrent_connections', None) + self.disable_metrics_collection = kwargs.get('disable_metrics_collection', None) class TabularSource(CopySource): @@ -686,12 +690,15 @@ class TabularSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -704,8 +711,9 @@ class TabularSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } _subtype_map = { @@ -741,12 +749,15 @@ class AmazonMwsSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -762,8 +773,9 @@ class AmazonMwsSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -787,11 +799,11 @@ class AmazonRedshiftLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. The name of the Amazon Redshift server. Type: string (or Expression @@ -801,7 +813,7 @@ class AmazonRedshiftLinkedService(LinkedService): resultType string). :type username: object :param password: The password of the Amazon Redshift source. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param database: Required. The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). :type database: object @@ -868,18 +880,21 @@ class AmazonRedshiftSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param redshift_unload_settings: The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. - :type redshift_unload_settings: ~data_factory_management_client.models.RedshiftUnloadSettings + :type redshift_unload_settings: ~azure.mgmt.datafactory.models.RedshiftUnloadSettings """ _validation = { @@ -892,8 +907,9 @@ class AmazonRedshiftSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'redshift_unload_settings': {'key': 'redshiftUnloadSettings', 'type': 'RedshiftUnloadSettings'}, } @@ -927,14 +943,14 @@ class AmazonRedshiftTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -988,11 +1004,11 @@ class AmazonS3CompatibleLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param access_key_id: The access key identifier of the Amazon S3 Compatible Identity and Access @@ -1000,7 +1016,7 @@ class AmazonS3CompatibleLinkedService(LinkedService): :type access_key_id: object :param secret_access_key: The secret access key of the Amazon S3 Compatible Identity and Access Management (IAM) user. - :type secret_access_key: ~data_factory_management_client.models.SecretBase + :type secret_access_key: ~azure.mgmt.datafactory.models.SecretBase :param service_url: This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType @@ -1156,6 +1172,9 @@ class StoreReadSettings(msrest.serialization.Model): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object """ _validation = { @@ -1166,6 +1185,7 @@ class StoreReadSettings(msrest.serialization.Model): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, } _subtype_map = { @@ -1180,6 +1200,7 @@ def __init__( self.additional_properties = kwargs.get('additional_properties', None) self.type = 'StoreReadSettings' # type: str self.max_concurrent_connections = kwargs.get('max_concurrent_connections', None) + self.disable_metrics_collection = kwargs.get('disable_metrics_collection', None) class AmazonS3CompatibleReadSettings(StoreReadSettings): @@ -1195,6 +1216,9 @@ class AmazonS3CompatibleReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -1235,6 +1259,7 @@ class AmazonS3CompatibleReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -1284,14 +1309,14 @@ class AmazonS3Dataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param bucket_name: Required. The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). :type bucket_name: object @@ -1311,9 +1336,9 @@ class AmazonS3Dataset(Dataset): Expression with resultType string). :type modified_datetime_end: object :param format: The format of files. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used for the Amazon S3 object. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -1369,11 +1394,11 @@ class AmazonS3LinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param authentication_type: The authentication type of S3. Allowed value: AccessKey (default) @@ -1384,13 +1409,13 @@ class AmazonS3LinkedService(LinkedService): :type access_key_id: object :param secret_access_key: The secret access key of the Amazon S3 Identity and Access Management (IAM) user. - :type secret_access_key: ~data_factory_management_client.models.SecretBase + :type secret_access_key: ~azure.mgmt.datafactory.models.SecretBase :param service_url: This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). :type service_url: object :param session_token: The session token for the S3 temporary security credential. - :type session_token: ~data_factory_management_client.models.SecretBase + :type session_token: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -1490,6 +1515,9 @@ class AmazonS3ReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -1530,6 +1558,7 @@ class AmazonS3ReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -1575,9 +1604,9 @@ class AppendVariableActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param variable_name: Name of the variable whose value needs to be appended to. :type variable_name: str :param value: Value to be appended. Could be a static value or Expression. @@ -1654,20 +1683,19 @@ class AvroDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the avro storage. - :type location: ~data_factory_management_client.models.DatasetLocation - :param avro_compression_codec: Possible values include: "none", "deflate", "snappy", "xz", - "bzip2". - :type avro_compression_codec: str or - ~data_factory_management_client.models.AvroCompressionCodec + :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param avro_compression_codec: The data avroCompressionCodec. Type: string (or Expression with + resultType string). + :type avro_compression_codec: object :param avro_compression_level: :type avro_compression_level: int """ @@ -1689,7 +1717,7 @@ class AvroDataset(Dataset): 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, - 'avro_compression_codec': {'key': 'typeProperties.avroCompressionCodec', 'type': 'str'}, + 'avro_compression_codec': {'key': 'typeProperties.avroCompressionCodec', 'type': 'object'}, 'avro_compression_level': {'key': 'typeProperties.avroCompressionLevel', 'type': 'int'}, } @@ -1788,7 +1816,7 @@ class CopySink(msrest.serialization.Model): """A copy activity sink. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AvroSink, AzureBlobFsSink, AzureDataExplorerSink, AzureDataLakeStoreSink, AzureDatabricksDeltaLakeSink, AzureMySqlSink, AzurePostgreSqlSink, AzureQueueSink, AzureSearchIndexSink, AzureSqlSink, AzureTableSink, BinarySink, BlobSink, CommonDataServiceForAppsSink, CosmosDbMongoDbApiSink, CosmosDbSqlApiSink, DelimitedTextSink, DocumentDbCollectionSink, DynamicsCrmSink, DynamicsSink, FileSystemSink, InformixSink, JsonSink, MicrosoftAccessSink, OdbcSink, OracleSink, OrcSink, ParquetSink, RestSink, SalesforceServiceCloudSink, SalesforceSink, SapCloudForCustomerSink, SnowflakeSink, SqlDwSink, SqlMiSink, SqlServerSink, SqlSink. + sub-classes are: AvroSink, AzureBlobFsSink, AzureDataExplorerSink, AzureDataLakeStoreSink, AzureDatabricksDeltaLakeSink, AzureMySqlSink, AzurePostgreSqlSink, AzureQueueSink, AzureSearchIndexSink, AzureSqlSink, AzureTableSink, BinarySink, BlobSink, CommonDataServiceForAppsSink, CosmosDbMongoDbApiSink, CosmosDbSqlApiSink, DelimitedTextSink, DocumentDbCollectionSink, DynamicsCrmSink, DynamicsSink, FileSystemSink, InformixSink, JsonSink, MicrosoftAccessSink, MongoDbAtlasSink, MongoDbV2Sink, OdbcSink, OracleSink, OrcSink, ParquetSink, RestSink, SalesforceServiceCloudSink, SalesforceSink, SapCloudForCustomerSink, SnowflakeSink, SqlDwSink, SqlMiSink, SqlServerSink, SqlSink. All required parameters must be populated in order to send to Azure. @@ -1812,6 +1840,9 @@ class CopySink(msrest.serialization.Model): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object """ _validation = { @@ -1826,10 +1857,11 @@ class CopySink(msrest.serialization.Model): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, } _subtype_map = { - 'type': {'AvroSink': 'AvroSink', 'AzureBlobFSSink': 'AzureBlobFsSink', 'AzureDataExplorerSink': 'AzureDataExplorerSink', 'AzureDataLakeStoreSink': 'AzureDataLakeStoreSink', 'AzureDatabricksDeltaLakeSink': 'AzureDatabricksDeltaLakeSink', 'AzureMySqlSink': 'AzureMySqlSink', 'AzurePostgreSqlSink': 'AzurePostgreSqlSink', 'AzureQueueSink': 'AzureQueueSink', 'AzureSearchIndexSink': 'AzureSearchIndexSink', 'AzureSqlSink': 'AzureSqlSink', 'AzureTableSink': 'AzureTableSink', 'BinarySink': 'BinarySink', 'BlobSink': 'BlobSink', 'CommonDataServiceForAppsSink': 'CommonDataServiceForAppsSink', 'CosmosDbMongoDbApiSink': 'CosmosDbMongoDbApiSink', 'CosmosDbSqlApiSink': 'CosmosDbSqlApiSink', 'DelimitedTextSink': 'DelimitedTextSink', 'DocumentDbCollectionSink': 'DocumentDbCollectionSink', 'DynamicsCrmSink': 'DynamicsCrmSink', 'DynamicsSink': 'DynamicsSink', 'FileSystemSink': 'FileSystemSink', 'InformixSink': 'InformixSink', 'JsonSink': 'JsonSink', 'MicrosoftAccessSink': 'MicrosoftAccessSink', 'OdbcSink': 'OdbcSink', 'OracleSink': 'OracleSink', 'OrcSink': 'OrcSink', 'ParquetSink': 'ParquetSink', 'RestSink': 'RestSink', 'SalesforceServiceCloudSink': 'SalesforceServiceCloudSink', 'SalesforceSink': 'SalesforceSink', 'SapCloudForCustomerSink': 'SapCloudForCustomerSink', 'SnowflakeSink': 'SnowflakeSink', 'SqlDWSink': 'SqlDwSink', 'SqlMISink': 'SqlMiSink', 'SqlServerSink': 'SqlServerSink', 'SqlSink': 'SqlSink'} + 'type': {'AvroSink': 'AvroSink', 'AzureBlobFSSink': 'AzureBlobFsSink', 'AzureDataExplorerSink': 'AzureDataExplorerSink', 'AzureDataLakeStoreSink': 'AzureDataLakeStoreSink', 'AzureDatabricksDeltaLakeSink': 'AzureDatabricksDeltaLakeSink', 'AzureMySqlSink': 'AzureMySqlSink', 'AzurePostgreSqlSink': 'AzurePostgreSqlSink', 'AzureQueueSink': 'AzureQueueSink', 'AzureSearchIndexSink': 'AzureSearchIndexSink', 'AzureSqlSink': 'AzureSqlSink', 'AzureTableSink': 'AzureTableSink', 'BinarySink': 'BinarySink', 'BlobSink': 'BlobSink', 'CommonDataServiceForAppsSink': 'CommonDataServiceForAppsSink', 'CosmosDbMongoDbApiSink': 'CosmosDbMongoDbApiSink', 'CosmosDbSqlApiSink': 'CosmosDbSqlApiSink', 'DelimitedTextSink': 'DelimitedTextSink', 'DocumentDbCollectionSink': 'DocumentDbCollectionSink', 'DynamicsCrmSink': 'DynamicsCrmSink', 'DynamicsSink': 'DynamicsSink', 'FileSystemSink': 'FileSystemSink', 'InformixSink': 'InformixSink', 'JsonSink': 'JsonSink', 'MicrosoftAccessSink': 'MicrosoftAccessSink', 'MongoDbAtlasSink': 'MongoDbAtlasSink', 'MongoDbV2Sink': 'MongoDbV2Sink', 'OdbcSink': 'OdbcSink', 'OracleSink': 'OracleSink', 'OrcSink': 'OrcSink', 'ParquetSink': 'ParquetSink', 'RestSink': 'RestSink', 'SalesforceServiceCloudSink': 'SalesforceServiceCloudSink', 'SalesforceSink': 'SalesforceSink', 'SapCloudForCustomerSink': 'SapCloudForCustomerSink', 'SnowflakeSink': 'SnowflakeSink', 'SqlDWSink': 'SqlDwSink', 'SqlMISink': 'SqlMiSink', 'SqlServerSink': 'SqlServerSink', 'SqlSink': 'SqlSink'} } def __init__( @@ -1844,6 +1876,7 @@ def __init__( self.sink_retry_count = kwargs.get('sink_retry_count', None) self.sink_retry_wait = kwargs.get('sink_retry_wait', None) self.max_concurrent_connections = kwargs.get('max_concurrent_connections', None) + self.disable_metrics_collection = kwargs.get('disable_metrics_collection', None) class AvroSink(CopySink): @@ -1871,10 +1904,13 @@ class AvroSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Avro store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: Avro format settings. - :type format_settings: ~data_factory_management_client.models.AvroWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.AvroWriteSettings """ _validation = { @@ -1889,6 +1925,7 @@ class AvroSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'AvroWriteSettings'}, } @@ -1922,11 +1959,14 @@ class AvroSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Avro store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -1939,8 +1979,9 @@ class AvroSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -2111,18 +2152,18 @@ class AzureBatchLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param account_name: Required. The Azure Batch account name. Type: string (or Expression with resultType string). :type account_name: object :param access_key: The Azure Batch account access key. - :type access_key: ~data_factory_management_client.models.SecretBase + :type access_key: ~azure.mgmt.datafactory.models.SecretBase :param batch_uri: Required. The Azure Batch URI. Type: string (or Expression with resultType string). :type batch_uri: object @@ -2130,11 +2171,13 @@ class AzureBatchLinkedService(LinkedService): resultType string). :type pool_name: object :param linked_service_name: Required. The Azure Storage linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -2158,6 +2201,7 @@ class AzureBatchLinkedService(LinkedService): 'pool_name': {'key': 'typeProperties.poolName', 'type': 'object'}, 'linked_service_name': {'key': 'typeProperties.linkedServiceName', 'type': 'LinkedServiceReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -2172,6 +2216,7 @@ def __init__( self.pool_name = kwargs['pool_name'] self.linked_service_name = kwargs['linked_service_name'] self.encrypted_credential = kwargs.get('encrypted_credential', None) + self.credential = kwargs.get('credential', None) class AzureBlobDataset(Dataset): @@ -2193,14 +2238,14 @@ class AzureBlobDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param folder_path: The path of the Azure Blob storage. Type: string (or Expression with resultType string). :type folder_path: object @@ -2217,9 +2262,9 @@ class AzureBlobDataset(Dataset): Expression with resultType string). :type modified_datetime_end: object :param format: The format of the Azure Blob storage. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used for the blob storage. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -2280,14 +2325,14 @@ class AzureBlobFsDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param folder_path: The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with resultType string). :type folder_path: object @@ -2295,9 +2340,9 @@ class AzureBlobFsDataset(Dataset): with resultType string). :type file_name: object :param format: The format of the Azure Data Lake Storage Gen2 storage. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used for the blob storage. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -2344,11 +2389,11 @@ class AzureBlobFsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or @@ -2362,7 +2407,7 @@ class AzureBlobFsLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -2374,6 +2419,8 @@ class AzureBlobFsLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -2395,6 +2442,7 @@ class AzureBlobFsLinkedService(LinkedService): 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -2410,6 +2458,7 @@ def __init__( self.tenant = kwargs.get('tenant', None) self.azure_cloud_type = kwargs.get('azure_cloud_type', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) + self.credential = kwargs.get('credential', None) class AzureBlobFsLocation(DatasetLocation): @@ -2467,6 +2516,9 @@ class AzureBlobFsReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -2504,6 +2556,7 @@ class AzureBlobFsReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -2557,8 +2610,14 @@ class AzureBlobFsSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object + :param metadata: Specify the custom metadata to be added to sink data. Type: array of objects + (or Expression with resultType array of objects). + :type metadata: list[~azure.mgmt.datafactory.models.MetadataItem] """ _validation = { @@ -2573,7 +2632,9 @@ class AzureBlobFsSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, + 'metadata': {'key': 'metadata', 'type': '[MetadataItem]'}, } def __init__( @@ -2583,6 +2644,7 @@ def __init__( super(AzureBlobFsSink, self).__init__(**kwargs) self.type = 'AzureBlobFSSink' # type: str self.copy_behavior = kwargs.get('copy_behavior', None) + self.metadata = kwargs.get('metadata', None) class AzureBlobFsSource(CopySource): @@ -2604,6 +2666,9 @@ class AzureBlobFsSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param treat_empty_as_null: Treat empty as null. Type: boolean (or Expression with resultType boolean). :type treat_empty_as_null: object @@ -2625,6 +2690,7 @@ class AzureBlobFsSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'treat_empty_as_null': {'key': 'treatEmptyAsNull', 'type': 'object'}, 'skip_header_line_count': {'key': 'skipHeaderLineCount', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, @@ -2657,6 +2723,9 @@ class StoreWriteSettings(msrest.serialization.Model): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ @@ -2669,6 +2738,7 @@ class StoreWriteSettings(msrest.serialization.Model): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } @@ -2684,6 +2754,7 @@ def __init__( self.additional_properties = kwargs.get('additional_properties', None) self.type = 'StoreWriteSettings' # type: str self.max_concurrent_connections = kwargs.get('max_concurrent_connections', None) + self.disable_metrics_collection = kwargs.get('disable_metrics_collection', None) self.copy_behavior = kwargs.get('copy_behavior', None) @@ -2700,6 +2771,9 @@ class AzureBlobFsWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param block_size_in_mb: Indicates the block size(MB) when writing data to blob. Type: integer @@ -2715,6 +2789,7 @@ class AzureBlobFsWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'block_size_in_mb': {'key': 'blockSizeInMB', 'type': 'object'}, } @@ -2739,24 +2814,24 @@ class AzureBlobStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. - :type account_key: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type account_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. - :type sas_token: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type sas_token: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param service_endpoint: Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with connectionString, sasUri property. :type service_endpoint: str @@ -2765,7 +2840,7 @@ class AzureBlobStorageLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Data Warehouse. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -2781,6 +2856,8 @@ class AzureBlobStorageLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: str + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -2805,6 +2882,7 @@ class AzureBlobStorageLinkedService(LinkedService): 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'account_kind': {'key': 'typeProperties.accountKind', 'type': 'str'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'str'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -2824,6 +2902,7 @@ def __init__( self.azure_cloud_type = kwargs.get('azure_cloud_type', None) self.account_kind = kwargs.get('account_kind', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) + self.credential = kwargs.get('credential', None) class AzureBlobStorageLocation(DatasetLocation): @@ -2881,6 +2960,9 @@ class AzureBlobStorageReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -2921,6 +3003,7 @@ class AzureBlobStorageReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -2964,6 +3047,9 @@ class AzureBlobStorageWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param block_size_in_mb: Indicates the block size(MB) when writing data to blob. Type: integer @@ -2979,6 +3065,7 @@ class AzureBlobStorageWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'block_size_in_mb': {'key': 'blockSizeInMB', 'type': 'object'}, } @@ -3011,14 +3098,14 @@ class AzureDatabricksDeltaLakeDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table: The name of delta table. Type: string (or Expression with resultType string). :type table: object :param database: The database name of delta table. Type: string (or Expression with resultType @@ -3218,11 +3305,11 @@ class AzureDatabricksDeltaLakeLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param domain: Required. :code:``.azuredatabricks.net, domain name of your Databricks @@ -3231,7 +3318,7 @@ class AzureDatabricksDeltaLakeLinkedService(LinkedService): :param access_token: Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or AzureKeyVaultSecretReference. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param cluster_id: The id of an existing interactive cluster that will be used for all runs of this job. Type: string (or Expression with resultType string). :type cluster_id: object @@ -3296,12 +3383,14 @@ class AzureDatabricksDeltaLakeSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param import_settings: Azure Databricks Delta Lake import settings. - :type import_settings: - ~data_factory_management_client.models.AzureDatabricksDeltaLakeImportCommand + :type import_settings: ~azure.mgmt.datafactory.models.AzureDatabricksDeltaLakeImportCommand """ _validation = { @@ -3316,6 +3405,7 @@ class AzureDatabricksDeltaLakeSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'import_settings': {'key': 'importSettings', 'type': 'AzureDatabricksDeltaLakeImportCommand'}, } @@ -3349,12 +3439,14 @@ class AzureDatabricksDeltaLakeSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Azure Databricks Delta Lake Sql query. Type: string (or Expression with resultType string). :type query: object :param export_settings: Azure Databricks Delta Lake export settings. - :type export_settings: - ~data_factory_management_client.models.AzureDatabricksDeltaLakeExportCommand + :type export_settings: ~azure.mgmt.datafactory.models.AzureDatabricksDeltaLakeExportCommand """ _validation = { @@ -3367,6 +3459,7 @@ class AzureDatabricksDeltaLakeSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'export_settings': {'key': 'exportSettings', 'type': 'AzureDatabricksDeltaLakeExportCommand'}, } @@ -3392,11 +3485,11 @@ class AzureDatabricksLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param domain: Required. :code:``.azuredatabricks.net, domain name of your Databricks @@ -3405,7 +3498,7 @@ class AzureDatabricksLinkedService(LinkedService): :param access_token: Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string). - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param authentication: Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). :type authentication: object @@ -3464,6 +3557,8 @@ class AzureDatabricksLinkedService(LinkedService): :param policy_id: The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string (or Expression with resultType string). :type policy_id: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -3496,6 +3591,7 @@ class AzureDatabricksLinkedService(LinkedService): 'new_cluster_enable_elastic_disk': {'key': 'typeProperties.newClusterEnableElasticDisk', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'policy_id': {'key': 'typeProperties.policyId', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -3522,6 +3618,7 @@ def __init__( self.new_cluster_enable_elastic_disk = kwargs.get('new_cluster_enable_elastic_disk', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) self.policy_id = kwargs.get('policy_id', None) + self.credential = kwargs.get('credential', None) class ExecutionActivity(Activity): @@ -3542,13 +3639,13 @@ class ExecutionActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy """ _validation = { @@ -3596,13 +3693,13 @@ class AzureDataExplorerCommandActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param command: Required. A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). :type command: object @@ -3651,11 +3748,11 @@ class AzureDataExplorerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of Azure Data Explorer (the engine's endpoint). URL @@ -3667,13 +3764,15 @@ class AzureDataExplorerLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Kusto. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param database: Required. Database name for connection. Type: string (or Expression with resultType string). :type database: object :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -3694,6 +3793,7 @@ class AzureDataExplorerLinkedService(LinkedService): 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -3707,6 +3807,7 @@ def __init__( self.service_principal_key = kwargs.get('service_principal_key', None) self.database = kwargs['database'] self.tenant = kwargs.get('tenant', None) + self.credential = kwargs.get('credential', None) class AzureDataExplorerSink(CopySink): @@ -3734,6 +3835,9 @@ class AzureDataExplorerSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param ingestion_mapping_name: A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. :type ingestion_mapping_name: object @@ -3757,6 +3861,7 @@ class AzureDataExplorerSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'ingestion_mapping_name': {'key': 'ingestionMappingName', 'type': 'object'}, 'ingestion_mapping_as_json': {'key': 'ingestionMappingAsJson', 'type': 'object'}, 'flush_immediately': {'key': 'flushImmediately', 'type': 'object'}, @@ -3792,6 +3897,9 @@ class AzureDataExplorerSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Required. Database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with resultType string). :type query: object @@ -3802,8 +3910,8 @@ class AzureDataExplorerSource(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -3817,10 +3925,11 @@ class AzureDataExplorerSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'no_truncation': {'key': 'noTruncation', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -3854,14 +3963,14 @@ class AzureDataExplorerTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table: The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). :type table: object @@ -3905,11 +4014,11 @@ class AzureDataLakeAnalyticsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param account_name: Required. The Azure Data Lake Analytics account name. Type: string (or @@ -3920,7 +4029,7 @@ class AzureDataLakeAnalyticsLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Analytics account. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: Required. The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -3997,14 +4106,14 @@ class AzureDataLakeStoreDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param folder_path: Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string). :type folder_path: object @@ -4012,10 +4121,10 @@ class AzureDataLakeStoreDataset(Dataset): Expression with resultType string). :type file_name: object :param format: The format of the Data Lake Store. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used for the item(s) in the Azure Data Lake Store. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -4062,11 +4171,11 @@ class AzureDataLakeStoreLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param data_lake_store_uri: Required. Data Lake Store service URI. Type: string (or Expression @@ -4077,7 +4186,7 @@ class AzureDataLakeStoreLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Store account. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -4098,6 +4207,8 @@ class AzureDataLakeStoreLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -4121,6 +4232,7 @@ class AzureDataLakeStoreLinkedService(LinkedService): 'subscription_id': {'key': 'typeProperties.subscriptionId', 'type': 'object'}, 'resource_group_name': {'key': 'typeProperties.resourceGroupName', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -4138,6 +4250,7 @@ def __init__( self.subscription_id = kwargs.get('subscription_id', None) self.resource_group_name = kwargs.get('resource_group_name', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) + self.credential = kwargs.get('credential', None) class AzureDataLakeStoreLocation(DatasetLocation): @@ -4190,6 +4303,9 @@ class AzureDataLakeStoreReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -4235,6 +4351,7 @@ class AzureDataLakeStoreReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -4292,6 +4409,9 @@ class AzureDataLakeStoreSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param enable_adls_single_file_parallel: Single File Parallel. @@ -4310,6 +4430,7 @@ class AzureDataLakeStoreSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'enable_adls_single_file_parallel': {'key': 'enableAdlsSingleFileParallel', 'type': 'object'}, } @@ -4343,6 +4464,9 @@ class AzureDataLakeStoreSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -4358,6 +4482,7 @@ class AzureDataLakeStoreSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, } @@ -4383,6 +4508,9 @@ class AzureDataLakeStoreWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param expiry_date_time: Specifies the expiry time of the written files. The time is applied to @@ -4399,6 +4527,7 @@ class AzureDataLakeStoreWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'expiry_date_time': {'key': 'expiryDateTime', 'type': 'object'}, } @@ -4423,11 +4552,11 @@ class AzureFileStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Host name of the server. Type: string (or Expression with resultType string). @@ -4436,17 +4565,17 @@ class AzureFileStorageLinkedService(LinkedService): string). :type user_id: object :param password: Password to logon the server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. - :type account_key: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type account_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. - :type sas_token: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type sas_token: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param file_share: The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). :type file_share: object @@ -4550,6 +4679,9 @@ class AzureFileStorageReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -4590,6 +4722,7 @@ class AzureFileStorageReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -4633,6 +4766,9 @@ class AzureFileStorageWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ @@ -4645,6 +4781,7 @@ class AzureFileStorageWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } @@ -4671,16 +4808,16 @@ class AzureFunctionActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param method: Required. Rest API method for target endpoint. Possible values include: "GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "TRACE". - :type method: str or ~data_factory_management_client.models.AzureFunctionActivityMethod + :type method: str or ~azure.mgmt.datafactory.models.AzureFunctionActivityMethod :param function_name: Required. Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string). :type function_name: object @@ -4738,22 +4875,29 @@ class AzureFunctionLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param function_app_url: Required. The endpoint of the Azure Function App. URL will be in the format https://:code:``.azurewebsites.net. :type function_app_url: object :param function_key: Function or Host key for Azure Function App. - :type function_key: ~data_factory_management_client.models.SecretBase + :type function_key: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference + :param resource_id: Allowed token audiences for azure function. + :type resource_id: object + :param authentication: Type of authentication (Required to specify MSI) used to connect to + AzureFunction. Type: string (or Expression with resultType string). + :type authentication: object """ _validation = { @@ -4771,6 +4915,9 @@ class AzureFunctionLinkedService(LinkedService): 'function_app_url': {'key': 'typeProperties.functionAppUrl', 'type': 'object'}, 'function_key': {'key': 'typeProperties.functionKey', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, + 'resource_id': {'key': 'typeProperties.resourceId', 'type': 'object'}, + 'authentication': {'key': 'typeProperties.authentication', 'type': 'object'}, } def __init__( @@ -4782,6 +4929,9 @@ def __init__( self.function_app_url = kwargs['function_app_url'] self.function_key = kwargs.get('function_key', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) + self.credential = kwargs.get('credential', None) + self.resource_id = kwargs.get('resource_id', None) + self.authentication = kwargs.get('authentication', None) class AzureKeyVaultLinkedService(LinkedService): @@ -4795,16 +4945,18 @@ class AzureKeyVaultLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param base_url: Required. The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or Expression with resultType string). :type base_url: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -4820,6 +4972,7 @@ class AzureKeyVaultLinkedService(LinkedService): 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'base_url': {'key': 'typeProperties.baseUrl', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -4829,6 +4982,7 @@ def __init__( super(AzureKeyVaultLinkedService, self).__init__(**kwargs) self.type = 'AzureKeyVault' # type: str self.base_url = kwargs['base_url'] + self.credential = kwargs.get('credential', None) class SecretBase(msrest.serialization.Model): @@ -4871,7 +5025,7 @@ class AzureKeyVaultSecretReference(SecretBase): :param type: Required. Type of the secret.Constant filled by server. :type type: str :param store: Required. The Azure Key Vault linked service reference. - :type store: ~data_factory_management_client.models.LinkedServiceReference + :type store: ~azure.mgmt.datafactory.models.LinkedServiceReference :param secret_name: Required. The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string). :type secret_name: object @@ -4915,18 +5069,18 @@ class AzureMariaDbLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4979,12 +5133,15 @@ class AzureMariaDbSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -5000,8 +5157,9 @@ class AzureMariaDbSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -5033,14 +5191,14 @@ class AzureMariaDbTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -5087,13 +5245,13 @@ class AzureMlBatchExecutionActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param global_parameters: Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch @@ -5103,14 +5261,12 @@ class AzureMlBatchExecutionActivity(ExecutionActivity): Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. - :type web_service_outputs: dict[str, - ~data_factory_management_client.models.AzureMlWebServiceFile] + :type web_service_outputs: dict[str, ~azure.mgmt.datafactory.models.AzureMlWebServiceFile] :param web_service_inputs: Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. - :type web_service_inputs: dict[str, - ~data_factory_management_client.models.AzureMlWebServiceFile] + :type web_service_inputs: dict[str, ~azure.mgmt.datafactory.models.AzureMlWebServiceFile] """ _validation = { @@ -5158,13 +5314,13 @@ class AzureMlExecutePipelineActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param ml_pipeline_id: ID of the published Azure ML pipeline. Type: string (or Expression with resultType string). :type ml_pipeline_id: object @@ -5249,18 +5405,18 @@ class AzureMlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param ml_endpoint: Required. The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). :type ml_endpoint: object :param api_key: Required. The API key for accessing the Azure ML model endpoint. - :type api_key: ~data_factory_management_client.models.SecretBase + :type api_key: ~azure.mgmt.datafactory.models.SecretBase :param update_resource_endpoint: The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). :type update_resource_endpoint: object @@ -5270,7 +5426,7 @@ class AzureMlLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -5278,6 +5434,9 @@ class AzureMlLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param authentication: Type of authentication (Required to specify MSI) used to connect to + AzureML. Type: string (or Expression with resultType string). + :type authentication: object """ _validation = { @@ -5300,6 +5459,7 @@ class AzureMlLinkedService(LinkedService): 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'authentication': {'key': 'typeProperties.authentication', 'type': 'object'}, } def __init__( @@ -5315,6 +5475,7 @@ def __init__( self.service_principal_key = kwargs.get('service_principal_key', None) self.tenant = kwargs.get('tenant', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) + self.authentication = kwargs.get('authentication', None) class AzureMlServiceLinkedService(LinkedService): @@ -5328,11 +5489,11 @@ class AzureMlServiceLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param subscription_id: Required. Azure ML Service workspace subscription ID. Type: string (or @@ -5350,7 +5511,7 @@ class AzureMlServiceLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -5413,20 +5574,19 @@ class AzureMlUpdateResourceActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param trained_model_name: Required. Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). :type trained_model_name: object :param trained_model_linked_service_name: Required. Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. - :type trained_model_linked_service_name: - ~data_factory_management_client.models.LinkedServiceReference + :type trained_model_linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param trained_model_file_path: Required. The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). @@ -5476,7 +5636,7 @@ class AzureMlWebServiceFile(msrest.serialization.Model): :type file_path: object :param linked_service_name: Required. Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference """ _validation = { @@ -5509,18 +5669,18 @@ class AzureMySqlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5580,6 +5740,9 @@ class AzureMySqlSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -5597,6 +5760,7 @@ class AzureMySqlSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -5628,12 +5792,15 @@ class AzureMySqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -5648,8 +5815,9 @@ class AzureMySqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -5681,14 +5849,14 @@ class AzureMySqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The Azure MySQL database table name. Type: string (or Expression with resultType string). :type table_name: object @@ -5737,18 +5905,18 @@ class AzurePostgreSqlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5807,6 +5975,9 @@ class AzurePostgreSqlSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -5824,6 +5995,7 @@ class AzurePostgreSqlSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -5855,12 +6027,15 @@ class AzurePostgreSqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -5876,8 +6051,9 @@ class AzurePostgreSqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -5909,14 +6085,14 @@ class AzurePostgreSqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). :type table_name: object @@ -5984,6 +6160,9 @@ class AzureQueueSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object """ _validation = { @@ -5998,6 +6177,7 @@ class AzureQueueSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, } def __init__( @@ -6027,14 +6207,14 @@ class AzureSearchIndexDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param index_name: Required. The name of the Azure Search Index. Type: string (or Expression with resultType string). :type index_name: object @@ -6093,10 +6273,12 @@ class AzureSearchIndexSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Specify the write behavior when upserting documents into Azure Search Index. Possible values include: "Merge", "Upload". - :type write_behavior: str or - ~data_factory_management_client.models.AzureSearchIndexWriteBehaviorType + :type write_behavior: str or ~azure.mgmt.datafactory.models.AzureSearchIndexWriteBehaviorType """ _validation = { @@ -6111,6 +6293,7 @@ class AzureSearchIndexSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, } @@ -6134,18 +6317,18 @@ class AzureSearchLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. URL for Azure Search service. Type: string (or Expression with resultType string). :type url: object :param key: Admin Key for Azure Search service. - :type key: ~data_factory_management_client.models.SecretBase + :type key: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6191,24 +6374,24 @@ class AzureSqlDatabaseLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Database. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Database. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -6221,8 +6404,9 @@ class AzureSqlDatabaseLinkedService(LinkedService): resultType string). :type encrypted_credential: object :param always_encrypted_settings: Sql always encrypted properties. - :type always_encrypted_settings: - ~data_factory_management_client.models.SqlAlwaysEncryptedProperties + :type always_encrypted_settings: ~azure.mgmt.datafactory.models.SqlAlwaysEncryptedProperties + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -6245,6 +6429,7 @@ class AzureSqlDatabaseLinkedService(LinkedService): 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'always_encrypted_settings': {'key': 'typeProperties.alwaysEncryptedSettings', 'type': 'SqlAlwaysEncryptedProperties'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -6261,6 +6446,7 @@ def __init__( self.azure_cloud_type = kwargs.get('azure_cloud_type', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) self.always_encrypted_settings = kwargs.get('always_encrypted_settings', None) + self.credential = kwargs.get('credential', None) class AzureSqlDwLinkedService(LinkedService): @@ -6274,24 +6460,24 @@ class AzureSqlDwLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Data Warehouse. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -6303,6 +6489,8 @@ class AzureSqlDwLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -6324,6 +6512,7 @@ class AzureSqlDwLinkedService(LinkedService): 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -6339,6 +6528,7 @@ def __init__( self.tenant = kwargs.get('tenant', None) self.azure_cloud_type = kwargs.get('azure_cloud_type', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) + self.credential = kwargs.get('credential', None) class AzureSqlDwTableDataset(Dataset): @@ -6360,14 +6550,14 @@ class AzureSqlDwTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -6421,24 +6611,24 @@ class AzureSqlMiLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Managed Instance. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -6451,8 +6641,9 @@ class AzureSqlMiLinkedService(LinkedService): resultType string). :type encrypted_credential: object :param always_encrypted_settings: Sql always encrypted properties. - :type always_encrypted_settings: - ~data_factory_management_client.models.SqlAlwaysEncryptedProperties + :type always_encrypted_settings: ~azure.mgmt.datafactory.models.SqlAlwaysEncryptedProperties + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -6475,6 +6666,7 @@ class AzureSqlMiLinkedService(LinkedService): 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'always_encrypted_settings': {'key': 'typeProperties.alwaysEncryptedSettings', 'type': 'SqlAlwaysEncryptedProperties'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -6491,6 +6683,7 @@ def __init__( self.azure_cloud_type = kwargs.get('azure_cloud_type', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) self.always_encrypted_settings = kwargs.get('always_encrypted_settings', None) + self.credential = kwargs.get('credential', None) class AzureSqlMiTableDataset(Dataset): @@ -6512,14 +6705,14 @@ class AzureSqlMiTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -6587,6 +6780,9 @@ class AzureSqlSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object @@ -6598,13 +6794,21 @@ class AzureSqlSink(CopySink): :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: Write behavior when copying data into Azure SQL. Type: + SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlUpsertSettings """ _validation = { @@ -6619,12 +6823,16 @@ class AzureSqlSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlUpsertSettings'}, } def __init__( @@ -6639,6 +6847,9 @@ def __init__( self.stored_procedure_parameters = kwargs.get('stored_procedure_parameters', None) self.stored_procedure_table_type_parameter_name = kwargs.get('stored_procedure_table_type_parameter_name', None) self.table_option = kwargs.get('table_option', None) + self.sql_writer_use_table_lock = kwargs.get('sql_writer_use_table_lock', None) + self.write_behavior = kwargs.get('write_behavior', None) + self.upsert_settings = kwargs.get('upsert_settings', None) class AzureSqlSource(TabularSource): @@ -6660,12 +6871,15 @@ class AzureSqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database @@ -6675,14 +6889,14 @@ class AzureSqlSource(TabularSource): :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -6695,8 +6909,9 @@ class AzureSqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -6738,14 +6953,14 @@ class AzureSqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -6799,23 +7014,23 @@ class AzureStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. - :type account_key: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type account_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. - :type sas_token: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type sas_token: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6872,14 +7087,14 @@ class AzureTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: Required. The table name of the Azure Table storage. Type: string (or Expression with resultType string). :type table_name: object @@ -6938,6 +7153,9 @@ class AzureTableSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param azure_table_default_partition_key_value: Azure Table default partition key value. Type: string (or Expression with resultType string). :type azure_table_default_partition_key_value: object @@ -6964,6 +7182,7 @@ class AzureTableSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'azure_table_default_partition_key_value': {'key': 'azureTableDefaultPartitionKeyValue', 'type': 'object'}, 'azure_table_partition_key_name': {'key': 'azureTablePartitionKeyName', 'type': 'object'}, 'azure_table_row_key_name': {'key': 'azureTableRowKeyName', 'type': 'object'}, @@ -7001,12 +7220,15 @@ class AzureTableSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param azure_table_source_query: Azure Table source query. Type: string (or Expression with resultType string). :type azure_table_source_query: object @@ -7025,8 +7247,9 @@ class AzureTableSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'azure_table_source_query': {'key': 'azureTableSourceQuery', 'type': 'object'}, 'azure_table_source_ignore_table_not_found': {'key': 'azureTableSourceIgnoreTableNotFound', 'type': 'object'}, } @@ -7052,23 +7275,23 @@ class AzureTableStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. - :type account_key: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type account_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. - :type sas_token: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type sas_token: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7125,18 +7348,18 @@ class BinaryDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the Binary storage. - :type location: ~data_factory_management_client.models.DatasetLocation + :type location: ~azure.mgmt.datafactory.models.DatasetLocation :param compression: The data compression method used for the binary dataset. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -7216,7 +7439,7 @@ class BinaryReadSettings(FormatReadSettings): :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. - :type compression_properties: ~data_factory_management_client.models.CompressionReadSettings + :type compression_properties: ~azure.mgmt.datafactory.models.CompressionReadSettings """ _validation = { @@ -7263,8 +7486,11 @@ class BinarySink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Binary store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings """ _validation = { @@ -7279,6 +7505,7 @@ class BinarySink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, } @@ -7310,10 +7537,13 @@ class BinarySource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Binary store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: Binary format settings. - :type format_settings: ~data_factory_management_client.models.BinaryReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.BinaryReadSettings """ _validation = { @@ -7326,6 +7556,7 @@ class BinarySource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'BinaryReadSettings'}, } @@ -7359,7 +7590,7 @@ class Trigger(msrest.serialization.Model): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] """ @@ -7412,11 +7643,11 @@ class MultiplePipelineTrigger(Trigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] """ _validation = { @@ -7462,11 +7693,11 @@ class BlobEventsTrigger(MultiplePipelineTrigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] :param blob_path_begins_with: The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: @@ -7479,7 +7710,7 @@ class BlobEventsTrigger(MultiplePipelineTrigger): :param ignore_empty_blobs: If set to true, blobs with zero bytes will be ignored. :type ignore_empty_blobs: bool :param events: Required. The type of events that cause this trigger to fire. - :type events: list[str or ~data_factory_management_client.models.BlobEventTypes] + :type events: list[str or ~azure.mgmt.datafactory.models.BlobEventTypes] :param scope: Required. The ARM resource ID of the Storage Account. :type scope: str """ @@ -7543,6 +7774,9 @@ class BlobSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param blob_writer_overwrite_files: Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). :type blob_writer_overwrite_files: object @@ -7554,6 +7788,9 @@ class BlobSink(CopySink): :type blob_writer_add_header: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object + :param metadata: Specify the custom metadata to be added to sink data. Type: array of objects + (or Expression with resultType array of objects). + :type metadata: list[~azure.mgmt.datafactory.models.MetadataItem] """ _validation = { @@ -7568,10 +7805,12 @@ class BlobSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'blob_writer_overwrite_files': {'key': 'blobWriterOverwriteFiles', 'type': 'object'}, 'blob_writer_date_time_format': {'key': 'blobWriterDateTimeFormat', 'type': 'object'}, 'blob_writer_add_header': {'key': 'blobWriterAddHeader', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, + 'metadata': {'key': 'metadata', 'type': '[MetadataItem]'}, } def __init__( @@ -7584,6 +7823,7 @@ def __init__( self.blob_writer_date_time_format = kwargs.get('blob_writer_date_time_format', None) self.blob_writer_add_header = kwargs.get('blob_writer_add_header', None) self.copy_behavior = kwargs.get('copy_behavior', None) + self.metadata = kwargs.get('metadata', None) class BlobSource(CopySource): @@ -7605,6 +7845,9 @@ class BlobSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param treat_empty_as_null: Treat empty as null. Type: boolean (or Expression with resultType boolean). :type treat_empty_as_null: object @@ -7626,6 +7869,7 @@ class BlobSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'treat_empty_as_null': {'key': 'treatEmptyAsNull', 'type': 'object'}, 'skip_header_line_count': {'key': 'skipHeaderLineCount', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, @@ -7658,18 +7902,18 @@ class BlobTrigger(MultiplePipelineTrigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] :param folder_path: Required. The path of the container/folder that will trigger the pipeline. :type folder_path: str :param max_concurrency: Required. The max number of parallel files to handle when it is triggered. :type max_concurrency: int :param linked_service: Required. The Azure Storage linked service reference. - :type linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference """ _validation = { @@ -7714,11 +7958,11 @@ class CassandraLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name for connection. Type: string (or Expression with resultType @@ -7734,7 +7978,7 @@ class CassandraLinkedService(LinkedService): string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7794,12 +8038,15 @@ class CassandraSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). :type query: object @@ -7810,7 +8057,7 @@ class CassandraSource(TabularSource): Possible values include: "ALL", "EACH_QUORUM", "QUORUM", "LOCAL_QUORUM", "ONE", "TWO", "THREE", "LOCAL_ONE", "SERIAL", "LOCAL_SERIAL". :type consistency_level: str or - ~data_factory_management_client.models.CassandraSourceReadConsistencyLevels + ~azure.mgmt.datafactory.models.CassandraSourceReadConsistencyLevels """ _validation = { @@ -7823,8 +8070,9 @@ class CassandraSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'consistency_level': {'key': 'consistencyLevel', 'type': 'str'}, } @@ -7858,14 +8106,14 @@ class CassandraTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name of the Cassandra database. Type: string (or Expression with resultType string). :type table_name: object @@ -7919,14 +8167,14 @@ class ChainingTrigger(Trigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipeline: Required. Pipeline for which runs are created when all upstream pipelines complete successfully. - :type pipeline: ~data_factory_management_client.models.TriggerPipelineReference + :type pipeline: ~azure.mgmt.datafactory.models.TriggerPipelineReference :param depends_on: Required. Upstream Pipelines. - :type depends_on: list[~data_factory_management_client.models.PipelineReference] + :type depends_on: list[~azure.mgmt.datafactory.models.PipelineReference] :param run_dimension: Required. Run Dimension property that needs to be emitted by upstream pipelines. :type run_dimension: str @@ -7974,7 +8222,7 @@ class CloudError(msrest.serialization.Model): :param target: Property name/path in request associated with error. :type target: str :param details: Array with additional error details. - :type details: list[~data_factory_management_client.models.CloudError] + :type details: list[~azure.mgmt.datafactory.models.CloudError] """ _validation = { @@ -8012,7 +8260,7 @@ class CmdkeySetup(CustomSetupBase): :param user_name: Required. The user name of data source access. :type user_name: object :param password: Required. The password of data source access. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -8079,14 +8327,14 @@ class CommonDataServiceForAppsEntityDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object @@ -8130,18 +8378,18 @@ class CommonDataServiceForAppsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType - string). Possible values include: "Online", "OnPremisesWithIfd". - :type deployment_type: str or ~data_factory_management_client.models.DynamicsDeploymentType + string). + :type deployment_type: object :param host_name: The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). @@ -8162,30 +8410,26 @@ class CommonDataServiceForAppsLinkedService(LinkedService): :param authentication_type: Required. The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or - Expression with resultType string). Possible values include: "Office365", "Ifd", - "AADServicePrincipal". - :type authentication_type: str or - ~data_factory_management_client.models.DynamicsAuthenticationType + Expression with resultType string). + :type authentication_type: object :param username: User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Common Data Service for Apps instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' - for certificate. Type: string (or Expression with resultType string). Possible values include: - "ServicePrincipalKey", "ServicePrincipalCert". - :type service_principal_credential_type: str or - ~data_factory_management_client.models.DynamicsServicePrincipalCredentialType + for certificate. Type: string (or Expression with resultType string). + :type service_principal_credential_type: object :param service_principal_credential: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - :type service_principal_credential: ~data_factory_management_client.models.SecretBase + :type service_principal_credential: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -8205,16 +8449,16 @@ class CommonDataServiceForAppsLinkedService(LinkedService): 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, - 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, + 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'object'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, - 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, + 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, - 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'str'}, + 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'object'}, 'service_principal_credential': {'key': 'typeProperties.servicePrincipalCredential', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } @@ -8264,9 +8508,12 @@ class CommonDataServiceForAppsSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.DynamicsSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). @@ -8289,6 +8536,7 @@ class CommonDataServiceForAppsSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, @@ -8324,12 +8572,15 @@ class CommonDataServiceForAppsSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -8342,8 +8593,9 @@ class CommonDataServiceForAppsSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -8366,7 +8618,7 @@ class ComponentSetup(CustomSetupBase): :param component_name: Required. The name of the 3rd party component. :type component_name: str :param license_key: The license key to activate the component. - :type license_key: ~data_factory_management_client.models.SecretBase + :type license_key: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -8438,11 +8690,11 @@ class ConcurLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Concur. It is mutually exclusive @@ -8454,7 +8706,7 @@ class ConcurLinkedService(LinkedService): :type username: object :param password: The password corresponding to the user name that you provided in the username field. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -8529,14 +8781,14 @@ class ConcurObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -8587,12 +8839,15 @@ class ConcurSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -8608,8 +8863,9 @@ class ConcurSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -8672,9 +8928,9 @@ class ControlActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] """ _validation = { @@ -8714,28 +8970,28 @@ class CopyActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param inputs: List of inputs for the activity. - :type inputs: list[~data_factory_management_client.models.DatasetReference] + :type inputs: list[~azure.mgmt.datafactory.models.DatasetReference] :param outputs: List of outputs for the activity. - :type outputs: list[~data_factory_management_client.models.DatasetReference] + :type outputs: list[~azure.mgmt.datafactory.models.DatasetReference] :param source: Required. Copy activity source. - :type source: ~data_factory_management_client.models.CopySource + :type source: ~azure.mgmt.datafactory.models.CopySource :param sink: Required. Copy activity sink. - :type sink: ~data_factory_management_client.models.CopySink + :type sink: ~azure.mgmt.datafactory.models.CopySink :param translator: Copy activity translator. If not specified, tabular translator is used. :type translator: object :param enable_staging: Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). :type enable_staging: object :param staging_settings: Specifies interim staging settings when EnableStaging is true. - :type staging_settings: ~data_factory_management_client.models.StagingSettings + :type staging_settings: ~azure.mgmt.datafactory.models.StagingSettings :param parallel_copies: Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0. @@ -8749,12 +9005,12 @@ class CopyActivity(ExecutionActivity): :param redirect_incompatible_row_settings: Redirect incompatible row settings when EnableSkipIncompatibleRow is true. :type redirect_incompatible_row_settings: - ~data_factory_management_client.models.RedirectIncompatibleRowSettings + ~azure.mgmt.datafactory.models.RedirectIncompatibleRowSettings :param log_storage_settings: (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log. - :type log_storage_settings: ~data_factory_management_client.models.LogStorageSettings + :type log_storage_settings: ~azure.mgmt.datafactory.models.LogStorageSettings :param log_settings: Log settings customer needs provide when enabling log. - :type log_settings: ~data_factory_management_client.models.LogSettings + :type log_settings: ~azure.mgmt.datafactory.models.LogSettings :param preserve_rules: Preserve Rules. :type preserve_rules: list[object] :param preserve: Preserve rules. @@ -8763,7 +9019,7 @@ class CopyActivity(ExecutionActivity): (or Expression with resultType boolean). :type validate_data_consistency: object :param skip_error_file: Specify the fault tolerance for data consistency. - :type skip_error_file: ~data_factory_management_client.models.SkipErrorFile + :type skip_error_file: ~azure.mgmt.datafactory.models.SkipErrorFile """ _validation = { @@ -8899,11 +9155,11 @@ class CosmosDbLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. Type: string, SecureString or @@ -8916,7 +9172,7 @@ class CosmosDbLinkedService(LinkedService): :type database: object :param account_key: The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference. - :type account_key: ~data_factory_management_client.models.SecretBase + :type account_key: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object @@ -8925,13 +9181,13 @@ class CosmosDbLinkedService(LinkedService): for certificate. Type: string (or Expression with resultType string). Possible values include: "ServicePrincipalKey", "ServicePrincipalCert". :type service_principal_credential_type: str or - ~data_factory_management_client.models.CosmosDbServicePrincipalCredentialType + ~azure.mgmt.datafactory.models.CosmosDbServicePrincipalCredentialType :param service_principal_credential: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - :type service_principal_credential: ~data_factory_management_client.models.SecretBase + :type service_principal_credential: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -8941,7 +9197,7 @@ class CosmosDbLinkedService(LinkedService): :type azure_cloud_type: object :param connection_mode: The connection mode used to access CosmosDB account. Type: string (or Expression with resultType string). Possible values include: "Gateway", "Direct". - :type connection_mode: str or ~data_factory_management_client.models.CosmosDbConnectionMode + :type connection_mode: str or ~azure.mgmt.datafactory.models.CosmosDbConnectionMode :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -9010,14 +9266,14 @@ class CosmosDbMongoDbApiCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection: Required. The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). :type collection: object @@ -9062,13 +9318,16 @@ class CosmosDbMongoDbApiLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] + :param is_server_version_above32: Whether the CosmosDB (MongoDB API) server version is higher + than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean). + :type is_server_version_above32: object :param connection_string: Required. The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. @@ -9091,6 +9350,7 @@ class CosmosDbMongoDbApiLinkedService(LinkedService): 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, + 'is_server_version_above32': {'key': 'typeProperties.isServerVersionAbove32', 'type': 'object'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, } @@ -9101,6 +9361,7 @@ def __init__( ): super(CosmosDbMongoDbApiLinkedService, self).__init__(**kwargs) self.type = 'CosmosDbMongoDbApi' # type: str + self.is_server_version_above32 = kwargs.get('is_server_version_above32', None) self.connection_string = kwargs['connection_string'] self.database = kwargs['database'] @@ -9130,6 +9391,9 @@ class CosmosDbMongoDbApiSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). @@ -9148,6 +9412,7 @@ class CosmosDbMongoDbApiSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } @@ -9179,12 +9444,15 @@ class CosmosDbMongoDbApiSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. - :type cursor_methods: ~data_factory_management_client.models.MongoDbCursorMethodsProperties + :type cursor_methods: ~azure.mgmt.datafactory.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. @@ -9194,8 +9462,8 @@ class CosmosDbMongoDbApiSource(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -9208,11 +9476,12 @@ class CosmosDbMongoDbApiSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -9247,14 +9516,14 @@ class CosmosDbSqlApiCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection_name: Required. CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). :type collection_name: object @@ -9313,6 +9582,9 @@ class CosmosDbSqlApiSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. :type write_behavior: object @@ -9330,6 +9602,7 @@ class CosmosDbSqlApiSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } @@ -9361,6 +9634,9 @@ class CosmosDbSqlApiSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: SQL API query. Type: string (or Expression with resultType string). :type query: object :param page_size: Page size of the result. Type: integer (or Expression with resultType @@ -9373,8 +9649,8 @@ class CosmosDbSqlApiSource(CopySource): Expression with resultType boolean). :type detect_datetime: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -9387,11 +9663,12 @@ class CosmosDbSqlApiSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'page_size': {'key': 'pageSize', 'type': 'object'}, 'preferred_regions': {'key': 'preferredRegions', 'type': 'object'}, 'detect_datetime': {'key': 'detectDatetime', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -9418,18 +9695,18 @@ class CouchbaseLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param cred_string: The Azure key vault secret reference of credString in connection string. - :type cred_string: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type cred_string: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -9482,12 +9759,15 @@ class CouchbaseSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -9503,8 +9783,9 @@ class CouchbaseSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -9536,14 +9817,14 @@ class CouchbaseTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -9587,8 +9868,7 @@ class CreateDataFlowDebugSessionRequest(msrest.serialization.Model): :param time_to_live: Time to live setting of the cluster in minutes. :type time_to_live: int :param integration_runtime: Set to use integration runtime setting for data flow debug session. - :type integration_runtime: - ~data_factory_management_client.models.IntegrationRuntimeDebugResource + :type integration_runtime: ~azure.mgmt.datafactory.models.IntegrationRuntimeDebugResource """ _attribute_map = { @@ -9691,6 +9971,172 @@ def __init__( self.run_id = kwargs['run_id'] +class Credential(msrest.serialization.Model): + """The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ManagedIdentityCredential, ServicePrincipalCredential. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Type of credential.Constant filled by server. + :type type: str + :param description: Credential description. + :type description: str + :param annotations: List of tags that can be used for describing the Credential. + :type annotations: list[object] + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'annotations': {'key': 'annotations', 'type': '[object]'}, + } + + _subtype_map = { + 'type': {'ManagedIdentity': 'ManagedIdentityCredential', 'ServicePrincipal': 'ServicePrincipalCredential'} + } + + def __init__( + self, + **kwargs + ): + super(Credential, self).__init__(**kwargs) + self.additional_properties = kwargs.get('additional_properties', None) + self.type = 'Credential' # type: str + self.description = kwargs.get('description', None) + self.annotations = kwargs.get('annotations', None) + + +class CredentialReference(msrest.serialization.Model): + """Credential reference type. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :ivar type: Required. Credential reference type. Default value: "CredentialReference". + :vartype type: str + :param reference_name: Required. Reference credential name. + :type reference_name: str + """ + + _validation = { + 'type': {'required': True, 'constant': True}, + 'reference_name': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'reference_name': {'key': 'referenceName', 'type': 'str'}, + } + + type = "CredentialReference" + + def __init__( + self, + **kwargs + ): + super(CredentialReference, self).__init__(**kwargs) + self.additional_properties = kwargs.get('additional_properties', None) + self.reference_name = kwargs['reference_name'] + + +class SubResource(msrest.serialization.Model): + """Azure Data Factory nested resource, which belongs to a factory. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The resource identifier. + :vartype id: str + :ivar name: The resource name. + :vartype name: str + :ivar type: The resource type. + :vartype type: str + :ivar etag: Etag identifies change in the resource. + :vartype etag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubResource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.etag = None + + +class CredentialResource(SubResource): + """Credential resource type. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource identifier. + :vartype id: str + :ivar name: The resource name. + :vartype name: str + :ivar type: The resource type. + :vartype type: str + :ivar etag: Etag identifies change in the resource. + :vartype etag: str + :param properties: Required. Properties of credentials. + :type properties: ~azure.mgmt.datafactory.models.Credential + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'properties': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'Credential'}, + } + + def __init__( + self, + **kwargs + ): + super(CredentialResource, self).__init__(**kwargs) + self.properties = kwargs['properties'] + + class CustomActivity(ExecutionActivity): """Custom activity type. @@ -9706,23 +10152,23 @@ class CustomActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param command: Required. Command for custom activity Type: string (or Expression with resultType string). :type command: object :param resource_linked_service: Resource linked service reference. - :type resource_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type resource_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param folder_path: Folder path for resource files Type: string (or Expression with resultType string). :type folder_path: object :param reference_objects: Reference objects. - :type reference_objects: ~data_factory_management_client.models.CustomActivityReferenceObject + :type reference_objects: ~azure.mgmt.datafactory.models.CustomActivityReferenceObject :param extended_properties: User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined. @@ -9778,9 +10224,9 @@ class CustomActivityReferenceObject(msrest.serialization.Model): """Reference objects for custom activity. :param linked_services: Linked service references. - :type linked_services: list[~data_factory_management_client.models.LinkedServiceReference] + :type linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param datasets: Dataset references. - :type datasets: list[~data_factory_management_client.models.DatasetReference] + :type datasets: list[~azure.mgmt.datafactory.models.DatasetReference] """ _attribute_map = { @@ -9816,14 +10262,14 @@ class CustomDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param type_properties: Custom dataset properties. :type type_properties: object """ @@ -9866,11 +10312,11 @@ class CustomDataSourceLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param type_properties: Required. Custom linked service properties. @@ -9917,11 +10363,11 @@ class CustomEventsTrigger(MultiplePipelineTrigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] :param subject_begins_with: The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. :type subject_begins_with: str @@ -9981,13 +10427,13 @@ class DatabricksNotebookActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param notebook_path: Required. The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). @@ -10045,13 +10491,13 @@ class DatabricksSparkJarActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param main_class_name: Required. The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string). @@ -10108,13 +10554,13 @@ class DatabricksSparkPythonActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param python_file: Required. The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). :type python_file: object @@ -10161,7 +10607,9 @@ class DataFlow(msrest.serialization.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: MappingDataFlow. - :param type: Type of data flow.Constant filled by server. + All required parameters must be populated in order to send to Azure. + + :param type: Required. Type of data flow.Constant filled by server. :type type: str :param description: The description of the data flow. :type description: str @@ -10169,9 +10617,13 @@ class DataFlow(msrest.serialization.Model): :type annotations: list[object] :param folder: The folder that this data flow is in. If not specified, Data flow will appear at the root level. - :type folder: ~data_factory_management_client.models.DataFlowFolder + :type folder: ~azure.mgmt.datafactory.models.DataFlowFolder """ + _validation = { + 'type': {'required': True}, + } + _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, @@ -10238,9 +10690,9 @@ class DataFlowDebugCommandRequest(msrest.serialization.Model): :type session_id: str :param command: The command type. Possible values include: "executePreviewQuery", "executeStatisticsQuery", "executeExpressionQuery". - :type command: str or ~data_factory_management_client.models.DataFlowDebugCommandType + :type command: str or ~azure.mgmt.datafactory.models.DataFlowDebugCommandType :param command_payload: The command payload object. - :type command_payload: ~data_factory_management_client.models.DataFlowDebugCommandPayload + :type command_payload: ~azure.mgmt.datafactory.models.DataFlowDebugCommandPayload """ _attribute_map = { @@ -10291,15 +10743,15 @@ class DataFlowDebugPackage(msrest.serialization.Model): :param session_id: The ID of data flow debug session. :type session_id: str :param data_flow: Data flow instance. - :type data_flow: ~data_factory_management_client.models.DataFlowDebugResource + :type data_flow: ~azure.mgmt.datafactory.models.DataFlowDebugResource :param datasets: List of datasets. - :type datasets: list[~data_factory_management_client.models.DatasetDebugResource] + :type datasets: list[~azure.mgmt.datafactory.models.DatasetDebugResource] :param linked_services: List of linked services. - :type linked_services: list[~data_factory_management_client.models.LinkedServiceDebugResource] + :type linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceDebugResource] :param staging: Staging info for debug session. - :type staging: ~data_factory_management_client.models.DataFlowStagingInfo + :type staging: ~azure.mgmt.datafactory.models.DataFlowStagingInfo :param debug_settings: Data flow debug settings. - :type debug_settings: ~data_factory_management_client.models.DataFlowDebugPackageDebugSettings + :type debug_settings: ~azure.mgmt.datafactory.models.DataFlowDebugPackageDebugSettings """ _attribute_map = { @@ -10330,7 +10782,7 @@ class DataFlowDebugPackageDebugSettings(msrest.serialization.Model): """Data flow debug settings. :param source_settings: Source setting for data flow debug. - :type source_settings: list[~data_factory_management_client.models.DataFlowSourceSetting] + :type source_settings: list[~azure.mgmt.datafactory.models.DataFlowSourceSetting] :param parameters: Data flow parameters. :type parameters: dict[str, object] :param dataset_parameters: Parameters for dataset. @@ -10380,7 +10832,7 @@ class DataFlowDebugResource(SubResourceDebugResource): :param name: The resource name. :type name: str :param properties: Required. Data flow properties. - :type properties: ~data_factory_management_client.models.DataFlow + :type properties: ~azure.mgmt.datafactory.models.DataFlow """ _validation = { @@ -10481,7 +10933,7 @@ class DataFlowListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of data flows. - :type value: list[~data_factory_management_client.models.DataFlowResource] + :type value: list[~azure.mgmt.datafactory.models.DataFlowResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -10546,46 +10998,6 @@ def __init__( self.dataset_parameters = kwargs.get('dataset_parameters', None) -class SubResource(msrest.serialization.Model): - """Azure Data Factory nested resource, which belongs to a factory. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The resource identifier. - :vartype id: str - :ivar name: The resource name. - :vartype name: str - :ivar type: The resource type. - :vartype type: str - :ivar etag: Etag identifies change in the resource. - :vartype etag: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SubResource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.etag = None - - class DataFlowResource(SubResource): """Data flow resource type. @@ -10602,7 +11014,7 @@ class DataFlowResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Data flow properties. - :type properties: ~data_factory_management_client.models.DataFlow + :type properties: ~azure.mgmt.datafactory.models.DataFlow """ _validation = { @@ -10668,11 +11080,11 @@ class DataFlowSink(Transformation): :param description: Transformation description. :type description: str :param dataset: Dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param linked_service: Linked service reference. - :type linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param schema_linked_service: Schema linked service reference. - :type schema_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type schema_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference """ _validation = { @@ -10707,11 +11119,11 @@ class DataFlowSource(Transformation): :param description: Transformation description. :type description: str :param dataset: Dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param linked_service: Linked service reference. - :type linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param schema_linked_service: Schema linked service reference. - :type schema_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type schema_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference """ _validation = { @@ -10768,7 +11180,7 @@ class DataFlowStagingInfo(msrest.serialization.Model): """Staging info for execute data flow activity. :param linked_service: Staging linked service reference. - :type linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param folder_path: Folder path for staging blob. Type: string (or Expression with resultType string). :type folder_path: object @@ -10803,18 +11215,18 @@ class DataLakeAnalyticsUsqlActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param script_path: Required. Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Required. Script linked service reference. - :type script_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type script_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param degree_of_parallelism: The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. :type degree_of_parallelism: object @@ -10883,8 +11295,9 @@ class DatasetCompression(msrest.serialization.Model): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object """ _validation = { @@ -10893,7 +11306,7 @@ class DatasetCompression(msrest.serialization.Model): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, } _subtype_map = { @@ -10917,8 +11330,9 @@ class DatasetBZip2Compression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object """ _validation = { @@ -10927,7 +11341,7 @@ class DatasetBZip2Compression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, } def __init__( @@ -10969,7 +11383,7 @@ class DatasetDebugResource(SubResourceDebugResource): :param name: The resource name. :type name: str :param properties: Required. Dataset properties. - :type properties: ~data_factory_management_client.models.Dataset + :type properties: ~azure.mgmt.datafactory.models.Dataset """ _validation = { @@ -10997,10 +11411,11 @@ class DatasetDeflateCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str - :param level: The Deflate compression level. Possible values include: "Optimal", "Fastest". - :type level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object + :param level: The Deflate compression level. + :type level: object """ _validation = { @@ -11009,8 +11424,8 @@ class DatasetDeflateCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, - 'level': {'key': 'level', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, + 'level': {'key': 'level', 'type': 'object'}, } def __init__( @@ -11049,10 +11464,11 @@ class DatasetGZipCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str - :param level: The GZip compression level. Possible values include: "Optimal", "Fastest". - :type level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object + :param level: The GZip compression level. + :type level: object """ _validation = { @@ -11061,8 +11477,8 @@ class DatasetGZipCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, - 'level': {'key': 'level', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, + 'level': {'key': 'level', 'type': 'object'}, } def __init__( @@ -11080,7 +11496,7 @@ class DatasetListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of datasets. - :type value: list[~data_factory_management_client.models.DatasetResource] + :type value: list[~azure.mgmt.datafactory.models.DatasetResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -11156,7 +11572,7 @@ class DatasetResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Dataset properties. - :type properties: ~data_factory_management_client.models.Dataset + :type properties: ~azure.mgmt.datafactory.models.Dataset """ _validation = { @@ -11219,8 +11635,9 @@ class DatasetTarCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object """ _validation = { @@ -11229,7 +11646,7 @@ class DatasetTarCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, } def __init__( @@ -11248,10 +11665,11 @@ class DatasetTarGZipCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str - :param level: The TarGZip compression level. Possible values include: "Optimal", "Fastest". - :type level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object + :param level: The TarGZip compression level. + :type level: object """ _validation = { @@ -11260,8 +11678,8 @@ class DatasetTarGZipCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, - 'level': {'key': 'level', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, + 'level': {'key': 'level', 'type': 'object'}, } def __init__( @@ -11281,10 +11699,11 @@ class DatasetZipDeflateCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str - :param level: The ZipDeflate compression level. Possible values include: "Optimal", "Fastest". - :type level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object + :param level: The ZipDeflate compression level. + :type level: object """ _validation = { @@ -11293,8 +11712,8 @@ class DatasetZipDeflateCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, - 'level': {'key': 'level', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, + 'level': {'key': 'level', 'type': 'object'}, } def __init__( @@ -11317,11 +11736,11 @@ class Db2LinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with server, @@ -11336,12 +11755,12 @@ class Db2LinkedService(LinkedService): :type database: object :param authentication_type: AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. Possible values include: "Basic". - :type authentication_type: str or ~data_factory_management_client.models.Db2AuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.Db2AuthenticationType :param username: Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param package_collection: Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). @@ -11413,12 +11832,15 @@ class Db2Source(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -11433,8 +11855,9 @@ class Db2Source(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -11466,14 +11889,14 @@ class Db2TableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -11530,13 +11953,13 @@ class DeleteActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param recursive: If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -11548,11 +11971,11 @@ class DeleteActivity(ExecutionActivity): :type enable_logging: object :param log_storage_settings: Log storage settings customer need to provide when enableLogging is true. - :type log_storage_settings: ~data_factory_management_client.models.LogStorageSettings + :type log_storage_settings: ~azure.mgmt.datafactory.models.LogStorageSettings :param dataset: Required. Delete activity dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param store_settings: Delete activity store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings """ _validation = { @@ -11631,16 +12054,16 @@ class DelimitedTextDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the delimited text storage. - :type location: ~data_factory_management_client.models.DatasetLocation + :type location: ~azure.mgmt.datafactory.models.DatasetLocation :param column_delimiter: The column delimiter. Type: string (or Expression with resultType string). :type column_delimiter: object @@ -11652,12 +12075,11 @@ class DelimitedTextDataset(Dataset): https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). :type encoding_name: object - :param compression_codec: Possible values include: "none", "gzip", "snappy", "lzo", "bzip2", - "deflate", "zipDeflate", "lz4", "tar", "tarGZip". - :type compression_codec: str or ~data_factory_management_client.models.CompressionCodec - :param compression_level: The data compression method used for DelimitedText. Possible values - include: "Optimal", "Fastest". - :type compression_level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param compression_codec: The data compressionCodec. Type: string (or Expression with + resultType string). + :type compression_codec: object + :param compression_level: The data compression method used for DelimitedText. + :type compression_level: object :param quote_char: The quote character. Type: string (or Expression with resultType string). :type quote_char: object :param escape_char: The escape character. Type: string (or Expression with resultType string). @@ -11689,8 +12111,8 @@ class DelimitedTextDataset(Dataset): 'column_delimiter': {'key': 'typeProperties.columnDelimiter', 'type': 'object'}, 'row_delimiter': {'key': 'typeProperties.rowDelimiter', 'type': 'object'}, 'encoding_name': {'key': 'typeProperties.encodingName', 'type': 'object'}, - 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'str'}, - 'compression_level': {'key': 'typeProperties.compressionLevel', 'type': 'str'}, + 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'object'}, + 'compression_level': {'key': 'typeProperties.compressionLevel', 'type': 'object'}, 'quote_char': {'key': 'typeProperties.quoteChar', 'type': 'object'}, 'escape_char': {'key': 'typeProperties.escapeChar', 'type': 'object'}, 'first_row_as_header': {'key': 'typeProperties.firstRowAsHeader', 'type': 'object'}, @@ -11729,7 +12151,7 @@ class DelimitedTextReadSettings(FormatReadSettings): input files. Type: integer (or Expression with resultType integer). :type skip_line_count: object :param compression_properties: Compression settings. - :type compression_properties: ~data_factory_management_client.models.CompressionReadSettings + :type compression_properties: ~azure.mgmt.datafactory.models.CompressionReadSettings """ _validation = { @@ -11778,10 +12200,13 @@ class DelimitedTextSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: DelimitedText store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: DelimitedText format settings. - :type format_settings: ~data_factory_management_client.models.DelimitedTextWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.DelimitedTextWriteSettings """ _validation = { @@ -11796,6 +12221,7 @@ class DelimitedTextSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'DelimitedTextWriteSettings'}, } @@ -11829,13 +12255,16 @@ class DelimitedTextSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: DelimitedText store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: DelimitedText format settings. - :type format_settings: ~data_factory_management_client.models.DelimitedTextReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.DelimitedTextReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -11848,9 +12277,10 @@ class DelimitedTextSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'DelimitedTextReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -12004,14 +12434,14 @@ class DocumentDbCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection_name: Required. Document Database collection name. Type: string (or Expression with resultType string). :type collection_name: object @@ -12070,6 +12500,9 @@ class DocumentDbCollectionSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param nesting_separator: Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). :type nesting_separator: object @@ -12090,6 +12523,7 @@ class DocumentDbCollectionSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } @@ -12123,6 +12557,9 @@ class DocumentDbCollectionSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Documents query. Type: string (or Expression with resultType string). :type query: object :param nesting_separator: Nested properties separator. Type: string (or Expression with @@ -12132,8 +12569,8 @@ class DocumentDbCollectionSource(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -12146,10 +12583,11 @@ class DocumentDbCollectionSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -12175,18 +12613,18 @@ class DrillLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -12239,12 +12677,15 @@ class DrillSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -12260,8 +12701,9 @@ class DrillSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -12293,14 +12735,14 @@ class DrillTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -12373,7 +12815,7 @@ class DwCopyCommandSettings(msrest.serialization.Model): default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). - :type default_values: list[~data_factory_management_client.models.DwCopyCommandDefaultValue] + :type default_values: list[~azure.mgmt.datafactory.models.DwCopyCommandDefaultValue] :param additional_options: Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }. @@ -12405,11 +12847,11 @@ class DynamicsAxLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData @@ -12421,7 +12863,7 @@ class DynamicsAxLinkedService(LinkedService): :param service_principal_key: Required. Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string). - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: Required. Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string). @@ -12492,14 +12934,14 @@ class DynamicsAxResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param path: Required. The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). :type path: object @@ -12552,12 +12994,15 @@ class DynamicsAxSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -12578,8 +13023,9 @@ class DynamicsAxSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -12613,14 +13059,14 @@ class DynamicsCrmEntityDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object @@ -12664,18 +13110,17 @@ class DynamicsCrmLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: - string (or Expression with resultType string). Possible values include: "Online", - "OnPremisesWithIfd". - :type deployment_type: str or ~data_factory_management_client.models.DynamicsDeploymentType + string (or Expression with resultType string). + :type deployment_type: object :param host_name: The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). @@ -12694,30 +13139,26 @@ class DynamicsCrmLinkedService(LinkedService): :param authentication_type: Required. The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or - Expression with resultType string). Possible values include: "Office365", "Ifd", - "AADServicePrincipal". - :type authentication_type: str or - ~data_factory_management_client.models.DynamicsAuthenticationType + Expression with resultType string). + :type authentication_type: object :param username: User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Dynamics CRM instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' - for certificate. Type: string (or Expression with resultType string). Possible values include: - "ServicePrincipalKey", "ServicePrincipalCert". - :type service_principal_credential_type: str or - ~data_factory_management_client.models.DynamicsServicePrincipalCredentialType + for certificate. Type: string (or Expression with resultType string). + :type service_principal_credential_type: object :param service_principal_credential: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - :type service_principal_credential: ~data_factory_management_client.models.SecretBase + :type service_principal_credential: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -12737,16 +13178,16 @@ class DynamicsCrmLinkedService(LinkedService): 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, - 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, + 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'object'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, - 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, + 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, - 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'str'}, + 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'object'}, 'service_principal_credential': {'key': 'typeProperties.servicePrincipalCredential', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } @@ -12796,9 +13237,12 @@ class DynamicsCrmSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.DynamicsSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). @@ -12821,6 +13265,7 @@ class DynamicsCrmSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, @@ -12856,12 +13301,15 @@ class DynamicsCrmSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -12874,8 +13322,9 @@ class DynamicsCrmSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -12907,14 +13356,14 @@ class DynamicsEntityDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object @@ -12958,17 +13407,17 @@ class DynamicsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or - Expression with resultType string). Possible values include: "Online", "OnPremisesWithIfd". - :type deployment_type: str or ~data_factory_management_client.models.DynamicsDeploymentType + Expression with resultType string). + :type deployment_type: object :param host_name: The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). :type host_name: object @@ -12986,29 +13435,26 @@ class DynamicsLinkedService(LinkedService): :param authentication_type: Required. The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with - resultType string). Possible values include: "Office365", "Ifd", "AADServicePrincipal". - :type authentication_type: str or - ~data_factory_management_client.models.DynamicsAuthenticationType + resultType string). + :type authentication_type: object :param username: User name to access the Dynamics instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Dynamics instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' - for certificate. Type: string (or Expression with resultType string). Possible values include: - "ServicePrincipalKey", "ServicePrincipalCert". - :type service_principal_credential_type: str or - ~data_factory_management_client.models.DynamicsServicePrincipalCredentialType + for certificate. Type: string (or Expression with resultType string). + :type service_principal_credential_type: str :param service_principal_credential: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - :type service_principal_credential: ~data_factory_management_client.models.SecretBase + :type service_principal_credential: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -13028,12 +13474,12 @@ class DynamicsLinkedService(LinkedService): 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, - 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, + 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'object'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, - 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, + 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, @@ -13087,9 +13533,12 @@ class DynamicsSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.DynamicsSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). @@ -13112,6 +13561,7 @@ class DynamicsSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, @@ -13147,12 +13597,15 @@ class DynamicsSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -13165,8 +13618,9 @@ class DynamicsSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -13190,11 +13644,11 @@ class EloquaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Eloqua server. (i.e. eloqua.example.com). @@ -13203,7 +13657,7 @@ class EloquaLinkedService(LinkedService): sitename/username. (i.e. Eloqua/Alice). :type username: object :param password: The password corresponding to the user name. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -13276,14 +13730,14 @@ class EloquaObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -13334,12 +13788,15 @@ class EloquaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -13355,8 +13812,9 @@ class EloquaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -13384,7 +13842,7 @@ class EncryptionConfiguration(msrest.serialization.Model): :type key_version: str :param identity: User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used. - :type identity: ~data_factory_management_client.models.CmkIdentityDefinition + :type identity: ~azure.mgmt.datafactory.models.CmkIdentityDefinition """ _validation = { @@ -13415,7 +13873,7 @@ class EntityReference(msrest.serialization.Model): :param type: The type of this referenced entity. Possible values include: "IntegrationRuntimeReference", "LinkedServiceReference". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeEntityReferenceType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeEntityReferenceType :param reference_name: The name of this referenced entity. :type reference_name: str """ @@ -13488,19 +13946,22 @@ class ExcelDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the excel storage. - :type location: ~data_factory_management_client.models.DatasetLocation - :param sheet_name: The sheet of excel file. Type: string (or Expression with resultType + :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param sheet_name: The sheet name of excel file. Type: string (or Expression with resultType string). :type sheet_name: object + :param sheet_index: The sheet index of excel file and default value is 0. Type: integer (or + Expression with resultType integer). + :type sheet_index: object :param range: The partial data of one sheet. Type: string (or Expression with resultType string). :type range: object @@ -13509,7 +13970,7 @@ class ExcelDataset(Dataset): false. Type: boolean (or Expression with resultType boolean). :type first_row_as_header: object :param compression: The data compression method used for the json dataset. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression :param null_value: The null value string. Type: string (or Expression with resultType string). :type null_value: object """ @@ -13531,6 +13992,7 @@ class ExcelDataset(Dataset): 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'sheet_name': {'key': 'typeProperties.sheetName', 'type': 'object'}, + 'sheet_index': {'key': 'typeProperties.sheetIndex', 'type': 'object'}, 'range': {'key': 'typeProperties.range', 'type': 'object'}, 'first_row_as_header': {'key': 'typeProperties.firstRowAsHeader', 'type': 'object'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, @@ -13545,6 +14007,7 @@ def __init__( self.type = 'Excel' # type: str self.location = kwargs.get('location', None) self.sheet_name = kwargs.get('sheet_name', None) + self.sheet_index = kwargs.get('sheet_index', None) self.range = kwargs.get('range', None) self.first_row_as_header = kwargs.get('first_row_as_header', None) self.compression = kwargs.get('compression', None) @@ -13570,11 +14033,14 @@ class ExcelSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Excel store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -13587,8 +14053,9 @@ class ExcelSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -13616,22 +14083,21 @@ class ExecuteDataFlowActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param data_flow: Required. Data flow reference. - :type data_flow: ~data_factory_management_client.models.DataFlowReference + :type data_flow: ~azure.mgmt.datafactory.models.DataFlowReference :param staging: Staging info for execute data flow activity. - :type staging: ~data_factory_management_client.models.DataFlowStagingInfo + :type staging: ~azure.mgmt.datafactory.models.DataFlowStagingInfo :param integration_runtime: The integration runtime reference. - :type integration_runtime: ~data_factory_management_client.models.IntegrationRuntimeReference + :type integration_runtime: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param compute: Compute properties for data flow activity. - :type compute: - ~data_factory_management_client.models.ExecuteDataFlowActivityTypePropertiesCompute + :type compute: ~azure.mgmt.datafactory.models.ExecuteDataFlowActivityTypePropertiesCompute :param trace_level: Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string). :type trace_level: object @@ -13724,11 +14190,11 @@ class ExecutePipelineActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param pipeline: Required. Pipeline reference. - :type pipeline: ~data_factory_management_client.models.PipelineReference + :type pipeline: ~azure.mgmt.datafactory.models.PipelineReference :param parameters: Pipeline parameters. :type parameters: dict[str, object] :param wait_on_completion: Defines whether activity execution will wait for the dependent @@ -13780,15 +14246,15 @@ class ExecuteSsisPackageActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param package_location: Required. SSIS package location. - :type package_location: ~data_factory_management_client.models.SsisPackageLocation + :type package_location: ~azure.mgmt.datafactory.models.SsisPackageLocation :param runtime: Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). :type runtime: object @@ -13799,15 +14265,13 @@ class ExecuteSsisPackageActivity(ExecutionActivity): Expression with resultType string). :type environment_path: object :param execution_credential: The package execution credential. - :type execution_credential: ~data_factory_management_client.models.SsisExecutionCredential + :type execution_credential: ~azure.mgmt.datafactory.models.SsisExecutionCredential :param connect_via: Required. The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param project_parameters: The project level parameters to execute the SSIS package. - :type project_parameters: dict[str, - ~data_factory_management_client.models.SsisExecutionParameter] + :type project_parameters: dict[str, ~azure.mgmt.datafactory.models.SsisExecutionParameter] :param package_parameters: The package level parameters to execute the SSIS package. - :type package_parameters: dict[str, - ~data_factory_management_client.models.SsisExecutionParameter] + :type package_parameters: dict[str, ~azure.mgmt.datafactory.models.SsisExecutionParameter] :param project_connection_managers: The project level connection managers to execute the SSIS package. :type project_connection_managers: dict[str, object] @@ -13815,10 +14279,9 @@ class ExecuteSsisPackageActivity(ExecutionActivity): package. :type package_connection_managers: dict[str, object] :param property_overrides: The property overrides to execute the SSIS package. - :type property_overrides: dict[str, - ~data_factory_management_client.models.SsisPropertyOverride] + :type property_overrides: dict[str, ~azure.mgmt.datafactory.models.SsisPropertyOverride] :param log_location: SSIS package execution log location. - :type log_location: ~data_factory_management_client.models.SsisLogLocation + :type log_location: ~azure.mgmt.datafactory.models.SsisLogLocation """ _validation = { @@ -13877,8 +14340,7 @@ class ExposureControlBatchRequest(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param exposure_control_requests: Required. List of exposure control features. - :type exposure_control_requests: - list[~data_factory_management_client.models.ExposureControlRequest] + :type exposure_control_requests: list[~azure.mgmt.datafactory.models.ExposureControlRequest] """ _validation = { @@ -13903,8 +14365,7 @@ class ExposureControlBatchResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param exposure_control_responses: Required. List of exposure control feature values. - :type exposure_control_responses: - list[~data_factory_management_client.models.ExposureControlResponse] + :type exposure_control_responses: list[~azure.mgmt.datafactory.models.ExposureControlResponse] """ _validation = { @@ -14078,7 +14539,7 @@ class Factory(Resource): collection. :type additional_properties: dict[str, object] :param identity: Managed service identity of the factory. - :type identity: ~data_factory_management_client.models.FactoryIdentity + :type identity: ~azure.mgmt.datafactory.models.FactoryIdentity :ivar provisioning_state: Factory provisioning state, example Succeeded. :vartype provisioning_state: str :ivar create_time: Time the factory was created in ISO8601 format. @@ -14086,15 +14547,14 @@ class Factory(Resource): :ivar version: Version of the factory. :vartype version: str :param repo_configuration: Git repo information of the factory. - :type repo_configuration: ~data_factory_management_client.models.FactoryRepoConfiguration + :type repo_configuration: ~azure.mgmt.datafactory.models.FactoryRepoConfiguration :param global_parameters: List of parameters for factory. - :type global_parameters: dict[str, - ~data_factory_management_client.models.GlobalParameterSpecification] + :type global_parameters: dict[str, ~azure.mgmt.datafactory.models.GlobalParameterSpecification] :param encryption: Properties to enable Customer Managed Key for the factory. - :type encryption: ~data_factory_management_client.models.EncryptionConfiguration + :type encryption: ~azure.mgmt.datafactory.models.EncryptionConfiguration :param public_network_access: Whether or not public network access is allowed for the data factory. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~data_factory_management_client.models.PublicNetworkAccess + :type public_network_access: str or ~azure.mgmt.datafactory.models.PublicNetworkAccess """ _validation = { @@ -14254,7 +14714,7 @@ class FactoryIdentity(msrest.serialization.Model): :param type: Required. The identity type. Possible values include: "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned". - :type type: str or ~data_factory_management_client.models.FactoryIdentityType + :type type: str or ~azure.mgmt.datafactory.models.FactoryIdentityType :ivar principal_id: The principal id of the identity. :vartype principal_id: str :ivar tenant_id: The client tenant id of the identity. @@ -14293,7 +14753,7 @@ class FactoryListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of factories. - :type value: list[~data_factory_management_client.models.Factory] + :type value: list[~azure.mgmt.datafactory.models.Factory] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -14322,7 +14782,7 @@ class FactoryRepoUpdate(msrest.serialization.Model): :param factory_resource_id: The factory resource id. :type factory_resource_id: str :param repo_configuration: Git repo information of the factory. - :type repo_configuration: ~data_factory_management_client.models.FactoryRepoConfiguration + :type repo_configuration: ~azure.mgmt.datafactory.models.FactoryRepoConfiguration """ _attribute_map = { @@ -14345,7 +14805,7 @@ class FactoryUpdateParameters(msrest.serialization.Model): :param tags: A set of tags. The resource tags. :type tags: dict[str, str] :param identity: Managed service identity of the factory. - :type identity: ~data_factory_management_client.models.FactoryIdentity + :type identity: ~azure.mgmt.datafactory.models.FactoryIdentity """ _attribute_map = { @@ -14426,11 +14886,11 @@ class FileServerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name of the server. Type: string (or Expression with resultType @@ -14440,7 +14900,7 @@ class FileServerLinkedService(LinkedService): string). :type user_id: object :param password: Password to logon the server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -14527,6 +14987,9 @@ class FileServerReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -14567,6 +15030,7 @@ class FileServerReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -14610,6 +15074,9 @@ class FileServerWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ @@ -14622,6 +15089,7 @@ class FileServerWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } @@ -14652,14 +15120,14 @@ class FileShareDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param folder_path: The path of the on-premises file system. Type: string (or Expression with resultType string). :type folder_path: object @@ -14673,12 +15141,12 @@ class FileShareDataset(Dataset): with resultType string). :type modified_datetime_end: object :param format: The format of the files. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param file_filter: Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). :type file_filter: object :param compression: The data compression method used for the file system. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -14745,6 +15213,9 @@ class FileSystemSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ @@ -14761,6 +15232,7 @@ class FileSystemSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } @@ -14792,12 +15264,15 @@ class FileSystemSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -14810,8 +15285,9 @@ class FileSystemSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -14839,13 +15315,13 @@ class FilterActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param items: Required. Input array on which filter should be applied. - :type items: ~data_factory_management_client.models.Expression + :type items: ~azure.mgmt.datafactory.models.Expression :param condition: Required. Condition to be used for filtering the input. - :type condition: ~data_factory_management_client.models.Expression + :type condition: ~azure.mgmt.datafactory.models.Expression """ _validation = { @@ -14891,18 +15367,18 @@ class ForEachActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param is_sequential: Should the loop be executed in sequence or in parallel (max 50). :type is_sequential: bool :param batch_count: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). :type batch_count: int :param items: Required. Collection to iterate. - :type items: ~data_factory_management_client.models.Expression + :type items: ~azure.mgmt.datafactory.models.Expression :param activities: Required. List of activities to execute . - :type activities: list[~data_factory_management_client.models.Activity] + :type activities: list[~azure.mgmt.datafactory.models.Activity] """ _validation = { @@ -14951,6 +15427,9 @@ class FtpReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -14984,6 +15463,7 @@ class FtpReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -15021,11 +15501,11 @@ class FtpServerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name of the FTP server. Type: string (or Expression with resultType @@ -15036,12 +15516,12 @@ class FtpServerLinkedService(LinkedService): :type port: object :param authentication_type: The authentication type to be used to connect to the FTP server. Possible values include: "Basic", "Anonymous". - :type authentication_type: str or ~data_factory_management_client.models.FtpAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.FtpAuthenticationType :param user_name: Username to logon the FTP server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to logon the FTP server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -15169,21 +15649,21 @@ class GetMetadataActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param dataset: Required. GetMetadata activity dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param field_list: Fields of metadata to get from dataset. :type field_list: list[object] :param store_settings: GetMetadata activity store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: GetMetadata activity format settings. - :type format_settings: ~data_factory_management_client.models.FormatReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.FormatReadSettings """ _validation = { @@ -15247,6 +15727,8 @@ class GitHubAccessTokenRequest(msrest.serialization.Model): :type git_hub_access_code: str :param git_hub_client_id: GitHub application client ID. :type git_hub_client_id: str + :param git_hub_client_secret: GitHub bring your own app client secret information. + :type git_hub_client_secret: ~azure.mgmt.datafactory.models.GitHubClientSecret :param git_hub_access_token_base_url: Required. GitHub access token base URL. :type git_hub_access_token_base_url: str """ @@ -15259,6 +15741,7 @@ class GitHubAccessTokenRequest(msrest.serialization.Model): _attribute_map = { 'git_hub_access_code': {'key': 'gitHubAccessCode', 'type': 'str'}, 'git_hub_client_id': {'key': 'gitHubClientId', 'type': 'str'}, + 'git_hub_client_secret': {'key': 'gitHubClientSecret', 'type': 'GitHubClientSecret'}, 'git_hub_access_token_base_url': {'key': 'gitHubAccessTokenBaseUrl', 'type': 'str'}, } @@ -15269,6 +15752,7 @@ def __init__( super(GitHubAccessTokenRequest, self).__init__(**kwargs) self.git_hub_access_code = kwargs['git_hub_access_code'] self.git_hub_client_id = kwargs.get('git_hub_client_id', None) + self.git_hub_client_secret = kwargs.get('git_hub_client_secret', None) self.git_hub_access_token_base_url = kwargs['git_hub_access_token_base_url'] @@ -15291,6 +15775,29 @@ def __init__( self.git_hub_access_token = kwargs.get('git_hub_access_token', None) +class GitHubClientSecret(msrest.serialization.Model): + """Client secret information for factory's bring your own app repository configuration. + + :param byoa_secret_akv_url: Bring your own app client secret AKV URL. + :type byoa_secret_akv_url: str + :param byoa_secret_name: Bring your own app client secret name in AKV. + :type byoa_secret_name: str + """ + + _attribute_map = { + 'byoa_secret_akv_url': {'key': 'byoaSecretAkvUrl', 'type': 'str'}, + 'byoa_secret_name': {'key': 'byoaSecretName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GitHubClientSecret, self).__init__(**kwargs) + self.byoa_secret_akv_url = kwargs.get('byoa_secret_akv_url', None) + self.byoa_secret_name = kwargs.get('byoa_secret_name', None) + + class GlobalParameterSpecification(msrest.serialization.Model): """Definition of a single parameter for an entity. @@ -15298,7 +15805,7 @@ class GlobalParameterSpecification(msrest.serialization.Model): :param type: Required. Global Parameter type. Possible values include: "Object", "String", "Int", "Float", "Bool", "Array". - :type type: str or ~data_factory_management_client.models.GlobalParameterType + :type type: str or ~azure.mgmt.datafactory.models.GlobalParameterType :param value: Required. Value of parameter. :type value: object """ @@ -15333,11 +15840,11 @@ class GoogleAdWordsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param client_customer_id: Required. The Client customer ID of the AdWords account that you @@ -15345,21 +15852,21 @@ class GoogleAdWordsLinkedService(LinkedService): :type client_customer_id: object :param developer_token: Required. The developer token associated with the manager account that you use to grant access to the AdWords API. - :type developer_token: ~data_factory_management_client.models.SecretBase + :type developer_token: ~azure.mgmt.datafactory.models.SecretBase :param authentication_type: Required. The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: "ServiceAuthentication", "UserAuthentication". :type authentication_type: str or - ~data_factory_management_client.models.GoogleAdWordsAuthenticationType + ~azure.mgmt.datafactory.models.GoogleAdWordsAuthenticationType :param refresh_token: The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. - :type refresh_token: ~data_factory_management_client.models.SecretBase + :type refresh_token: ~azure.mgmt.datafactory.models.SecretBase :param client_id: The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). :type client_id: object :param client_secret: The client secret of the google application used to acquire the refresh token. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param email: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. :type email: object @@ -15444,14 +15951,14 @@ class GoogleAdWordsObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -15502,12 +16009,15 @@ class GoogleAdWordsSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -15523,8 +16033,9 @@ class GoogleAdWordsSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -15548,11 +16059,11 @@ class GoogleBigQueryLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param project: Required. The default BigQuery project to query against. @@ -15567,16 +16078,16 @@ class GoogleBigQueryLinkedService(LinkedService): authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: "ServiceAuthentication", "UserAuthentication". :type authentication_type: str or - ~data_factory_management_client.models.GoogleBigQueryAuthenticationType + ~azure.mgmt.datafactory.models.GoogleBigQueryAuthenticationType :param refresh_token: The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. - :type refresh_token: ~data_factory_management_client.models.SecretBase + :type refresh_token: ~azure.mgmt.datafactory.models.SecretBase :param client_id: The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). :type client_id: object :param client_secret: The client secret of the google application used to acquire the refresh token. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param email: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. :type email: object @@ -15662,14 +16173,14 @@ class GoogleBigQueryObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using database + table properties instead. :type table_name: object @@ -15731,12 +16242,15 @@ class GoogleBigQuerySource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -15752,8 +16266,9 @@ class GoogleBigQuerySource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -15777,11 +16292,11 @@ class GoogleCloudStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param access_key_id: The access key identifier of the Google Cloud Storage Identity and Access @@ -15789,7 +16304,7 @@ class GoogleCloudStorageLinkedService(LinkedService): :type access_key_id: object :param secret_access_key: The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. - :type secret_access_key: ~data_factory_management_client.models.SecretBase + :type secret_access_key: ~azure.mgmt.datafactory.models.SecretBase :param service_url: This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType @@ -15890,6 +16405,9 @@ class GoogleCloudStorageReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -15930,6 +16448,7 @@ class GoogleCloudStorageReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -15971,18 +16490,18 @@ class GreenplumLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -16035,12 +16554,15 @@ class GreenplumSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -16056,8 +16578,9 @@ class GreenplumSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -16089,14 +16612,14 @@ class GreenplumTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -16149,11 +16672,11 @@ class HBaseLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the HBase server. (i.e. 192.168.222.160). @@ -16166,12 +16689,11 @@ class HBaseLinkedService(LinkedService): :type http_path: object :param authentication_type: Required. The authentication mechanism to use to connect to the HBase server. Possible values include: "Anonymous", "Basic". - :type authentication_type: str or - ~data_factory_management_client.models.HBaseAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.HBaseAuthenticationType :param username: The user name used to connect to the HBase instance. :type username: object :param password: The password corresponding to the user name. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object @@ -16255,14 +16777,14 @@ class HBaseObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -16313,12 +16835,15 @@ class HBaseSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -16334,8 +16859,9 @@ class HBaseSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -16359,11 +16885,11 @@ class HdfsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of the HDFS service endpoint, e.g. @@ -16380,7 +16906,7 @@ class HdfsLinkedService(LinkedService): resultType string). :type user_name: object :param password: Password for Windows authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -16465,6 +16991,9 @@ class HdfsReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -16490,7 +17019,7 @@ class HdfsReadSettings(StoreReadSettings): with resultType string). :type modified_datetime_end: object :param distcp_settings: Specifies Distcp-related settings. - :type distcp_settings: ~data_factory_management_client.models.DistcpSettings + :type distcp_settings: ~azure.mgmt.datafactory.models.DistcpSettings :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object @@ -16504,6 +17033,7 @@ class HdfsReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -16553,11 +17083,14 @@ class HdfsSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param distcp_settings: Specifies Distcp-related settings. - :type distcp_settings: ~data_factory_management_client.models.DistcpSettings + :type distcp_settings: ~azure.mgmt.datafactory.models.DistcpSettings """ _validation = { @@ -16570,6 +17103,7 @@ class HdfsSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'distcp_settings': {'key': 'distcpSettings', 'type': 'DistcpSettings'}, } @@ -16599,25 +17133,23 @@ class HdInsightHiveActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param storage_linked_services: Storage linked service references. - :type storage_linked_services: - list[~data_factory_management_client.models.LinkedServiceReference] + :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param script_path: Script path. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Script linked service reference. - :type script_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type script_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param defines: Allows user to specify defines for Hive job request. :type defines: dict[str, object] :param variables: User specified arguments under hivevar namespace. @@ -16678,11 +17210,11 @@ class HdInsightLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param cluster_uri: Required. HDInsight cluster URI. Type: string (or Expression with @@ -16692,13 +17224,12 @@ class HdInsightLinkedService(LinkedService): string). :type user_name: object :param password: HDInsight cluster password. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param linked_service_name: The Azure Storage linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param hcatalog_linked_service_name: A reference to the Azure SQL linked service that points to the HCatalog database. - :type hcatalog_linked_service_name: - ~data_factory_management_client.models.LinkedServiceReference + :type hcatalog_linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -16764,27 +17295,25 @@ class HdInsightMapReduceActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param storage_linked_services: Storage linked service references. - :type storage_linked_services: - list[~data_factory_management_client.models.LinkedServiceReference] + :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param class_name: Required. Class name. Type: string (or Expression with resultType string). :type class_name: object :param jar_file_path: Required. Jar path. Type: string (or Expression with resultType string). :type jar_file_path: object :param jar_linked_service: Jar linked service reference. - :type jar_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type jar_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param jar_libs: Jar libs. :type jar_libs: list[object] :param defines: Allows user to specify defines for the MapReduce job request. @@ -16844,11 +17373,11 @@ class HdInsightOnDemandLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param cluster_size: Required. Number of worker/data nodes in the cluster. Suggestion value: 4. @@ -16864,7 +17393,7 @@ class HdInsightOnDemandLinkedService(LinkedService): :type version: object :param linked_service_name: Required. Azure Storage linked service to be used by the on-demand cluster for storing and processing data. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param host_subscription_id: Required. The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). :type host_subscription_id: object @@ -16872,7 +17401,7 @@ class HdInsightOnDemandLinkedService(LinkedService): (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key for the service principal id. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: Required. The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -16886,21 +17415,20 @@ class HdInsightOnDemandLinkedService(LinkedService): resultType string). :type cluster_user_name: object :param cluster_password: The password to access the cluster. - :type cluster_password: ~data_factory_management_client.models.SecretBase + :type cluster_password: ~azure.mgmt.datafactory.models.SecretBase :param cluster_ssh_user_name: The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string). :type cluster_ssh_user_name: object :param cluster_ssh_password: The password to SSH remotely connect cluster’s node (for Linux). - :type cluster_ssh_password: ~data_factory_management_client.models.SecretBase + :type cluster_ssh_password: ~azure.mgmt.datafactory.models.SecretBase :param additional_linked_service_names: Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf. :type additional_linked_service_names: - list[~data_factory_management_client.models.LinkedServiceReference] + list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param hcatalog_linked_service_name: The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore. - :type hcatalog_linked_service_name: - ~data_factory_management_client.models.LinkedServiceReference + :type hcatalog_linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param cluster_type: The cluster type. Type: string (or Expression with resultType string). :type cluster_type: object :param spark_version: The version of spark if the cluster type is 'spark'. Type: string (or @@ -16945,13 +17473,15 @@ class HdInsightOnDemandLinkedService(LinkedService): Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize- cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen- us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. - :type script_actions: list[~data_factory_management_client.models.ScriptAction] + :type script_actions: list[~azure.mgmt.datafactory.models.ScriptAction] :param virtual_network_id: The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). :type virtual_network_id: object :param subnet_name: The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). :type subnet_name: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -17005,6 +17535,7 @@ class HdInsightOnDemandLinkedService(LinkedService): 'script_actions': {'key': 'typeProperties.scriptActions', 'type': '[ScriptAction]'}, 'virtual_network_id': {'key': 'typeProperties.virtualNetworkId', 'type': 'object'}, 'subnet_name': {'key': 'typeProperties.subnetName', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -17046,6 +17577,7 @@ def __init__( self.script_actions = kwargs.get('script_actions', None) self.virtual_network_id = kwargs.get('virtual_network_id', None) self.subnet_name = kwargs.get('subnet_name', None) + self.credential = kwargs.get('credential', None) class HdInsightPigActivity(ExecutionActivity): @@ -17063,26 +17595,24 @@ class HdInsightPigActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param storage_linked_services: Storage linked service references. - :type storage_linked_services: - list[~data_factory_management_client.models.LinkedServiceReference] + :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array). :type arguments: object :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param script_path: Script path. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Script linked service reference. - :type script_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type script_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param defines: Allows user to specify defines for Pig job request. :type defines: dict[str, object] """ @@ -17138,13 +17668,13 @@ class HdInsightSparkActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param root_path: Required. The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string). :type root_path: object @@ -17154,11 +17684,10 @@ class HdInsightSparkActivity(ExecutionActivity): :param arguments: The user-specified arguments to HDInsightSparkActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param spark_job_linked_service: The storage linked service for uploading the entry file and dependencies, and for receiving logs. - :type spark_job_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type spark_job_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param class_name: The application's Java/Spark main class. :type class_name: str :param proxy_user: The user to impersonate that will execute the job. Type: string (or @@ -17225,21 +17754,19 @@ class HdInsightStreamingActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param storage_linked_services: Storage linked service references. - :type storage_linked_services: - list[~data_factory_management_client.models.LinkedServiceReference] + :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param mapper: Required. Mapper executable name. Type: string (or Expression with resultType string). :type mapper: object @@ -17253,7 +17780,7 @@ class HdInsightStreamingActivity(ExecutionActivity): :param file_paths: Required. Paths to streaming job files. Can be directories. :type file_paths: list[object] :param file_linked_service: Linked service reference where the files are located. - :type file_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type file_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param combiner: Combiner executable name. Type: string (or Expression with resultType string). :type combiner: object :param command_environment: Command line environment values. @@ -17326,11 +17853,11 @@ class HiveLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. IP address or host name of the Hive server, separated by ';' for @@ -17340,15 +17867,15 @@ class HiveLinkedService(LinkedService): :type port: object :param server_type: The type of Hive server. Possible values include: "HiveServer1", "HiveServer2", "HiveThriftServer". - :type server_type: str or ~data_factory_management_client.models.HiveServerType + :type server_type: str or ~azure.mgmt.datafactory.models.HiveServerType :param thrift_transport_protocol: The transport protocol to use in the Thrift layer. Possible values include: "Binary", "SASL", "HTTP ". :type thrift_transport_protocol: str or - ~data_factory_management_client.models.HiveThriftTransportProtocol + ~azure.mgmt.datafactory.models.HiveThriftTransportProtocol :param authentication_type: Required. The authentication method used to access the Hive server. Possible values include: "Anonymous", "Username", "UsernameAndPassword", "WindowsAzureHDInsightService". - :type authentication_type: str or ~data_factory_management_client.models.HiveAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.HiveAuthenticationType :param service_discovery_mode: true to indicate using the ZooKeeper service, false not. :type service_discovery_mode: object :param zoo_keeper_name_space: The namespace on ZooKeeper under which Hive Server 2 nodes are @@ -17361,7 +17888,7 @@ class HiveLinkedService(LinkedService): :type username: object :param password: The password corresponding to the user name that you provided in the Username field. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param http_path: The partial URL corresponding to the Hive server. :type http_path: object :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The @@ -17462,14 +17989,14 @@ class HiveObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -17530,12 +18057,15 @@ class HiveSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -17551,8 +18081,9 @@ class HiveSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -17584,14 +18115,14 @@ class HttpDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param relative_url: The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string). :type relative_url: object @@ -17608,9 +18139,9 @@ class HttpDataset(Dataset): string). :type additional_headers: object :param format: The format of files. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used on files. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -17661,11 +18192,11 @@ class HttpLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: @@ -17673,13 +18204,13 @@ class HttpLinkedService(LinkedService): :type url: object :param authentication_type: The authentication type to be used to connect to the HTTP server. Possible values include: "Basic", "Anonymous", "Digest", "Windows", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.HttpAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.HttpAuthenticationType :param user_name: User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param auth_headers: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). :type auth_headers: object @@ -17755,6 +18286,9 @@ class HttpReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param request_method: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). :type request_method: object @@ -17782,6 +18316,7 @@ class HttpReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'request_body': {'key': 'requestBody', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, @@ -17865,6 +18400,9 @@ class HttpSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param http_request_timeout: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: @@ -17882,6 +18420,7 @@ class HttpSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -17905,23 +18444,23 @@ class HubspotLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param client_id: Required. The client ID associated with your Hubspot application. :type client_id: object :param client_secret: The client secret associated with your Hubspot application. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param access_token: The access token obtained when initially authenticating your OAuth integration. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param refresh_token: The refresh token obtained when initially authenticating your OAuth integration. - :type refresh_token: ~data_factory_management_client.models.SecretBase + :type refresh_token: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -17995,14 +18534,14 @@ class HubspotObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -18053,12 +18592,15 @@ class HubspotSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -18074,8 +18616,9 @@ class HubspotSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -18103,19 +18646,19 @@ class IfConditionActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param expression: Required. An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. - :type expression: ~data_factory_management_client.models.Expression + :type expression: ~azure.mgmt.datafactory.models.Expression :param if_true_activities: List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. - :type if_true_activities: list[~data_factory_management_client.models.Activity] + :type if_true_activities: list[~azure.mgmt.datafactory.models.Activity] :param if_false_activities: List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. - :type if_false_activities: list[~data_factory_management_client.models.Activity] + :type if_false_activities: list[~azure.mgmt.datafactory.models.Activity] """ _validation = { @@ -18158,11 +18701,11 @@ class ImpalaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Impala server. (i.e. @@ -18173,13 +18716,12 @@ class ImpalaLinkedService(LinkedService): :type port: object :param authentication_type: Required. The authentication type to use. Possible values include: "Anonymous", "SASLUsername", "UsernameAndPassword". - :type authentication_type: str or - ~data_factory_management_client.models.ImpalaAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.ImpalaAuthenticationType :param username: The user name used to access the Impala server. The default value is anonymous when using SASLUsername. :type username: object :param password: The password corresponding to the user name when using UsernameAndPassword. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object @@ -18266,14 +18808,14 @@ class ImpalaObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -18335,12 +18877,15 @@ class ImpalaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -18356,8 +18901,9 @@ class ImpalaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -18381,11 +18927,11 @@ class InformixLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string @@ -18398,12 +18944,12 @@ class InformixLinkedService(LinkedService): :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver- specific property-value format. - :type credential: ~data_factory_management_client.models.SecretBase + :type credential: ~azure.mgmt.datafactory.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -18469,6 +19015,9 @@ class InformixSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -18486,6 +19035,7 @@ class InformixSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -18517,12 +19067,15 @@ class InformixSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -18537,8 +19090,9 @@ class InformixSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -18570,14 +19124,14 @@ class InformixTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The Informix table name. Type: string (or Expression with resultType string). :type table_name: object @@ -18623,7 +19177,7 @@ class IntegrationRuntime(msrest.serialization.Model): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str """ @@ -18693,10 +19247,9 @@ class IntegrationRuntimeComputeProperties(msrest.serialization.Model): integration runtime. :type max_parallel_executions_per_node: int :param data_flow_properties: Data flow properties for managed integration runtime. - :type data_flow_properties: - ~data_factory_management_client.models.IntegrationRuntimeDataFlowProperties + :type data_flow_properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeDataFlowProperties :param v_net_properties: VNet properties for managed integration runtime. - :type v_net_properties: ~data_factory_management_client.models.IntegrationRuntimeVNetProperties + :type v_net_properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeVNetProperties """ _validation = { @@ -18793,7 +19346,7 @@ class IntegrationRuntimeCustomSetupScriptProperties(msrest.serialization.Model): script. :type blob_container_uri: str :param sas_token: The SAS token of the Azure blob container. - :type sas_token: ~data_factory_management_client.models.SecureString + :type sas_token: ~azure.mgmt.datafactory.models.SecureString """ _attribute_map = { @@ -18818,13 +19371,16 @@ class IntegrationRuntimeDataFlowProperties(msrest.serialization.Model): :type additional_properties: dict[str, object] :param compute_type: Compute type of the cluster which will execute data flow job. Possible values include: "General", "MemoryOptimized", "ComputeOptimized". - :type compute_type: str or ~data_factory_management_client.models.DataFlowComputeType + :type compute_type: str or ~azure.mgmt.datafactory.models.DataFlowComputeType :param core_count: Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. :type core_count: int :param time_to_live: Time to live (in minutes) setting of the cluster which will execute data flow job. :type time_to_live: int + :param cleanup: Cluster will not be recycled and it will be used in next data flow activity run + until TTL (time to live) is reached if this is set as false. Default is true. + :type cleanup: bool """ _validation = { @@ -18836,6 +19392,7 @@ class IntegrationRuntimeDataFlowProperties(msrest.serialization.Model): 'compute_type': {'key': 'computeType', 'type': 'str'}, 'core_count': {'key': 'coreCount', 'type': 'int'}, 'time_to_live': {'key': 'timeToLive', 'type': 'int'}, + 'cleanup': {'key': 'cleanup', 'type': 'bool'}, } def __init__( @@ -18847,15 +19404,16 @@ def __init__( self.compute_type = kwargs.get('compute_type', None) self.core_count = kwargs.get('core_count', None) self.time_to_live = kwargs.get('time_to_live', None) + self.cleanup = kwargs.get('cleanup', None) class IntegrationRuntimeDataProxyProperties(msrest.serialization.Model): """Data proxy properties for a managed dedicated integration runtime. :param connect_via: The self-hosted integration runtime reference. - :type connect_via: ~data_factory_management_client.models.EntityReference + :type connect_via: ~azure.mgmt.datafactory.models.EntityReference :param staging_linked_service: The staging linked service reference. - :type staging_linked_service: ~data_factory_management_client.models.EntityReference + :type staging_linked_service: ~azure.mgmt.datafactory.models.EntityReference :param path: The path to contain the staged data in the Blob storage. :type path: str """ @@ -18884,7 +19442,7 @@ class IntegrationRuntimeDebugResource(SubResourceDebugResource): :param name: The resource name. :type name: str :param properties: Required. Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntime + :type properties: ~azure.mgmt.datafactory.models.IntegrationRuntime """ _validation = { @@ -18910,7 +19468,7 @@ class IntegrationRuntimeListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of integration runtimes. - :type value: list[~data_factory_management_client.models.IntegrationRuntimeResource] + :type value: list[~azure.mgmt.datafactory.models.IntegrationRuntimeResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -18939,7 +19497,7 @@ class IntegrationRuntimeMonitoringData(msrest.serialization.Model): :param name: Integration runtime name. :type name: str :param nodes: Integration runtime node monitoring data. - :type nodes: list[~data_factory_management_client.models.IntegrationRuntimeNodeMonitoringData] + :type nodes: list[~azure.mgmt.datafactory.models.IntegrationRuntimeNodeMonitoringData] """ _attribute_map = { @@ -19047,6 +19605,93 @@ def __init__( self.received_bytes = None +class IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint(msrest.serialization.Model): + """Azure-SSIS integration runtime outbound network dependency endpoints for one category. + + :param category: The category of outbound network dependency. + :type category: str + :param endpoints: The endpoints for outbound network dependency. + :type endpoints: + list[~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesEndpoint] + """ + + _attribute_map = { + 'category': {'key': 'category', 'type': 'str'}, + 'endpoints': {'key': 'endpoints', 'type': '[IntegrationRuntimeOutboundNetworkDependenciesEndpoint]'}, + } + + def __init__( + self, + **kwargs + ): + super(IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint, self).__init__(**kwargs) + self.category = kwargs.get('category', None) + self.endpoints = kwargs.get('endpoints', None) + + +class IntegrationRuntimeOutboundNetworkDependenciesEndpoint(msrest.serialization.Model): + """The endpoint for Azure-SSIS integration runtime outbound network dependency. + + :param domain_name: The domain name of endpoint. + :type domain_name: str + :param endpoint_details: The details of endpoint. + :type endpoint_details: + list[~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails] + """ + + _attribute_map = { + 'domain_name': {'key': 'domainName', 'type': 'str'}, + 'endpoint_details': {'key': 'endpointDetails', 'type': '[IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails]'}, + } + + def __init__( + self, + **kwargs + ): + super(IntegrationRuntimeOutboundNetworkDependenciesEndpoint, self).__init__(**kwargs) + self.domain_name = kwargs.get('domain_name', None) + self.endpoint_details = kwargs.get('endpoint_details', None) + + +class IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails(msrest.serialization.Model): + """The details of Azure-SSIS integration runtime outbound network dependency endpoint. + + :param port: The port of endpoint. + :type port: int + """ + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails, self).__init__(**kwargs) + self.port = kwargs.get('port', None) + + +class IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse(msrest.serialization.Model): + """Azure-SSIS integration runtime outbound network dependency endpoints. + + :param value: The list of outbound network dependency endpoints. + :type value: + list[~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint]'}, + } + + def __init__( + self, + **kwargs + ): + super(IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + class IntegrationRuntimeReference(msrest.serialization.Model): """Integration runtime reference type. @@ -19090,7 +19735,7 @@ class IntegrationRuntimeRegenerateKeyParameters(msrest.serialization.Model): :param key_name: The name of the authentication key to regenerate. Possible values include: "authKey1", "authKey2". - :type key_name: str or ~data_factory_management_client.models.IntegrationRuntimeAuthKeyName + :type key_name: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeAuthKeyName """ _attribute_map = { @@ -19121,7 +19766,7 @@ class IntegrationRuntimeResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntime + :type properties: ~azure.mgmt.datafactory.models.IntegrationRuntime """ _validation = { @@ -19160,12 +19805,12 @@ class IntegrationRuntimeSsisCatalogInfo(msrest.serialization.Model): :type catalog_admin_user_name: str :param catalog_admin_password: The password of the administrator user account of the catalog database. - :type catalog_admin_password: ~data_factory_management_client.models.SecureString + :type catalog_admin_password: ~azure.mgmt.datafactory.models.SecureString :param catalog_pricing_tier: The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: "Basic", "Standard", "Premium", "PremiumRS". :type catalog_pricing_tier: str or - ~data_factory_management_client.models.IntegrationRuntimeSsisCatalogPricingTier + ~azure.mgmt.datafactory.models.IntegrationRuntimeSsisCatalogPricingTier :param dual_standby_pair_name: The dual standby pair name of Azure-SSIS Integration Runtimes to support SSISDB failover. :type dual_standby_pair_name: str @@ -19204,27 +19849,28 @@ class IntegrationRuntimeSsisProperties(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param catalog_info: Catalog information for managed dedicated integration runtime. - :type catalog_info: ~data_factory_management_client.models.IntegrationRuntimeSsisCatalogInfo + :type catalog_info: ~azure.mgmt.datafactory.models.IntegrationRuntimeSsisCatalogInfo :param license_type: License type for bringing your own license scenario. Possible values include: "BasePrice", "LicenseIncluded". - :type license_type: str or ~data_factory_management_client.models.IntegrationRuntimeLicenseType + :type license_type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeLicenseType :param custom_setup_script_properties: Custom setup script properties for a managed dedicated integration runtime. :type custom_setup_script_properties: - ~data_factory_management_client.models.IntegrationRuntimeCustomSetupScriptProperties + ~azure.mgmt.datafactory.models.IntegrationRuntimeCustomSetupScriptProperties :param data_proxy_properties: Data proxy properties for a managed dedicated integration runtime. :type data_proxy_properties: - ~data_factory_management_client.models.IntegrationRuntimeDataProxyProperties + ~azure.mgmt.datafactory.models.IntegrationRuntimeDataProxyProperties :param edition: The edition for the SSIS Integration Runtime. Possible values include: "Standard", "Enterprise". - :type edition: str or ~data_factory_management_client.models.IntegrationRuntimeEdition + :type edition: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeEdition :param express_custom_setup_properties: Custom setup without script properties for a SSIS integration runtime. - :type express_custom_setup_properties: - list[~data_factory_management_client.models.CustomSetupBase] + :type express_custom_setup_properties: list[~azure.mgmt.datafactory.models.CustomSetupBase] :param package_stores: Package stores for the SSIS Integration Runtime. - :type package_stores: list[~data_factory_management_client.models.PackageStore] + :type package_stores: list[~azure.mgmt.datafactory.models.PackageStore] + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _attribute_map = { @@ -19236,6 +19882,7 @@ class IntegrationRuntimeSsisProperties(msrest.serialization.Model): 'edition': {'key': 'edition', 'type': 'str'}, 'express_custom_setup_properties': {'key': 'expressCustomSetupProperties', 'type': '[CustomSetupBase]'}, 'package_stores': {'key': 'packageStores', 'type': '[PackageStore]'}, + 'credential': {'key': 'credential', 'type': 'CredentialReference'}, } def __init__( @@ -19251,6 +19898,7 @@ def __init__( self.edition = kwargs.get('edition', None) self.express_custom_setup_properties = kwargs.get('express_custom_setup_properties', None) self.package_stores = kwargs.get('package_stores', None) + self.credential = kwargs.get('credential', None) class IntegrationRuntimeStatus(msrest.serialization.Model): @@ -19268,13 +19916,13 @@ class IntegrationRuntimeStatus(msrest.serialization.Model): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :ivar data_factory_name: The data factory name which the integration runtime belong to. :vartype data_factory_name: str :ivar state: The state of integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". - :vartype state: str or ~data_factory_management_client.models.IntegrationRuntimeState + :vartype state: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeState """ _validation = { @@ -19311,7 +19959,7 @@ class IntegrationRuntimeStatusListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of integration runtime status. - :type value: list[~data_factory_management_client.models.IntegrationRuntimeStatusResponse] + :type value: list[~azure.mgmt.datafactory.models.IntegrationRuntimeStatusResponse] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -19344,7 +19992,7 @@ class IntegrationRuntimeStatusResponse(msrest.serialization.Model): :ivar name: The integration runtime name. :vartype name: str :param properties: Required. Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntimeStatus + :type properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeStatus """ _validation = { @@ -19379,6 +20027,9 @@ class IntegrationRuntimeVNetProperties(msrest.serialization.Model): :param public_i_ps: Resource IDs of the public IP addresses that this integration runtime will use. :type public_i_ps: list[str] + :param subnet_id: The ID of subnet, to which this Azure-SSIS integration runtime will be + joined. + :type subnet_id: str """ _attribute_map = { @@ -19386,6 +20037,7 @@ class IntegrationRuntimeVNetProperties(msrest.serialization.Model): 'v_net_id': {'key': 'vNetId', 'type': 'str'}, 'subnet': {'key': 'subnet', 'type': 'str'}, 'public_i_ps': {'key': 'publicIPs', 'type': '[str]'}, + 'subnet_id': {'key': 'subnetId', 'type': 'str'}, } def __init__( @@ -19397,6 +20049,7 @@ def __init__( self.v_net_id = kwargs.get('v_net_id', None) self.subnet = kwargs.get('subnet', None) self.public_i_ps = kwargs.get('public_i_ps', None) + self.subnet_id = kwargs.get('subnet_id', None) class JiraLinkedService(LinkedService): @@ -19410,11 +20063,11 @@ class JiraLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Jira service. (e.g. @@ -19427,7 +20080,7 @@ class JiraLinkedService(LinkedService): :type username: object :param password: The password corresponding to the user name that you provided in the username field. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -19502,14 +20155,14 @@ class JiraObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -19560,12 +20213,15 @@ class JiraSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -19581,8 +20237,9 @@ class JiraSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -19614,16 +20271,16 @@ class JsonDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the json data storage. - :type location: ~data_factory_management_client.models.DatasetLocation + :type location: ~azure.mgmt.datafactory.models.DatasetLocation :param encoding_name: The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: @@ -19631,7 +20288,7 @@ class JsonDataset(Dataset): resultType string). :type encoding_name: object :param compression: The data compression method used for the json dataset. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -19680,9 +20337,8 @@ class JsonFormat(DatasetStorageFormat): :param deserializer: Deserializer. Type: string (or Expression with resultType string). :type deserializer: object :param file_pattern: File pattern of JSON. To be more specific, the way of separating a - collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. Possible - values include: "setOfObjects", "arrayOfObjects". - :type file_pattern: str or ~data_factory_management_client.models.JsonFormatFilePattern + collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. + :type file_pattern: object :param nesting_separator: The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string). :type nesting_separator: object @@ -19712,7 +20368,7 @@ class JsonFormat(DatasetStorageFormat): 'type': {'key': 'type', 'type': 'str'}, 'serializer': {'key': 'serializer', 'type': 'object'}, 'deserializer': {'key': 'deserializer', 'type': 'object'}, - 'file_pattern': {'key': 'filePattern', 'type': 'str'}, + 'file_pattern': {'key': 'filePattern', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'encoding_name': {'key': 'encodingName', 'type': 'object'}, 'json_node_reference': {'key': 'jsonNodeReference', 'type': 'object'}, @@ -19743,7 +20399,7 @@ class JsonReadSettings(FormatReadSettings): :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. - :type compression_properties: ~data_factory_management_client.models.CompressionReadSettings + :type compression_properties: ~azure.mgmt.datafactory.models.CompressionReadSettings """ _validation = { @@ -19790,10 +20446,13 @@ class JsonSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Json store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: Json format settings. - :type format_settings: ~data_factory_management_client.models.JsonWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.JsonWriteSettings """ _validation = { @@ -19808,6 +20467,7 @@ class JsonSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'JsonWriteSettings'}, } @@ -19841,13 +20501,16 @@ class JsonSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Json store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: Json format settings. - :type format_settings: ~data_factory_management_client.models.JsonReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.JsonReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -19860,9 +20523,10 @@ class JsonSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'JsonReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -19887,9 +20551,8 @@ class JsonWriteSettings(FormatWriteSettings): :param type: Required. The write setting type.Constant filled by server. :type type: str :param file_pattern: File pattern of JSON. This setting controls the way a collection of JSON - objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. Possible - values include: "setOfObjects", "arrayOfObjects". - :type file_pattern: str or ~data_factory_management_client.models.JsonWriteFilePattern + objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. + :type file_pattern: object """ _validation = { @@ -19899,7 +20562,7 @@ class JsonWriteSettings(FormatWriteSettings): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, - 'file_pattern': {'key': 'filePattern', 'type': 'str'}, + 'file_pattern': {'key': 'filePattern', 'type': 'object'}, } def __init__( @@ -20000,7 +20663,7 @@ class LinkedIntegrationRuntimeKeyAuthorization(LinkedIntegrationRuntimeType): sharing.Constant filled by server. :type authorization_type: str :param key: Required. The key used for authorization. - :type key: ~data_factory_management_client.models.SecureString + :type key: ~azure.mgmt.datafactory.models.SecureString """ _validation = { @@ -20086,7 +20749,7 @@ class LinkedServiceDebugResource(SubResourceDebugResource): :param name: The resource name. :type name: str :param properties: Required. Properties of linked service. - :type properties: ~data_factory_management_client.models.LinkedService + :type properties: ~azure.mgmt.datafactory.models.LinkedService """ _validation = { @@ -20112,7 +20775,7 @@ class LinkedServiceListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of linked services. - :type value: list[~data_factory_management_client.models.LinkedServiceResource] + :type value: list[~azure.mgmt.datafactory.models.LinkedServiceResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -20188,7 +20851,7 @@ class LinkedServiceResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Properties of linked service. - :type properties: ~data_factory_management_client.models.LinkedService + :type properties: ~azure.mgmt.datafactory.models.LinkedService """ _validation = { @@ -20221,7 +20884,7 @@ class LogLocationSettings(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param linked_service_name: Required. Log storage linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param path: The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). :type path: object @@ -20254,11 +20917,10 @@ class LogSettings(msrest.serialization.Model): (or Expression with resultType boolean). :type enable_copy_activity_log: object :param copy_activity_log_settings: Specifies settings for copy activity log. - :type copy_activity_log_settings: - ~data_factory_management_client.models.CopyActivityLogSettings + :type copy_activity_log_settings: ~azure.mgmt.datafactory.models.CopyActivityLogSettings :param log_location_settings: Required. Log location settings customer needs to provide when enabling log. - :type log_location_settings: ~data_factory_management_client.models.LogLocationSettings + :type log_location_settings: ~azure.mgmt.datafactory.models.LogLocationSettings """ _validation = { @@ -20290,7 +20952,7 @@ class LogStorageSettings(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param linked_service_name: Required. Log storage linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param path: The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). :type path: object @@ -20341,17 +21003,17 @@ class LookupActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param source: Required. Dataset-specific source properties, same as copy activity source. - :type source: ~data_factory_management_client.models.CopySource + :type source: ~azure.mgmt.datafactory.models.CopySource :param dataset: Required. Lookup activity dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param first_row_only: Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). :type first_row_only: object @@ -20400,17 +21062,17 @@ class MagentoLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the Magento instance. (i.e. 192.168.222.110/magento3). :type host: object :param access_token: The access token from Magento. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -20480,14 +21142,14 @@ class MagentoObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -20538,12 +21200,15 @@ class MagentoSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -20559,8 +21224,9 @@ class MagentoSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -20573,6 +21239,45 @@ def __init__( self.query = kwargs.get('query', None) +class ManagedIdentityCredential(Credential): + """Managed identity credential. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Type of credential.Constant filled by server. + :type type: str + :param description: Credential description. + :type description: str + :param annotations: List of tags that can be used for describing the Credential. + :type annotations: list[object] + :param resource_id: The resource id of user assigned managed identity. + :type resource_id: str + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'annotations': {'key': 'annotations', 'type': '[object]'}, + 'resource_id': {'key': 'typeProperties.resourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedIdentityCredential, self).__init__(**kwargs) + self.type = 'ManagedIdentity' # type: str + self.resource_id = kwargs.get('resource_id', None) + + class ManagedIntegrationRuntime(IntegrationRuntime): """Managed integration runtime, including managed elastic and managed dedicated integration runtimes. @@ -20585,21 +21290,19 @@ class ManagedIntegrationRuntime(IntegrationRuntime): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str :ivar state: Integration runtime state, only valid for managed dedicated integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". - :vartype state: str or ~data_factory_management_client.models.IntegrationRuntimeState + :vartype state: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeState :param managed_virtual_network: Managed Virtual Network reference. - :type managed_virtual_network: - ~data_factory_management_client.models.ManagedVirtualNetworkReference + :type managed_virtual_network: ~azure.mgmt.datafactory.models.ManagedVirtualNetworkReference :param compute_properties: The compute resource for managed integration runtime. - :type compute_properties: - ~data_factory_management_client.models.IntegrationRuntimeComputeProperties + :type compute_properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeComputeProperties :param ssis_properties: SSIS properties for managed integration runtime. - :type ssis_properties: ~data_factory_management_client.models.IntegrationRuntimeSsisProperties + :type ssis_properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeSsisProperties """ _validation = { @@ -20686,10 +21389,9 @@ class ManagedIntegrationRuntimeNode(msrest.serialization.Model): :vartype node_id: str :ivar status: The managed integration runtime node status. Possible values include: "Starting", "Available", "Recycling", "Unavailable". - :vartype status: str or - ~data_factory_management_client.models.ManagedIntegrationRuntimeNodeStatus + :vartype status: str or ~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeNodeStatus :param errors: The errors that occurred on this integration runtime node. - :type errors: list[~data_factory_management_client.models.ManagedIntegrationRuntimeError] + :type errors: list[~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeError] """ _validation = { @@ -20782,23 +21484,22 @@ class ManagedIntegrationRuntimeStatus(IntegrationRuntimeStatus): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :ivar data_factory_name: The data factory name which the integration runtime belong to. :vartype data_factory_name: str :ivar state: The state of integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". - :vartype state: str or ~data_factory_management_client.models.IntegrationRuntimeState + :vartype state: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeState :ivar create_time: The time at which the integration runtime was created, in ISO8601 format. :vartype create_time: ~datetime.datetime :ivar nodes: The list of nodes for managed integration runtime. - :vartype nodes: list[~data_factory_management_client.models.ManagedIntegrationRuntimeNode] + :vartype nodes: list[~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeNode] :ivar other_errors: The errors that occurred on this integration runtime. - :vartype other_errors: - list[~data_factory_management_client.models.ManagedIntegrationRuntimeError] + :vartype other_errors: list[~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeError] :ivar last_operation: The last operation result that occurred on this integration runtime. :vartype last_operation: - ~data_factory_management_client.models.ManagedIntegrationRuntimeOperationResult + ~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeOperationResult """ _validation = { @@ -20843,7 +21544,7 @@ class ManagedPrivateEndpoint(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param connection_state: The managed private endpoint connection state. - :type connection_state: ~data_factory_management_client.models.ConnectionStateProperties + :type connection_state: ~azure.mgmt.datafactory.models.ConnectionStateProperties :param fqdns: Fully qualified domain names. :type fqdns: list[str] :param group_id: The groupId to which the managed private endpoint is created. @@ -20892,7 +21593,7 @@ class ManagedPrivateEndpointListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of managed private endpoints. - :type value: list[~data_factory_management_client.models.ManagedPrivateEndpointResource] + :type value: list[~azure.mgmt.datafactory.models.ManagedPrivateEndpointResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -20931,7 +21632,7 @@ class ManagedPrivateEndpointResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Managed private endpoint properties. - :type properties: ~data_factory_management_client.models.ManagedPrivateEndpoint + :type properties: ~azure.mgmt.datafactory.models.ManagedPrivateEndpoint """ _validation = { @@ -20999,7 +21700,7 @@ class ManagedVirtualNetworkListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of managed Virtual Networks. - :type value: list[~data_factory_management_client.models.ManagedVirtualNetworkResource] + :type value: list[~azure.mgmt.datafactory.models.ManagedVirtualNetworkResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -21072,7 +21773,7 @@ class ManagedVirtualNetworkResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Managed Virtual Network properties. - :type properties: ~data_factory_management_client.models.ManagedVirtualNetwork + :type properties: ~azure.mgmt.datafactory.models.ManagedVirtualNetwork """ _validation = { @@ -21102,7 +21803,9 @@ def __init__( class MappingDataFlow(DataFlow): """Mapping data flow. - :param type: Type of data flow.Constant filled by server. + All required parameters must be populated in order to send to Azure. + + :param type: Required. Type of data flow.Constant filled by server. :type type: str :param description: The description of the data flow. :type description: str @@ -21110,17 +21813,21 @@ class MappingDataFlow(DataFlow): :type annotations: list[object] :param folder: The folder that this data flow is in. If not specified, Data flow will appear at the root level. - :type folder: ~data_factory_management_client.models.DataFlowFolder + :type folder: ~azure.mgmt.datafactory.models.DataFlowFolder :param sources: List of sources in data flow. - :type sources: list[~data_factory_management_client.models.DataFlowSource] + :type sources: list[~azure.mgmt.datafactory.models.DataFlowSource] :param sinks: List of sinks in data flow. - :type sinks: list[~data_factory_management_client.models.DataFlowSink] + :type sinks: list[~azure.mgmt.datafactory.models.DataFlowSink] :param transformations: List of transformations in data flow. - :type transformations: list[~data_factory_management_client.models.Transformation] + :type transformations: list[~azure.mgmt.datafactory.models.Transformation] :param script: DataFlow script. :type script: str """ + _validation = { + 'type': {'required': True}, + } + _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, @@ -21155,18 +21862,18 @@ class MariaDbLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -21219,12 +21926,15 @@ class MariaDbSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -21240,8 +21950,9 @@ class MariaDbSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -21273,14 +21984,14 @@ class MariaDbTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -21323,11 +22034,11 @@ class MarketoLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com). @@ -21335,7 +22046,7 @@ class MarketoLinkedService(LinkedService): :param client_id: Required. The client Id of your Marketo service. :type client_id: object :param client_secret: The client secret of your Marketo service. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -21408,14 +22119,14 @@ class MarketoObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -21466,12 +22177,15 @@ class MarketoSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -21487,8 +22201,9 @@ class MarketoSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -21501,6 +22216,29 @@ def __init__( self.query = kwargs.get('query', None) +class MetadataItem(msrest.serialization.Model): + """Specify the name and value of custom metadata item. + + :param name: Metadata item key name. Type: string (or Expression with resultType string). + :type name: object + :param value: Metadata item value. Type: string (or Expression with resultType string). + :type value: object + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'object'}, + 'value': {'key': 'value', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(MetadataItem, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + + class MicrosoftAccessLinkedService(LinkedService): """Microsoft Access linked service. @@ -21512,11 +22250,11 @@ class MicrosoftAccessLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string @@ -21529,12 +22267,12 @@ class MicrosoftAccessLinkedService(LinkedService): :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver- specific property-value format. - :type credential: ~data_factory_management_client.models.SecretBase + :type credential: ~azure.mgmt.datafactory.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -21600,6 +22338,9 @@ class MicrosoftAccessSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -21617,6 +22358,7 @@ class MicrosoftAccessSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -21648,11 +22390,14 @@ class MicrosoftAccessSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -21665,8 +22410,9 @@ class MicrosoftAccessSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -21698,14 +22444,14 @@ class MicrosoftAccessTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The Microsoft Access table name. Type: string (or Expression with resultType string). :type table_name: object @@ -21757,14 +22503,14 @@ class MongoDbAtlasCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection: Required. The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string). :type collection: object @@ -21809,11 +22555,11 @@ class MongoDbAtlasLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The MongoDB Atlas connection string. Type: string, @@ -21852,6 +22598,65 @@ def __init__( self.database = kwargs['database'] +class MongoDbAtlasSink(CopySink): + """A copy activity MongoDB Atlas sink. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Copy sink type.Constant filled by server. + :type type: str + :param write_batch_size: Write batch size. Type: integer (or Expression with resultType + integer), minimum: 0. + :type write_batch_size: object + :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType + string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type write_batch_timeout: object + :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType + integer). + :type sink_retry_count: object + :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), + pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type sink_retry_wait: object + :param max_concurrent_connections: The maximum concurrent connection count for the sink data + store. Type: integer (or Expression with resultType integer). + :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object + :param write_behavior: Specifies whether the document with same key to be overwritten (upsert) + rather than throw exception (insert). The default value is "insert". Type: string (or + Expression with resultType string). Type: string (or Expression with resultType string). + :type write_behavior: object + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, + 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, + 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, + 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, + 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(MongoDbAtlasSink, self).__init__(**kwargs) + self.type = 'MongoDbAtlasSink' # type: str + self.write_behavior = kwargs.get('write_behavior', None) + + class MongoDbAtlasSource(CopySource): """A copy activity source for a MongoDB Atlas database. @@ -21871,12 +22676,15 @@ class MongoDbAtlasSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. - :type cursor_methods: ~data_factory_management_client.models.MongoDbCursorMethodsProperties + :type cursor_methods: ~azure.mgmt.datafactory.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB Atlas instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response @@ -21886,8 +22694,8 @@ class MongoDbAtlasSource(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -21900,11 +22708,12 @@ class MongoDbAtlasSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -21939,14 +22748,14 @@ class MongoDbCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection_name: Required. The table name of the MongoDB database. Type: string (or Expression with resultType string). :type collection_name: object @@ -22034,11 +22843,11 @@ class MongoDbLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. The IP address or server name of the MongoDB server. Type: string (or @@ -22046,8 +22855,7 @@ class MongoDbLinkedService(LinkedService): :type server: object :param authentication_type: The authentication type to be used to connect to the MongoDB database. Possible values include: "Basic", "Anonymous". - :type authentication_type: str or - ~data_factory_management_client.models.MongoDbAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.MongoDbAuthenticationType :param database_name: Required. The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). :type database_name: object @@ -22055,7 +22863,7 @@ class MongoDbLinkedService(LinkedService): string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param auth_source: Database to verify the username and password. Type: string (or Expression with resultType string). :type auth_source: object @@ -22136,12 +22944,15 @@ class MongoDbSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -22154,8 +22965,9 @@ class MongoDbSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -22187,14 +22999,14 @@ class MongoDbV2CollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection: Required. The collection name of the MongoDB database. Type: string (or Expression with resultType string). :type collection: object @@ -22239,11 +23051,11 @@ class MongoDbV2LinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The MongoDB connection string. Type: string, SecureString @@ -22281,6 +23093,65 @@ def __init__( self.database = kwargs['database'] +class MongoDbV2Sink(CopySink): + """A copy activity MongoDB sink. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Copy sink type.Constant filled by server. + :type type: str + :param write_batch_size: Write batch size. Type: integer (or Expression with resultType + integer), minimum: 0. + :type write_batch_size: object + :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType + string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type write_batch_timeout: object + :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType + integer). + :type sink_retry_count: object + :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), + pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type sink_retry_wait: object + :param max_concurrent_connections: The maximum concurrent connection count for the sink data + store. Type: integer (or Expression with resultType integer). + :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object + :param write_behavior: Specifies whether the document with same key to be overwritten (upsert) + rather than throw exception (insert). The default value is "insert". Type: string (or + Expression with resultType string). Type: string (or Expression with resultType string). + :type write_behavior: object + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, + 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, + 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, + 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, + 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(MongoDbV2Sink, self).__init__(**kwargs) + self.type = 'MongoDbV2Sink' # type: str + self.write_behavior = kwargs.get('write_behavior', None) + + class MongoDbV2Source(CopySource): """A copy activity source for a MongoDB database. @@ -22300,12 +23171,15 @@ class MongoDbV2Source(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. - :type cursor_methods: ~data_factory_management_client.models.MongoDbCursorMethodsProperties + :type cursor_methods: ~azure.mgmt.datafactory.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. @@ -22315,8 +23189,8 @@ class MongoDbV2Source(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -22329,11 +23203,12 @@ class MongoDbV2Source(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -22360,17 +23235,17 @@ class MySqlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -22424,12 +23299,15 @@ class MySqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -22444,8 +23322,9 @@ class MySqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -22477,14 +23356,14 @@ class MySqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The MySQL table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -22527,18 +23406,18 @@ class NetezzaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -22623,12 +23502,15 @@ class NetezzaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -22636,7 +23518,7 @@ class NetezzaSource(TabularSource): parallel. Possible values include: "None", "DataSlice", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Netezza source partitioning. - :type partition_settings: ~data_factory_management_client.models.NetezzaPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.NetezzaPartitionSettings """ _validation = { @@ -22649,8 +23531,9 @@ class NetezzaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'NetezzaPartitionSettings'}, @@ -22686,14 +23569,14 @@ class NetezzaTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -22747,11 +23630,11 @@ class ODataLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of the OData service endpoint. Type: string (or Expression with @@ -22760,13 +23643,12 @@ class ODataLinkedService(LinkedService): :param authentication_type: Type of authentication used to connect to the OData service. Possible values include: "Basic", "Anonymous", "Windows", "AadServicePrincipal", "ManagedServiceIdentity". - :type authentication_type: str or - ~data_factory_management_client.models.ODataAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.ODataAuthenticationType :param user_name: User name of the OData service. Type: string (or Expression with resultType string). :type user_name: object :param password: Password of the OData service. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param auth_headers: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). :type auth_headers: object @@ -22786,19 +23668,18 @@ class ODataLinkedService(LinkedService): :param aad_service_principal_credential_type: Specify the credential type (key or cert) is used for service principal. Possible values include: "ServicePrincipalKey", "ServicePrincipalCert". :type aad_service_principal_credential_type: str or - ~data_factory_management_client.models.ODataAadServicePrincipalCredentialType + ~azure.mgmt.datafactory.models.ODataAadServicePrincipalCredentialType :param service_principal_key: Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_embedded_cert: Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - :type service_principal_embedded_cert: ~data_factory_management_client.models.SecretBase + :type service_principal_embedded_cert: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_embedded_cert_password: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). - :type service_principal_embedded_cert_password: - ~data_factory_management_client.models.SecretBase + :type service_principal_embedded_cert_password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -22874,14 +23755,14 @@ class ODataResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param path: The OData resource path. Type: string (or Expression with resultType string). :type path: object """ @@ -22932,6 +23813,9 @@ class ODataSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -22941,8 +23825,8 @@ class ODataSource(CopySource): ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -22955,9 +23839,10 @@ class ODataSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -22982,11 +23867,11 @@ class OdbcLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string @@ -22998,12 +23883,12 @@ class OdbcLinkedService(LinkedService): :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver- specific property-value format. - :type credential: ~data_factory_management_client.models.SecretBase + :type credential: ~azure.mgmt.datafactory.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -23069,6 +23954,9 @@ class OdbcSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -23086,6 +23974,7 @@ class OdbcSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -23117,12 +24006,15 @@ class OdbcSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -23137,8 +24029,9 @@ class OdbcSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -23170,14 +24063,14 @@ class OdbcTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The ODBC table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -23228,14 +24121,14 @@ class Office365Dataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: Required. Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). :type table_name: object @@ -23285,11 +24178,11 @@ class Office365LinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param office365_tenant_id: Required. Azure tenant ID to which the Office 365 account belongs. @@ -23302,7 +24195,7 @@ class Office365LinkedService(LinkedService): Expression with resultType string). :type service_principal_id: object :param service_principal_key: Required. Specify the application's key. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -23363,6 +24256,9 @@ class Office365Source(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param allowed_groups: The groups containing all the users. Type: array of strings (or Expression with resultType array of strings). :type allowed_groups: object @@ -23394,6 +24290,7 @@ class Office365Source(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'allowed_groups': {'key': 'allowedGroups', 'type': 'object'}, 'user_scope_filter_uri': {'key': 'userScopeFilterUri', 'type': 'object'}, 'date_filter_column': {'key': 'dateFilterColumn', 'type': 'object'}, @@ -23424,10 +24321,9 @@ class Operation(msrest.serialization.Model): :param origin: The intended executor of the operation. :type origin: str :param display: Metadata associated with the operation. - :type display: ~data_factory_management_client.models.OperationDisplay + :type display: ~azure.mgmt.datafactory.models.OperationDisplay :param service_specification: Details about a service operation. - :type service_specification: - ~data_factory_management_client.models.OperationServiceSpecification + :type service_specification: ~azure.mgmt.datafactory.models.OperationServiceSpecification """ _attribute_map = { @@ -23483,7 +24379,7 @@ class OperationListResponse(msrest.serialization.Model): """A list of operations that can be performed by the Data Factory service. :param value: List of Data Factory operations supported by the Data Factory resource provider. - :type value: list[~data_factory_management_client.models.Operation] + :type value: list[~azure.mgmt.datafactory.models.Operation] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -23599,9 +24495,9 @@ class OperationMetricSpecification(msrest.serialization.Model): :param source_mdm_namespace: The name of the MDM namespace. :type source_mdm_namespace: str :param availabilities: Defines how often data for metrics becomes available. - :type availabilities: list[~data_factory_management_client.models.OperationMetricAvailability] + :type availabilities: list[~azure.mgmt.datafactory.models.OperationMetricAvailability] :param dimensions: Defines the metric dimension. - :type dimensions: list[~data_factory_management_client.models.OperationMetricDimension] + :type dimensions: list[~azure.mgmt.datafactory.models.OperationMetricDimension] """ _attribute_map = { @@ -23638,11 +24534,9 @@ class OperationServiceSpecification(msrest.serialization.Model): """Details about a service operation. :param log_specifications: Details about operations related to logs. - :type log_specifications: - list[~data_factory_management_client.models.OperationLogSpecification] + :type log_specifications: list[~azure.mgmt.datafactory.models.OperationLogSpecification] :param metric_specifications: Details about operations related to metrics. - :type metric_specifications: - list[~data_factory_management_client.models.OperationMetricSpecification] + :type metric_specifications: list[~azure.mgmt.datafactory.models.OperationMetricSpecification] """ _attribute_map = { @@ -23670,11 +24564,11 @@ class OracleCloudStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param access_key_id: The access key identifier of the Oracle Cloud Storage Identity and Access @@ -23682,7 +24576,7 @@ class OracleCloudStorageLinkedService(LinkedService): :type access_key_id: object :param secret_access_key: The secret access key of the Oracle Cloud Storage Identity and Access Management (IAM) user. - :type secret_access_key: ~data_factory_management_client.models.SecretBase + :type secret_access_key: ~azure.mgmt.datafactory.models.SecretBase :param service_url: This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType @@ -23783,6 +24677,9 @@ class OracleCloudStorageReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -23823,6 +24720,7 @@ class OracleCloudStorageReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -23864,18 +24762,18 @@ class OracleLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -23957,11 +24855,11 @@ class OracleServiceCloudLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the Oracle Service Cloud instance. @@ -23970,7 +24868,7 @@ class OracleServiceCloudLinkedService(LinkedService): :type username: object :param password: Required. The password corresponding to the user name that you provided in the username key. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object @@ -24045,14 +24943,14 @@ class OracleServiceCloudObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -24103,12 +25001,15 @@ class OracleServiceCloudSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -24124,8 +25025,9 @@ class OracleServiceCloudSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -24163,6 +25065,9 @@ class OracleSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -24180,6 +25085,7 @@ class OracleSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -24211,6 +25117,9 @@ class OracleSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param oracle_reader_query: Oracle reader query. Type: string (or Expression with resultType string). :type oracle_reader_query: object @@ -24221,10 +25130,10 @@ class OracleSource(CopySource): Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Oracle source partitioning. - :type partition_settings: ~data_factory_management_client.models.OraclePartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.OraclePartitionSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -24237,11 +25146,12 @@ class OracleSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'oracle_reader_query': {'key': 'oracleReaderQuery', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'OraclePartitionSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -24276,14 +25186,14 @@ class OracleTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -24345,18 +25255,19 @@ class OrcDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the ORC data storage. - :type location: ~data_factory_management_client.models.DatasetLocation - :param orc_compression_codec: Possible values include: "none", "zlib", "snappy", "lzo". - :type orc_compression_codec: str or ~data_factory_management_client.models.OrcCompressionCodec + :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param orc_compression_codec: The data orcCompressionCodec. Type: string (or Expression with + resultType string). + :type orc_compression_codec: object """ _validation = { @@ -24375,7 +25286,7 @@ class OrcDataset(Dataset): 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, - 'orc_compression_codec': {'key': 'typeProperties.orcCompressionCodec', 'type': 'str'}, + 'orc_compression_codec': {'key': 'typeProperties.orcCompressionCodec', 'type': 'object'}, } def __init__( @@ -24448,10 +25359,13 @@ class OrcSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: ORC store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: ORC format settings. - :type format_settings: ~data_factory_management_client.models.OrcWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.OrcWriteSettings """ _validation = { @@ -24466,6 +25380,7 @@ class OrcSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'OrcWriteSettings'}, } @@ -24499,11 +25414,14 @@ class OrcSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: ORC store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -24516,8 +25434,9 @@ class OrcSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -24578,7 +25497,7 @@ class PackageStore(msrest.serialization.Model): :param name: Required. The name of the package store. :type name: str :param package_store_linked_service: Required. The package store linked service reference. - :type package_store_linked_service: ~data_factory_management_client.models.EntityReference + :type package_store_linked_service: ~azure.mgmt.datafactory.models.EntityReference """ _validation = { @@ -24607,7 +25526,7 @@ class ParameterSpecification(msrest.serialization.Model): :param type: Required. Parameter type. Possible values include: "Object", "String", "Int", "Float", "Bool", "Array", "SecureString". - :type type: str or ~data_factory_management_client.models.ParameterType + :type type: str or ~azure.mgmt.datafactory.models.ParameterType :param default_value: Default value of parameter. :type default_value: object """ @@ -24649,19 +25568,19 @@ class ParquetDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the parquet storage. - :type location: ~data_factory_management_client.models.DatasetLocation - :param compression_codec: Possible values include: "none", "gzip", "snappy", "lzo", "bzip2", - "deflate", "zipDeflate", "lz4", "tar", "tarGZip". - :type compression_codec: str or ~data_factory_management_client.models.CompressionCodec + :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param compression_codec: The data compressionCodec. Type: string (or Expression with + resultType string). + :type compression_codec: object """ _validation = { @@ -24680,7 +25599,7 @@ class ParquetDataset(Dataset): 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, - 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'str'}, + 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'object'}, } def __init__( @@ -24753,10 +25672,13 @@ class ParquetSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Parquet store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: Parquet format settings. - :type format_settings: ~data_factory_management_client.models.ParquetWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.ParquetWriteSettings """ _validation = { @@ -24771,6 +25693,7 @@ class ParquetSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'ParquetWriteSettings'}, } @@ -24804,11 +25727,14 @@ class ParquetSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Parquet store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -24821,8 +25747,9 @@ class ParquetSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -24886,11 +25813,11 @@ class PaypalLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). @@ -24898,7 +25825,7 @@ class PaypalLinkedService(LinkedService): :param client_id: Required. The client ID associated with your PayPal application. :type client_id: object :param client_secret: The client secret associated with your PayPal application. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -24971,14 +25898,14 @@ class PaypalObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -25029,12 +25956,15 @@ class PaypalSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -25050,8 +25980,9 @@ class PaypalSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -25075,11 +26006,11 @@ class PhoenixLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Phoenix server. (i.e. @@ -25095,12 +26026,11 @@ class PhoenixLinkedService(LinkedService): :param authentication_type: Required. The authentication mechanism used to connect to the Phoenix server. Possible values include: "Anonymous", "UsernameAndPassword", "WindowsAzureHDInsightService". - :type authentication_type: str or - ~data_factory_management_client.models.PhoenixAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.PhoenixAuthenticationType :param username: The user name used to connect to the Phoenix server. :type username: object :param password: The password corresponding to the user name. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object @@ -25189,14 +26119,14 @@ class PhoenixObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -25258,12 +26188,15 @@ class PhoenixSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -25279,8 +26212,9 @@ class PhoenixSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -25337,7 +26271,7 @@ class PipelineListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of pipelines. - :type value: list[~data_factory_management_client.models.PipelineResource] + :type value: list[~azure.mgmt.datafactory.models.PipelineResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -25364,8 +26298,7 @@ class PipelinePolicy(msrest.serialization.Model): """Pipeline Policy. :param elapsed_time_metric: Pipeline ElapsedTime Metric Policy. - :type elapsed_time_metric: - ~data_factory_management_client.models.PipelineElapsedTimeMetricPolicy + :type elapsed_time_metric: ~azure.mgmt.datafactory.models.PipelineElapsedTimeMetricPolicy """ _attribute_map = { @@ -25436,11 +26369,11 @@ class PipelineResource(SubResource): :param description: The description of the pipeline. :type description: str :param activities: List of activities in pipeline. - :type activities: list[~data_factory_management_client.models.Activity] + :type activities: list[~azure.mgmt.datafactory.models.Activity] :param parameters: List of parameters for pipeline. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param variables: List of variables for pipeline. - :type variables: dict[str, ~data_factory_management_client.models.VariableSpecification] + :type variables: dict[str, ~azure.mgmt.datafactory.models.VariableSpecification] :param concurrency: The max number of concurrent runs for the pipeline. :type concurrency: int :param annotations: List of tags that can be used for describing the Pipeline. @@ -25449,9 +26382,9 @@ class PipelineResource(SubResource): :type run_dimensions: dict[str, object] :param folder: The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. - :type folder: ~data_factory_management_client.models.PipelineFolder + :type folder: ~azure.mgmt.datafactory.models.PipelineFolder :param policy: Pipeline Policy. - :type policy: ~data_factory_management_client.models.PipelinePolicy + :type policy: ~azure.mgmt.datafactory.models.PipelinePolicy """ _validation = { @@ -25518,7 +26451,7 @@ class PipelineRun(msrest.serialization.Model): :ivar run_dimensions: Run dimensions emitted by Pipeline run. :vartype run_dimensions: dict[str, str] :ivar invoked_by: Entity that started the pipeline run. - :vartype invoked_by: ~data_factory_management_client.models.PipelineRunInvokedBy + :vartype invoked_by: ~azure.mgmt.datafactory.models.PipelineRunInvokedBy :ivar last_updated: The last updated timestamp for the pipeline run event in ISO8601 format. :vartype last_updated: ~datetime.datetime :ivar run_start: The start time of a pipeline run in ISO8601 format. @@ -25598,18 +26531,26 @@ class PipelineRunInvokedBy(msrest.serialization.Model): :vartype id: str :ivar invoked_by_type: The type of the entity that started the run. :vartype invoked_by_type: str + :ivar pipeline_name: The name of the pipeline that triggered the run, if any. + :vartype pipeline_name: str + :ivar pipeline_run_id: The run id of the pipeline that triggered the run, if any. + :vartype pipeline_run_id: str """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, 'invoked_by_type': {'readonly': True}, + 'pipeline_name': {'readonly': True}, + 'pipeline_run_id': {'readonly': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'id': {'key': 'id', 'type': 'str'}, 'invoked_by_type': {'key': 'invokedByType', 'type': 'str'}, + 'pipeline_name': {'key': 'pipelineName', 'type': 'str'}, + 'pipeline_run_id': {'key': 'pipelineRunId', 'type': 'str'}, } def __init__( @@ -25620,6 +26561,8 @@ def __init__( self.name = None self.id = None self.invoked_by_type = None + self.pipeline_name = None + self.pipeline_run_id = None class PipelineRunsQueryResponse(msrest.serialization.Model): @@ -25628,7 +26571,7 @@ class PipelineRunsQueryResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of pipeline runs. - :type value: list[~data_factory_management_client.models.PipelineRun] + :type value: list[~azure.mgmt.datafactory.models.PipelineRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str @@ -25659,7 +26602,7 @@ class PolybaseSettings(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param reject_type: Reject type. Possible values include: "value", "percentage". - :type reject_type: str or ~data_factory_management_client.models.PolybaseSettingsRejectType + :type reject_type: str or ~azure.mgmt.datafactory.models.PolybaseSettingsRejectType :param reject_value: Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. :type reject_value: object @@ -25704,17 +26647,17 @@ class PostgreSqlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -25768,12 +26711,15 @@ class PostgreSqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -25788,8 +26734,9 @@ class PostgreSqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -25821,14 +26768,14 @@ class PostgreSqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -25881,11 +26828,11 @@ class PrestoLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Presto server. (i.e. @@ -25900,12 +26847,11 @@ class PrestoLinkedService(LinkedService): :type port: object :param authentication_type: Required. The authentication mechanism used to connect to the Presto server. Possible values include: "Anonymous", "LDAP". - :type authentication_type: str or - ~data_factory_management_client.models.PrestoAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.PrestoAuthenticationType :param username: The user name used to connect to the Presto server. :type username: object :param password: The password corresponding to the user name. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object @@ -26003,14 +26949,14 @@ class PrestoObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -26072,12 +27018,15 @@ class PrestoSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -26093,8 +27042,9 @@ class PrestoSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -26113,7 +27063,7 @@ class PrivateEndpointConnectionListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of Private Endpoint Connections. - :type value: list[~data_factory_management_client.models.PrivateEndpointConnectionResource] + :type value: list[~azure.mgmt.datafactory.models.PrivateEndpointConnectionResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -26150,7 +27100,7 @@ class PrivateEndpointConnectionResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Core resource properties. - :type properties: ~data_factory_management_client.models.RemotePrivateEndpointConnection + :type properties: ~azure.mgmt.datafactory.models.RemotePrivateEndpointConnection """ _validation = { @@ -26181,7 +27131,7 @@ class PrivateLinkConnectionApprovalRequest(msrest.serialization.Model): :param private_link_service_connection_state: The state of a private link connection. :type private_link_service_connection_state: - ~data_factory_management_client.models.PrivateLinkConnectionState + ~azure.mgmt.datafactory.models.PrivateLinkConnectionState """ _attribute_map = { @@ -26210,7 +27160,7 @@ class PrivateLinkConnectionApprovalRequestResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Core resource properties. - :type properties: ~data_factory_management_client.models.PrivateLinkConnectionApprovalRequest + :type properties: ~azure.mgmt.datafactory.models.PrivateLinkConnectionApprovalRequest """ _validation = { @@ -26277,7 +27227,7 @@ class PrivateLinkResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Core resource properties. - :type properties: ~data_factory_management_client.models.PrivateLinkResourceProperties + :type properties: ~azure.mgmt.datafactory.models.PrivateLinkResourceProperties """ _validation = { @@ -26344,7 +27294,7 @@ class PrivateLinkResourcesWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. - :type value: list[~data_factory_management_client.models.PrivateLinkResource] + :type value: list[~azure.mgmt.datafactory.models.PrivateLinkResource] """ _validation = { @@ -26367,7 +27317,7 @@ class QueryDataFlowDebugSessionsResponse(msrest.serialization.Model): """A list of active debug sessions. :param value: Array with all active debug sessions. - :type value: list[~data_factory_management_client.models.DataFlowDebugSessionInfo] + :type value: list[~azure.mgmt.datafactory.models.DataFlowDebugSessionInfo] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -26397,11 +27347,11 @@ class QuickBooksLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to QuickBooks. It is mutually @@ -26414,11 +27364,11 @@ class QuickBooksLinkedService(LinkedService): :param consumer_key: The consumer key for OAuth 1.0 authentication. :type consumer_key: object :param consumer_secret: The consumer secret for OAuth 1.0 authentication. - :type consumer_secret: ~data_factory_management_client.models.SecretBase + :type consumer_secret: ~azure.mgmt.datafactory.models.SecretBase :param access_token: The access token for OAuth 1.0 authentication. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param access_token_secret: The access token secret for OAuth 1.0 authentication. - :type access_token_secret: ~data_factory_management_client.models.SecretBase + :type access_token_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -26486,14 +27436,14 @@ class QuickBooksObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -26544,12 +27494,15 @@ class QuickBooksSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -26565,8 +27518,9 @@ class QuickBooksSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -26590,12 +27544,11 @@ class RecurrenceSchedule(msrest.serialization.Model): :param hours: The hours. :type hours: list[int] :param week_days: The days of the week. - :type week_days: list[str or ~data_factory_management_client.models.DaysOfWeek] + :type week_days: list[str or ~azure.mgmt.datafactory.models.DaysOfWeek] :param month_days: The month days. :type month_days: list[int] :param monthly_occurrences: The monthly occurrences. - :type monthly_occurrences: - list[~data_factory_management_client.models.RecurrenceScheduleOccurrence] + :type monthly_occurrences: list[~azure.mgmt.datafactory.models.RecurrenceScheduleOccurrence] """ _attribute_map = { @@ -26628,7 +27581,7 @@ class RecurrenceScheduleOccurrence(msrest.serialization.Model): :type additional_properties: dict[str, object] :param day: The day of the week. Possible values include: "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday". - :type day: str or ~data_factory_management_client.models.DayOfWeek + :type day: str or ~azure.mgmt.datafactory.models.DayOfWeek :param occurrence: The occurrence. :type occurrence: int """ @@ -26694,7 +27647,7 @@ class RedshiftUnloadSettings(msrest.serialization.Model): :param s3_linked_service_name: Required. The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. - :type s3_linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type s3_linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param bucket_name: Required. The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). @@ -26739,11 +27692,14 @@ class RelationalSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -26756,8 +27712,9 @@ class RelationalSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -26789,14 +27746,14 @@ class RelationalTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The relational table name. Type: string (or Expression with resultType string). :type table_name: object @@ -26837,10 +27794,10 @@ class RemotePrivateEndpointConnection(msrest.serialization.Model): :ivar provisioning_state: :vartype provisioning_state: str :param private_endpoint: PrivateEndpoint of a remote private endpoint connection. - :type private_endpoint: ~data_factory_management_client.models.ArmIdWrapper + :type private_endpoint: ~azure.mgmt.datafactory.models.ArmIdWrapper :param private_link_service_connection_state: The state of a private link connection. :type private_link_service_connection_state: - ~data_factory_management_client.models.PrivateLinkConnectionState + ~azure.mgmt.datafactory.models.PrivateLinkConnectionState """ _validation = { @@ -26879,7 +27836,7 @@ class RerunTumblingWindowTrigger(Trigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param parent_trigger: Required. The parent trigger reference. @@ -26939,11 +27896,11 @@ class ResponsysLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Responsys server. @@ -26953,7 +27910,7 @@ class ResponsysLinkedService(LinkedService): :type client_id: object :param client_secret: The client secret associated with the Responsys application. Type: string (or Expression with resultType string). - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object @@ -27027,14 +27984,14 @@ class ResponsysObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -27085,12 +28042,15 @@ class ResponsysSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -27106,8 +28066,9 @@ class ResponsysSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -27139,14 +28100,14 @@ class RestResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param relative_url: The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string). :type relative_url: object @@ -27210,11 +28171,11 @@ class RestServiceLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The base URL of the REST service. @@ -27226,12 +28187,11 @@ class RestServiceLinkedService(LinkedService): :param authentication_type: Required. Type of authentication used to connect to the REST service. Possible values include: "Anonymous", "Basic", "AadServicePrincipal", "ManagedServiceIdentity". - :type authentication_type: str or - ~data_factory_management_client.models.RestServiceAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.RestServiceAuthenticationType :param user_name: The user name used in Basic authentication type. :type user_name: object :param password: The password used in Basic authentication type. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param auth_headers: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). :type auth_headers: object @@ -27240,7 +28200,7 @@ class RestServiceLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The application's key used in AadServicePrincipal authentication type. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. :type tenant: object @@ -27254,6 +28214,8 @@ class RestServiceLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -27281,6 +28243,7 @@ class RestServiceLinkedService(LinkedService): 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'aad_resource_id': {'key': 'typeProperties.aadResourceId', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -27301,6 +28264,7 @@ def __init__( self.azure_cloud_type = kwargs.get('azure_cloud_type', None) self.aad_resource_id = kwargs.get('aad_resource_id', None) self.encrypted_credential = kwargs.get('encrypted_credential', None) + self.credential = kwargs.get('credential', None) class RestSink(CopySink): @@ -27328,6 +28292,9 @@ class RestSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param request_method: The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). :type request_method: object @@ -27358,6 +28325,7 @@ class RestSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, @@ -27397,6 +28365,9 @@ class RestSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param request_method: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). :type request_method: object @@ -27417,8 +28388,8 @@ class RestSource(CopySource): :param request_interval: The time to await before sending next page request. :type request_interval: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -27431,13 +28402,14 @@ class RestSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'request_body': {'key': 'requestBody', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, 'pagination_rules': {'key': 'paginationRules', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, 'request_interval': {'key': 'requestInterval', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -27498,9 +28470,9 @@ class RunFilterParameters(msrest.serialization.Model): 'ISO 8601' format. :type last_updated_before: ~datetime.datetime :param filters: List of filters. - :type filters: list[~data_factory_management_client.models.RunQueryFilter] + :type filters: list[~azure.mgmt.datafactory.models.RunQueryFilter] :param order_by: List of OrderBy option. - :type order_by: list[~data_factory_management_client.models.RunQueryOrderBy] + :type order_by: list[~azure.mgmt.datafactory.models.RunQueryOrderBy] """ _validation = { @@ -27539,10 +28511,10 @@ class RunQueryFilter(msrest.serialization.Model): runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: "PipelineName", "Status", "RunStart", "RunEnd", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "ActivityType", "TriggerName", "TriggerRunTimestamp", "RunGroupId", "LatestOnly". - :type operand: str or ~data_factory_management_client.models.RunQueryFilterOperand + :type operand: str or ~azure.mgmt.datafactory.models.RunQueryFilterOperand :param operator: Required. Operator to be used for filter. Possible values include: "Equals", "NotEquals", "In", "NotIn". - :type operator: str or ~data_factory_management_client.models.RunQueryFilterOperator + :type operator: str or ~azure.mgmt.datafactory.models.RunQueryFilterOperator :param values: Required. List of filter values. :type values: list[str] """ @@ -27580,9 +28552,9 @@ class RunQueryOrderBy(msrest.serialization.Model): TriggerRunTimestamp and Status. Possible values include: "RunStart", "RunEnd", "PipelineName", "Status", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "TriggerName", "TriggerRunTimestamp". - :type order_by: str or ~data_factory_management_client.models.RunQueryOrderByField + :type order_by: str or ~azure.mgmt.datafactory.models.RunQueryOrderByField :param order: Required. Sorting order of the parameter. Possible values include: "ASC", "DESC". - :type order: str or ~data_factory_management_client.models.RunQueryOrder + :type order: str or ~azure.mgmt.datafactory.models.RunQueryOrder """ _validation = { @@ -27615,11 +28587,11 @@ class SalesforceLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param environment_url: The URL of Salesforce instance. Default is @@ -27631,9 +28603,9 @@ class SalesforceLinkedService(LinkedService): (or Expression with resultType string). :type username: object :param password: The password for Basic authentication of the Salesforce instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param security_token: The security token is optional to remotely access Salesforce instance. - :type security_token: ~data_factory_management_client.models.SecretBase + :type security_token: ~azure.mgmt.datafactory.models.SecretBase :param api_version: The Salesforce API version used in ADF. Type: string (or Expression with resultType string). :type api_version: object @@ -27687,11 +28659,11 @@ class SalesforceMarketingCloudLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Salesforce Marketing Cloud. It is @@ -27702,7 +28674,7 @@ class SalesforceMarketingCloudLinkedService(LinkedService): :type client_id: object :param client_secret: The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object @@ -27774,14 +28746,14 @@ class SalesforceMarketingCloudObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -27832,12 +28804,15 @@ class SalesforceMarketingCloudSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -27853,8 +28828,9 @@ class SalesforceMarketingCloudSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -27886,14 +28862,14 @@ class SalesforceObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param object_api_name: The Salesforce object API name. Type: string (or Expression with resultType string). :type object_api_name: object @@ -27937,11 +28913,11 @@ class SalesforceServiceCloudLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param environment_url: The URL of Salesforce Service Cloud instance. Default is @@ -27953,9 +28929,9 @@ class SalesforceServiceCloudLinkedService(LinkedService): (or Expression with resultType string). :type username: object :param password: The password for Basic authentication of the Salesforce instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param security_token: The security token is optional to remotely access Salesforce instance. - :type security_token: ~data_factory_management_client.models.SecretBase + :type security_token: ~azure.mgmt.datafactory.models.SecretBase :param api_version: The Salesforce API version used in ADF. Type: string (or Expression with resultType string). :type api_version: object @@ -28022,14 +28998,14 @@ class SalesforceServiceCloudObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param object_api_name: The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). :type object_api_name: object @@ -28087,9 +29063,12 @@ class SalesforceServiceCloudSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: The write behavior for the operation. Default is Insert. Possible values include: "Insert", "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.SalesforceSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.SalesforceSinkWriteBehavior :param external_id_field_name: The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). :type external_id_field_name: object @@ -28114,6 +29093,7 @@ class SalesforceServiceCloudSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'external_id_field_name': {'key': 'externalIdFieldName', 'type': 'object'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, @@ -28149,14 +29129,17 @@ class SalesforceServiceCloudSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param read_behavior: The read behavior for the operation. Default is Query. Possible values include: "Query", "QueryAll". - :type read_behavior: str or ~data_factory_management_client.models.SalesforceSourceReadBehavior + :type read_behavior: str or ~azure.mgmt.datafactory.models.SalesforceSourceReadBehavior :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -28169,9 +29152,10 @@ class SalesforceServiceCloudSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'read_behavior': {'key': 'readBehavior', 'type': 'str'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -28210,9 +29194,12 @@ class SalesforceSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: The write behavior for the operation. Default is Insert. Possible values include: "Insert", "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.SalesforceSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.SalesforceSinkWriteBehavior :param external_id_field_name: The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). :type external_id_field_name: object @@ -28237,6 +29224,7 @@ class SalesforceSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'external_id_field_name': {'key': 'externalIdFieldName', 'type': 'object'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, @@ -28272,17 +29260,20 @@ class SalesforceSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param read_behavior: The read behavior for the operation. Default is Query. Possible values include: "Query", "QueryAll". - :type read_behavior: str or ~data_factory_management_client.models.SalesforceSourceReadBehavior + :type read_behavior: str or ~azure.mgmt.datafactory.models.SalesforceSourceReadBehavior """ _validation = { @@ -28295,8 +29286,9 @@ class SalesforceSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'read_behavior': {'key': 'readBehavior', 'type': 'str'}, } @@ -28330,14 +29322,14 @@ class SapBwCubeDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder """ _validation = { @@ -28376,11 +29368,11 @@ class SapBwLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. Host name of the SAP BW instance. Type: string (or Expression with @@ -28396,7 +29388,7 @@ class SapBwLinkedService(LinkedService): resultType string). :type user_name: object :param password: Password to access the SAP BW server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -28458,12 +29450,15 @@ class SapBwSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: MDX query. Type: string (or Expression with resultType string). :type query: object """ @@ -28478,8 +29473,9 @@ class SapBwSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -28503,11 +29499,11 @@ class SapCloudForCustomerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of SAP Cloud for Customer OData API. For example, @@ -28518,7 +29514,7 @@ class SapCloudForCustomerLinkedService(LinkedService): resultType string). :type username: object :param password: The password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). @@ -28574,14 +29570,14 @@ class SapCloudForCustomerResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param path: Required. The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). :type path: object @@ -28640,10 +29636,13 @@ class SapCloudForCustomerSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: The write behavior for the operation. Default is 'Insert'. Possible values include: "Insert", "Update". :type write_behavior: str or - ~data_factory_management_client.models.SapCloudForCustomerSinkWriteBehavior + ~azure.mgmt.datafactory.models.SapCloudForCustomerSinkWriteBehavior :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: @@ -28663,6 +29662,7 @@ class SapCloudForCustomerSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -28696,12 +29696,15 @@ class SapCloudForCustomerSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -28722,8 +29725,9 @@ class SapCloudForCustomerSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -28749,11 +29753,11 @@ class SapEccLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of SAP ECC OData API. For example, @@ -28764,7 +29768,7 @@ class SapEccLinkedService(LinkedService): resultType string). :type username: str :param password: The password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). @@ -28820,14 +29824,14 @@ class SapEccResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param path: Required. The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). :type path: object @@ -28880,12 +29884,15 @@ class SapEccSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -28906,8 +29913,9 @@ class SapEccSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -28933,11 +29941,11 @@ class SapHanaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: SAP HANA ODBC connection string. Type: string, SecureString or @@ -28948,13 +29956,12 @@ class SapHanaLinkedService(LinkedService): :type server: object :param authentication_type: The authentication type to be used to connect to the SAP HANA server. Possible values include: "Basic", "Windows". - :type authentication_type: str or - ~data_factory_management_client.models.SapHanaAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.SapHanaAuthenticationType :param user_name: Username to access the SAP HANA server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to access the SAP HANA server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -29033,12 +30040,15 @@ class SapHanaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: SAP HANA Sql query. Type: string (or Expression with resultType string). :type query: object :param packet_size: The packet size of data read from SAP HANA. Type: integer(or Expression @@ -29049,7 +30059,7 @@ class SapHanaSource(TabularSource): :type partition_option: object :param partition_settings: The settings that will be leveraged for SAP HANA source partitioning. - :type partition_settings: ~data_factory_management_client.models.SapHanaPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SapHanaPartitionSettings """ _validation = { @@ -29062,8 +30072,9 @@ class SapHanaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'packet_size': {'key': 'packetSize', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, @@ -29101,14 +30112,14 @@ class SapHanaTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param schema_type_properties_schema: The schema name of SAP HANA. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object @@ -29156,11 +30167,11 @@ class SapOpenHubLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Host name of the SAP BW instance where the open hub destination is located. @@ -29185,7 +30196,7 @@ class SapOpenHubLinkedService(LinkedService): :type user_name: object :param password: Password to access the SAP BW server where the open hub destination is located. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param message_server: The hostname of the SAP Message Server. Type: string (or Expression with resultType string). :type message_server: object @@ -29263,12 +30274,15 @@ class SapOpenHubSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param exclude_last_request: Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). :type exclude_last_request: object @@ -29295,8 +30309,9 @@ class SapOpenHubSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'exclude_last_request': {'key': 'excludeLastRequest', 'type': 'object'}, 'base_request_id': {'key': 'baseRequestId', 'type': 'object'}, 'custom_rfc_read_table_function_module': {'key': 'customRfcReadTableFunctionModule', 'type': 'object'}, @@ -29334,14 +30349,14 @@ class SapOpenHubTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param open_hub_destination_name: Required. The name of the Open Hub Destination with destination type as Database Table. Type: string (or Expression with resultType string). :type open_hub_destination_name: object @@ -29397,11 +30412,11 @@ class SapTableLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Host name of the SAP instance where the table is located. Type: string (or @@ -29425,7 +30440,7 @@ class SapTableLinkedService(LinkedService): (or Expression with resultType string). :type user_name: object :param password: Password to access the SAP server where the table is located. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param message_server: The hostname of the SAP Message Server. Type: string (or Expression with resultType string). :type message_server: object @@ -29565,14 +30580,14 @@ class SapTableResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: Required. The name of the SAP Table. Type: string (or Expression with resultType string). :type table_name: object @@ -29625,12 +30640,15 @@ class SapTableSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param row_count: The number of rows to be retrieved. Type: integer(or Expression with resultType integer). :type row_count: object @@ -29659,7 +30677,7 @@ class SapTableSource(TabularSource): :type partition_option: object :param partition_settings: The settings that will be leveraged for SAP table source partitioning. - :type partition_settings: ~data_factory_management_client.models.SapTablePartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SapTablePartitionSettings """ _validation = { @@ -29672,8 +30690,9 @@ class SapTableSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'row_count': {'key': 'rowCount', 'type': 'object'}, 'row_skips': {'key': 'rowSkips', 'type': 'object'}, 'rfc_table_fields': {'key': 'rfcTableFields', 'type': 'object'}, @@ -29718,13 +30737,13 @@ class ScheduleTrigger(MultiplePipelineTrigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] :param recurrence: Required. Recurrence schedule configuration. - :type recurrence: ~data_factory_management_client.models.ScheduleTriggerRecurrence + :type recurrence: ~azure.mgmt.datafactory.models.ScheduleTriggerRecurrence """ _validation = { @@ -29760,7 +30779,7 @@ class ScheduleTriggerRecurrence(msrest.serialization.Model): :type additional_properties: dict[str, object] :param frequency: The frequency. Possible values include: "NotSpecified", "Minute", "Hour", "Day", "Week", "Month", "Year". - :type frequency: str or ~data_factory_management_client.models.RecurrenceFrequency + :type frequency: str or ~azure.mgmt.datafactory.models.RecurrenceFrequency :param interval: The interval. :type interval: int :param start_time: The start time. @@ -29770,7 +30789,7 @@ class ScheduleTriggerRecurrence(msrest.serialization.Model): :param time_zone: The time zone. :type time_zone: str :param schedule: The recurrence schedule. - :type schedule: ~data_factory_management_client.models.RecurrenceSchedule + :type schedule: ~azure.mgmt.datafactory.models.RecurrenceSchedule """ _attribute_map = { @@ -29806,9 +30825,8 @@ class ScriptAction(msrest.serialization.Model): :type name: str :param uri: Required. The URI for the script action. :type uri: str - :param roles: Required. The node types on which the script action should be executed. Possible - values include: "Headnode", "Workernode", "Zookeeper". - :type roles: str or ~data_factory_management_client.models.HdiNodeTypes + :param roles: Required. The node types on which the script action should be executed. + :type roles: str :param parameters: The parameters for the script action. :type parameters: str """ @@ -29914,11 +30932,11 @@ class SelfHostedIntegrationRuntime(IntegrationRuntime): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str :param linked_info: The base definition of a linked integration runtime. - :type linked_info: ~data_factory_management_client.models.LinkedIntegrationRuntimeType + :type linked_info: ~azure.mgmt.datafactory.models.LinkedIntegrationRuntimeType """ _validation = { @@ -29958,8 +30976,7 @@ class SelfHostedIntegrationRuntimeNode(msrest.serialization.Model): :ivar status: Status of the integration runtime node. Possible values include: "NeedRegistration", "Online", "Limited", "Offline", "Upgrading", "Initializing", "InitializeFailed". - :vartype status: str or - ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNodeStatus + :vartype status: str or ~azure.mgmt.datafactory.models.SelfHostedIntegrationRuntimeNodeStatus :ivar capabilities: The integration runtime capabilities dictionary. :vartype capabilities: dict[str, str] :ivar version_status: Status of the integration runtime node version. @@ -29981,7 +30998,7 @@ class SelfHostedIntegrationRuntimeNode(msrest.serialization.Model): :ivar last_update_result: The result of the last integration runtime node update. Possible values include: "None", "Succeed", "Fail". :vartype last_update_result: str or - ~data_factory_management_client.models.IntegrationRuntimeUpdateResult + ~azure.mgmt.datafactory.models.IntegrationRuntimeUpdateResult :ivar last_start_update_time: The last time for the integration runtime node update start. :vartype last_start_update_time: ~datetime.datetime :ivar last_end_update_time: The last time for the integration runtime node update end. @@ -30076,13 +31093,13 @@ class SelfHostedIntegrationRuntimeStatus(IntegrationRuntimeStatus): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :ivar data_factory_name: The data factory name which the integration runtime belong to. :vartype data_factory_name: str :ivar state: The state of integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". - :vartype state: str or ~data_factory_management_client.models.IntegrationRuntimeState + :vartype state: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeState :ivar create_time: The time at which the integration runtime was created, in ISO8601 format. :vartype create_time: ~datetime.datetime :ivar task_queue_id: The task queue id of the integration runtime. @@ -30091,11 +31108,11 @@ class SelfHostedIntegrationRuntimeStatus(IntegrationRuntimeStatus): communication channel (when more than 2 self-hosted integration runtime nodes exist). Possible values include: "NotSet", "SslEncrypted", "NotEncrypted". :vartype internal_channel_encryption: str or - ~data_factory_management_client.models.IntegrationRuntimeInternalChannelEncryptionMode + ~azure.mgmt.datafactory.models.IntegrationRuntimeInternalChannelEncryptionMode :ivar version: Version of the integration runtime. :vartype version: str :param nodes: The list of nodes for this integration runtime. - :type nodes: list[~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode] + :type nodes: list[~azure.mgmt.datafactory.models.SelfHostedIntegrationRuntimeNode] :ivar scheduled_update_date: The date at which the integration runtime will be scheduled to update, in ISO8601 format. :vartype scheduled_update_date: ~datetime.datetime @@ -30110,13 +31127,12 @@ class SelfHostedIntegrationRuntimeStatus(IntegrationRuntimeStatus): :vartype service_urls: list[str] :ivar auto_update: Whether Self-hosted integration runtime auto update has been turned on. Possible values include: "On", "Off". - :vartype auto_update: str or - ~data_factory_management_client.models.IntegrationRuntimeAutoUpdate + :vartype auto_update: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeAutoUpdate :ivar version_status: Status of the integration runtime version. :vartype version_status: str :param links: The list of linked integration runtimes that are created to share with this integration runtime. - :type links: list[~data_factory_management_client.models.LinkedIntegrationRuntime] + :type links: list[~azure.mgmt.datafactory.models.LinkedIntegrationRuntime] :ivar pushed_version: The version that the integration runtime is going to update to. :vartype pushed_version: str :ivar latest_version: The latest version on download center. @@ -30204,11 +31220,11 @@ class ServiceNowLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the ServiceNow server. (i.e. @@ -30216,18 +31232,17 @@ class ServiceNowLinkedService(LinkedService): :type endpoint: object :param authentication_type: Required. The authentication type to use. Possible values include: "Basic", "OAuth2". - :type authentication_type: str or - ~data_factory_management_client.models.ServiceNowAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.ServiceNowAuthenticationType :param username: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. :type username: object :param password: The password corresponding to the user name for Basic and OAuth2 authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param client_id: The client id for OAuth2 authentication. :type client_id: object :param client_secret: The client secret for OAuth2 authentication. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -30306,14 +31321,14 @@ class ServiceNowObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -30364,12 +31379,15 @@ class ServiceNowSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -30385,8 +31403,9 @@ class ServiceNowSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -30399,6 +31418,53 @@ def __init__( self.query = kwargs.get('query', None) +class ServicePrincipalCredential(Credential): + """Service principal credential. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Type of credential.Constant filled by server. + :type type: str + :param description: Credential description. + :type description: str + :param annotations: List of tags that can be used for describing the Credential. + :type annotations: list[object] + :param service_principal_id: The app ID of the service principal used to authenticate. + :type service_principal_id: object + :param service_principal_key: The key of the service principal used to authenticate. + :type service_principal_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference + :param tenant: The ID of the tenant to which the service principal belongs. + :type tenant: object + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'annotations': {'key': 'annotations', 'type': '[object]'}, + 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, + 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'AzureKeyVaultSecretReference'}, + 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ServicePrincipalCredential, self).__init__(**kwargs) + self.type = 'ServicePrincipal' # type: str + self.service_principal_id = kwargs.get('service_principal_id', None) + self.service_principal_key = kwargs.get('service_principal_key', None) + self.tenant = kwargs.get('tenant', None) + + class SetVariableActivity(Activity): """Set value for a Variable. @@ -30414,9 +31480,9 @@ class SetVariableActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param variable_name: Name of the variable whose value needs to be set. :type variable_name: str :param value: Value to be set. Could be a static value or Expression. @@ -30499,6 +31565,9 @@ class SftpReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -30536,6 +31605,7 @@ class SftpReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -30575,11 +31645,11 @@ class SftpServerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The SFTP server host name. Type: string (or Expression with resultType @@ -30590,12 +31660,12 @@ class SftpServerLinkedService(LinkedService): :type port: object :param authentication_type: The authentication type to be used to connect to the FTP server. Possible values include: "Basic", "SshPublicKey", "MultiFactor". - :type authentication_type: str or ~data_factory_management_client.models.SftpAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.SftpAuthenticationType :param user_name: The username used to log on to the SFTP server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to logon the SFTP server for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -30608,10 +31678,10 @@ class SftpServerLinkedService(LinkedService): :param private_key_content: Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. - :type private_key_content: ~data_factory_management_client.models.SecretBase + :type private_key_content: ~azure.mgmt.datafactory.models.SecretBase :param pass_phrase: The password to decrypt the SSH private key if the SSH private key is encrypted. - :type pass_phrase: ~data_factory_management_client.models.SecretBase + :type pass_phrase: ~azure.mgmt.datafactory.models.SecretBase :param skip_host_key_validation: If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). :type skip_host_key_validation: object @@ -30678,6 +31748,9 @@ class SftpWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param operation_timeout: Specifies the timeout for writing each chunk to SFTP server. Default @@ -30697,6 +31770,7 @@ class SftpWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'operation_timeout': {'key': 'operationTimeout', 'type': 'object'}, 'use_temp_file_rename': {'key': 'useTempFileRename', 'type': 'object'}, @@ -30723,11 +31797,11 @@ class SharePointOnlineListLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param site_url: Required. The URL of the SharePoint Online site. For example, @@ -30744,7 +31818,7 @@ class SharePointOnlineListLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: Required. The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -30805,14 +31879,14 @@ class SharePointOnlineListResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param list_name: The name of the SharePoint Online list. Type: string (or Expression with resultType string). :type list_name: object @@ -30864,6 +31938,9 @@ class SharePointOnlineListSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -30883,6 +31960,7 @@ class SharePointOnlineListSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -30908,18 +31986,18 @@ class ShopifyLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The endpoint of the Shopify server. (i.e. mystore.myshopify.com). :type host: object :param access_token: The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -30989,14 +32067,14 @@ class ShopifyObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -31047,12 +32125,15 @@ class ShopifySource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -31068,8 +32149,9 @@ class ShopifySource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -31126,14 +32208,14 @@ class SnowflakeDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param schema_type_properties_schema: The schema name of the Snowflake database. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object @@ -31268,18 +32350,18 @@ class SnowflakeLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string of snowflake. Type: string, SecureString. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -31339,11 +32421,14 @@ class SnowflakeSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param import_settings: Snowflake import settings. - :type import_settings: ~data_factory_management_client.models.SnowflakeImportCopyCommand + :type import_settings: ~azure.mgmt.datafactory.models.SnowflakeImportCopyCommand """ _validation = { @@ -31358,6 +32443,7 @@ class SnowflakeSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'import_settings': {'key': 'importSettings', 'type': 'SnowflakeImportCopyCommand'}, } @@ -31391,10 +32477,13 @@ class SnowflakeSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Snowflake Sql query. Type: string (or Expression with resultType string). :type query: object :param export_settings: Snowflake export settings. - :type export_settings: ~data_factory_management_client.models.SnowflakeExportCopyCommand + :type export_settings: ~azure.mgmt.datafactory.models.SnowflakeExportCopyCommand """ _validation = { @@ -31407,6 +32496,7 @@ class SnowflakeSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'export_settings': {'key': 'exportSettings', 'type': 'SnowflakeExportCopyCommand'}, } @@ -31432,11 +32522,11 @@ class SparkLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. IP address or host name of the Spark server. @@ -31446,21 +32536,20 @@ class SparkLinkedService(LinkedService): :type port: object :param server_type: The type of Spark server. Possible values include: "SharkServer", "SharkServer2", "SparkThriftServer". - :type server_type: str or ~data_factory_management_client.models.SparkServerType + :type server_type: str or ~azure.mgmt.datafactory.models.SparkServerType :param thrift_transport_protocol: The transport protocol to use in the Thrift layer. Possible values include: "Binary", "SASL", "HTTP ". :type thrift_transport_protocol: str or - ~data_factory_management_client.models.SparkThriftTransportProtocol + ~azure.mgmt.datafactory.models.SparkThriftTransportProtocol :param authentication_type: Required. The authentication method used to access the Spark server. Possible values include: "Anonymous", "Username", "UsernameAndPassword", "WindowsAzureHDInsightService". - :type authentication_type: str or - ~data_factory_management_client.models.SparkAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.SparkAuthenticationType :param username: The user name that you use to access Spark Server. :type username: object :param password: The password corresponding to the user name that you provided in the Username field. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param http_path: The partial URL corresponding to the Spark server. :type http_path: object :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The @@ -31556,14 +32645,14 @@ class SparkObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -31624,12 +32713,15 @@ class SparkSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -31645,8 +32737,9 @@ class SparkSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -31668,13 +32761,13 @@ class SqlAlwaysEncryptedProperties(msrest.serialization.Model): Type: string (or Expression with resultType string). Possible values include: "ServicePrincipal", "ManagedIdentity". :type always_encrypted_akv_auth_type: str or - ~data_factory_management_client.models.SqlAlwaysEncryptedAkvAuthType + ~azure.mgmt.datafactory.models.SqlAlwaysEncryptedAkvAuthType :param service_principal_id: The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure Key Vault. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -31722,6 +32815,9 @@ class SqlDwSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -31729,16 +32825,24 @@ class SqlDwSink(CopySink): applicable. Type: boolean (or Expression with resultType boolean). :type allow_poly_base: object :param poly_base_settings: Specifies PolyBase-related settings when allowPolyBase is true. - :type poly_base_settings: ~data_factory_management_client.models.PolybaseSettings + :type poly_base_settings: ~azure.mgmt.datafactory.models.PolybaseSettings :param allow_copy_command: Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean). :type allow_copy_command: object :param copy_command_settings: Specifies Copy Command related settings when allowCopyCommand is true. - :type copy_command_settings: ~data_factory_management_client.models.DwCopyCommandSettings + :type copy_command_settings: ~azure.mgmt.datafactory.models.DwCopyCommandSettings :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: Write behavior when copying data into azure SQL DW. Type: + SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL DW upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlDwUpsertSettings """ _validation = { @@ -31753,12 +32857,16 @@ class SqlDwSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'allow_poly_base': {'key': 'allowPolyBase', 'type': 'object'}, 'poly_base_settings': {'key': 'polyBaseSettings', 'type': 'PolybaseSettings'}, 'allow_copy_command': {'key': 'allowCopyCommand', 'type': 'object'}, 'copy_command_settings': {'key': 'copyCommandSettings', 'type': 'DwCopyCommandSettings'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlDwUpsertSettings'}, } def __init__( @@ -31773,6 +32881,9 @@ def __init__( self.allow_copy_command = kwargs.get('allow_copy_command', None) self.copy_command_settings = kwargs.get('copy_command_settings', None) self.table_option = kwargs.get('table_option', None) + self.sql_writer_use_table_lock = kwargs.get('sql_writer_use_table_lock', None) + self.write_behavior = kwargs.get('write_behavior', None) + self.upsert_settings = kwargs.get('upsert_settings', None) class SqlDwSource(TabularSource): @@ -31794,12 +32905,15 @@ class SqlDwSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL Data Warehouse reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -31815,7 +32929,7 @@ class SqlDwSource(TabularSource): Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -31828,8 +32942,9 @@ class SqlDwSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': 'object'}, @@ -31850,6 +32965,31 @@ def __init__( self.partition_settings = kwargs.get('partition_settings', None) +class SqlDwUpsertSettings(msrest.serialization.Model): + """Sql DW upsert option settings. + + :param interim_schema_name: Schema name for interim table. Type: string (or Expression with + resultType string). + :type interim_schema_name: object + :param keys: Key column names for unique row identification. Type: array of strings (or + Expression with resultType array of strings). + :type keys: object + """ + + _attribute_map = { + 'interim_schema_name': {'key': 'interimSchemaName', 'type': 'object'}, + 'keys': {'key': 'keys', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(SqlDwUpsertSettings, self).__init__(**kwargs) + self.interim_schema_name = kwargs.get('interim_schema_name', None) + self.keys = kwargs.get('keys', None) + + class SqlMiSink(CopySink): """A copy activity Azure SQL Managed Instance sink. @@ -31875,6 +33015,9 @@ class SqlMiSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object @@ -31886,13 +33029,21 @@ class SqlMiSink(CopySink): :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: White behavior when copying data into azure SQL MI. Type: + SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlUpsertSettings """ _validation = { @@ -31907,12 +33058,16 @@ class SqlMiSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlUpsertSettings'}, } def __init__( @@ -31927,6 +33082,9 @@ def __init__( self.stored_procedure_parameters = kwargs.get('stored_procedure_parameters', None) self.stored_procedure_table_type_parameter_name = kwargs.get('stored_procedure_table_type_parameter_name', None) self.table_option = kwargs.get('table_option', None) + self.sql_writer_use_table_lock = kwargs.get('sql_writer_use_table_lock', None) + self.write_behavior = kwargs.get('write_behavior', None) + self.upsert_settings = kwargs.get('upsert_settings', None) class SqlMiSource(TabularSource): @@ -31948,12 +33106,15 @@ class SqlMiSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a Azure SQL Managed @@ -31963,14 +33124,14 @@ class SqlMiSource(TabularSource): :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -31983,8 +33144,9 @@ class SqlMiSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -32053,11 +33215,11 @@ class SqlServerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or @@ -32067,14 +33229,13 @@ class SqlServerLinkedService(LinkedService): with resultType string). :type user_name: object :param password: The on-premises Windows authentication password. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object :param always_encrypted_settings: Sql always encrypted properties. - :type always_encrypted_settings: - ~data_factory_management_client.models.SqlAlwaysEncryptedProperties + :type always_encrypted_settings: ~azure.mgmt.datafactory.models.SqlAlwaysEncryptedProperties """ _validation = { @@ -32134,6 +33295,9 @@ class SqlServerSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object @@ -32145,13 +33309,21 @@ class SqlServerSink(CopySink): :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: Write behavior when copying data into sql server. Type: + SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlUpsertSettings """ _validation = { @@ -32166,12 +33338,16 @@ class SqlServerSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlUpsertSettings'}, } def __init__( @@ -32186,6 +33362,9 @@ def __init__( self.stored_procedure_parameters = kwargs.get('stored_procedure_parameters', None) self.stored_procedure_table_type_parameter_name = kwargs.get('stored_procedure_table_type_parameter_name', None) self.table_option = kwargs.get('table_option', None) + self.sql_writer_use_table_lock = kwargs.get('sql_writer_use_table_lock', None) + self.write_behavior = kwargs.get('write_behavior', None) + self.upsert_settings = kwargs.get('upsert_settings', None) class SqlServerSource(TabularSource): @@ -32207,12 +33386,15 @@ class SqlServerSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database @@ -32222,14 +33404,14 @@ class SqlServerSource(TabularSource): :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -32242,8 +33424,9 @@ class SqlServerSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -32281,20 +33464,20 @@ class SqlServerStoredProcedureActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param stored_procedure_name: Required. Stored procedure name. Type: string (or Expression with resultType string). :type stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] """ _validation = { @@ -32345,14 +33528,14 @@ class SqlServerTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -32420,6 +33603,9 @@ class SqlSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object @@ -32431,13 +33617,21 @@ class SqlSink(CopySink): :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum + (or Expression with resultType SqlWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlUpsertSettings """ _validation = { @@ -32452,12 +33646,16 @@ class SqlSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlUpsertSettings'}, } def __init__( @@ -32472,6 +33670,9 @@ def __init__( self.stored_procedure_parameters = kwargs.get('stored_procedure_parameters', None) self.stored_procedure_table_type_parameter_name = kwargs.get('stored_procedure_table_type_parameter_name', None) self.table_option = kwargs.get('table_option', None) + self.sql_writer_use_table_lock = kwargs.get('sql_writer_use_table_lock', None) + self.write_behavior = kwargs.get('write_behavior', None) + self.upsert_settings = kwargs.get('upsert_settings', None) class SqlSource(TabularSource): @@ -32493,12 +33694,15 @@ class SqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database @@ -32508,7 +33712,7 @@ class SqlSource(TabularSource): :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param isolation_level: Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). @@ -32517,7 +33721,7 @@ class SqlSource(TabularSource): Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -32530,8 +33734,9 @@ class SqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -32554,6 +33759,36 @@ def __init__( self.partition_settings = kwargs.get('partition_settings', None) +class SqlUpsertSettings(msrest.serialization.Model): + """Sql upsert option settings. + + :param use_temp_db: Specifies whether to use temp db for upsert interim table. Type: boolean + (or Expression with resultType boolean). + :type use_temp_db: object + :param interim_schema_name: Schema name for interim table. Type: string (or Expression with + resultType string). + :type interim_schema_name: object + :param keys: Key column names for unique row identification. Type: array of strings (or + Expression with resultType array of strings). + :type keys: object + """ + + _attribute_map = { + 'use_temp_db': {'key': 'useTempDB', 'type': 'object'}, + 'interim_schema_name': {'key': 'interimSchemaName', 'type': 'object'}, + 'keys': {'key': 'keys', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(SqlUpsertSettings, self).__init__(**kwargs) + self.use_temp_db = kwargs.get('use_temp_db', None) + self.interim_schema_name = kwargs.get('interim_schema_name', None) + self.keys = kwargs.get('keys', None) + + class SquareLinkedService(LinkedService): """Square Service linked service. @@ -32565,11 +33800,11 @@ class SquareLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Square. It is mutually exclusive @@ -32580,7 +33815,7 @@ class SquareLinkedService(LinkedService): :param client_id: The client ID associated with your Square application. :type client_id: object :param client_secret: The client secret associated with your Square application. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param redirect_uri: The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500). :type redirect_uri: object @@ -32658,14 +33893,14 @@ class SquareObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -32716,12 +33951,15 @@ class SquareSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -32737,8 +33975,9 @@ class SquareSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -32761,7 +34000,7 @@ class SsisAccessCredential(msrest.serialization.Model): :param user_name: Required. UseName for windows authentication. :type user_name: object :param password: Required. Password for windows authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -32836,7 +34075,7 @@ class SsisObjectMetadata(msrest.serialization.Model): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -32878,7 +34117,7 @@ class SsisEnvironment(SsisObjectMetadata): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -32888,7 +34127,7 @@ class SsisEnvironment(SsisObjectMetadata): :param folder_id: Folder id which contains environment. :type folder_id: long :param variables: Variable in environment. - :type variables: list[~data_factory_management_client.models.SsisVariable] + :type variables: list[~azure.mgmt.datafactory.models.SsisVariable] """ _validation = { @@ -32955,7 +34194,7 @@ class SsisExecutionCredential(msrest.serialization.Model): :param user_name: Required. UseName for windows authentication. :type user_name: object :param password: Required. Password for windows authentication. - :type password: ~data_factory_management_client.models.SecureString + :type password: ~azure.mgmt.datafactory.models.SecureString """ _validation = { @@ -33013,7 +34252,7 @@ class SsisFolder(SsisObjectMetadata): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -33050,9 +34289,9 @@ class SsisLogLocation(msrest.serialization.Model): with resultType string). :type log_path: object :param type: Required. The type of SSIS log location. Possible values include: "File". - :type type: str or ~data_factory_management_client.models.SsisLogLocationType + :type type: str or ~azure.mgmt.datafactory.models.SsisLogLocationType :param access_credential: The package execution log access credential. - :type access_credential: ~data_factory_management_client.models.SsisAccessCredential + :type access_credential: ~azure.mgmt.datafactory.models.SsisAccessCredential :param log_refresh_interval: Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). @@ -33086,7 +34325,7 @@ class SsisObjectMetadataListResponse(msrest.serialization.Model): """A list of SSIS object metadata. :param value: List of SSIS object metadata. - :type value: list[~data_factory_management_client.models.SsisObjectMetadata] + :type value: list[~azure.mgmt.datafactory.models.SsisObjectMetadata] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -33143,7 +34382,7 @@ class SsisPackage(SsisObjectMetadata): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -33157,7 +34396,7 @@ class SsisPackage(SsisObjectMetadata): :param project_id: Project id which contains package. :type project_id: long :param parameters: Parameters in package. - :type parameters: list[~data_factory_management_client.models.SsisParameter] + :type parameters: list[~azure.mgmt.datafactory.models.SsisParameter] """ _validation = { @@ -33195,17 +34434,16 @@ class SsisPackageLocation(msrest.serialization.Model): :type package_path: object :param type: The type of SSIS package location. Possible values include: "SSISDB", "File", "InlinePackage", "PackageStore". - :type type: str or ~data_factory_management_client.models.SsisPackageLocationType + :type type: str or ~azure.mgmt.datafactory.models.SsisPackageLocationType :param package_password: Password of the package. - :type package_password: ~data_factory_management_client.models.SecretBase + :type package_password: ~azure.mgmt.datafactory.models.SecretBase :param access_credential: The package access credential. - :type access_credential: ~data_factory_management_client.models.SsisAccessCredential + :type access_credential: ~azure.mgmt.datafactory.models.SsisAccessCredential :param configuration_path: The configuration file of the package execution. Type: string (or Expression with resultType string). :type configuration_path: object :param configuration_access_credential: The configuration file access credential. - :type configuration_access_credential: - ~data_factory_management_client.models.SsisAccessCredential + :type configuration_access_credential: ~azure.mgmt.datafactory.models.SsisAccessCredential :param package_name: The package name. :type package_name: str :param package_content: The embedded package content. Type: string (or Expression with @@ -33214,7 +34452,7 @@ class SsisPackageLocation(msrest.serialization.Model): :param package_last_modified_date: The embedded package last modified date. :type package_last_modified_date: str :param child_packages: The embedded child package list. - :type child_packages: list[~data_factory_management_client.models.SsisChildPackage] + :type child_packages: list[~azure.mgmt.datafactory.models.SsisChildPackage] """ _attribute_map = { @@ -33317,7 +34555,7 @@ class SsisProject(SsisObjectMetadata): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -33329,9 +34567,9 @@ class SsisProject(SsisObjectMetadata): :param version: Project version. :type version: long :param environment_refs: Environment reference in project. - :type environment_refs: list[~data_factory_management_client.models.SsisEnvironmentReference] + :type environment_refs: list[~azure.mgmt.datafactory.models.SsisEnvironmentReference] :param parameters: Parameters in project. - :type parameters: list[~data_factory_management_client.models.SsisParameter] + :type parameters: list[~azure.mgmt.datafactory.models.SsisParameter] """ _validation = { @@ -33444,7 +34682,7 @@ class StagingSettings(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param linked_service_name: Required. Staging linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param path: The path to storage for storing the interim data. Type: string (or Expression with resultType string). :type path: object @@ -33483,7 +34721,7 @@ class StoredProcedureParameter(msrest.serialization.Model): :type value: object :param type: Stored procedure parameter type. Possible values include: "String", "Int", "Int64", "Decimal", "Guid", "Boolean", "Date". - :type type: str or ~data_factory_management_client.models.StoredProcedureParameterType + :type type: str or ~azure.mgmt.datafactory.models.StoredProcedureParameterType """ _attribute_map = { @@ -33515,19 +34753,19 @@ class SwitchActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param on: Required. An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. - :type on: ~data_factory_management_client.models.Expression + :type on: ~azure.mgmt.datafactory.models.Expression :param cases: List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. - :type cases: list[~data_factory_management_client.models.SwitchCase] + :type cases: list[~azure.mgmt.datafactory.models.SwitchCase] :param default_activities: List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. - :type default_activities: list[~data_factory_management_client.models.Activity] + :type default_activities: list[~azure.mgmt.datafactory.models.Activity] """ _validation = { @@ -33565,7 +34803,7 @@ class SwitchCase(msrest.serialization.Model): :param value: Expected value that satisfies the expression result of the 'on' property. :type value: str :param activities: List of activities to execute for satisfied case condition. - :type activities: list[~data_factory_management_client.models.Activity] + :type activities: list[~azure.mgmt.datafactory.models.Activity] """ _attribute_map = { @@ -33593,11 +34831,11 @@ class SybaseLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. Server name for connection. Type: string (or Expression with @@ -33610,13 +34848,12 @@ class SybaseLinkedService(LinkedService): :type schema: object :param authentication_type: AuthenticationType to be used for connection. Possible values include: "Basic", "Windows". - :type authentication_type: str or - ~data_factory_management_client.models.SybaseAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.SybaseAuthenticationType :param username: Username for authentication. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -33679,12 +34916,15 @@ class SybaseSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -33699,8 +34939,9 @@ class SybaseSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -33732,14 +34973,14 @@ class SybaseTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The Sybase table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -33806,7 +35047,7 @@ class TabularTranslator(CopyTranslator): activity. Type: boolean (or Expression with resultType boolean). :type type_conversion: object :param type_conversion_settings: Type conversion settings. - :type type_conversion_settings: ~data_factory_management_client.models.TypeConversionSettings + :type type_conversion_settings: ~azure.mgmt.datafactory.models.TypeConversionSettings """ _validation = { @@ -33919,11 +35160,11 @@ class TeradataLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Teradata ODBC connection string. Type: string, SecureString or @@ -33933,13 +35174,12 @@ class TeradataLinkedService(LinkedService): :type server: object :param authentication_type: AuthenticationType to be used for connection. Possible values include: "Basic", "Windows". - :type authentication_type: str or - ~data_factory_management_client.models.TeradataAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.TeradataAuthenticationType :param username: Username for authentication. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -34030,12 +35270,15 @@ class TeradataSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Teradata query. Type: string (or Expression with resultType string). :type query: object :param partition_option: The partition mechanism that will be used for teradata read in @@ -34043,7 +35286,7 @@ class TeradataSource(TabularSource): :type partition_option: object :param partition_settings: The settings that will be leveraged for teradata source partitioning. - :type partition_settings: ~data_factory_management_client.models.TeradataPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.TeradataPartitionSettings """ _validation = { @@ -34056,8 +35299,9 @@ class TeradataSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'TeradataPartitionSettings'}, @@ -34093,14 +35337,14 @@ class TeradataTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param database: The database name of Teradata. Type: string (or Expression with resultType string). :type database: object @@ -34228,7 +35472,7 @@ class TriggerDependencyReference(DependencyReference): :param type: Required. The type of dependency reference.Constant filled by server. :type type: str :param reference_trigger: Required. Referenced trigger. - :type reference_trigger: ~data_factory_management_client.models.TriggerReference + :type reference_trigger: ~azure.mgmt.datafactory.models.TriggerReference """ _validation = { @@ -34285,7 +35529,7 @@ class TriggerListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of triggers. - :type value: list[~data_factory_management_client.models.TriggerResource] + :type value: list[~azure.mgmt.datafactory.models.TriggerResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -34312,7 +35556,7 @@ class TriggerPipelineReference(msrest.serialization.Model): """Pipeline that needs to be triggered with the given parameters. :param pipeline_reference: Pipeline reference. - :type pipeline_reference: ~data_factory_management_client.models.PipelineReference + :type pipeline_reference: ~azure.mgmt.datafactory.models.PipelineReference :param parameters: Pipeline parameters. :type parameters: dict[str, object] """ @@ -34337,7 +35581,7 @@ class TriggerQueryResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of triggers. - :type value: list[~data_factory_management_client.models.TriggerResource] + :type value: list[~azure.mgmt.datafactory.models.TriggerResource] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str @@ -34410,7 +35654,7 @@ class TriggerResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Properties of the trigger. - :type properties: ~data_factory_management_client.models.Trigger + :type properties: ~azure.mgmt.datafactory.models.Trigger """ _validation = { @@ -34454,7 +35698,7 @@ class TriggerRun(msrest.serialization.Model): :ivar trigger_run_timestamp: Trigger run start time. :vartype trigger_run_timestamp: ~datetime.datetime :ivar status: Trigger run status. Possible values include: "Succeeded", "Failed", "Inprogress". - :vartype status: str or ~data_factory_management_client.models.TriggerRunStatus + :vartype status: str or ~azure.mgmt.datafactory.models.TriggerRunStatus :ivar message: Trigger error message. :vartype message: str :ivar properties: List of property name and value related to trigger run. Name, value pair @@ -34519,7 +35763,7 @@ class TriggerRunsQueryResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of trigger runs. - :type value: list[~data_factory_management_client.models.TriggerRun] + :type value: list[~azure.mgmt.datafactory.models.TriggerRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str @@ -34552,7 +35796,7 @@ class TriggerSubscriptionOperationStatus(msrest.serialization.Model): :vartype trigger_name: str :ivar status: Event Subscription Status. Possible values include: "Enabled", "Provisioning", "Deprovisioning", "Disabled", "Unknown". - :vartype status: str or ~data_factory_management_client.models.EventSubscriptionStatus + :vartype status: str or ~azure.mgmt.datafactory.models.EventSubscriptionStatus """ _validation = { @@ -34590,15 +35834,15 @@ class TumblingWindowTrigger(Trigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipeline: Required. Pipeline for which runs are created when an event is fired for trigger window that is ready. - :type pipeline: ~data_factory_management_client.models.TriggerPipelineReference + :type pipeline: ~azure.mgmt.datafactory.models.TriggerPipelineReference :param frequency: Required. The frequency of the time windows. Possible values include: "Minute", "Hour", "Month". - :type frequency: str or ~data_factory_management_client.models.TumblingWindowFrequency + :type frequency: str or ~azure.mgmt.datafactory.models.TumblingWindowFrequency :param interval: Required. The interval of the time windows. The minimum interval allowed is 15 Minutes. :type interval: int @@ -34616,10 +35860,10 @@ class TumblingWindowTrigger(Trigger): for which a new run is triggered. :type max_concurrency: int :param retry_policy: Retry policy that will be applied for failed pipeline runs. - :type retry_policy: ~data_factory_management_client.models.RetryPolicy + :type retry_policy: ~azure.mgmt.datafactory.models.RetryPolicy :param depends_on: Triggers that this trigger depends on. Only tumbling window triggers are supported. - :type depends_on: list[~data_factory_management_client.models.DependencyReference] + :type depends_on: list[~azure.mgmt.datafactory.models.DependencyReference] """ _validation = { @@ -34674,7 +35918,7 @@ class TumblingWindowTriggerDependencyReference(TriggerDependencyReference): :param type: Required. The type of dependency reference.Constant filled by server. :type type: str :param reference_trigger: Required. Referenced trigger. - :type reference_trigger: ~data_factory_management_client.models.TriggerReference + :type reference_trigger: ~azure.mgmt.datafactory.models.TriggerReference :param offset: Timespan applied to the start time of a tumbling window when evaluating dependency. :type offset: str @@ -34767,12 +36011,12 @@ class UntilActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param expression: Required. An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true. - :type expression: ~data_factory_management_client.models.Expression + :type expression: ~azure.mgmt.datafactory.models.Expression :param timeout: Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: @@ -34780,7 +36024,7 @@ class UntilActivity(Activity): resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type timeout: object :param activities: Required. List of activities to execute. - :type activities: list[~data_factory_management_client.models.Activity] + :type activities: list[~azure.mgmt.datafactory.models.Activity] """ _validation = { @@ -34843,7 +36087,7 @@ class UpdateIntegrationRuntimeRequest(msrest.serialization.Model): :param auto_update: Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189. Possible values include: "On", "Off". - :type auto_update: str or ~data_factory_management_client.models.IntegrationRuntimeAutoUpdate + :type auto_update: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeAutoUpdate :param update_delay_offset: The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time. :type update_delay_offset: str @@ -34948,9 +36192,9 @@ class ValidationActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param timeout: Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: @@ -34967,7 +36211,7 @@ class ValidationActivity(Activity): with resultType boolean). :type child_items: object :param dataset: Required. Validation activity dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference """ _validation = { @@ -35009,7 +36253,7 @@ class VariableSpecification(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param type: Required. Variable type. Possible values include: "String", "Bool", "Array". - :type type: str or ~data_factory_management_client.models.VariableType + :type type: str or ~azure.mgmt.datafactory.models.VariableType :param default_value: Default value of variable. :type default_value: object """ @@ -35043,18 +36287,18 @@ class VerticaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -35107,12 +36351,15 @@ class VerticaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -35128,8 +36375,9 @@ class VerticaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -35161,14 +36409,14 @@ class VerticaTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -35226,9 +36474,9 @@ class WaitActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param wait_time_in_seconds: Required. Duration in seconds. :type wait_time_in_seconds: object """ @@ -35273,16 +36521,16 @@ class WebActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param method: Required. Rest API method for target endpoint. Possible values include: "GET", "POST", "PUT", "DELETE". - :type method: str or ~data_factory_management_client.models.WebActivityMethod + :type method: str or ~azure.mgmt.datafactory.models.WebActivityMethod :param url: Required. Web activity target endpoint and path. Type: string (or Expression with resultType string). :type url: object @@ -35294,13 +36542,13 @@ class WebActivity(ExecutionActivity): method, not allowed for GET method Type: string (or Expression with resultType string). :type body: object :param authentication: Authentication method used for calling the endpoint. - :type authentication: ~data_factory_management_client.models.WebActivityAuthentication + :type authentication: ~azure.mgmt.datafactory.models.WebActivityAuthentication :param datasets: List of datasets passed to web endpoint. - :type datasets: list[~data_factory_management_client.models.DatasetReference] + :type datasets: list[~azure.mgmt.datafactory.models.DatasetReference] :param linked_services: List of linked services passed to web endpoint. - :type linked_services: list[~data_factory_management_client.models.LinkedServiceReference] + :type linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference """ _validation = { @@ -35348,32 +36596,27 @@ def __init__( class WebActivityAuthentication(msrest.serialization.Model): """Web activity authentication properties. - All required parameters must be populated in order to send to Azure. - - :param type: Required. Web activity authentication - (Basic/ClientCertificate/MSI/ServicePrincipal). + :param type: Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal). :type type: str :param pfx: Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal. - :type pfx: ~data_factory_management_client.models.SecretBase + :type pfx: ~azure.mgmt.datafactory.models.SecretBase :param username: Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal. Type: string (or Expression with resultType string). :type username: object :param password: Password for the PFX file or basic authentication / Secret when used for ServicePrincipal. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param resource: Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string). :type resource: object :param user_tenant: TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication. Type: string (or Expression with resultType string). :type user_tenant: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ - _validation = { - 'type': {'required': True}, - } - _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'pfx': {'key': 'pfx', 'type': 'SecretBase'}, @@ -35381,6 +36624,7 @@ class WebActivityAuthentication(msrest.serialization.Model): 'password': {'key': 'password', 'type': 'SecretBase'}, 'resource': {'key': 'resource', 'type': 'object'}, 'user_tenant': {'key': 'userTenant', 'type': 'object'}, + 'credential': {'key': 'credential', 'type': 'CredentialReference'}, } def __init__( @@ -35388,12 +36632,13 @@ def __init__( **kwargs ): super(WebActivityAuthentication, self).__init__(**kwargs) - self.type = kwargs['type'] + self.type = kwargs.get('type', None) self.pfx = kwargs.get('pfx', None) self.username = kwargs.get('username', None) self.password = kwargs.get('password', None) self.resource = kwargs.get('resource', None) self.user_tenant = kwargs.get('user_tenant', None) + self.credential = kwargs.get('credential', None) class WebLinkedServiceTypeProperties(msrest.serialization.Model): @@ -35410,7 +36655,7 @@ class WebLinkedServiceTypeProperties(msrest.serialization.Model): :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.WebAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.WebAuthenticationType """ _validation = { @@ -35447,7 +36692,7 @@ class WebAnonymousAuthentication(WebLinkedServiceTypeProperties): :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.WebAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.WebAuthenticationType """ _validation = { @@ -35479,12 +36724,12 @@ class WebBasicAuthentication(WebLinkedServiceTypeProperties): :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.WebAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.WebAuthenticationType :param username: Required. User name for Basic authentication. Type: string (or Expression with resultType string). :type username: object :param password: Required. The password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -35522,11 +36767,11 @@ class WebClientCertificateAuthentication(WebLinkedServiceTypeProperties): :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.WebAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.WebAuthenticationType :param pfx: Required. Base64-encoded contents of a PFX file. - :type pfx: ~data_factory_management_client.models.SecretBase + :type pfx: ~azure.mgmt.datafactory.models.SecretBase :param password: Required. Password for the PFX file. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -35568,11 +36813,11 @@ class WebHookActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param method: Required. Rest API method for target endpoint. Possible values include: "POST". - :type method: str or ~data_factory_management_client.models.WebHookActivityMethod + :type method: str or ~azure.mgmt.datafactory.models.WebHookActivityMethod :param url: Required. WebHook activity target endpoint and path. Type: string (or Expression with resultType string). :type url: object @@ -35588,7 +36833,7 @@ class WebHookActivity(Activity): method, not allowed for GET method Type: string (or Expression with resultType string). :type body: object :param authentication: Authentication method used for calling the endpoint. - :type authentication: ~data_factory_management_client.models.WebActivityAuthentication + :type authentication: ~azure.mgmt.datafactory.models.WebActivityAuthentication :param report_status_on_call_back: When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with @@ -35645,15 +36890,15 @@ class WebLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param type_properties: Required. Web linked service properties. - :type type_properties: ~data_factory_management_client.models.WebLinkedServiceTypeProperties + :type type_properties: ~azure.mgmt.datafactory.models.WebLinkedServiceTypeProperties """ _validation = { @@ -35699,9 +36944,12 @@ class WebSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -35714,7 +36962,8 @@ class WebSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -35745,14 +36994,14 @@ class WebTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param index: Required. The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. :type index: object @@ -35802,11 +37051,11 @@ class XeroLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Xero. It is mutually exclusive with @@ -35815,11 +37064,11 @@ class XeroLinkedService(LinkedService): :param host: The endpoint of the Xero server. (i.e. api.xero.com). :type host: object :param consumer_key: The consumer key associated with the Xero application. - :type consumer_key: ~data_factory_management_client.models.SecretBase + :type consumer_key: ~azure.mgmt.datafactory.models.SecretBase :param private_key: The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( ). - :type private_key: ~data_factory_management_client.models.SecretBase + :type private_key: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -35892,14 +37141,14 @@ class XeroObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -35950,12 +37199,15 @@ class XeroSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -35971,8 +37223,9 @@ class XeroSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -36004,16 +37257,16 @@ class XmlDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the json data storage. - :type location: ~data_factory_management_client.models.DatasetLocation + :type location: ~azure.mgmt.datafactory.models.DatasetLocation :param encoding_name: The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: @@ -36023,7 +37276,7 @@ class XmlDataset(Dataset): :param null_value: The null value string. Type: string (or Expression with resultType string). :type null_value: object :param compression: The data compression method used for the json dataset. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -36070,7 +37323,7 @@ class XmlReadSettings(FormatReadSettings): :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. - :type compression_properties: ~data_factory_management_client.models.CompressionReadSettings + :type compression_properties: ~azure.mgmt.datafactory.models.CompressionReadSettings :param validation_mode: Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). :type validation_mode: object @@ -36133,13 +37386,16 @@ class XmlSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Xml store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: Xml format settings. - :type format_settings: ~data_factory_management_client.models.XmlReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.XmlReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -36152,9 +37408,10 @@ class XmlSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'XmlReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -36213,11 +37470,11 @@ class ZohoLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Zoho. It is mutually exclusive with @@ -36226,7 +37483,7 @@ class ZohoLinkedService(LinkedService): :param endpoint: The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private). :type endpoint: object :param access_token: The access token for Zoho authentication. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -36297,14 +37554,14 @@ class ZohoObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -36355,12 +37612,15 @@ class ZohoSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -36376,8 +37636,9 @@ class ZohoSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_models_py3.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_models_py3.py index f6ebc8328ae..0bf0d9eaa2d 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_models_py3.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/models/_models_py3.py @@ -18,7 +18,7 @@ class AccessPolicyResponse(msrest.serialization.Model): """Get Data Plane read only token response definition. :param policy: The user access policy. - :type policy: ~data_factory_management_client.models.UserAccessPolicy + :type policy: ~azure.mgmt.datafactory.models.UserAccessPolicy :param access_token: Data Plane read only access token. :type access_token: str :param data_plane_url: Data Plane service base URL. @@ -63,9 +63,9 @@ class Activity(msrest.serialization.Model): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] """ _validation = { @@ -116,8 +116,7 @@ class ActivityDependency(msrest.serialization.Model): :param activity: Required. Activity name. :type activity: str :param dependency_conditions: Required. Match-Condition for the dependency. - :type dependency_conditions: list[str or - ~data_factory_management_client.models.DependencyCondition] + :type dependency_conditions: list[str or ~azure.mgmt.datafactory.models.DependencyCondition] """ _validation = { @@ -300,7 +299,7 @@ class ActivityRunsQueryResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of activity runs. - :type value: list[~data_factory_management_client.models.ActivityRun] + :type value: list[~azure.mgmt.datafactory.models.ActivityRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str @@ -388,11 +387,11 @@ class LinkedService(msrest.serialization.Model): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] """ @@ -444,11 +443,11 @@ class AmazonMwsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Amazon MWS server, (i.e. @@ -461,11 +460,11 @@ class AmazonMwsLinkedService(LinkedService): :param seller_id: Required. The Amazon seller ID. :type seller_id: object :param mws_auth_token: The Amazon MWS authentication token. - :type mws_auth_token: ~data_factory_management_client.models.SecretBase + :type mws_auth_token: ~azure.mgmt.datafactory.models.SecretBase :param access_key_id: Required. The access key id used to access data. :type access_key_id: object :param secret_key: The secret key used to access data. - :type secret_key: ~data_factory_management_client.models.SecretBase + :type secret_key: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -565,14 +564,14 @@ class Dataset(msrest.serialization.Model): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder """ _validation = { @@ -640,14 +639,14 @@ class AmazonMwsObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -711,6 +710,9 @@ class CopySource(msrest.serialization.Model): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object """ _validation = { @@ -723,6 +725,7 @@ class CopySource(msrest.serialization.Model): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, } _subtype_map = { @@ -736,6 +739,7 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, **kwargs ): super(CopySource, self).__init__(**kwargs) @@ -744,6 +748,7 @@ def __init__( self.source_retry_count = source_retry_count self.source_retry_wait = source_retry_wait self.max_concurrent_connections = max_concurrent_connections + self.disable_metrics_collection = disable_metrics_collection class TabularSource(CopySource): @@ -768,12 +773,15 @@ class TabularSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -786,8 +794,9 @@ class TabularSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } _subtype_map = { @@ -801,11 +810,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(TabularSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(TabularSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'TabularSource' # type: str self.query_timeout = query_timeout self.additional_columns = additional_columns @@ -830,12 +840,15 @@ class AmazonMwsSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -851,8 +864,9 @@ class AmazonMwsSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -863,12 +877,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(AmazonMwsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(AmazonMwsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AmazonMWSSource' # type: str self.query = query @@ -884,11 +899,11 @@ class AmazonRedshiftLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. The name of the Amazon Redshift server. Type: string (or Expression @@ -898,7 +913,7 @@ class AmazonRedshiftLinkedService(LinkedService): resultType string). :type username: object :param password: The password of the Amazon Redshift source. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param database: Required. The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). :type database: object @@ -977,18 +992,21 @@ class AmazonRedshiftSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param redshift_unload_settings: The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. - :type redshift_unload_settings: ~data_factory_management_client.models.RedshiftUnloadSettings + :type redshift_unload_settings: ~azure.mgmt.datafactory.models.RedshiftUnloadSettings """ _validation = { @@ -1001,8 +1019,9 @@ class AmazonRedshiftSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'redshift_unload_settings': {'key': 'redshiftUnloadSettings', 'type': 'RedshiftUnloadSettings'}, } @@ -1014,13 +1033,14 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, redshift_unload_settings: Optional["RedshiftUnloadSettings"] = None, **kwargs ): - super(AmazonRedshiftSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(AmazonRedshiftSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AmazonRedshiftSource' # type: str self.query = query self.redshift_unload_settings = redshift_unload_settings @@ -1045,14 +1065,14 @@ class AmazonRedshiftTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -1118,11 +1138,11 @@ class AmazonS3CompatibleLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param access_key_id: The access key identifier of the Amazon S3 Compatible Identity and Access @@ -1130,7 +1150,7 @@ class AmazonS3CompatibleLinkedService(LinkedService): :type access_key_id: object :param secret_access_key: The secret access key of the Amazon S3 Compatible Identity and Access Management (IAM) user. - :type secret_access_key: ~data_factory_management_client.models.SecretBase + :type secret_access_key: ~azure.mgmt.datafactory.models.SecretBase :param service_url: This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType @@ -1307,6 +1327,9 @@ class StoreReadSettings(msrest.serialization.Model): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object """ _validation = { @@ -1317,6 +1340,7 @@ class StoreReadSettings(msrest.serialization.Model): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, } _subtype_map = { @@ -1328,12 +1352,14 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, **kwargs ): super(StoreReadSettings, self).__init__(**kwargs) self.additional_properties = additional_properties self.type = 'StoreReadSettings' # type: str self.max_concurrent_connections = max_concurrent_connections + self.disable_metrics_collection = disable_metrics_collection class AmazonS3CompatibleReadSettings(StoreReadSettings): @@ -1349,6 +1375,9 @@ class AmazonS3CompatibleReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -1389,6 +1418,7 @@ class AmazonS3CompatibleReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -1406,6 +1436,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -1418,7 +1449,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(AmazonS3CompatibleReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AmazonS3CompatibleReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AmazonS3CompatibleReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -1451,14 +1482,14 @@ class AmazonS3Dataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param bucket_name: Required. The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). :type bucket_name: object @@ -1478,9 +1509,9 @@ class AmazonS3Dataset(Dataset): Expression with resultType string). :type modified_datetime_end: object :param format: The format of files. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used for the Amazon S3 object. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -1553,11 +1584,11 @@ class AmazonS3LinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param authentication_type: The authentication type of S3. Allowed value: AccessKey (default) @@ -1568,13 +1599,13 @@ class AmazonS3LinkedService(LinkedService): :type access_key_id: object :param secret_access_key: The secret access key of the Amazon S3 Identity and Access Management (IAM) user. - :type secret_access_key: ~data_factory_management_client.models.SecretBase + :type secret_access_key: ~azure.mgmt.datafactory.models.SecretBase :param service_url: This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). :type service_url: object :param session_token: The session token for the S3 temporary security credential. - :type session_token: ~data_factory_management_client.models.SecretBase + :type session_token: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -1692,6 +1723,9 @@ class AmazonS3ReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -1732,6 +1766,7 @@ class AmazonS3ReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -1749,6 +1784,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -1761,7 +1797,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(AmazonS3ReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AmazonS3ReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AmazonS3ReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -1790,9 +1826,9 @@ class AppendVariableActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param variable_name: Name of the variable whose value needs to be appended to. :type variable_name: str :param value: Value to be appended. Could be a static value or Expression. @@ -1877,20 +1913,19 @@ class AvroDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the avro storage. - :type location: ~data_factory_management_client.models.DatasetLocation - :param avro_compression_codec: Possible values include: "none", "deflate", "snappy", "xz", - "bzip2". - :type avro_compression_codec: str or - ~data_factory_management_client.models.AvroCompressionCodec + :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param avro_compression_codec: The data avroCompressionCodec. Type: string (or Expression with + resultType string). + :type avro_compression_codec: object :param avro_compression_level: :type avro_compression_level: int """ @@ -1912,7 +1947,7 @@ class AvroDataset(Dataset): 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, - 'avro_compression_codec': {'key': 'typeProperties.avroCompressionCodec', 'type': 'str'}, + 'avro_compression_codec': {'key': 'typeProperties.avroCompressionCodec', 'type': 'object'}, 'avro_compression_level': {'key': 'typeProperties.avroCompressionLevel', 'type': 'int'}, } @@ -1928,7 +1963,7 @@ def __init__( annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, - avro_compression_codec: Optional[Union[str, "AvroCompressionCodec"]] = None, + avro_compression_codec: Optional[object] = None, avro_compression_level: Optional[int] = None, **kwargs ): @@ -2031,7 +2066,7 @@ class CopySink(msrest.serialization.Model): """A copy activity sink. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: AvroSink, AzureBlobFsSink, AzureDataExplorerSink, AzureDataLakeStoreSink, AzureDatabricksDeltaLakeSink, AzureMySqlSink, AzurePostgreSqlSink, AzureQueueSink, AzureSearchIndexSink, AzureSqlSink, AzureTableSink, BinarySink, BlobSink, CommonDataServiceForAppsSink, CosmosDbMongoDbApiSink, CosmosDbSqlApiSink, DelimitedTextSink, DocumentDbCollectionSink, DynamicsCrmSink, DynamicsSink, FileSystemSink, InformixSink, JsonSink, MicrosoftAccessSink, OdbcSink, OracleSink, OrcSink, ParquetSink, RestSink, SalesforceServiceCloudSink, SalesforceSink, SapCloudForCustomerSink, SnowflakeSink, SqlDwSink, SqlMiSink, SqlServerSink, SqlSink. + sub-classes are: AvroSink, AzureBlobFsSink, AzureDataExplorerSink, AzureDataLakeStoreSink, AzureDatabricksDeltaLakeSink, AzureMySqlSink, AzurePostgreSqlSink, AzureQueueSink, AzureSearchIndexSink, AzureSqlSink, AzureTableSink, BinarySink, BlobSink, CommonDataServiceForAppsSink, CosmosDbMongoDbApiSink, CosmosDbSqlApiSink, DelimitedTextSink, DocumentDbCollectionSink, DynamicsCrmSink, DynamicsSink, FileSystemSink, InformixSink, JsonSink, MicrosoftAccessSink, MongoDbAtlasSink, MongoDbV2Sink, OdbcSink, OracleSink, OrcSink, ParquetSink, RestSink, SalesforceServiceCloudSink, SalesforceSink, SapCloudForCustomerSink, SnowflakeSink, SqlDwSink, SqlMiSink, SqlServerSink, SqlSink. All required parameters must be populated in order to send to Azure. @@ -2055,6 +2090,9 @@ class CopySink(msrest.serialization.Model): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object """ _validation = { @@ -2069,10 +2107,11 @@ class CopySink(msrest.serialization.Model): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, } _subtype_map = { - 'type': {'AvroSink': 'AvroSink', 'AzureBlobFSSink': 'AzureBlobFsSink', 'AzureDataExplorerSink': 'AzureDataExplorerSink', 'AzureDataLakeStoreSink': 'AzureDataLakeStoreSink', 'AzureDatabricksDeltaLakeSink': 'AzureDatabricksDeltaLakeSink', 'AzureMySqlSink': 'AzureMySqlSink', 'AzurePostgreSqlSink': 'AzurePostgreSqlSink', 'AzureQueueSink': 'AzureQueueSink', 'AzureSearchIndexSink': 'AzureSearchIndexSink', 'AzureSqlSink': 'AzureSqlSink', 'AzureTableSink': 'AzureTableSink', 'BinarySink': 'BinarySink', 'BlobSink': 'BlobSink', 'CommonDataServiceForAppsSink': 'CommonDataServiceForAppsSink', 'CosmosDbMongoDbApiSink': 'CosmosDbMongoDbApiSink', 'CosmosDbSqlApiSink': 'CosmosDbSqlApiSink', 'DelimitedTextSink': 'DelimitedTextSink', 'DocumentDbCollectionSink': 'DocumentDbCollectionSink', 'DynamicsCrmSink': 'DynamicsCrmSink', 'DynamicsSink': 'DynamicsSink', 'FileSystemSink': 'FileSystemSink', 'InformixSink': 'InformixSink', 'JsonSink': 'JsonSink', 'MicrosoftAccessSink': 'MicrosoftAccessSink', 'OdbcSink': 'OdbcSink', 'OracleSink': 'OracleSink', 'OrcSink': 'OrcSink', 'ParquetSink': 'ParquetSink', 'RestSink': 'RestSink', 'SalesforceServiceCloudSink': 'SalesforceServiceCloudSink', 'SalesforceSink': 'SalesforceSink', 'SapCloudForCustomerSink': 'SapCloudForCustomerSink', 'SnowflakeSink': 'SnowflakeSink', 'SqlDWSink': 'SqlDwSink', 'SqlMISink': 'SqlMiSink', 'SqlServerSink': 'SqlServerSink', 'SqlSink': 'SqlSink'} + 'type': {'AvroSink': 'AvroSink', 'AzureBlobFSSink': 'AzureBlobFsSink', 'AzureDataExplorerSink': 'AzureDataExplorerSink', 'AzureDataLakeStoreSink': 'AzureDataLakeStoreSink', 'AzureDatabricksDeltaLakeSink': 'AzureDatabricksDeltaLakeSink', 'AzureMySqlSink': 'AzureMySqlSink', 'AzurePostgreSqlSink': 'AzurePostgreSqlSink', 'AzureQueueSink': 'AzureQueueSink', 'AzureSearchIndexSink': 'AzureSearchIndexSink', 'AzureSqlSink': 'AzureSqlSink', 'AzureTableSink': 'AzureTableSink', 'BinarySink': 'BinarySink', 'BlobSink': 'BlobSink', 'CommonDataServiceForAppsSink': 'CommonDataServiceForAppsSink', 'CosmosDbMongoDbApiSink': 'CosmosDbMongoDbApiSink', 'CosmosDbSqlApiSink': 'CosmosDbSqlApiSink', 'DelimitedTextSink': 'DelimitedTextSink', 'DocumentDbCollectionSink': 'DocumentDbCollectionSink', 'DynamicsCrmSink': 'DynamicsCrmSink', 'DynamicsSink': 'DynamicsSink', 'FileSystemSink': 'FileSystemSink', 'InformixSink': 'InformixSink', 'JsonSink': 'JsonSink', 'MicrosoftAccessSink': 'MicrosoftAccessSink', 'MongoDbAtlasSink': 'MongoDbAtlasSink', 'MongoDbV2Sink': 'MongoDbV2Sink', 'OdbcSink': 'OdbcSink', 'OracleSink': 'OracleSink', 'OrcSink': 'OrcSink', 'ParquetSink': 'ParquetSink', 'RestSink': 'RestSink', 'SalesforceServiceCloudSink': 'SalesforceServiceCloudSink', 'SalesforceSink': 'SalesforceSink', 'SapCloudForCustomerSink': 'SapCloudForCustomerSink', 'SnowflakeSink': 'SnowflakeSink', 'SqlDWSink': 'SqlDwSink', 'SqlMISink': 'SqlMiSink', 'SqlServerSink': 'SqlServerSink', 'SqlSink': 'SqlSink'} } def __init__( @@ -2084,6 +2123,7 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, **kwargs ): super(CopySink, self).__init__(**kwargs) @@ -2094,6 +2134,7 @@ def __init__( self.sink_retry_count = sink_retry_count self.sink_retry_wait = sink_retry_wait self.max_concurrent_connections = max_concurrent_connections + self.disable_metrics_collection = disable_metrics_collection class AvroSink(CopySink): @@ -2121,10 +2162,13 @@ class AvroSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Avro store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: Avro format settings. - :type format_settings: ~data_factory_management_client.models.AvroWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.AvroWriteSettings """ _validation = { @@ -2139,6 +2183,7 @@ class AvroSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'AvroWriteSettings'}, } @@ -2152,11 +2197,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["AvroWriteSettings"] = None, **kwargs ): - super(AvroSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AvroSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AvroSink' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -2181,11 +2227,14 @@ class AvroSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Avro store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -2198,8 +2247,9 @@ class AvroSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -2209,11 +2259,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(AvroSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AvroSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AvroSource' # type: str self.store_settings = store_settings self.additional_columns = additional_columns @@ -2387,18 +2438,18 @@ class AzureBatchLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param account_name: Required. The Azure Batch account name. Type: string (or Expression with resultType string). :type account_name: object :param access_key: The Azure Batch account access key. - :type access_key: ~data_factory_management_client.models.SecretBase + :type access_key: ~azure.mgmt.datafactory.models.SecretBase :param batch_uri: Required. The Azure Batch URI. Type: string (or Expression with resultType string). :type batch_uri: object @@ -2406,11 +2457,13 @@ class AzureBatchLinkedService(LinkedService): resultType string). :type pool_name: object :param linked_service_name: Required. The Azure Storage linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -2434,6 +2487,7 @@ class AzureBatchLinkedService(LinkedService): 'pool_name': {'key': 'typeProperties.poolName', 'type': 'object'}, 'linked_service_name': {'key': 'typeProperties.linkedServiceName', 'type': 'LinkedServiceReference'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -2450,6 +2504,7 @@ def __init__( annotations: Optional[List[object]] = None, access_key: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureBatchLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -2460,6 +2515,7 @@ def __init__( self.pool_name = pool_name self.linked_service_name = linked_service_name self.encrypted_credential = encrypted_credential + self.credential = credential class AzureBlobDataset(Dataset): @@ -2481,14 +2537,14 @@ class AzureBlobDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param folder_path: The path of the Azure Blob storage. Type: string (or Expression with resultType string). :type folder_path: object @@ -2505,9 +2561,9 @@ class AzureBlobDataset(Dataset): Expression with resultType string). :type modified_datetime_end: object :param format: The format of the Azure Blob storage. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used for the blob storage. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -2584,14 +2640,14 @@ class AzureBlobFsDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param folder_path: The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with resultType string). :type folder_path: object @@ -2599,9 +2655,9 @@ class AzureBlobFsDataset(Dataset): with resultType string). :type file_name: object :param format: The format of the Azure Data Lake Storage Gen2 storage. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used for the blob storage. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -2661,11 +2717,11 @@ class AzureBlobFsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or @@ -2679,7 +2735,7 @@ class AzureBlobFsLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -2691,6 +2747,8 @@ class AzureBlobFsLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -2712,6 +2770,7 @@ class AzureBlobFsLinkedService(LinkedService): 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -2729,6 +2788,7 @@ def __init__( tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureBlobFsLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -2740,6 +2800,7 @@ def __init__( self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential + self.credential = credential class AzureBlobFsLocation(DatasetLocation): @@ -2802,6 +2863,9 @@ class AzureBlobFsReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -2839,6 +2903,7 @@ class AzureBlobFsReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -2855,6 +2920,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -2866,7 +2932,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(AzureBlobFsReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureBlobFsReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureBlobFSReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -2904,8 +2970,14 @@ class AzureBlobFsSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object + :param metadata: Specify the custom metadata to be added to sink data. Type: array of objects + (or Expression with resultType array of objects). + :type metadata: list[~azure.mgmt.datafactory.models.MetadataItem] """ _validation = { @@ -2920,7 +2992,9 @@ class AzureBlobFsSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, + 'metadata': {'key': 'metadata', 'type': '[MetadataItem]'}, } def __init__( @@ -2932,12 +3006,15 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, + metadata: Optional[List["MetadataItem"]] = None, **kwargs ): - super(AzureBlobFsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureBlobFsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureBlobFSSink' # type: str self.copy_behavior = copy_behavior + self.metadata = metadata class AzureBlobFsSource(CopySource): @@ -2959,6 +3036,9 @@ class AzureBlobFsSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param treat_empty_as_null: Treat empty as null. Type: boolean (or Expression with resultType boolean). :type treat_empty_as_null: object @@ -2980,6 +3060,7 @@ class AzureBlobFsSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'treat_empty_as_null': {'key': 'treatEmptyAsNull', 'type': 'object'}, 'skip_header_line_count': {'key': 'skipHeaderLineCount', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, @@ -2992,12 +3073,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, treat_empty_as_null: Optional[object] = None, skip_header_line_count: Optional[object] = None, recursive: Optional[object] = None, **kwargs ): - super(AzureBlobFsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureBlobFsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureBlobFSSource' # type: str self.treat_empty_as_null = treat_empty_as_null self.skip_header_line_count = skip_header_line_count @@ -3020,6 +3102,9 @@ class StoreWriteSettings(msrest.serialization.Model): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ @@ -3032,6 +3117,7 @@ class StoreWriteSettings(msrest.serialization.Model): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } @@ -3044,6 +3130,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): @@ -3051,6 +3138,7 @@ def __init__( self.additional_properties = additional_properties self.type = 'StoreWriteSettings' # type: str self.max_concurrent_connections = max_concurrent_connections + self.disable_metrics_collection = disable_metrics_collection self.copy_behavior = copy_behavior @@ -3067,6 +3155,9 @@ class AzureBlobFsWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param block_size_in_mb: Indicates the block size(MB) when writing data to blob. Type: integer @@ -3082,6 +3173,7 @@ class AzureBlobFsWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'block_size_in_mb': {'key': 'blockSizeInMB', 'type': 'object'}, } @@ -3091,11 +3183,12 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, block_size_in_mb: Optional[object] = None, **kwargs ): - super(AzureBlobFsWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) + super(AzureBlobFsWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, copy_behavior=copy_behavior, **kwargs) self.type = 'AzureBlobFSWriteSettings' # type: str self.block_size_in_mb = block_size_in_mb @@ -3111,24 +3204,24 @@ class AzureBlobStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. - :type account_key: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type account_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. - :type sas_token: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type sas_token: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param service_endpoint: Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with connectionString, sasUri property. :type service_endpoint: str @@ -3137,7 +3230,7 @@ class AzureBlobStorageLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Data Warehouse. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -3153,6 +3246,8 @@ class AzureBlobStorageLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: str + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -3177,6 +3272,7 @@ class AzureBlobStorageLinkedService(LinkedService): 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'account_kind': {'key': 'typeProperties.accountKind', 'type': 'str'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'str'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -3198,6 +3294,7 @@ def __init__( azure_cloud_type: Optional[object] = None, account_kind: Optional[str] = None, encrypted_credential: Optional[str] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureBlobStorageLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -3213,6 +3310,7 @@ def __init__( self.azure_cloud_type = azure_cloud_type self.account_kind = account_kind self.encrypted_credential = encrypted_credential + self.credential = credential class AzureBlobStorageLocation(DatasetLocation): @@ -3275,6 +3373,9 @@ class AzureBlobStorageReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -3315,6 +3416,7 @@ class AzureBlobStorageReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -3332,6 +3434,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -3344,7 +3447,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(AzureBlobStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureBlobStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureBlobStorageReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -3371,6 +3474,9 @@ class AzureBlobStorageWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param block_size_in_mb: Indicates the block size(MB) when writing data to blob. Type: integer @@ -3386,6 +3492,7 @@ class AzureBlobStorageWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'block_size_in_mb': {'key': 'blockSizeInMB', 'type': 'object'}, } @@ -3395,11 +3502,12 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, block_size_in_mb: Optional[object] = None, **kwargs ): - super(AzureBlobStorageWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) + super(AzureBlobStorageWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, copy_behavior=copy_behavior, **kwargs) self.type = 'AzureBlobStorageWriteSettings' # type: str self.block_size_in_mb = block_size_in_mb @@ -3423,14 +3531,14 @@ class AzureDatabricksDeltaLakeDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table: The name of delta table. Type: string (or Expression with resultType string). :type table: object :param database: The database name of delta table. Type: string (or Expression with resultType @@ -3653,11 +3761,11 @@ class AzureDatabricksDeltaLakeLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param domain: Required. :code:``.azuredatabricks.net, domain name of your Databricks @@ -3666,7 +3774,7 @@ class AzureDatabricksDeltaLakeLinkedService(LinkedService): :param access_token: Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or AzureKeyVaultSecretReference. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param cluster_id: The id of an existing interactive cluster that will be used for all runs of this job. Type: string (or Expression with resultType string). :type cluster_id: object @@ -3741,12 +3849,14 @@ class AzureDatabricksDeltaLakeSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param import_settings: Azure Databricks Delta Lake import settings. - :type import_settings: - ~data_factory_management_client.models.AzureDatabricksDeltaLakeImportCommand + :type import_settings: ~azure.mgmt.datafactory.models.AzureDatabricksDeltaLakeImportCommand """ _validation = { @@ -3761,6 +3871,7 @@ class AzureDatabricksDeltaLakeSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'import_settings': {'key': 'importSettings', 'type': 'AzureDatabricksDeltaLakeImportCommand'}, } @@ -3774,11 +3885,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, import_settings: Optional["AzureDatabricksDeltaLakeImportCommand"] = None, **kwargs ): - super(AzureDatabricksDeltaLakeSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureDatabricksDeltaLakeSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureDatabricksDeltaLakeSink' # type: str self.pre_copy_script = pre_copy_script self.import_settings = import_settings @@ -3803,12 +3915,14 @@ class AzureDatabricksDeltaLakeSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Azure Databricks Delta Lake Sql query. Type: string (or Expression with resultType string). :type query: object :param export_settings: Azure Databricks Delta Lake export settings. - :type export_settings: - ~data_factory_management_client.models.AzureDatabricksDeltaLakeExportCommand + :type export_settings: ~azure.mgmt.datafactory.models.AzureDatabricksDeltaLakeExportCommand """ _validation = { @@ -3821,6 +3935,7 @@ class AzureDatabricksDeltaLakeSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'export_settings': {'key': 'exportSettings', 'type': 'AzureDatabricksDeltaLakeExportCommand'}, } @@ -3832,11 +3947,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, export_settings: Optional["AzureDatabricksDeltaLakeExportCommand"] = None, **kwargs ): - super(AzureDatabricksDeltaLakeSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureDatabricksDeltaLakeSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureDatabricksDeltaLakeSource' # type: str self.query = query self.export_settings = export_settings @@ -3853,11 +3969,11 @@ class AzureDatabricksLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param domain: Required. :code:``.azuredatabricks.net, domain name of your Databricks @@ -3866,7 +3982,7 @@ class AzureDatabricksLinkedService(LinkedService): :param access_token: Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string). - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param authentication: Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). :type authentication: object @@ -3925,6 +4041,8 @@ class AzureDatabricksLinkedService(LinkedService): :param policy_id: The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string (or Expression with resultType string). :type policy_id: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -3957,6 +4075,7 @@ class AzureDatabricksLinkedService(LinkedService): 'new_cluster_enable_elastic_disk': {'key': 'typeProperties.newClusterEnableElasticDisk', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'policy_id': {'key': 'typeProperties.policyId', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -3985,6 +4104,7 @@ def __init__( new_cluster_enable_elastic_disk: Optional[object] = None, encrypted_credential: Optional[object] = None, policy_id: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureDatabricksLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -4007,6 +4127,7 @@ def __init__( self.new_cluster_enable_elastic_disk = new_cluster_enable_elastic_disk self.encrypted_credential = encrypted_credential self.policy_id = policy_id + self.credential = credential class ExecutionActivity(Activity): @@ -4027,13 +4148,13 @@ class ExecutionActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy """ _validation = { @@ -4089,13 +4210,13 @@ class AzureDataExplorerCommandActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param command: Required. A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). :type command: object @@ -4154,11 +4275,11 @@ class AzureDataExplorerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of Azure Data Explorer (the engine's endpoint). URL @@ -4170,13 +4291,15 @@ class AzureDataExplorerLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Kusto. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param database: Required. Database name for connection. Type: string (or Expression with resultType string). :type database: object :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -4197,6 +4320,7 @@ class AzureDataExplorerLinkedService(LinkedService): 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -4212,6 +4336,7 @@ def __init__( service_principal_id: Optional[object] = None, service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureDataExplorerLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -4221,6 +4346,7 @@ def __init__( self.service_principal_key = service_principal_key self.database = database self.tenant = tenant + self.credential = credential class AzureDataExplorerSink(CopySink): @@ -4248,6 +4374,9 @@ class AzureDataExplorerSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param ingestion_mapping_name: A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. :type ingestion_mapping_name: object @@ -4271,6 +4400,7 @@ class AzureDataExplorerSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'ingestion_mapping_name': {'key': 'ingestionMappingName', 'type': 'object'}, 'ingestion_mapping_as_json': {'key': 'ingestionMappingAsJson', 'type': 'object'}, 'flush_immediately': {'key': 'flushImmediately', 'type': 'object'}, @@ -4285,12 +4415,13 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, ingestion_mapping_name: Optional[object] = None, ingestion_mapping_as_json: Optional[object] = None, flush_immediately: Optional[object] = None, **kwargs ): - super(AzureDataExplorerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureDataExplorerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureDataExplorerSink' # type: str self.ingestion_mapping_name = ingestion_mapping_name self.ingestion_mapping_as_json = ingestion_mapping_as_json @@ -4316,6 +4447,9 @@ class AzureDataExplorerSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Required. Database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with resultType string). :type query: object @@ -4326,8 +4460,8 @@ class AzureDataExplorerSource(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -4341,10 +4475,11 @@ class AzureDataExplorerSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'no_truncation': {'key': 'noTruncation', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -4355,12 +4490,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, no_truncation: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(AzureDataExplorerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureDataExplorerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureDataExplorerSource' # type: str self.query = query self.no_truncation = no_truncation @@ -4387,14 +4523,14 @@ class AzureDataExplorerTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table: The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). :type table: object @@ -4448,11 +4584,11 @@ class AzureDataLakeAnalyticsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param account_name: Required. The Azure Data Lake Analytics account name. Type: string (or @@ -4463,7 +4599,7 @@ class AzureDataLakeAnalyticsLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Analytics account. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: Required. The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -4554,14 +4690,14 @@ class AzureDataLakeStoreDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param folder_path: Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string). :type folder_path: object @@ -4569,10 +4705,10 @@ class AzureDataLakeStoreDataset(Dataset): Expression with resultType string). :type file_name: object :param format: The format of the Data Lake Store. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used for the item(s) in the Azure Data Lake Store. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -4632,11 +4768,11 @@ class AzureDataLakeStoreLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param data_lake_store_uri: Required. Data Lake Store service URI. Type: string (or Expression @@ -4647,7 +4783,7 @@ class AzureDataLakeStoreLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The Key of the application used to authenticate against the Azure Data Lake Store account. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -4668,6 +4804,8 @@ class AzureDataLakeStoreLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -4691,6 +4829,7 @@ class AzureDataLakeStoreLinkedService(LinkedService): 'subscription_id': {'key': 'typeProperties.subscriptionId', 'type': 'object'}, 'resource_group_name': {'key': 'typeProperties.resourceGroupName', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -4710,6 +4849,7 @@ def __init__( subscription_id: Optional[object] = None, resource_group_name: Optional[object] = None, encrypted_credential: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureDataLakeStoreLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -4723,6 +4863,7 @@ def __init__( self.subscription_id = subscription_id self.resource_group_name = resource_group_name self.encrypted_credential = encrypted_credential + self.credential = credential class AzureDataLakeStoreLocation(DatasetLocation): @@ -4779,6 +4920,9 @@ class AzureDataLakeStoreReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -4824,6 +4968,7 @@ class AzureDataLakeStoreReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -4842,6 +4987,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -4855,7 +5001,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(AzureDataLakeStoreReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureDataLakeStoreReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureDataLakeStoreReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -4895,6 +5041,9 @@ class AzureDataLakeStoreSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param enable_adls_single_file_parallel: Single File Parallel. @@ -4913,6 +5062,7 @@ class AzureDataLakeStoreSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'enable_adls_single_file_parallel': {'key': 'enableAdlsSingleFileParallel', 'type': 'object'}, } @@ -4926,11 +5076,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, enable_adls_single_file_parallel: Optional[object] = None, **kwargs ): - super(AzureDataLakeStoreSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureDataLakeStoreSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureDataLakeStoreSink' # type: str self.copy_behavior = copy_behavior self.enable_adls_single_file_parallel = enable_adls_single_file_parallel @@ -4955,6 +5106,9 @@ class AzureDataLakeStoreSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -4970,6 +5124,7 @@ class AzureDataLakeStoreSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, } @@ -4980,10 +5135,11 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, **kwargs ): - super(AzureDataLakeStoreSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureDataLakeStoreSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureDataLakeStoreSource' # type: str self.recursive = recursive @@ -5001,6 +5157,9 @@ class AzureDataLakeStoreWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param expiry_date_time: Specifies the expiry time of the written files. The time is applied to @@ -5017,6 +5176,7 @@ class AzureDataLakeStoreWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'expiry_date_time': {'key': 'expiryDateTime', 'type': 'object'}, } @@ -5026,11 +5186,12 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, expiry_date_time: Optional[object] = None, **kwargs ): - super(AzureDataLakeStoreWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) + super(AzureDataLakeStoreWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, copy_behavior=copy_behavior, **kwargs) self.type = 'AzureDataLakeStoreWriteSettings' # type: str self.expiry_date_time = expiry_date_time @@ -5046,11 +5207,11 @@ class AzureFileStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Host name of the server. Type: string (or Expression with resultType string). @@ -5059,17 +5220,17 @@ class AzureFileStorageLinkedService(LinkedService): string). :type user_id: object :param password: Password to logon the server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. - :type account_key: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type account_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. - :type sas_token: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type sas_token: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param file_share: The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). :type file_share: object @@ -5193,6 +5354,9 @@ class AzureFileStorageReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -5233,6 +5397,7 @@ class AzureFileStorageReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -5250,6 +5415,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -5262,7 +5428,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(AzureFileStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureFileStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureFileStorageReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -5289,6 +5455,9 @@ class AzureFileStorageWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ @@ -5301,6 +5470,7 @@ class AzureFileStorageWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } @@ -5309,10 +5479,11 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): - super(AzureFileStorageWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) + super(AzureFileStorageWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, copy_behavior=copy_behavior, **kwargs) self.type = 'AzureFileStorageWriteSettings' # type: str @@ -5331,16 +5502,16 @@ class AzureFunctionActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param method: Required. Rest API method for target endpoint. Possible values include: "GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "TRACE". - :type method: str or ~data_factory_management_client.models.AzureFunctionActivityMethod + :type method: str or ~azure.mgmt.datafactory.models.AzureFunctionActivityMethod :param function_name: Required. Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string). :type function_name: object @@ -5410,22 +5581,29 @@ class AzureFunctionLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param function_app_url: Required. The endpoint of the Azure Function App. URL will be in the format https://:code:``.azurewebsites.net. :type function_app_url: object :param function_key: Function or Host key for Azure Function App. - :type function_key: ~data_factory_management_client.models.SecretBase + :type function_key: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference + :param resource_id: Allowed token audiences for azure function. + :type resource_id: object + :param authentication: Type of authentication (Required to specify MSI) used to connect to + AzureFunction. Type: string (or Expression with resultType string). + :type authentication: object """ _validation = { @@ -5443,6 +5621,9 @@ class AzureFunctionLinkedService(LinkedService): 'function_app_url': {'key': 'typeProperties.functionAppUrl', 'type': 'object'}, 'function_key': {'key': 'typeProperties.functionKey', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, + 'resource_id': {'key': 'typeProperties.resourceId', 'type': 'object'}, + 'authentication': {'key': 'typeProperties.authentication', 'type': 'object'}, } def __init__( @@ -5456,6 +5637,9 @@ def __init__( annotations: Optional[List[object]] = None, function_key: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, + credential: Optional["CredentialReference"] = None, + resource_id: Optional[object] = None, + authentication: Optional[object] = None, **kwargs ): super(AzureFunctionLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -5463,6 +5647,9 @@ def __init__( self.function_app_url = function_app_url self.function_key = function_key self.encrypted_credential = encrypted_credential + self.credential = credential + self.resource_id = resource_id + self.authentication = authentication class AzureKeyVaultLinkedService(LinkedService): @@ -5476,16 +5663,18 @@ class AzureKeyVaultLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param base_url: Required. The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or Expression with resultType string). :type base_url: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -5501,6 +5690,7 @@ class AzureKeyVaultLinkedService(LinkedService): 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, 'base_url': {'key': 'typeProperties.baseUrl', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -5512,11 +5702,13 @@ def __init__( description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureKeyVaultLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'AzureKeyVault' # type: str self.base_url = base_url + self.credential = credential class SecretBase(msrest.serialization.Model): @@ -5559,7 +5751,7 @@ class AzureKeyVaultSecretReference(SecretBase): :param type: Required. Type of the secret.Constant filled by server. :type type: str :param store: Required. The Azure Key Vault linked service reference. - :type store: ~data_factory_management_client.models.LinkedServiceReference + :type store: ~azure.mgmt.datafactory.models.LinkedServiceReference :param secret_name: Required. The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string). :type secret_name: object @@ -5607,18 +5799,18 @@ class AzureMariaDbLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5680,12 +5872,15 @@ class AzureMariaDbSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -5701,8 +5896,9 @@ class AzureMariaDbSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -5713,12 +5909,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(AzureMariaDbSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(AzureMariaDbSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzureMariaDBSource' # type: str self.query = query @@ -5742,14 +5939,14 @@ class AzureMariaDbTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -5806,13 +6003,13 @@ class AzureMlBatchExecutionActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param global_parameters: Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch @@ -5822,14 +6019,12 @@ class AzureMlBatchExecutionActivity(ExecutionActivity): Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. - :type web_service_outputs: dict[str, - ~data_factory_management_client.models.AzureMlWebServiceFile] + :type web_service_outputs: dict[str, ~azure.mgmt.datafactory.models.AzureMlWebServiceFile] :param web_service_inputs: Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. - :type web_service_inputs: dict[str, - ~data_factory_management_client.models.AzureMlWebServiceFile] + :type web_service_inputs: dict[str, ~azure.mgmt.datafactory.models.AzureMlWebServiceFile] """ _validation = { @@ -5888,13 +6083,13 @@ class AzureMlExecutePipelineActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param ml_pipeline_id: ID of the published Azure ML pipeline. Type: string (or Expression with resultType string). :type ml_pipeline_id: object @@ -5995,18 +6190,18 @@ class AzureMlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param ml_endpoint: Required. The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). :type ml_endpoint: object :param api_key: Required. The API key for accessing the Azure ML model endpoint. - :type api_key: ~data_factory_management_client.models.SecretBase + :type api_key: ~azure.mgmt.datafactory.models.SecretBase :param update_resource_endpoint: The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). :type update_resource_endpoint: object @@ -6016,7 +6211,7 @@ class AzureMlLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -6024,6 +6219,9 @@ class AzureMlLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param authentication: Type of authentication (Required to specify MSI) used to connect to + AzureML. Type: string (or Expression with resultType string). + :type authentication: object """ _validation = { @@ -6046,6 +6244,7 @@ class AzureMlLinkedService(LinkedService): 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'}, 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'authentication': {'key': 'typeProperties.authentication', 'type': 'object'}, } def __init__( @@ -6063,6 +6262,7 @@ def __init__( service_principal_key: Optional["SecretBase"] = None, tenant: Optional[object] = None, encrypted_credential: Optional[object] = None, + authentication: Optional[object] = None, **kwargs ): super(AzureMlLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -6074,6 +6274,7 @@ def __init__( self.service_principal_key = service_principal_key self.tenant = tenant self.encrypted_credential = encrypted_credential + self.authentication = authentication class AzureMlServiceLinkedService(LinkedService): @@ -6087,11 +6288,11 @@ class AzureMlServiceLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param subscription_id: Required. Azure ML Service workspace subscription ID. Type: string (or @@ -6109,7 +6310,7 @@ class AzureMlServiceLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -6185,20 +6386,19 @@ class AzureMlUpdateResourceActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param trained_model_name: Required. Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). :type trained_model_name: object :param trained_model_linked_service_name: Required. Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. - :type trained_model_linked_service_name: - ~data_factory_management_client.models.LinkedServiceReference + :type trained_model_linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param trained_model_file_path: Required. The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). @@ -6259,7 +6459,7 @@ class AzureMlWebServiceFile(msrest.serialization.Model): :type file_path: object :param linked_service_name: Required. Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference """ _validation = { @@ -6295,18 +6495,18 @@ class AzureMySqlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6375,6 +6575,9 @@ class AzureMySqlSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -6392,6 +6595,7 @@ class AzureMySqlSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -6404,10 +6608,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): - super(AzureMySqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureMySqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureMySqlSink' # type: str self.pre_copy_script = pre_copy_script @@ -6431,12 +6636,15 @@ class AzureMySqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -6451,8 +6659,9 @@ class AzureMySqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -6463,12 +6672,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(AzureMySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(AzureMySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzureMySqlSource' # type: str self.query = query @@ -6492,14 +6702,14 @@ class AzureMySqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The Azure MySQL database table name. Type: string (or Expression with resultType string). :type table_name: object @@ -6559,18 +6769,18 @@ class AzurePostgreSqlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6638,6 +6848,9 @@ class AzurePostgreSqlSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -6655,6 +6868,7 @@ class AzurePostgreSqlSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -6667,10 +6881,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): - super(AzurePostgreSqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzurePostgreSqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzurePostgreSqlSink' # type: str self.pre_copy_script = pre_copy_script @@ -6694,12 +6909,15 @@ class AzurePostgreSqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -6715,8 +6933,9 @@ class AzurePostgreSqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -6727,12 +6946,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(AzurePostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(AzurePostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzurePostgreSqlSource' # type: str self.query = query @@ -6756,14 +6976,14 @@ class AzurePostgreSqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). :type table_name: object @@ -6843,6 +7063,9 @@ class AzureQueueSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object """ _validation = { @@ -6857,6 +7080,7 @@ class AzureQueueSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, } def __init__( @@ -6868,9 +7092,10 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, **kwargs ): - super(AzureQueueSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureQueueSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureQueueSink' # type: str @@ -6893,14 +7118,14 @@ class AzureSearchIndexDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param index_name: Required. The name of the Azure Search Index. Type: string (or Expression with resultType string). :type index_name: object @@ -6969,10 +7194,12 @@ class AzureSearchIndexSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Specify the write behavior when upserting documents into Azure Search Index. Possible values include: "Merge", "Upload". - :type write_behavior: str or - ~data_factory_management_client.models.AzureSearchIndexWriteBehaviorType + :type write_behavior: str or ~azure.mgmt.datafactory.models.AzureSearchIndexWriteBehaviorType """ _validation = { @@ -6987,6 +7214,7 @@ class AzureSearchIndexSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, } @@ -6999,10 +7227,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, write_behavior: Optional[Union[str, "AzureSearchIndexWriteBehaviorType"]] = None, **kwargs ): - super(AzureSearchIndexSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureSearchIndexSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureSearchIndexSink' # type: str self.write_behavior = write_behavior @@ -7018,18 +7247,18 @@ class AzureSearchLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. URL for Azure Search service. Type: string (or Expression with resultType string). :type url: object :param key: Admin Key for Azure Search service. - :type key: ~data_factory_management_client.models.SecretBase + :type key: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7084,24 +7313,24 @@ class AzureSqlDatabaseLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Database. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Database. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -7114,8 +7343,9 @@ class AzureSqlDatabaseLinkedService(LinkedService): resultType string). :type encrypted_credential: object :param always_encrypted_settings: Sql always encrypted properties. - :type always_encrypted_settings: - ~data_factory_management_client.models.SqlAlwaysEncryptedProperties + :type always_encrypted_settings: ~azure.mgmt.datafactory.models.SqlAlwaysEncryptedProperties + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -7138,6 +7368,7 @@ class AzureSqlDatabaseLinkedService(LinkedService): 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'always_encrypted_settings': {'key': 'typeProperties.alwaysEncryptedSettings', 'type': 'SqlAlwaysEncryptedProperties'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -7156,6 +7387,7 @@ def __init__( azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[object] = None, always_encrypted_settings: Optional["SqlAlwaysEncryptedProperties"] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureSqlDatabaseLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -7168,6 +7400,7 @@ def __init__( self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential self.always_encrypted_settings = always_encrypted_settings + self.credential = credential class AzureSqlDwLinkedService(LinkedService): @@ -7181,24 +7414,24 @@ class AzureSqlDwLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Data Warehouse. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -7210,6 +7443,8 @@ class AzureSqlDwLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -7231,6 +7466,7 @@ class AzureSqlDwLinkedService(LinkedService): 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -7248,6 +7484,7 @@ def __init__( tenant: Optional[object] = None, azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureSqlDwLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -7259,6 +7496,7 @@ def __init__( self.tenant = tenant self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential + self.credential = credential class AzureSqlDwTableDataset(Dataset): @@ -7280,14 +7518,14 @@ class AzureSqlDwTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -7353,24 +7591,24 @@ class AzureSqlMiLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param service_principal_id: The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure SQL Managed Instance. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -7383,8 +7621,9 @@ class AzureSqlMiLinkedService(LinkedService): resultType string). :type encrypted_credential: object :param always_encrypted_settings: Sql always encrypted properties. - :type always_encrypted_settings: - ~data_factory_management_client.models.SqlAlwaysEncryptedProperties + :type always_encrypted_settings: ~azure.mgmt.datafactory.models.SqlAlwaysEncryptedProperties + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -7407,6 +7646,7 @@ class AzureSqlMiLinkedService(LinkedService): 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, 'always_encrypted_settings': {'key': 'typeProperties.alwaysEncryptedSettings', 'type': 'SqlAlwaysEncryptedProperties'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -7425,6 +7665,7 @@ def __init__( azure_cloud_type: Optional[object] = None, encrypted_credential: Optional[object] = None, always_encrypted_settings: Optional["SqlAlwaysEncryptedProperties"] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(AzureSqlMiLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -7437,6 +7678,7 @@ def __init__( self.azure_cloud_type = azure_cloud_type self.encrypted_credential = encrypted_credential self.always_encrypted_settings = always_encrypted_settings + self.credential = credential class AzureSqlMiTableDataset(Dataset): @@ -7458,14 +7700,14 @@ class AzureSqlMiTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -7545,6 +7787,9 @@ class AzureSqlSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object @@ -7556,13 +7801,21 @@ class AzureSqlSink(CopySink): :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: Write behavior when copying data into Azure SQL. Type: + SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlUpsertSettings """ _validation = { @@ -7577,12 +7830,16 @@ class AzureSqlSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlUpsertSettings'}, } def __init__( @@ -7594,15 +7851,19 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, sql_writer_stored_procedure_name: Optional[object] = None, sql_writer_table_type: Optional[object] = None, pre_copy_script: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, stored_procedure_table_type_parameter_name: Optional[object] = None, table_option: Optional[object] = None, + sql_writer_use_table_lock: Optional[object] = None, + write_behavior: Optional[object] = None, + upsert_settings: Optional["SqlUpsertSettings"] = None, **kwargs ): - super(AzureSqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureSqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureSqlSink' # type: str self.sql_writer_stored_procedure_name = sql_writer_stored_procedure_name self.sql_writer_table_type = sql_writer_table_type @@ -7610,6 +7871,9 @@ def __init__( self.stored_procedure_parameters = stored_procedure_parameters self.stored_procedure_table_type_parameter_name = stored_procedure_table_type_parameter_name self.table_option = table_option + self.sql_writer_use_table_lock = sql_writer_use_table_lock + self.write_behavior = write_behavior + self.upsert_settings = upsert_settings class AzureSqlSource(TabularSource): @@ -7631,12 +7895,15 @@ class AzureSqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database @@ -7646,14 +7913,14 @@ class AzureSqlSource(TabularSource): :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -7666,8 +7933,9 @@ class AzureSqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -7683,8 +7951,9 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, @@ -7693,7 +7962,7 @@ def __init__( partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): - super(AzureSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(AzureSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzureSqlSource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name @@ -7722,14 +7991,14 @@ class AzureSqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -7795,23 +8064,23 @@ class AzureStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. - :type account_key: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type account_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. - :type sas_token: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type sas_token: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7879,14 +8148,14 @@ class AzureTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: Required. The table name of the Azure Table storage. Type: string (or Expression with resultType string). :type table_name: object @@ -7955,6 +8224,9 @@ class AzureTableSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param azure_table_default_partition_key_value: Azure Table default partition key value. Type: string (or Expression with resultType string). :type azure_table_default_partition_key_value: object @@ -7981,6 +8253,7 @@ class AzureTableSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'azure_table_default_partition_key_value': {'key': 'azureTableDefaultPartitionKeyValue', 'type': 'object'}, 'azure_table_partition_key_name': {'key': 'azureTablePartitionKeyName', 'type': 'object'}, 'azure_table_row_key_name': {'key': 'azureTableRowKeyName', 'type': 'object'}, @@ -7996,13 +8269,14 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, azure_table_default_partition_key_value: Optional[object] = None, azure_table_partition_key_name: Optional[object] = None, azure_table_row_key_name: Optional[object] = None, azure_table_insert_type: Optional[object] = None, **kwargs ): - super(AzureTableSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(AzureTableSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'AzureTableSink' # type: str self.azure_table_default_partition_key_value = azure_table_default_partition_key_value self.azure_table_partition_key_name = azure_table_partition_key_name @@ -8029,12 +8303,15 @@ class AzureTableSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param azure_table_source_query: Azure Table source query. Type: string (or Expression with resultType string). :type azure_table_source_query: object @@ -8053,8 +8330,9 @@ class AzureTableSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'azure_table_source_query': {'key': 'azureTableSourceQuery', 'type': 'object'}, 'azure_table_source_ignore_table_not_found': {'key': 'azureTableSourceIgnoreTableNotFound', 'type': 'object'}, } @@ -8066,13 +8344,14 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, azure_table_source_query: Optional[object] = None, azure_table_source_ignore_table_not_found: Optional[object] = None, **kwargs ): - super(AzureTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(AzureTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'AzureTableSource' # type: str self.azure_table_source_query = azure_table_source_query self.azure_table_source_ignore_table_not_found = azure_table_source_ignore_table_not_found @@ -8089,23 +8368,23 @@ class AzureTableStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param account_key: The Azure key vault secret reference of accountKey in connection string. - :type account_key: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type account_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param sas_uri: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. :type sas_uri: object :param sas_token: The Azure key vault secret reference of sasToken in sas uri. - :type sas_token: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type sas_token: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -8173,18 +8452,18 @@ class BinaryDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the Binary storage. - :type location: ~data_factory_management_client.models.DatasetLocation + :type location: ~azure.mgmt.datafactory.models.DatasetLocation :param compression: The data compression method used for the binary dataset. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -8277,7 +8556,7 @@ class BinaryReadSettings(FormatReadSettings): :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. - :type compression_properties: ~data_factory_management_client.models.CompressionReadSettings + :type compression_properties: ~azure.mgmt.datafactory.models.CompressionReadSettings """ _validation = { @@ -8327,8 +8606,11 @@ class BinarySink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Binary store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings """ _validation = { @@ -8343,6 +8625,7 @@ class BinarySink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, } @@ -8355,10 +8638,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, **kwargs ): - super(BinarySink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(BinarySink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'BinarySink' # type: str self.store_settings = store_settings @@ -8382,10 +8666,13 @@ class BinarySource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Binary store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: Binary format settings. - :type format_settings: ~data_factory_management_client.models.BinaryReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.BinaryReadSettings """ _validation = { @@ -8398,6 +8685,7 @@ class BinarySource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'BinaryReadSettings'}, } @@ -8409,11 +8697,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["BinaryReadSettings"] = None, **kwargs ): - super(BinarySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(BinarySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'BinarySource' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -8438,7 +8727,7 @@ class Trigger(msrest.serialization.Model): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] """ @@ -8495,11 +8784,11 @@ class MultiplePipelineTrigger(Trigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] """ _validation = { @@ -8550,11 +8839,11 @@ class BlobEventsTrigger(MultiplePipelineTrigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] :param blob_path_begins_with: The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: @@ -8567,7 +8856,7 @@ class BlobEventsTrigger(MultiplePipelineTrigger): :param ignore_empty_blobs: If set to true, blobs with zero bytes will be ignored. :type ignore_empty_blobs: bool :param events: Required. The type of events that cause this trigger to fire. - :type events: list[str or ~data_factory_management_client.models.BlobEventTypes] + :type events: list[str or ~azure.mgmt.datafactory.models.BlobEventTypes] :param scope: Required. The ARM resource ID of the Storage Account. :type scope: str """ @@ -8641,6 +8930,9 @@ class BlobSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param blob_writer_overwrite_files: Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). :type blob_writer_overwrite_files: object @@ -8652,6 +8944,9 @@ class BlobSink(CopySink): :type blob_writer_add_header: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object + :param metadata: Specify the custom metadata to be added to sink data. Type: array of objects + (or Expression with resultType array of objects). + :type metadata: list[~azure.mgmt.datafactory.models.MetadataItem] """ _validation = { @@ -8666,10 +8961,12 @@ class BlobSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'blob_writer_overwrite_files': {'key': 'blobWriterOverwriteFiles', 'type': 'object'}, 'blob_writer_date_time_format': {'key': 'blobWriterDateTimeFormat', 'type': 'object'}, 'blob_writer_add_header': {'key': 'blobWriterAddHeader', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, + 'metadata': {'key': 'metadata', 'type': '[MetadataItem]'}, } def __init__( @@ -8681,18 +8978,21 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, blob_writer_overwrite_files: Optional[object] = None, blob_writer_date_time_format: Optional[object] = None, blob_writer_add_header: Optional[object] = None, copy_behavior: Optional[object] = None, + metadata: Optional[List["MetadataItem"]] = None, **kwargs ): - super(BlobSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(BlobSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'BlobSink' # type: str self.blob_writer_overwrite_files = blob_writer_overwrite_files self.blob_writer_date_time_format = blob_writer_date_time_format self.blob_writer_add_header = blob_writer_add_header self.copy_behavior = copy_behavior + self.metadata = metadata class BlobSource(CopySource): @@ -8714,6 +9014,9 @@ class BlobSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param treat_empty_as_null: Treat empty as null. Type: boolean (or Expression with resultType boolean). :type treat_empty_as_null: object @@ -8735,6 +9038,7 @@ class BlobSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'treat_empty_as_null': {'key': 'treatEmptyAsNull', 'type': 'object'}, 'skip_header_line_count': {'key': 'skipHeaderLineCount', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, @@ -8747,12 +9051,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, treat_empty_as_null: Optional[object] = None, skip_header_line_count: Optional[object] = None, recursive: Optional[object] = None, **kwargs ): - super(BlobSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(BlobSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'BlobSource' # type: str self.treat_empty_as_null = treat_empty_as_null self.skip_header_line_count = skip_header_line_count @@ -8775,18 +9080,18 @@ class BlobTrigger(MultiplePipelineTrigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] :param folder_path: Required. The path of the container/folder that will trigger the pipeline. :type folder_path: str :param max_concurrency: Required. The max number of parallel files to handle when it is triggered. :type max_concurrency: int :param linked_service: Required. The Azure Storage linked service reference. - :type linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference """ _validation = { @@ -8839,11 +9144,11 @@ class CassandraLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name for connection. Type: string (or Expression with resultType @@ -8859,7 +9164,7 @@ class CassandraLinkedService(LinkedService): string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -8931,12 +9236,15 @@ class CassandraSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). :type query: object @@ -8947,7 +9255,7 @@ class CassandraSource(TabularSource): Possible values include: "ALL", "EACH_QUORUM", "QUORUM", "LOCAL_QUORUM", "ONE", "TWO", "THREE", "LOCAL_ONE", "SERIAL", "LOCAL_SERIAL". :type consistency_level: str or - ~data_factory_management_client.models.CassandraSourceReadConsistencyLevels + ~azure.mgmt.datafactory.models.CassandraSourceReadConsistencyLevels """ _validation = { @@ -8960,8 +9268,9 @@ class CassandraSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'consistency_level': {'key': 'consistencyLevel', 'type': 'str'}, } @@ -8973,13 +9282,14 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, consistency_level: Optional[Union[str, "CassandraSourceReadConsistencyLevels"]] = None, **kwargs ): - super(CassandraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(CassandraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'CassandraSource' # type: str self.query = query self.consistency_level = consistency_level @@ -9004,14 +9314,14 @@ class CassandraTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name of the Cassandra database. Type: string (or Expression with resultType string). :type table_name: object @@ -9076,14 +9386,14 @@ class ChainingTrigger(Trigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipeline: Required. Pipeline for which runs are created when all upstream pipelines complete successfully. - :type pipeline: ~data_factory_management_client.models.TriggerPipelineReference + :type pipeline: ~azure.mgmt.datafactory.models.TriggerPipelineReference :param depends_on: Required. Upstream Pipelines. - :type depends_on: list[~data_factory_management_client.models.PipelineReference] + :type depends_on: list[~azure.mgmt.datafactory.models.PipelineReference] :param run_dimension: Required. Run Dimension property that needs to be emitted by upstream pipelines. :type run_dimension: str @@ -9138,7 +9448,7 @@ class CloudError(msrest.serialization.Model): :param target: Property name/path in request associated with error. :type target: str :param details: Array with additional error details. - :type details: list[~data_factory_management_client.models.CloudError] + :type details: list[~azure.mgmt.datafactory.models.CloudError] """ _validation = { @@ -9181,7 +9491,7 @@ class CmdkeySetup(CustomSetupBase): :param user_name: Required. The user name of data source access. :type user_name: object :param password: Required. The password of data source access. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -9254,14 +9564,14 @@ class CommonDataServiceForAppsEntityDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object @@ -9315,18 +9625,18 @@ class CommonDataServiceForAppsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType - string). Possible values include: "Online", "OnPremisesWithIfd". - :type deployment_type: str or ~data_factory_management_client.models.DynamicsDeploymentType + string). + :type deployment_type: object :param host_name: The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). @@ -9347,30 +9657,26 @@ class CommonDataServiceForAppsLinkedService(LinkedService): :param authentication_type: Required. The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or - Expression with resultType string). Possible values include: "Office365", "Ifd", - "AADServicePrincipal". - :type authentication_type: str or - ~data_factory_management_client.models.DynamicsAuthenticationType + Expression with resultType string). + :type authentication_type: object :param username: User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Common Data Service for Apps instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' - for certificate. Type: string (or Expression with resultType string). Possible values include: - "ServicePrincipalKey", "ServicePrincipalCert". - :type service_principal_credential_type: str or - ~data_factory_management_client.models.DynamicsServicePrincipalCredentialType + for certificate. Type: string (or Expression with resultType string). + :type service_principal_credential_type: object :param service_principal_credential: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - :type service_principal_credential: ~data_factory_management_client.models.SecretBase + :type service_principal_credential: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -9390,16 +9696,16 @@ class CommonDataServiceForAppsLinkedService(LinkedService): 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, - 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, + 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'object'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, - 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, + 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, - 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'str'}, + 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'object'}, 'service_principal_credential': {'key': 'typeProperties.servicePrincipalCredential', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } @@ -9407,8 +9713,8 @@ class CommonDataServiceForAppsLinkedService(LinkedService): def __init__( self, *, - deployment_type: Union[str, "DynamicsDeploymentType"], - authentication_type: Union[str, "DynamicsAuthenticationType"], + deployment_type: object, + authentication_type: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, @@ -9421,7 +9727,7 @@ def __init__( username: Optional[object] = None, password: Optional["SecretBase"] = None, service_principal_id: Optional[object] = None, - service_principal_credential_type: Optional[Union[str, "DynamicsServicePrincipalCredentialType"]] = None, + service_principal_credential_type: Optional[object] = None, service_principal_credential: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs @@ -9467,9 +9773,12 @@ class CommonDataServiceForAppsSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.DynamicsSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). @@ -9492,6 +9801,7 @@ class CommonDataServiceForAppsSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, @@ -9507,11 +9817,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, ignore_null_values: Optional[object] = None, alternate_key_name: Optional[object] = None, **kwargs ): - super(CommonDataServiceForAppsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(CommonDataServiceForAppsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'CommonDataServiceForAppsSink' # type: str self.write_behavior = write_behavior self.ignore_null_values = ignore_null_values @@ -9537,12 +9848,15 @@ class CommonDataServiceForAppsSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -9555,8 +9869,9 @@ class CommonDataServiceForAppsSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -9566,11 +9881,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(CommonDataServiceForAppsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(CommonDataServiceForAppsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'CommonDataServiceForAppsSource' # type: str self.query = query self.additional_columns = additional_columns @@ -9586,7 +9902,7 @@ class ComponentSetup(CustomSetupBase): :param component_name: Required. The name of the 3rd party component. :type component_name: str :param license_key: The license key to activate the component. - :type license_key: ~data_factory_management_client.models.SecretBase + :type license_key: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -9663,11 +9979,11 @@ class ConcurLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Concur. It is mutually exclusive @@ -9679,7 +9995,7 @@ class ConcurLinkedService(LinkedService): :type username: object :param password: The password corresponding to the user name that you provided in the username field. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -9768,14 +10084,14 @@ class ConcurObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -9836,12 +10152,15 @@ class ConcurSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -9857,8 +10176,9 @@ class ConcurSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -9869,12 +10189,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(ConcurSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(ConcurSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ConcurSource' # type: str self.query = query @@ -9929,9 +10250,9 @@ class ControlActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] """ _validation = { @@ -9977,28 +10298,28 @@ class CopyActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param inputs: List of inputs for the activity. - :type inputs: list[~data_factory_management_client.models.DatasetReference] + :type inputs: list[~azure.mgmt.datafactory.models.DatasetReference] :param outputs: List of outputs for the activity. - :type outputs: list[~data_factory_management_client.models.DatasetReference] + :type outputs: list[~azure.mgmt.datafactory.models.DatasetReference] :param source: Required. Copy activity source. - :type source: ~data_factory_management_client.models.CopySource + :type source: ~azure.mgmt.datafactory.models.CopySource :param sink: Required. Copy activity sink. - :type sink: ~data_factory_management_client.models.CopySink + :type sink: ~azure.mgmt.datafactory.models.CopySink :param translator: Copy activity translator. If not specified, tabular translator is used. :type translator: object :param enable_staging: Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). :type enable_staging: object :param staging_settings: Specifies interim staging settings when EnableStaging is true. - :type staging_settings: ~data_factory_management_client.models.StagingSettings + :type staging_settings: ~azure.mgmt.datafactory.models.StagingSettings :param parallel_copies: Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0. @@ -10012,12 +10333,12 @@ class CopyActivity(ExecutionActivity): :param redirect_incompatible_row_settings: Redirect incompatible row settings when EnableSkipIncompatibleRow is true. :type redirect_incompatible_row_settings: - ~data_factory_management_client.models.RedirectIncompatibleRowSettings + ~azure.mgmt.datafactory.models.RedirectIncompatibleRowSettings :param log_storage_settings: (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log. - :type log_storage_settings: ~data_factory_management_client.models.LogStorageSettings + :type log_storage_settings: ~azure.mgmt.datafactory.models.LogStorageSettings :param log_settings: Log settings customer needs provide when enabling log. - :type log_settings: ~data_factory_management_client.models.LogSettings + :type log_settings: ~azure.mgmt.datafactory.models.LogSettings :param preserve_rules: Preserve Rules. :type preserve_rules: list[object] :param preserve: Preserve rules. @@ -10026,7 +10347,7 @@ class CopyActivity(ExecutionActivity): (or Expression with resultType boolean). :type validate_data_consistency: object :param skip_error_file: Specify the fault tolerance for data consistency. - :type skip_error_file: ~data_factory_management_client.models.SkipErrorFile + :type skip_error_file: ~azure.mgmt.datafactory.models.SkipErrorFile """ _validation = { @@ -10192,11 +10513,11 @@ class CosmosDbLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. Type: string, SecureString or @@ -10209,7 +10530,7 @@ class CosmosDbLinkedService(LinkedService): :type database: object :param account_key: The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference. - :type account_key: ~data_factory_management_client.models.SecretBase + :type account_key: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object @@ -10218,13 +10539,13 @@ class CosmosDbLinkedService(LinkedService): for certificate. Type: string (or Expression with resultType string). Possible values include: "ServicePrincipalKey", "ServicePrincipalCert". :type service_principal_credential_type: str or - ~data_factory_management_client.models.CosmosDbServicePrincipalCredentialType + ~azure.mgmt.datafactory.models.CosmosDbServicePrincipalCredentialType :param service_principal_credential: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - :type service_principal_credential: ~data_factory_management_client.models.SecretBase + :type service_principal_credential: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -10234,7 +10555,7 @@ class CosmosDbLinkedService(LinkedService): :type azure_cloud_type: object :param connection_mode: The connection mode used to access CosmosDB account. Type: string (or Expression with resultType string). Possible values include: "Gateway", "Direct". - :type connection_mode: str or ~data_factory_management_client.models.CosmosDbConnectionMode + :type connection_mode: str or ~azure.mgmt.datafactory.models.CosmosDbConnectionMode :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -10320,14 +10641,14 @@ class CosmosDbMongoDbApiCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection: Required. The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). :type collection: object @@ -10382,13 +10703,16 @@ class CosmosDbMongoDbApiLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] + :param is_server_version_above32: Whether the CosmosDB (MongoDB API) server version is higher + than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean). + :type is_server_version_above32: object :param connection_string: Required. The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. @@ -10411,6 +10735,7 @@ class CosmosDbMongoDbApiLinkedService(LinkedService): 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, + 'is_server_version_above32': {'key': 'typeProperties.isServerVersionAbove32', 'type': 'object'}, 'connection_string': {'key': 'typeProperties.connectionString', 'type': 'object'}, 'database': {'key': 'typeProperties.database', 'type': 'object'}, } @@ -10425,10 +10750,12 @@ def __init__( description: Optional[str] = None, parameters: Optional[Dict[str, "ParameterSpecification"]] = None, annotations: Optional[List[object]] = None, + is_server_version_above32: Optional[object] = None, **kwargs ): super(CosmosDbMongoDbApiLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) self.type = 'CosmosDbMongoDbApi' # type: str + self.is_server_version_above32 = is_server_version_above32 self.connection_string = connection_string self.database = database @@ -10458,6 +10785,9 @@ class CosmosDbMongoDbApiSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). @@ -10476,6 +10806,7 @@ class CosmosDbMongoDbApiSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } @@ -10488,10 +10819,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, write_behavior: Optional[object] = None, **kwargs ): - super(CosmosDbMongoDbApiSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(CosmosDbMongoDbApiSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'CosmosDbMongoDbApiSink' # type: str self.write_behavior = write_behavior @@ -10515,12 +10847,15 @@ class CosmosDbMongoDbApiSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. - :type cursor_methods: ~data_factory_management_client.models.MongoDbCursorMethodsProperties + :type cursor_methods: ~azure.mgmt.datafactory.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. @@ -10530,8 +10865,8 @@ class CosmosDbMongoDbApiSource(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -10544,11 +10879,12 @@ class CosmosDbMongoDbApiSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -10558,14 +10894,15 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, filter: Optional[object] = None, cursor_methods: Optional["MongoDbCursorMethodsProperties"] = None, batch_size: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(CosmosDbMongoDbApiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(CosmosDbMongoDbApiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'CosmosDbMongoDbApiSource' # type: str self.filter = filter self.cursor_methods = cursor_methods @@ -10593,14 +10930,14 @@ class CosmosDbSqlApiCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection_name: Required. CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). :type collection_name: object @@ -10669,6 +11006,9 @@ class CosmosDbSqlApiSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. :type write_behavior: object @@ -10686,6 +11026,7 @@ class CosmosDbSqlApiSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } @@ -10698,10 +11039,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, write_behavior: Optional[object] = None, **kwargs ): - super(CosmosDbSqlApiSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(CosmosDbSqlApiSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'CosmosDbSqlApiSink' # type: str self.write_behavior = write_behavior @@ -10725,6 +11067,9 @@ class CosmosDbSqlApiSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: SQL API query. Type: string (or Expression with resultType string). :type query: object :param page_size: Page size of the result. Type: integer (or Expression with resultType @@ -10737,8 +11082,8 @@ class CosmosDbSqlApiSource(CopySource): Expression with resultType boolean). :type detect_datetime: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -10751,11 +11096,12 @@ class CosmosDbSqlApiSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'page_size': {'key': 'pageSize', 'type': 'object'}, 'preferred_regions': {'key': 'preferredRegions', 'type': 'object'}, 'detect_datetime': {'key': 'detectDatetime', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -10765,14 +11111,15 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, page_size: Optional[object] = None, preferred_regions: Optional[object] = None, detect_datetime: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(CosmosDbSqlApiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(CosmosDbSqlApiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'CosmosDbSqlApiSource' # type: str self.query = query self.page_size = page_size @@ -10792,18 +11139,18 @@ class CouchbaseLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param cred_string: The Azure key vault secret reference of credString in connection string. - :type cred_string: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type cred_string: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -10865,12 +11212,15 @@ class CouchbaseSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -10886,8 +11236,9 @@ class CouchbaseSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -10898,12 +11249,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(CouchbaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(CouchbaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'CouchbaseSource' # type: str self.query = query @@ -10927,14 +11279,14 @@ class CouchbaseTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -10988,8 +11340,7 @@ class CreateDataFlowDebugSessionRequest(msrest.serialization.Model): :param time_to_live: Time to live setting of the cluster in minutes. :type time_to_live: int :param integration_runtime: Set to use integration runtime setting for data flow debug session. - :type integration_runtime: - ~data_factory_management_client.models.IntegrationRuntimeDebugResource + :type integration_runtime: ~azure.mgmt.datafactory.models.IntegrationRuntimeDebugResource """ _attribute_map = { @@ -11107,6 +11458,181 @@ def __init__( self.run_id = run_id +class Credential(msrest.serialization.Model): + """The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ManagedIdentityCredential, ServicePrincipalCredential. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Type of credential.Constant filled by server. + :type type: str + :param description: Credential description. + :type description: str + :param annotations: List of tags that can be used for describing the Credential. + :type annotations: list[object] + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'annotations': {'key': 'annotations', 'type': '[object]'}, + } + + _subtype_map = { + 'type': {'ManagedIdentity': 'ManagedIdentityCredential', 'ServicePrincipal': 'ServicePrincipalCredential'} + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, object]] = None, + description: Optional[str] = None, + annotations: Optional[List[object]] = None, + **kwargs + ): + super(Credential, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.type = 'Credential' # type: str + self.description = description + self.annotations = annotations + + +class CredentialReference(msrest.serialization.Model): + """Credential reference type. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :ivar type: Required. Credential reference type. Default value: "CredentialReference". + :vartype type: str + :param reference_name: Required. Reference credential name. + :type reference_name: str + """ + + _validation = { + 'type': {'required': True, 'constant': True}, + 'reference_name': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'reference_name': {'key': 'referenceName', 'type': 'str'}, + } + + type = "CredentialReference" + + def __init__( + self, + *, + reference_name: str, + additional_properties: Optional[Dict[str, object]] = None, + **kwargs + ): + super(CredentialReference, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.reference_name = reference_name + + +class SubResource(msrest.serialization.Model): + """Azure Data Factory nested resource, which belongs to a factory. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The resource identifier. + :vartype id: str + :ivar name: The resource name. + :vartype name: str + :ivar type: The resource type. + :vartype type: str + :ivar etag: Etag identifies change in the resource. + :vartype etag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubResource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.etag = None + + +class CredentialResource(SubResource): + """Credential resource type. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The resource identifier. + :vartype id: str + :ivar name: The resource name. + :vartype name: str + :ivar type: The resource type. + :vartype type: str + :ivar etag: Etag identifies change in the resource. + :vartype etag: str + :param properties: Required. Properties of credentials. + :type properties: ~azure.mgmt.datafactory.models.Credential + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'properties': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'Credential'}, + } + + def __init__( + self, + *, + properties: "Credential", + **kwargs + ): + super(CredentialResource, self).__init__(**kwargs) + self.properties = properties + + class CustomActivity(ExecutionActivity): """Custom activity type. @@ -11122,23 +11648,23 @@ class CustomActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param command: Required. Command for custom activity Type: string (or Expression with resultType string). :type command: object :param resource_linked_service: Resource linked service reference. - :type resource_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type resource_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param folder_path: Folder path for resource files Type: string (or Expression with resultType string). :type folder_path: object :param reference_objects: Reference objects. - :type reference_objects: ~data_factory_management_client.models.CustomActivityReferenceObject + :type reference_objects: ~azure.mgmt.datafactory.models.CustomActivityReferenceObject :param extended_properties: User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined. @@ -11209,9 +11735,9 @@ class CustomActivityReferenceObject(msrest.serialization.Model): """Reference objects for custom activity. :param linked_services: Linked service references. - :type linked_services: list[~data_factory_management_client.models.LinkedServiceReference] + :type linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param datasets: Dataset references. - :type datasets: list[~data_factory_management_client.models.DatasetReference] + :type datasets: list[~azure.mgmt.datafactory.models.DatasetReference] """ _attribute_map = { @@ -11250,14 +11776,14 @@ class CustomDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param type_properties: Custom dataset properties. :type type_properties: object """ @@ -11310,11 +11836,11 @@ class CustomDataSourceLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param type_properties: Required. Custom linked service properties. @@ -11368,11 +11894,11 @@ class CustomEventsTrigger(MultiplePipelineTrigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] :param subject_begins_with: The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. :type subject_begins_with: str @@ -11441,13 +11967,13 @@ class DatabricksNotebookActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param notebook_path: Required. The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). @@ -11516,13 +12042,13 @@ class DatabricksSparkJarActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param main_class_name: Required. The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string). @@ -11590,13 +12116,13 @@ class DatabricksSparkPythonActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param python_file: Required. The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). :type python_file: object @@ -11654,7 +12180,9 @@ class DataFlow(msrest.serialization.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: MappingDataFlow. - :param type: Type of data flow.Constant filled by server. + All required parameters must be populated in order to send to Azure. + + :param type: Required. Type of data flow.Constant filled by server. :type type: str :param description: The description of the data flow. :type description: str @@ -11662,9 +12190,13 @@ class DataFlow(msrest.serialization.Model): :type annotations: list[object] :param folder: The folder that this data flow is in. If not specified, Data flow will appear at the root level. - :type folder: ~data_factory_management_client.models.DataFlowFolder + :type folder: ~azure.mgmt.datafactory.models.DataFlowFolder """ + _validation = { + 'type': {'required': True}, + } + _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, @@ -11740,9 +12272,9 @@ class DataFlowDebugCommandRequest(msrest.serialization.Model): :type session_id: str :param command: The command type. Possible values include: "executePreviewQuery", "executeStatisticsQuery", "executeExpressionQuery". - :type command: str or ~data_factory_management_client.models.DataFlowDebugCommandType + :type command: str or ~azure.mgmt.datafactory.models.DataFlowDebugCommandType :param command_payload: The command payload object. - :type command_payload: ~data_factory_management_client.models.DataFlowDebugCommandPayload + :type command_payload: ~azure.mgmt.datafactory.models.DataFlowDebugCommandPayload """ _attribute_map = { @@ -11800,15 +12332,15 @@ class DataFlowDebugPackage(msrest.serialization.Model): :param session_id: The ID of data flow debug session. :type session_id: str :param data_flow: Data flow instance. - :type data_flow: ~data_factory_management_client.models.DataFlowDebugResource + :type data_flow: ~azure.mgmt.datafactory.models.DataFlowDebugResource :param datasets: List of datasets. - :type datasets: list[~data_factory_management_client.models.DatasetDebugResource] + :type datasets: list[~azure.mgmt.datafactory.models.DatasetDebugResource] :param linked_services: List of linked services. - :type linked_services: list[~data_factory_management_client.models.LinkedServiceDebugResource] + :type linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceDebugResource] :param staging: Staging info for debug session. - :type staging: ~data_factory_management_client.models.DataFlowStagingInfo + :type staging: ~azure.mgmt.datafactory.models.DataFlowStagingInfo :param debug_settings: Data flow debug settings. - :type debug_settings: ~data_factory_management_client.models.DataFlowDebugPackageDebugSettings + :type debug_settings: ~azure.mgmt.datafactory.models.DataFlowDebugPackageDebugSettings """ _attribute_map = { @@ -11847,7 +12379,7 @@ class DataFlowDebugPackageDebugSettings(msrest.serialization.Model): """Data flow debug settings. :param source_settings: Source setting for data flow debug. - :type source_settings: list[~data_factory_management_client.models.DataFlowSourceSetting] + :type source_settings: list[~azure.mgmt.datafactory.models.DataFlowSourceSetting] :param parameters: Data flow parameters. :type parameters: dict[str, object] :param dataset_parameters: Parameters for dataset. @@ -11903,7 +12435,7 @@ class DataFlowDebugResource(SubResourceDebugResource): :param name: The resource name. :type name: str :param properties: Required. Data flow properties. - :type properties: ~data_factory_management_client.models.DataFlow + :type properties: ~azure.mgmt.datafactory.models.DataFlow """ _validation = { @@ -12020,7 +12552,7 @@ class DataFlowListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of data flows. - :type value: list[~data_factory_management_client.models.DataFlowResource] + :type value: list[~azure.mgmt.datafactory.models.DataFlowResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -12092,46 +12624,6 @@ def __init__( self.dataset_parameters = dataset_parameters -class SubResource(msrest.serialization.Model): - """Azure Data Factory nested resource, which belongs to a factory. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The resource identifier. - :vartype id: str - :ivar name: The resource name. - :vartype name: str - :ivar type: The resource type. - :vartype type: str - :ivar etag: Etag identifies change in the resource. - :vartype etag: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SubResource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.etag = None - - class DataFlowResource(SubResource): """Data flow resource type. @@ -12148,7 +12640,7 @@ class DataFlowResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Data flow properties. - :type properties: ~data_factory_management_client.models.DataFlow + :type properties: ~azure.mgmt.datafactory.models.DataFlow """ _validation = { @@ -12219,11 +12711,11 @@ class DataFlowSink(Transformation): :param description: Transformation description. :type description: str :param dataset: Dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param linked_service: Linked service reference. - :type linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param schema_linked_service: Schema linked service reference. - :type schema_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type schema_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference """ _validation = { @@ -12264,11 +12756,11 @@ class DataFlowSource(Transformation): :param description: Transformation description. :type description: str :param dataset: Dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param linked_service: Linked service reference. - :type linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param schema_linked_service: Schema linked service reference. - :type schema_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type schema_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference """ _validation = { @@ -12335,7 +12827,7 @@ class DataFlowStagingInfo(msrest.serialization.Model): """Staging info for execute data flow activity. :param linked_service: Staging linked service reference. - :type linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param folder_path: Folder path for staging blob. Type: string (or Expression with resultType string). :type folder_path: object @@ -12373,18 +12865,18 @@ class DataLakeAnalyticsUsqlActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param script_path: Required. Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Required. Script linked service reference. - :type script_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type script_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param degree_of_parallelism: The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. :type degree_of_parallelism: object @@ -12468,8 +12960,9 @@ class DatasetCompression(msrest.serialization.Model): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object """ _validation = { @@ -12478,7 +12971,7 @@ class DatasetCompression(msrest.serialization.Model): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, } _subtype_map = { @@ -12504,8 +12997,9 @@ class DatasetBZip2Compression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object """ _validation = { @@ -12514,7 +13008,7 @@ class DatasetBZip2Compression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, } def __init__( @@ -12561,7 +13055,7 @@ class DatasetDebugResource(SubResourceDebugResource): :param name: The resource name. :type name: str :param properties: Required. Dataset properties. - :type properties: ~data_factory_management_client.models.Dataset + :type properties: ~azure.mgmt.datafactory.models.Dataset """ _validation = { @@ -12592,10 +13086,11 @@ class DatasetDeflateCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str - :param level: The Deflate compression level. Possible values include: "Optimal", "Fastest". - :type level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object + :param level: The Deflate compression level. + :type level: object """ _validation = { @@ -12604,15 +13099,15 @@ class DatasetDeflateCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, - 'level': {'key': 'level', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, + 'level': {'key': 'level', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, - level: Optional[Union[str, "DatasetCompressionLevel"]] = None, + level: Optional[object] = None, **kwargs ): super(DatasetDeflateCompression, self).__init__(additional_properties=additional_properties, **kwargs) @@ -12649,10 +13144,11 @@ class DatasetGZipCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str - :param level: The GZip compression level. Possible values include: "Optimal", "Fastest". - :type level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object + :param level: The GZip compression level. + :type level: object """ _validation = { @@ -12661,15 +13157,15 @@ class DatasetGZipCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, - 'level': {'key': 'level', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, + 'level': {'key': 'level', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, - level: Optional[Union[str, "DatasetCompressionLevel"]] = None, + level: Optional[object] = None, **kwargs ): super(DatasetGZipCompression, self).__init__(additional_properties=additional_properties, **kwargs) @@ -12683,7 +13179,7 @@ class DatasetListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of datasets. - :type value: list[~data_factory_management_client.models.DatasetResource] + :type value: list[~azure.mgmt.datafactory.models.DatasetResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -12765,7 +13261,7 @@ class DatasetResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Dataset properties. - :type properties: ~data_factory_management_client.models.Dataset + :type properties: ~azure.mgmt.datafactory.models.Dataset """ _validation = { @@ -12834,8 +13330,9 @@ class DatasetTarCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object """ _validation = { @@ -12844,7 +13341,7 @@ class DatasetTarCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, } def __init__( @@ -12865,10 +13362,11 @@ class DatasetTarGZipCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str - :param level: The TarGZip compression level. Possible values include: "Optimal", "Fastest". - :type level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object + :param level: The TarGZip compression level. + :type level: object """ _validation = { @@ -12877,15 +13375,15 @@ class DatasetTarGZipCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, - 'level': {'key': 'level', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, + 'level': {'key': 'level', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, - level: Optional[Union[str, "DatasetCompressionLevel"]] = None, + level: Optional[object] = None, **kwargs ): super(DatasetTarGZipCompression, self).__init__(additional_properties=additional_properties, **kwargs) @@ -12901,10 +13399,11 @@ class DatasetZipDeflateCompression(DatasetCompression): :param additional_properties: Unmatched properties from the message are deserialized to this collection. :type additional_properties: dict[str, object] - :param type: Required. Type of dataset compression.Constant filled by server. - :type type: str - :param level: The ZipDeflate compression level. Possible values include: "Optimal", "Fastest". - :type level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param type: Required. Type of dataset compression. Type: string (or Expression with resultType + string).Constant filled by server. + :type type: object + :param level: The ZipDeflate compression level. + :type level: object """ _validation = { @@ -12913,15 +13412,15 @@ class DatasetZipDeflateCompression(DatasetCompression): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, - 'type': {'key': 'type', 'type': 'str'}, - 'level': {'key': 'level', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'object'}, + 'level': {'key': 'level', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, - level: Optional[Union[str, "DatasetCompressionLevel"]] = None, + level: Optional[object] = None, **kwargs ): super(DatasetZipDeflateCompression, self).__init__(additional_properties=additional_properties, **kwargs) @@ -12940,11 +13439,11 @@ class Db2LinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: The connection string. It is mutually exclusive with server, @@ -12959,12 +13458,12 @@ class Db2LinkedService(LinkedService): :type database: object :param authentication_type: AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. Possible values include: "Basic". - :type authentication_type: str or ~data_factory_management_client.models.Db2AuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.Db2AuthenticationType :param username: Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param package_collection: Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). @@ -13051,12 +13550,15 @@ class Db2Source(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -13071,8 +13573,9 @@ class Db2Source(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -13083,12 +13586,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(Db2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(Db2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'Db2Source' # type: str self.query = query @@ -13112,14 +13616,14 @@ class Db2TableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -13188,13 +13692,13 @@ class DeleteActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param recursive: If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -13206,11 +13710,11 @@ class DeleteActivity(ExecutionActivity): :type enable_logging: object :param log_storage_settings: Log storage settings customer need to provide when enableLogging is true. - :type log_storage_settings: ~data_factory_management_client.models.LogStorageSettings + :type log_storage_settings: ~azure.mgmt.datafactory.models.LogStorageSettings :param dataset: Required. Delete activity dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param store_settings: Delete activity store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings """ _validation = { @@ -13305,16 +13809,16 @@ class DelimitedTextDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the delimited text storage. - :type location: ~data_factory_management_client.models.DatasetLocation + :type location: ~azure.mgmt.datafactory.models.DatasetLocation :param column_delimiter: The column delimiter. Type: string (or Expression with resultType string). :type column_delimiter: object @@ -13326,12 +13830,11 @@ class DelimitedTextDataset(Dataset): https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). :type encoding_name: object - :param compression_codec: Possible values include: "none", "gzip", "snappy", "lzo", "bzip2", - "deflate", "zipDeflate", "lz4", "tar", "tarGZip". - :type compression_codec: str or ~data_factory_management_client.models.CompressionCodec - :param compression_level: The data compression method used for DelimitedText. Possible values - include: "Optimal", "Fastest". - :type compression_level: str or ~data_factory_management_client.models.DatasetCompressionLevel + :param compression_codec: The data compressionCodec. Type: string (or Expression with + resultType string). + :type compression_codec: object + :param compression_level: The data compression method used for DelimitedText. + :type compression_level: object :param quote_char: The quote character. Type: string (or Expression with resultType string). :type quote_char: object :param escape_char: The escape character. Type: string (or Expression with resultType string). @@ -13363,8 +13866,8 @@ class DelimitedTextDataset(Dataset): 'column_delimiter': {'key': 'typeProperties.columnDelimiter', 'type': 'object'}, 'row_delimiter': {'key': 'typeProperties.rowDelimiter', 'type': 'object'}, 'encoding_name': {'key': 'typeProperties.encodingName', 'type': 'object'}, - 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'str'}, - 'compression_level': {'key': 'typeProperties.compressionLevel', 'type': 'str'}, + 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'object'}, + 'compression_level': {'key': 'typeProperties.compressionLevel', 'type': 'object'}, 'quote_char': {'key': 'typeProperties.quoteChar', 'type': 'object'}, 'escape_char': {'key': 'typeProperties.escapeChar', 'type': 'object'}, 'first_row_as_header': {'key': 'typeProperties.firstRowAsHeader', 'type': 'object'}, @@ -13386,8 +13889,8 @@ def __init__( column_delimiter: Optional[object] = None, row_delimiter: Optional[object] = None, encoding_name: Optional[object] = None, - compression_codec: Optional[Union[str, "CompressionCodec"]] = None, - compression_level: Optional[Union[str, "DatasetCompressionLevel"]] = None, + compression_codec: Optional[object] = None, + compression_level: Optional[object] = None, quote_char: Optional[object] = None, escape_char: Optional[object] = None, first_row_as_header: Optional[object] = None, @@ -13422,7 +13925,7 @@ class DelimitedTextReadSettings(FormatReadSettings): input files. Type: integer (or Expression with resultType integer). :type skip_line_count: object :param compression_properties: Compression settings. - :type compression_properties: ~data_factory_management_client.models.CompressionReadSettings + :type compression_properties: ~azure.mgmt.datafactory.models.CompressionReadSettings """ _validation = { @@ -13475,10 +13978,13 @@ class DelimitedTextSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: DelimitedText store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: DelimitedText format settings. - :type format_settings: ~data_factory_management_client.models.DelimitedTextWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.DelimitedTextWriteSettings """ _validation = { @@ -13493,6 +13999,7 @@ class DelimitedTextSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'DelimitedTextWriteSettings'}, } @@ -13506,11 +14013,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["DelimitedTextWriteSettings"] = None, **kwargs ): - super(DelimitedTextSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(DelimitedTextSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'DelimitedTextSink' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -13535,13 +14043,16 @@ class DelimitedTextSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: DelimitedText store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: DelimitedText format settings. - :type format_settings: ~data_factory_management_client.models.DelimitedTextReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.DelimitedTextReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -13554,9 +14065,10 @@ class DelimitedTextSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'DelimitedTextReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -13566,12 +14078,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["DelimitedTextReadSettings"] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(DelimitedTextSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(DelimitedTextSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'DelimitedTextSource' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -13728,14 +14241,14 @@ class DocumentDbCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection_name: Required. Document Database collection name. Type: string (or Expression with resultType string). :type collection_name: object @@ -13804,6 +14317,9 @@ class DocumentDbCollectionSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param nesting_separator: Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). :type nesting_separator: object @@ -13824,6 +14340,7 @@ class DocumentDbCollectionSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, } @@ -13837,11 +14354,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, nesting_separator: Optional[object] = None, write_behavior: Optional[object] = None, **kwargs ): - super(DocumentDbCollectionSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(DocumentDbCollectionSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'DocumentDbCollectionSink' # type: str self.nesting_separator = nesting_separator self.write_behavior = write_behavior @@ -13866,6 +14384,9 @@ class DocumentDbCollectionSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Documents query. Type: string (or Expression with resultType string). :type query: object :param nesting_separator: Nested properties separator. Type: string (or Expression with @@ -13875,8 +14396,8 @@ class DocumentDbCollectionSource(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -13889,10 +14410,11 @@ class DocumentDbCollectionSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -13902,13 +14424,14 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, nesting_separator: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(DocumentDbCollectionSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(DocumentDbCollectionSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'DocumentDbCollectionSource' # type: str self.query = query self.nesting_separator = nesting_separator @@ -13927,18 +14450,18 @@ class DrillLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -14000,12 +14523,15 @@ class DrillSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -14021,8 +14547,9 @@ class DrillSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -14033,12 +14560,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(DrillSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(DrillSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'DrillSource' # type: str self.query = query @@ -14062,14 +14590,14 @@ class DrillTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -14157,7 +14685,7 @@ class DwCopyCommandSettings(msrest.serialization.Model): default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). - :type default_values: list[~data_factory_management_client.models.DwCopyCommandDefaultValue] + :type default_values: list[~azure.mgmt.datafactory.models.DwCopyCommandDefaultValue] :param additional_options: Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }. @@ -14192,11 +14720,11 @@ class DynamicsAxLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData @@ -14208,7 +14736,7 @@ class DynamicsAxLinkedService(LinkedService): :param service_principal_key: Required. Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string). - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: Required. Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string). @@ -14291,14 +14819,14 @@ class DynamicsAxResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param path: Required. The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). :type path: object @@ -14361,12 +14889,15 @@ class DynamicsAxSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -14387,8 +14918,9 @@ class DynamicsAxSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -14400,13 +14932,14 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): - super(DynamicsAxSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(DynamicsAxSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'DynamicsAXSource' # type: str self.query = query self.http_request_timeout = http_request_timeout @@ -14431,14 +14964,14 @@ class DynamicsCrmEntityDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object @@ -14492,18 +15025,17 @@ class DynamicsCrmLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: - string (or Expression with resultType string). Possible values include: "Online", - "OnPremisesWithIfd". - :type deployment_type: str or ~data_factory_management_client.models.DynamicsDeploymentType + string (or Expression with resultType string). + :type deployment_type: object :param host_name: The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). @@ -14522,30 +15054,26 @@ class DynamicsCrmLinkedService(LinkedService): :param authentication_type: Required. The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or - Expression with resultType string). Possible values include: "Office365", "Ifd", - "AADServicePrincipal". - :type authentication_type: str or - ~data_factory_management_client.models.DynamicsAuthenticationType + Expression with resultType string). + :type authentication_type: object :param username: User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Dynamics CRM instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' - for certificate. Type: string (or Expression with resultType string). Possible values include: - "ServicePrincipalKey", "ServicePrincipalCert". - :type service_principal_credential_type: str or - ~data_factory_management_client.models.DynamicsServicePrincipalCredentialType + for certificate. Type: string (or Expression with resultType string). + :type service_principal_credential_type: object :param service_principal_credential: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - :type service_principal_credential: ~data_factory_management_client.models.SecretBase + :type service_principal_credential: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -14565,16 +15093,16 @@ class DynamicsCrmLinkedService(LinkedService): 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, - 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, + 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'object'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, - 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, + 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, - 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'str'}, + 'service_principal_credential_type': {'key': 'typeProperties.servicePrincipalCredentialType', 'type': 'object'}, 'service_principal_credential': {'key': 'typeProperties.servicePrincipalCredential', 'type': 'SecretBase'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, } @@ -14582,8 +15110,8 @@ class DynamicsCrmLinkedService(LinkedService): def __init__( self, *, - deployment_type: Union[str, "DynamicsDeploymentType"], - authentication_type: Union[str, "DynamicsAuthenticationType"], + deployment_type: object, + authentication_type: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, @@ -14596,7 +15124,7 @@ def __init__( username: Optional[object] = None, password: Optional["SecretBase"] = None, service_principal_id: Optional[object] = None, - service_principal_credential_type: Optional[Union[str, "DynamicsServicePrincipalCredentialType"]] = None, + service_principal_credential_type: Optional[object] = None, service_principal_credential: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs @@ -14642,9 +15170,12 @@ class DynamicsCrmSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.DynamicsSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). @@ -14667,6 +15198,7 @@ class DynamicsCrmSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, @@ -14682,11 +15214,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, ignore_null_values: Optional[object] = None, alternate_key_name: Optional[object] = None, **kwargs ): - super(DynamicsCrmSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(DynamicsCrmSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'DynamicsCrmSink' # type: str self.write_behavior = write_behavior self.ignore_null_values = ignore_null_values @@ -14712,12 +15245,15 @@ class DynamicsCrmSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -14730,8 +15266,9 @@ class DynamicsCrmSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -14741,11 +15278,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(DynamicsCrmSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(DynamicsCrmSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'DynamicsCrmSource' # type: str self.query = query self.additional_columns = additional_columns @@ -14770,14 +15308,14 @@ class DynamicsEntityDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param entity_name: The logical name of the entity. Type: string (or Expression with resultType string). :type entity_name: object @@ -14831,17 +15369,17 @@ class DynamicsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param deployment_type: Required. The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or - Expression with resultType string). Possible values include: "Online", "OnPremisesWithIfd". - :type deployment_type: str or ~data_factory_management_client.models.DynamicsDeploymentType + Expression with resultType string). + :type deployment_type: object :param host_name: The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). :type host_name: object @@ -14859,29 +15397,26 @@ class DynamicsLinkedService(LinkedService): :param authentication_type: Required. The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with - resultType string). Possible values include: "Office365", "Ifd", "AADServicePrincipal". - :type authentication_type: str or - ~data_factory_management_client.models.DynamicsAuthenticationType + resultType string). + :type authentication_type: object :param username: User name to access the Dynamics instance. Type: string (or Expression with resultType string). :type username: object :param password: Password to access the Dynamics instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_id: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_credential_type: The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' - for certificate. Type: string (or Expression with resultType string). Possible values include: - "ServicePrincipalKey", "ServicePrincipalCert". - :type service_principal_credential_type: str or - ~data_factory_management_client.models.DynamicsServicePrincipalCredentialType + for certificate. Type: string (or Expression with resultType string). + :type service_principal_credential_type: str :param service_principal_credential: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - :type service_principal_credential: ~data_factory_management_client.models.SecretBase + :type service_principal_credential: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -14901,12 +15436,12 @@ class DynamicsLinkedService(LinkedService): 'description': {'key': 'description', 'type': 'str'}, 'parameters': {'key': 'parameters', 'type': '{ParameterSpecification}'}, 'annotations': {'key': 'annotations', 'type': '[object]'}, - 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'str'}, + 'deployment_type': {'key': 'typeProperties.deploymentType', 'type': 'object'}, 'host_name': {'key': 'typeProperties.hostName', 'type': 'object'}, 'port': {'key': 'typeProperties.port', 'type': 'object'}, 'service_uri': {'key': 'typeProperties.serviceUri', 'type': 'object'}, 'organization_name': {'key': 'typeProperties.organizationName', 'type': 'object'}, - 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'}, + 'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'object'}, 'username': {'key': 'typeProperties.username', 'type': 'object'}, 'password': {'key': 'typeProperties.password', 'type': 'SecretBase'}, 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, @@ -14918,8 +15453,8 @@ class DynamicsLinkedService(LinkedService): def __init__( self, *, - deployment_type: Union[str, "DynamicsDeploymentType"], - authentication_type: Union[str, "DynamicsAuthenticationType"], + deployment_type: object, + authentication_type: object, additional_properties: Optional[Dict[str, object]] = None, connect_via: Optional["IntegrationRuntimeReference"] = None, description: Optional[str] = None, @@ -14932,7 +15467,7 @@ def __init__( username: Optional[object] = None, password: Optional["SecretBase"] = None, service_principal_id: Optional[object] = None, - service_principal_credential_type: Optional[Union[str, "DynamicsServicePrincipalCredentialType"]] = None, + service_principal_credential_type: Optional[str] = None, service_principal_credential: Optional["SecretBase"] = None, encrypted_credential: Optional[object] = None, **kwargs @@ -14978,9 +15513,12 @@ class DynamicsSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: Required. The write behavior for the operation. Possible values include: "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.DynamicsSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.DynamicsSinkWriteBehavior :param ignore_null_values: The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). @@ -15003,6 +15541,7 @@ class DynamicsSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, 'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'}, @@ -15018,11 +15557,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, ignore_null_values: Optional[object] = None, alternate_key_name: Optional[object] = None, **kwargs ): - super(DynamicsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(DynamicsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'DynamicsSink' # type: str self.write_behavior = write_behavior self.ignore_null_values = ignore_null_values @@ -15048,12 +15588,15 @@ class DynamicsSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -15066,8 +15609,9 @@ class DynamicsSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -15077,11 +15621,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(DynamicsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(DynamicsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'DynamicsSource' # type: str self.query = query self.additional_columns = additional_columns @@ -15098,11 +15643,11 @@ class EloquaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Eloqua server. (i.e. eloqua.example.com). @@ -15111,7 +15656,7 @@ class EloquaLinkedService(LinkedService): sitename/username. (i.e. Eloqua/Alice). :type username: object :param password: The password corresponding to the user name. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -15197,14 +15742,14 @@ class EloquaObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -15265,12 +15810,15 @@ class EloquaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -15286,8 +15834,9 @@ class EloquaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -15298,12 +15847,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(EloquaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(EloquaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'EloquaSource' # type: str self.query = query @@ -15323,7 +15873,7 @@ class EncryptionConfiguration(msrest.serialization.Model): :type key_version: str :param identity: User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used. - :type identity: ~data_factory_management_client.models.CmkIdentityDefinition + :type identity: ~azure.mgmt.datafactory.models.CmkIdentityDefinition """ _validation = { @@ -15359,7 +15909,7 @@ class EntityReference(msrest.serialization.Model): :param type: The type of this referenced entity. Possible values include: "IntegrationRuntimeReference", "LinkedServiceReference". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeEntityReferenceType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeEntityReferenceType :param reference_name: The name of this referenced entity. :type reference_name: str """ @@ -15438,19 +15988,22 @@ class ExcelDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the excel storage. - :type location: ~data_factory_management_client.models.DatasetLocation - :param sheet_name: The sheet of excel file. Type: string (or Expression with resultType + :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param sheet_name: The sheet name of excel file. Type: string (or Expression with resultType string). :type sheet_name: object + :param sheet_index: The sheet index of excel file and default value is 0. Type: integer (or + Expression with resultType integer). + :type sheet_index: object :param range: The partial data of one sheet. Type: string (or Expression with resultType string). :type range: object @@ -15459,7 +16012,7 @@ class ExcelDataset(Dataset): false. Type: boolean (or Expression with resultType boolean). :type first_row_as_header: object :param compression: The data compression method used for the json dataset. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression :param null_value: The null value string. Type: string (or Expression with resultType string). :type null_value: object """ @@ -15481,6 +16034,7 @@ class ExcelDataset(Dataset): 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, 'sheet_name': {'key': 'typeProperties.sheetName', 'type': 'object'}, + 'sheet_index': {'key': 'typeProperties.sheetIndex', 'type': 'object'}, 'range': {'key': 'typeProperties.range', 'type': 'object'}, 'first_row_as_header': {'key': 'typeProperties.firstRowAsHeader', 'type': 'object'}, 'compression': {'key': 'typeProperties.compression', 'type': 'DatasetCompression'}, @@ -15500,6 +16054,7 @@ def __init__( folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, sheet_name: Optional[object] = None, + sheet_index: Optional[object] = None, range: Optional[object] = None, first_row_as_header: Optional[object] = None, compression: Optional["DatasetCompression"] = None, @@ -15510,6 +16065,7 @@ def __init__( self.type = 'Excel' # type: str self.location = location self.sheet_name = sheet_name + self.sheet_index = sheet_index self.range = range self.first_row_as_header = first_row_as_header self.compression = compression @@ -15535,11 +16091,14 @@ class ExcelSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Excel store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -15552,8 +16111,9 @@ class ExcelSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -15563,11 +16123,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(ExcelSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(ExcelSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'ExcelSource' # type: str self.store_settings = store_settings self.additional_columns = additional_columns @@ -15588,22 +16149,21 @@ class ExecuteDataFlowActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param data_flow: Required. Data flow reference. - :type data_flow: ~data_factory_management_client.models.DataFlowReference + :type data_flow: ~azure.mgmt.datafactory.models.DataFlowReference :param staging: Staging info for execute data flow activity. - :type staging: ~data_factory_management_client.models.DataFlowStagingInfo + :type staging: ~azure.mgmt.datafactory.models.DataFlowStagingInfo :param integration_runtime: The integration runtime reference. - :type integration_runtime: ~data_factory_management_client.models.IntegrationRuntimeReference + :type integration_runtime: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param compute: Compute properties for data flow activity. - :type compute: - ~data_factory_management_client.models.ExecuteDataFlowActivityTypePropertiesCompute + :type compute: ~azure.mgmt.datafactory.models.ExecuteDataFlowActivityTypePropertiesCompute :param trace_level: Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string). :type trace_level: object @@ -15714,11 +16274,11 @@ class ExecutePipelineActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param pipeline: Required. Pipeline reference. - :type pipeline: ~data_factory_management_client.models.PipelineReference + :type pipeline: ~azure.mgmt.datafactory.models.PipelineReference :param parameters: Pipeline parameters. :type parameters: dict[str, object] :param wait_on_completion: Defines whether activity execution will wait for the dependent @@ -15779,15 +16339,15 @@ class ExecuteSsisPackageActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param package_location: Required. SSIS package location. - :type package_location: ~data_factory_management_client.models.SsisPackageLocation + :type package_location: ~azure.mgmt.datafactory.models.SsisPackageLocation :param runtime: Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). :type runtime: object @@ -15798,15 +16358,13 @@ class ExecuteSsisPackageActivity(ExecutionActivity): Expression with resultType string). :type environment_path: object :param execution_credential: The package execution credential. - :type execution_credential: ~data_factory_management_client.models.SsisExecutionCredential + :type execution_credential: ~azure.mgmt.datafactory.models.SsisExecutionCredential :param connect_via: Required. The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param project_parameters: The project level parameters to execute the SSIS package. - :type project_parameters: dict[str, - ~data_factory_management_client.models.SsisExecutionParameter] + :type project_parameters: dict[str, ~azure.mgmt.datafactory.models.SsisExecutionParameter] :param package_parameters: The package level parameters to execute the SSIS package. - :type package_parameters: dict[str, - ~data_factory_management_client.models.SsisExecutionParameter] + :type package_parameters: dict[str, ~azure.mgmt.datafactory.models.SsisExecutionParameter] :param project_connection_managers: The project level connection managers to execute the SSIS package. :type project_connection_managers: dict[str, object] @@ -15814,10 +16372,9 @@ class ExecuteSsisPackageActivity(ExecutionActivity): package. :type package_connection_managers: dict[str, object] :param property_overrides: The property overrides to execute the SSIS package. - :type property_overrides: dict[str, - ~data_factory_management_client.models.SsisPropertyOverride] + :type property_overrides: dict[str, ~azure.mgmt.datafactory.models.SsisPropertyOverride] :param log_location: SSIS package execution log location. - :type log_location: ~data_factory_management_client.models.SsisLogLocation + :type log_location: ~azure.mgmt.datafactory.models.SsisLogLocation """ _validation = { @@ -15896,8 +16453,7 @@ class ExposureControlBatchRequest(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param exposure_control_requests: Required. List of exposure control features. - :type exposure_control_requests: - list[~data_factory_management_client.models.ExposureControlRequest] + :type exposure_control_requests: list[~azure.mgmt.datafactory.models.ExposureControlRequest] """ _validation = { @@ -15924,8 +16480,7 @@ class ExposureControlBatchResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param exposure_control_responses: Required. List of exposure control feature values. - :type exposure_control_responses: - list[~data_factory_management_client.models.ExposureControlResponse] + :type exposure_control_responses: list[~azure.mgmt.datafactory.models.ExposureControlResponse] """ _validation = { @@ -16109,7 +16664,7 @@ class Factory(Resource): collection. :type additional_properties: dict[str, object] :param identity: Managed service identity of the factory. - :type identity: ~data_factory_management_client.models.FactoryIdentity + :type identity: ~azure.mgmt.datafactory.models.FactoryIdentity :ivar provisioning_state: Factory provisioning state, example Succeeded. :vartype provisioning_state: str :ivar create_time: Time the factory was created in ISO8601 format. @@ -16117,15 +16672,14 @@ class Factory(Resource): :ivar version: Version of the factory. :vartype version: str :param repo_configuration: Git repo information of the factory. - :type repo_configuration: ~data_factory_management_client.models.FactoryRepoConfiguration + :type repo_configuration: ~azure.mgmt.datafactory.models.FactoryRepoConfiguration :param global_parameters: List of parameters for factory. - :type global_parameters: dict[str, - ~data_factory_management_client.models.GlobalParameterSpecification] + :type global_parameters: dict[str, ~azure.mgmt.datafactory.models.GlobalParameterSpecification] :param encryption: Properties to enable Customer Managed Key for the factory. - :type encryption: ~data_factory_management_client.models.EncryptionConfiguration + :type encryption: ~azure.mgmt.datafactory.models.EncryptionConfiguration :param public_network_access: Whether or not public network access is allowed for the data factory. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~data_factory_management_client.models.PublicNetworkAccess + :type public_network_access: str or ~azure.mgmt.datafactory.models.PublicNetworkAccess """ _validation = { @@ -16307,7 +16861,7 @@ class FactoryIdentity(msrest.serialization.Model): :param type: Required. The identity type. Possible values include: "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned". - :type type: str or ~data_factory_management_client.models.FactoryIdentityType + :type type: str or ~azure.mgmt.datafactory.models.FactoryIdentityType :ivar principal_id: The principal id of the identity. :vartype principal_id: str :ivar tenant_id: The client tenant id of the identity. @@ -16349,7 +16903,7 @@ class FactoryListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of factories. - :type value: list[~data_factory_management_client.models.Factory] + :type value: list[~azure.mgmt.datafactory.models.Factory] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -16381,7 +16935,7 @@ class FactoryRepoUpdate(msrest.serialization.Model): :param factory_resource_id: The factory resource id. :type factory_resource_id: str :param repo_configuration: Git repo information of the factory. - :type repo_configuration: ~data_factory_management_client.models.FactoryRepoConfiguration + :type repo_configuration: ~azure.mgmt.datafactory.models.FactoryRepoConfiguration """ _attribute_map = { @@ -16407,7 +16961,7 @@ class FactoryUpdateParameters(msrest.serialization.Model): :param tags: A set of tags. The resource tags. :type tags: dict[str, str] :param identity: Managed service identity of the factory. - :type identity: ~data_factory_management_client.models.FactoryIdentity + :type identity: ~azure.mgmt.datafactory.models.FactoryIdentity """ _attribute_map = { @@ -16499,11 +17053,11 @@ class FileServerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name of the server. Type: string (or Expression with resultType @@ -16513,7 +17067,7 @@ class FileServerLinkedService(LinkedService): string). :type user_id: object :param password: Password to logon the server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -16614,6 +17168,9 @@ class FileServerReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -16654,6 +17211,7 @@ class FileServerReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -16671,6 +17229,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -16683,7 +17242,7 @@ def __init__( file_filter: Optional[object] = None, **kwargs ): - super(FileServerReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(FileServerReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'FileServerReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -16710,6 +17269,9 @@ class FileServerWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ @@ -16722,6 +17284,7 @@ class FileServerWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } @@ -16730,10 +17293,11 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): - super(FileServerWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) + super(FileServerWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, copy_behavior=copy_behavior, **kwargs) self.type = 'FileServerWriteSettings' # type: str @@ -16756,14 +17320,14 @@ class FileShareDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param folder_path: The path of the on-premises file system. Type: string (or Expression with resultType string). :type folder_path: object @@ -16777,12 +17341,12 @@ class FileShareDataset(Dataset): with resultType string). :type modified_datetime_end: object :param format: The format of the files. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param file_filter: Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). :type file_filter: object :param compression: The data compression method used for the file system. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -16865,6 +17429,9 @@ class FileSystemSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object """ @@ -16881,6 +17448,7 @@ class FileSystemSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, } @@ -16893,10 +17461,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, **kwargs ): - super(FileSystemSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(FileSystemSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'FileSystemSink' # type: str self.copy_behavior = copy_behavior @@ -16920,12 +17489,15 @@ class FileSystemSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -16938,8 +17510,9 @@ class FileSystemSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -16949,11 +17522,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(FileSystemSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(FileSystemSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'FileSystemSource' # type: str self.recursive = recursive self.additional_columns = additional_columns @@ -16974,13 +17548,13 @@ class FilterActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param items: Required. Input array on which filter should be applied. - :type items: ~data_factory_management_client.models.Expression + :type items: ~azure.mgmt.datafactory.models.Expression :param condition: Required. Condition to be used for filtering the input. - :type condition: ~data_factory_management_client.models.Expression + :type condition: ~azure.mgmt.datafactory.models.Expression """ _validation = { @@ -17034,18 +17608,18 @@ class ForEachActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param is_sequential: Should the loop be executed in sequence or in parallel (max 50). :type is_sequential: bool :param batch_count: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). :type batch_count: int :param items: Required. Collection to iterate. - :type items: ~data_factory_management_client.models.Expression + :type items: ~azure.mgmt.datafactory.models.Expression :param activities: Required. List of activities to execute . - :type activities: list[~data_factory_management_client.models.Activity] + :type activities: list[~azure.mgmt.datafactory.models.Activity] """ _validation = { @@ -17104,6 +17678,9 @@ class FtpReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -17137,6 +17714,7 @@ class FtpReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -17152,6 +17730,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -17162,7 +17741,7 @@ def __init__( use_binary_transfer: Optional[bool] = None, **kwargs ): - super(FtpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(FtpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'FtpReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -17185,11 +17764,11 @@ class FtpServerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. Host name of the FTP server. Type: string (or Expression with resultType @@ -17200,12 +17779,12 @@ class FtpServerLinkedService(LinkedService): :type port: object :param authentication_type: The authentication type to be used to connect to the FTP server. Possible values include: "Basic", "Anonymous". - :type authentication_type: str or ~data_factory_management_client.models.FtpAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.FtpAuthenticationType :param user_name: Username to logon the FTP server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to logon the FTP server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -17354,21 +17933,21 @@ class GetMetadataActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param dataset: Required. GetMetadata activity dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param field_list: Fields of metadata to get from dataset. :type field_list: list[object] :param store_settings: GetMetadata activity store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: GetMetadata activity format settings. - :type format_settings: ~data_factory_management_client.models.FormatReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.FormatReadSettings """ _validation = { @@ -17446,6 +18025,8 @@ class GitHubAccessTokenRequest(msrest.serialization.Model): :type git_hub_access_code: str :param git_hub_client_id: GitHub application client ID. :type git_hub_client_id: str + :param git_hub_client_secret: GitHub bring your own app client secret information. + :type git_hub_client_secret: ~azure.mgmt.datafactory.models.GitHubClientSecret :param git_hub_access_token_base_url: Required. GitHub access token base URL. :type git_hub_access_token_base_url: str """ @@ -17458,6 +18039,7 @@ class GitHubAccessTokenRequest(msrest.serialization.Model): _attribute_map = { 'git_hub_access_code': {'key': 'gitHubAccessCode', 'type': 'str'}, 'git_hub_client_id': {'key': 'gitHubClientId', 'type': 'str'}, + 'git_hub_client_secret': {'key': 'gitHubClientSecret', 'type': 'GitHubClientSecret'}, 'git_hub_access_token_base_url': {'key': 'gitHubAccessTokenBaseUrl', 'type': 'str'}, } @@ -17467,11 +18049,13 @@ def __init__( git_hub_access_code: str, git_hub_access_token_base_url: str, git_hub_client_id: Optional[str] = None, + git_hub_client_secret: Optional["GitHubClientSecret"] = None, **kwargs ): super(GitHubAccessTokenRequest, self).__init__(**kwargs) self.git_hub_access_code = git_hub_access_code self.git_hub_client_id = git_hub_client_id + self.git_hub_client_secret = git_hub_client_secret self.git_hub_access_token_base_url = git_hub_access_token_base_url @@ -17496,6 +18080,32 @@ def __init__( self.git_hub_access_token = git_hub_access_token +class GitHubClientSecret(msrest.serialization.Model): + """Client secret information for factory's bring your own app repository configuration. + + :param byoa_secret_akv_url: Bring your own app client secret AKV URL. + :type byoa_secret_akv_url: str + :param byoa_secret_name: Bring your own app client secret name in AKV. + :type byoa_secret_name: str + """ + + _attribute_map = { + 'byoa_secret_akv_url': {'key': 'byoaSecretAkvUrl', 'type': 'str'}, + 'byoa_secret_name': {'key': 'byoaSecretName', 'type': 'str'}, + } + + def __init__( + self, + *, + byoa_secret_akv_url: Optional[str] = None, + byoa_secret_name: Optional[str] = None, + **kwargs + ): + super(GitHubClientSecret, self).__init__(**kwargs) + self.byoa_secret_akv_url = byoa_secret_akv_url + self.byoa_secret_name = byoa_secret_name + + class GlobalParameterSpecification(msrest.serialization.Model): """Definition of a single parameter for an entity. @@ -17503,7 +18113,7 @@ class GlobalParameterSpecification(msrest.serialization.Model): :param type: Required. Global Parameter type. Possible values include: "Object", "String", "Int", "Float", "Bool", "Array". - :type type: str or ~data_factory_management_client.models.GlobalParameterType + :type type: str or ~azure.mgmt.datafactory.models.GlobalParameterType :param value: Required. Value of parameter. :type value: object """ @@ -17541,11 +18151,11 @@ class GoogleAdWordsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param client_customer_id: Required. The Client customer ID of the AdWords account that you @@ -17553,21 +18163,21 @@ class GoogleAdWordsLinkedService(LinkedService): :type client_customer_id: object :param developer_token: Required. The developer token associated with the manager account that you use to grant access to the AdWords API. - :type developer_token: ~data_factory_management_client.models.SecretBase + :type developer_token: ~azure.mgmt.datafactory.models.SecretBase :param authentication_type: Required. The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: "ServiceAuthentication", "UserAuthentication". :type authentication_type: str or - ~data_factory_management_client.models.GoogleAdWordsAuthenticationType + ~azure.mgmt.datafactory.models.GoogleAdWordsAuthenticationType :param refresh_token: The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. - :type refresh_token: ~data_factory_management_client.models.SecretBase + :type refresh_token: ~azure.mgmt.datafactory.models.SecretBase :param client_id: The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). :type client_id: object :param client_secret: The client secret of the google application used to acquire the refresh token. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param email: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. :type email: object @@ -17669,14 +18279,14 @@ class GoogleAdWordsObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -17737,12 +18347,15 @@ class GoogleAdWordsSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -17758,8 +18371,9 @@ class GoogleAdWordsSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -17770,12 +18384,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(GoogleAdWordsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(GoogleAdWordsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'GoogleAdWordsSource' # type: str self.query = query @@ -17791,11 +18406,11 @@ class GoogleBigQueryLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param project: Required. The default BigQuery project to query against. @@ -17810,16 +18425,16 @@ class GoogleBigQueryLinkedService(LinkedService): authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: "ServiceAuthentication", "UserAuthentication". :type authentication_type: str or - ~data_factory_management_client.models.GoogleBigQueryAuthenticationType + ~azure.mgmt.datafactory.models.GoogleBigQueryAuthenticationType :param refresh_token: The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. - :type refresh_token: ~data_factory_management_client.models.SecretBase + :type refresh_token: ~azure.mgmt.datafactory.models.SecretBase :param client_id: The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). :type client_id: object :param client_secret: The client secret of the google application used to acquire the refresh token. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param email: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. :type email: object @@ -17923,14 +18538,14 @@ class GoogleBigQueryObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using database + table properties instead. :type table_name: object @@ -18004,12 +18619,15 @@ class GoogleBigQuerySource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -18025,8 +18643,9 @@ class GoogleBigQuerySource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -18037,12 +18656,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(GoogleBigQuerySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(GoogleBigQuerySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'GoogleBigQuerySource' # type: str self.query = query @@ -18058,11 +18678,11 @@ class GoogleCloudStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param access_key_id: The access key identifier of the Google Cloud Storage Identity and Access @@ -18070,7 +18690,7 @@ class GoogleCloudStorageLinkedService(LinkedService): :type access_key_id: object :param secret_access_key: The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. - :type secret_access_key: ~data_factory_management_client.models.SecretBase + :type secret_access_key: ~azure.mgmt.datafactory.models.SecretBase :param service_url: This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType @@ -18187,6 +18807,9 @@ class GoogleCloudStorageReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -18227,6 +18850,7 @@ class GoogleCloudStorageReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -18244,6 +18868,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -18256,7 +18881,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(GoogleCloudStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(GoogleCloudStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'GoogleCloudStorageReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -18281,18 +18906,18 @@ class GreenplumLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -18354,12 +18979,15 @@ class GreenplumSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -18375,8 +19003,9 @@ class GreenplumSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -18387,12 +19016,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(GreenplumSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(GreenplumSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'GreenplumSource' # type: str self.query = query @@ -18416,14 +19046,14 @@ class GreenplumTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -18488,11 +19118,11 @@ class HBaseLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the HBase server. (i.e. 192.168.222.160). @@ -18505,12 +19135,11 @@ class HBaseLinkedService(LinkedService): :type http_path: object :param authentication_type: Required. The authentication mechanism to use to connect to the HBase server. Possible values include: "Anonymous", "Basic". - :type authentication_type: str or - ~data_factory_management_client.models.HBaseAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.HBaseAuthenticationType :param username: The user name used to connect to the HBase instance. :type username: object :param password: The password corresponding to the user name. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object @@ -18611,14 +19240,14 @@ class HBaseObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -18679,12 +19308,15 @@ class HBaseSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -18700,8 +19332,9 @@ class HBaseSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -18712,12 +19345,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(HBaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(HBaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'HBaseSource' # type: str self.query = query @@ -18733,11 +19367,11 @@ class HdfsLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of the HDFS service endpoint, e.g. @@ -18754,7 +19388,7 @@ class HdfsLinkedService(LinkedService): resultType string). :type user_name: object :param password: Password for Windows authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -18854,6 +19488,9 @@ class HdfsReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -18879,7 +19516,7 @@ class HdfsReadSettings(StoreReadSettings): with resultType string). :type modified_datetime_end: object :param distcp_settings: Specifies Distcp-related settings. - :type distcp_settings: ~data_factory_management_client.models.DistcpSettings + :type distcp_settings: ~azure.mgmt.datafactory.models.DistcpSettings :param delete_files_after_completion: Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). :type delete_files_after_completion: object @@ -18893,6 +19530,7 @@ class HdfsReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -18910,6 +19548,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -18922,7 +19561,7 @@ def __init__( delete_files_after_completion: Optional[object] = None, **kwargs ): - super(HdfsReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(HdfsReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'HdfsReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -18955,11 +19594,14 @@ class HdfsSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object :param distcp_settings: Specifies Distcp-related settings. - :type distcp_settings: ~data_factory_management_client.models.DistcpSettings + :type distcp_settings: ~azure.mgmt.datafactory.models.DistcpSettings """ _validation = { @@ -18972,6 +19614,7 @@ class HdfsSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'distcp_settings': {'key': 'distcpSettings', 'type': 'DistcpSettings'}, } @@ -18983,11 +19626,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, distcp_settings: Optional["DistcpSettings"] = None, **kwargs ): - super(HdfsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(HdfsSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'HdfsSource' # type: str self.recursive = recursive self.distcp_settings = distcp_settings @@ -19008,25 +19652,23 @@ class HdInsightHiveActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param storage_linked_services: Storage linked service references. - :type storage_linked_services: - list[~data_factory_management_client.models.LinkedServiceReference] + :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param script_path: Script path. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Script linked service reference. - :type script_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type script_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param defines: Allows user to specify defines for Hive job request. :type defines: dict[str, object] :param variables: User specified arguments under hivevar namespace. @@ -19103,11 +19745,11 @@ class HdInsightLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param cluster_uri: Required. HDInsight cluster URI. Type: string (or Expression with @@ -19117,13 +19759,12 @@ class HdInsightLinkedService(LinkedService): string). :type user_name: object :param password: HDInsight cluster password. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param linked_service_name: The Azure Storage linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param hcatalog_linked_service_name: A reference to the Azure SQL linked service that points to the HCatalog database. - :type hcatalog_linked_service_name: - ~data_factory_management_client.models.LinkedServiceReference + :type hcatalog_linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -19203,27 +19844,25 @@ class HdInsightMapReduceActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param storage_linked_services: Storage linked service references. - :type storage_linked_services: - list[~data_factory_management_client.models.LinkedServiceReference] + :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param class_name: Required. Class name. Type: string (or Expression with resultType string). :type class_name: object :param jar_file_path: Required. Jar path. Type: string (or Expression with resultType string). :type jar_file_path: object :param jar_linked_service: Jar linked service reference. - :type jar_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type jar_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param jar_libs: Jar libs. :type jar_libs: list[object] :param defines: Allows user to specify defines for the MapReduce job request. @@ -19299,11 +19938,11 @@ class HdInsightOnDemandLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param cluster_size: Required. Number of worker/data nodes in the cluster. Suggestion value: 4. @@ -19319,7 +19958,7 @@ class HdInsightOnDemandLinkedService(LinkedService): :type version: object :param linked_service_name: Required. Azure Storage linked service to be used by the on-demand cluster for storing and processing data. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param host_subscription_id: Required. The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). :type host_subscription_id: object @@ -19327,7 +19966,7 @@ class HdInsightOnDemandLinkedService(LinkedService): (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key for the service principal id. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: Required. The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). :type tenant: object @@ -19341,21 +19980,20 @@ class HdInsightOnDemandLinkedService(LinkedService): resultType string). :type cluster_user_name: object :param cluster_password: The password to access the cluster. - :type cluster_password: ~data_factory_management_client.models.SecretBase + :type cluster_password: ~azure.mgmt.datafactory.models.SecretBase :param cluster_ssh_user_name: The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string). :type cluster_ssh_user_name: object :param cluster_ssh_password: The password to SSH remotely connect cluster’s node (for Linux). - :type cluster_ssh_password: ~data_factory_management_client.models.SecretBase + :type cluster_ssh_password: ~azure.mgmt.datafactory.models.SecretBase :param additional_linked_service_names: Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf. :type additional_linked_service_names: - list[~data_factory_management_client.models.LinkedServiceReference] + list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param hcatalog_linked_service_name: The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore. - :type hcatalog_linked_service_name: - ~data_factory_management_client.models.LinkedServiceReference + :type hcatalog_linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param cluster_type: The cluster type. Type: string (or Expression with resultType string). :type cluster_type: object :param spark_version: The version of spark if the cluster type is 'spark'. Type: string (or @@ -19400,13 +20038,15 @@ class HdInsightOnDemandLinkedService(LinkedService): Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize- cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen- us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. - :type script_actions: list[~data_factory_management_client.models.ScriptAction] + :type script_actions: list[~azure.mgmt.datafactory.models.ScriptAction] :param virtual_network_id: The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). :type virtual_network_id: object :param subnet_name: The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). :type subnet_name: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -19460,6 +20100,7 @@ class HdInsightOnDemandLinkedService(LinkedService): 'script_actions': {'key': 'typeProperties.scriptActions', 'type': '[ScriptAction]'}, 'virtual_network_id': {'key': 'typeProperties.virtualNetworkId', 'type': 'object'}, 'subnet_name': {'key': 'typeProperties.subnetName', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -19503,6 +20144,7 @@ def __init__( script_actions: Optional[List["ScriptAction"]] = None, virtual_network_id: Optional[object] = None, subnet_name: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(HdInsightOnDemandLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -19540,6 +20182,7 @@ def __init__( self.script_actions = script_actions self.virtual_network_id = virtual_network_id self.subnet_name = subnet_name + self.credential = credential class HdInsightPigActivity(ExecutionActivity): @@ -19557,26 +20200,24 @@ class HdInsightPigActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param storage_linked_services: Storage linked service references. - :type storage_linked_services: - list[~data_factory_management_client.models.LinkedServiceReference] + :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array). :type arguments: object :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param script_path: Script path. Type: string (or Expression with resultType string). :type script_path: object :param script_linked_service: Script linked service reference. - :type script_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type script_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param defines: Allows user to specify defines for Pig job request. :type defines: dict[str, object] """ @@ -19646,13 +20287,13 @@ class HdInsightSparkActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param root_path: Required. The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string). :type root_path: object @@ -19662,11 +20303,10 @@ class HdInsightSparkActivity(ExecutionActivity): :param arguments: The user-specified arguments to HDInsightSparkActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param spark_job_linked_service: The storage linked service for uploading the entry file and dependencies, and for receiving logs. - :type spark_job_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type spark_job_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param class_name: The application's Java/Spark main class. :type class_name: str :param proxy_user: The user to impersonate that will execute the job. Type: string (or @@ -19749,21 +20389,19 @@ class HdInsightStreamingActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param storage_linked_services: Storage linked service references. - :type storage_linked_services: - list[~data_factory_management_client.models.LinkedServiceReference] + :type storage_linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param arguments: User specified arguments to HDInsightActivity. :type arguments: list[object] :param get_debug_info: Debug info option. Possible values include: "None", "Always", "Failure". - :type get_debug_info: str or - ~data_factory_management_client.models.HdInsightActivityDebugInfoOption + :type get_debug_info: str or ~azure.mgmt.datafactory.models.HdInsightActivityDebugInfoOption :param mapper: Required. Mapper executable name. Type: string (or Expression with resultType string). :type mapper: object @@ -19777,7 +20415,7 @@ class HdInsightStreamingActivity(ExecutionActivity): :param file_paths: Required. Paths to streaming job files. Can be directories. :type file_paths: list[object] :param file_linked_service: Linked service reference where the files are located. - :type file_linked_service: ~data_factory_management_client.models.LinkedServiceReference + :type file_linked_service: ~azure.mgmt.datafactory.models.LinkedServiceReference :param combiner: Combiner executable name. Type: string (or Expression with resultType string). :type combiner: object :param command_environment: Command line environment values. @@ -19870,11 +20508,11 @@ class HiveLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. IP address or host name of the Hive server, separated by ';' for @@ -19884,15 +20522,15 @@ class HiveLinkedService(LinkedService): :type port: object :param server_type: The type of Hive server. Possible values include: "HiveServer1", "HiveServer2", "HiveThriftServer". - :type server_type: str or ~data_factory_management_client.models.HiveServerType + :type server_type: str or ~azure.mgmt.datafactory.models.HiveServerType :param thrift_transport_protocol: The transport protocol to use in the Thrift layer. Possible values include: "Binary", "SASL", "HTTP ". :type thrift_transport_protocol: str or - ~data_factory_management_client.models.HiveThriftTransportProtocol + ~azure.mgmt.datafactory.models.HiveThriftTransportProtocol :param authentication_type: Required. The authentication method used to access the Hive server. Possible values include: "Anonymous", "Username", "UsernameAndPassword", "WindowsAzureHDInsightService". - :type authentication_type: str or ~data_factory_management_client.models.HiveAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.HiveAuthenticationType :param service_discovery_mode: true to indicate using the ZooKeeper service, false not. :type service_discovery_mode: object :param zoo_keeper_name_space: The namespace on ZooKeeper under which Hive Server 2 nodes are @@ -19905,7 +20543,7 @@ class HiveLinkedService(LinkedService): :type username: object :param password: The password corresponding to the user name that you provided in the Username field. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param http_path: The partial URL corresponding to the Hive server. :type http_path: object :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The @@ -20029,14 +20667,14 @@ class HiveObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -20109,12 +20747,15 @@ class HiveSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -20130,8 +20771,9 @@ class HiveSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -20142,12 +20784,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(HiveSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(HiveSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'HiveSource' # type: str self.query = query @@ -20171,14 +20814,14 @@ class HttpDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param relative_url: The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string). :type relative_url: object @@ -20195,9 +20838,9 @@ class HttpDataset(Dataset): string). :type additional_headers: object :param format: The format of files. - :type format: ~data_factory_management_client.models.DatasetStorageFormat + :type format: ~azure.mgmt.datafactory.models.DatasetStorageFormat :param compression: The data compression method used on files. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -20263,11 +20906,11 @@ class HttpLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: @@ -20275,13 +20918,13 @@ class HttpLinkedService(LinkedService): :type url: object :param authentication_type: The authentication type to be used to connect to the HTTP server. Possible values include: "Basic", "Anonymous", "Digest", "Windows", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.HttpAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.HttpAuthenticationType :param user_name: User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param auth_headers: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). :type auth_headers: object @@ -20372,6 +21015,9 @@ class HttpReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param request_method: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). :type request_method: object @@ -20399,6 +21045,7 @@ class HttpReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'request_body': {'key': 'requestBody', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, @@ -20412,6 +21059,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, request_method: Optional[object] = None, request_body: Optional[object] = None, additional_headers: Optional[object] = None, @@ -20420,7 +21068,7 @@ def __init__( partition_root_path: Optional[object] = None, **kwargs ): - super(HttpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(HttpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'HttpReadSettings' # type: str self.request_method = request_method self.request_body = request_body @@ -20496,6 +21144,9 @@ class HttpSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param http_request_timeout: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: @@ -20513,6 +21164,7 @@ class HttpSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -20523,10 +21175,11 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): - super(HttpSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(HttpSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'HttpSource' # type: str self.http_request_timeout = http_request_timeout @@ -20542,23 +21195,23 @@ class HubspotLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param client_id: Required. The client ID associated with your Hubspot application. :type client_id: object :param client_secret: The client secret associated with your Hubspot application. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param access_token: The access token obtained when initially authenticating your OAuth integration. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param refresh_token: The refresh token obtained when initially authenticating your OAuth integration. - :type refresh_token: ~data_factory_management_client.models.SecretBase + :type refresh_token: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -20646,14 +21299,14 @@ class HubspotObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -20714,12 +21367,15 @@ class HubspotSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -20735,8 +21391,9 @@ class HubspotSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -20747,12 +21404,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(HubspotSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(HubspotSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'HubspotSource' # type: str self.query = query @@ -20772,19 +21430,19 @@ class IfConditionActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param expression: Required. An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. - :type expression: ~data_factory_management_client.models.Expression + :type expression: ~azure.mgmt.datafactory.models.Expression :param if_true_activities: List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. - :type if_true_activities: list[~data_factory_management_client.models.Activity] + :type if_true_activities: list[~azure.mgmt.datafactory.models.Activity] :param if_false_activities: List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. - :type if_false_activities: list[~data_factory_management_client.models.Activity] + :type if_false_activities: list[~azure.mgmt.datafactory.models.Activity] """ _validation = { @@ -20836,11 +21494,11 @@ class ImpalaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Impala server. (i.e. @@ -20851,13 +21509,12 @@ class ImpalaLinkedService(LinkedService): :type port: object :param authentication_type: Required. The authentication type to use. Possible values include: "Anonymous", "SASLUsername", "UsernameAndPassword". - :type authentication_type: str or - ~data_factory_management_client.models.ImpalaAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.ImpalaAuthenticationType :param username: The user name used to access the Impala server. The default value is anonymous when using SASLUsername. :type username: object :param password: The password corresponding to the user name when using UsernameAndPassword. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object @@ -20961,14 +21618,14 @@ class ImpalaObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -21042,12 +21699,15 @@ class ImpalaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -21063,8 +21723,9 @@ class ImpalaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -21075,12 +21736,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(ImpalaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(ImpalaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ImpalaSource' # type: str self.query = query @@ -21096,11 +21758,11 @@ class InformixLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string @@ -21113,12 +21775,12 @@ class InformixLinkedService(LinkedService): :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver- specific property-value format. - :type credential: ~data_factory_management_client.models.SecretBase + :type credential: ~azure.mgmt.datafactory.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -21196,6 +21858,9 @@ class InformixSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -21213,6 +21878,7 @@ class InformixSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -21225,10 +21891,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): - super(InformixSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(InformixSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'InformixSink' # type: str self.pre_copy_script = pre_copy_script @@ -21252,12 +21919,15 @@ class InformixSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -21272,8 +21942,9 @@ class InformixSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -21284,12 +21955,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(InformixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(InformixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'InformixSource' # type: str self.query = query @@ -21313,14 +21985,14 @@ class InformixTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The Informix table name. Type: string (or Expression with resultType string). :type table_name: object @@ -21376,7 +22048,7 @@ class IntegrationRuntime(msrest.serialization.Model): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str """ @@ -21452,10 +22124,9 @@ class IntegrationRuntimeComputeProperties(msrest.serialization.Model): integration runtime. :type max_parallel_executions_per_node: int :param data_flow_properties: Data flow properties for managed integration runtime. - :type data_flow_properties: - ~data_factory_management_client.models.IntegrationRuntimeDataFlowProperties + :type data_flow_properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeDataFlowProperties :param v_net_properties: VNet properties for managed integration runtime. - :type v_net_properties: ~data_factory_management_client.models.IntegrationRuntimeVNetProperties + :type v_net_properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeVNetProperties """ _validation = { @@ -21562,7 +22233,7 @@ class IntegrationRuntimeCustomSetupScriptProperties(msrest.serialization.Model): script. :type blob_container_uri: str :param sas_token: The SAS token of the Azure blob container. - :type sas_token: ~data_factory_management_client.models.SecureString + :type sas_token: ~azure.mgmt.datafactory.models.SecureString """ _attribute_map = { @@ -21590,13 +22261,16 @@ class IntegrationRuntimeDataFlowProperties(msrest.serialization.Model): :type additional_properties: dict[str, object] :param compute_type: Compute type of the cluster which will execute data flow job. Possible values include: "General", "MemoryOptimized", "ComputeOptimized". - :type compute_type: str or ~data_factory_management_client.models.DataFlowComputeType + :type compute_type: str or ~azure.mgmt.datafactory.models.DataFlowComputeType :param core_count: Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. :type core_count: int :param time_to_live: Time to live (in minutes) setting of the cluster which will execute data flow job. :type time_to_live: int + :param cleanup: Cluster will not be recycled and it will be used in next data flow activity run + until TTL (time to live) is reached if this is set as false. Default is true. + :type cleanup: bool """ _validation = { @@ -21608,6 +22282,7 @@ class IntegrationRuntimeDataFlowProperties(msrest.serialization.Model): 'compute_type': {'key': 'computeType', 'type': 'str'}, 'core_count': {'key': 'coreCount', 'type': 'int'}, 'time_to_live': {'key': 'timeToLive', 'type': 'int'}, + 'cleanup': {'key': 'cleanup', 'type': 'bool'}, } def __init__( @@ -21617,6 +22292,7 @@ def __init__( compute_type: Optional[Union[str, "DataFlowComputeType"]] = None, core_count: Optional[int] = None, time_to_live: Optional[int] = None, + cleanup: Optional[bool] = None, **kwargs ): super(IntegrationRuntimeDataFlowProperties, self).__init__(**kwargs) @@ -21624,15 +22300,16 @@ def __init__( self.compute_type = compute_type self.core_count = core_count self.time_to_live = time_to_live + self.cleanup = cleanup class IntegrationRuntimeDataProxyProperties(msrest.serialization.Model): """Data proxy properties for a managed dedicated integration runtime. :param connect_via: The self-hosted integration runtime reference. - :type connect_via: ~data_factory_management_client.models.EntityReference + :type connect_via: ~azure.mgmt.datafactory.models.EntityReference :param staging_linked_service: The staging linked service reference. - :type staging_linked_service: ~data_factory_management_client.models.EntityReference + :type staging_linked_service: ~azure.mgmt.datafactory.models.EntityReference :param path: The path to contain the staged data in the Blob storage. :type path: str """ @@ -21665,7 +22342,7 @@ class IntegrationRuntimeDebugResource(SubResourceDebugResource): :param name: The resource name. :type name: str :param properties: Required. Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntime + :type properties: ~azure.mgmt.datafactory.models.IntegrationRuntime """ _validation = { @@ -21694,7 +22371,7 @@ class IntegrationRuntimeListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of integration runtimes. - :type value: list[~data_factory_management_client.models.IntegrationRuntimeResource] + :type value: list[~azure.mgmt.datafactory.models.IntegrationRuntimeResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -21726,7 +22403,7 @@ class IntegrationRuntimeMonitoringData(msrest.serialization.Model): :param name: Integration runtime name. :type name: str :param nodes: Integration runtime node monitoring data. - :type nodes: list[~data_factory_management_client.models.IntegrationRuntimeNodeMonitoringData] + :type nodes: list[~azure.mgmt.datafactory.models.IntegrationRuntimeNodeMonitoringData] """ _attribute_map = { @@ -21839,6 +22516,103 @@ def __init__( self.received_bytes = None +class IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint(msrest.serialization.Model): + """Azure-SSIS integration runtime outbound network dependency endpoints for one category. + + :param category: The category of outbound network dependency. + :type category: str + :param endpoints: The endpoints for outbound network dependency. + :type endpoints: + list[~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesEndpoint] + """ + + _attribute_map = { + 'category': {'key': 'category', 'type': 'str'}, + 'endpoints': {'key': 'endpoints', 'type': '[IntegrationRuntimeOutboundNetworkDependenciesEndpoint]'}, + } + + def __init__( + self, + *, + category: Optional[str] = None, + endpoints: Optional[List["IntegrationRuntimeOutboundNetworkDependenciesEndpoint"]] = None, + **kwargs + ): + super(IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint, self).__init__(**kwargs) + self.category = category + self.endpoints = endpoints + + +class IntegrationRuntimeOutboundNetworkDependenciesEndpoint(msrest.serialization.Model): + """The endpoint for Azure-SSIS integration runtime outbound network dependency. + + :param domain_name: The domain name of endpoint. + :type domain_name: str + :param endpoint_details: The details of endpoint. + :type endpoint_details: + list[~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails] + """ + + _attribute_map = { + 'domain_name': {'key': 'domainName', 'type': 'str'}, + 'endpoint_details': {'key': 'endpointDetails', 'type': '[IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails]'}, + } + + def __init__( + self, + *, + domain_name: Optional[str] = None, + endpoint_details: Optional[List["IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails"]] = None, + **kwargs + ): + super(IntegrationRuntimeOutboundNetworkDependenciesEndpoint, self).__init__(**kwargs) + self.domain_name = domain_name + self.endpoint_details = endpoint_details + + +class IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails(msrest.serialization.Model): + """The details of Azure-SSIS integration runtime outbound network dependency endpoint. + + :param port: The port of endpoint. + :type port: int + """ + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + port: Optional[int] = None, + **kwargs + ): + super(IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails, self).__init__(**kwargs) + self.port = port + + +class IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse(msrest.serialization.Model): + """Azure-SSIS integration runtime outbound network dependency endpoints. + + :param value: The list of outbound network dependency endpoints. + :type value: + list[~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint]'}, + } + + def __init__( + self, + *, + value: Optional[List["IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint"]] = None, + **kwargs + ): + super(IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse, self).__init__(**kwargs) + self.value = value + + class IntegrationRuntimeReference(msrest.serialization.Model): """Integration runtime reference type. @@ -21885,7 +22659,7 @@ class IntegrationRuntimeRegenerateKeyParameters(msrest.serialization.Model): :param key_name: The name of the authentication key to regenerate. Possible values include: "authKey1", "authKey2". - :type key_name: str or ~data_factory_management_client.models.IntegrationRuntimeAuthKeyName + :type key_name: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeAuthKeyName """ _attribute_map = { @@ -21918,7 +22692,7 @@ class IntegrationRuntimeResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntime + :type properties: ~azure.mgmt.datafactory.models.IntegrationRuntime """ _validation = { @@ -21959,12 +22733,12 @@ class IntegrationRuntimeSsisCatalogInfo(msrest.serialization.Model): :type catalog_admin_user_name: str :param catalog_admin_password: The password of the administrator user account of the catalog database. - :type catalog_admin_password: ~data_factory_management_client.models.SecureString + :type catalog_admin_password: ~azure.mgmt.datafactory.models.SecureString :param catalog_pricing_tier: The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: "Basic", "Standard", "Premium", "PremiumRS". :type catalog_pricing_tier: str or - ~data_factory_management_client.models.IntegrationRuntimeSsisCatalogPricingTier + ~azure.mgmt.datafactory.models.IntegrationRuntimeSsisCatalogPricingTier :param dual_standby_pair_name: The dual standby pair name of Azure-SSIS Integration Runtimes to support SSISDB failover. :type dual_standby_pair_name: str @@ -22010,27 +22784,28 @@ class IntegrationRuntimeSsisProperties(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param catalog_info: Catalog information for managed dedicated integration runtime. - :type catalog_info: ~data_factory_management_client.models.IntegrationRuntimeSsisCatalogInfo + :type catalog_info: ~azure.mgmt.datafactory.models.IntegrationRuntimeSsisCatalogInfo :param license_type: License type for bringing your own license scenario. Possible values include: "BasePrice", "LicenseIncluded". - :type license_type: str or ~data_factory_management_client.models.IntegrationRuntimeLicenseType + :type license_type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeLicenseType :param custom_setup_script_properties: Custom setup script properties for a managed dedicated integration runtime. :type custom_setup_script_properties: - ~data_factory_management_client.models.IntegrationRuntimeCustomSetupScriptProperties + ~azure.mgmt.datafactory.models.IntegrationRuntimeCustomSetupScriptProperties :param data_proxy_properties: Data proxy properties for a managed dedicated integration runtime. :type data_proxy_properties: - ~data_factory_management_client.models.IntegrationRuntimeDataProxyProperties + ~azure.mgmt.datafactory.models.IntegrationRuntimeDataProxyProperties :param edition: The edition for the SSIS Integration Runtime. Possible values include: "Standard", "Enterprise". - :type edition: str or ~data_factory_management_client.models.IntegrationRuntimeEdition + :type edition: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeEdition :param express_custom_setup_properties: Custom setup without script properties for a SSIS integration runtime. - :type express_custom_setup_properties: - list[~data_factory_management_client.models.CustomSetupBase] + :type express_custom_setup_properties: list[~azure.mgmt.datafactory.models.CustomSetupBase] :param package_stores: Package stores for the SSIS Integration Runtime. - :type package_stores: list[~data_factory_management_client.models.PackageStore] + :type package_stores: list[~azure.mgmt.datafactory.models.PackageStore] + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _attribute_map = { @@ -22042,6 +22817,7 @@ class IntegrationRuntimeSsisProperties(msrest.serialization.Model): 'edition': {'key': 'edition', 'type': 'str'}, 'express_custom_setup_properties': {'key': 'expressCustomSetupProperties', 'type': '[CustomSetupBase]'}, 'package_stores': {'key': 'packageStores', 'type': '[PackageStore]'}, + 'credential': {'key': 'credential', 'type': 'CredentialReference'}, } def __init__( @@ -22055,6 +22831,7 @@ def __init__( edition: Optional[Union[str, "IntegrationRuntimeEdition"]] = None, express_custom_setup_properties: Optional[List["CustomSetupBase"]] = None, package_stores: Optional[List["PackageStore"]] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(IntegrationRuntimeSsisProperties, self).__init__(**kwargs) @@ -22066,6 +22843,7 @@ def __init__( self.edition = edition self.express_custom_setup_properties = express_custom_setup_properties self.package_stores = package_stores + self.credential = credential class IntegrationRuntimeStatus(msrest.serialization.Model): @@ -22083,13 +22861,13 @@ class IntegrationRuntimeStatus(msrest.serialization.Model): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :ivar data_factory_name: The data factory name which the integration runtime belong to. :vartype data_factory_name: str :ivar state: The state of integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". - :vartype state: str or ~data_factory_management_client.models.IntegrationRuntimeState + :vartype state: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeState """ _validation = { @@ -22128,7 +22906,7 @@ class IntegrationRuntimeStatusListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of integration runtime status. - :type value: list[~data_factory_management_client.models.IntegrationRuntimeStatusResponse] + :type value: list[~azure.mgmt.datafactory.models.IntegrationRuntimeStatusResponse] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -22164,7 +22942,7 @@ class IntegrationRuntimeStatusResponse(msrest.serialization.Model): :ivar name: The integration runtime name. :vartype name: str :param properties: Required. Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntimeStatus + :type properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeStatus """ _validation = { @@ -22201,6 +22979,9 @@ class IntegrationRuntimeVNetProperties(msrest.serialization.Model): :param public_i_ps: Resource IDs of the public IP addresses that this integration runtime will use. :type public_i_ps: list[str] + :param subnet_id: The ID of subnet, to which this Azure-SSIS integration runtime will be + joined. + :type subnet_id: str """ _attribute_map = { @@ -22208,6 +22989,7 @@ class IntegrationRuntimeVNetProperties(msrest.serialization.Model): 'v_net_id': {'key': 'vNetId', 'type': 'str'}, 'subnet': {'key': 'subnet', 'type': 'str'}, 'public_i_ps': {'key': 'publicIPs', 'type': '[str]'}, + 'subnet_id': {'key': 'subnetId', 'type': 'str'}, } def __init__( @@ -22217,6 +22999,7 @@ def __init__( v_net_id: Optional[str] = None, subnet: Optional[str] = None, public_i_ps: Optional[List[str]] = None, + subnet_id: Optional[str] = None, **kwargs ): super(IntegrationRuntimeVNetProperties, self).__init__(**kwargs) @@ -22224,6 +23007,7 @@ def __init__( self.v_net_id = v_net_id self.subnet = subnet self.public_i_ps = public_i_ps + self.subnet_id = subnet_id class JiraLinkedService(LinkedService): @@ -22237,11 +23021,11 @@ class JiraLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Jira service. (e.g. @@ -22254,7 +23038,7 @@ class JiraLinkedService(LinkedService): :type username: object :param password: The password corresponding to the user name that you provided in the username field. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -22343,14 +23127,14 @@ class JiraObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -22411,12 +23195,15 @@ class JiraSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -22432,8 +23219,9 @@ class JiraSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -22444,12 +23232,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(JiraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(JiraSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'JiraSource' # type: str self.query = query @@ -22473,16 +23262,16 @@ class JsonDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the json data storage. - :type location: ~data_factory_management_client.models.DatasetLocation + :type location: ~azure.mgmt.datafactory.models.DatasetLocation :param encoding_name: The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: @@ -22490,7 +23279,7 @@ class JsonDataset(Dataset): resultType string). :type encoding_name: object :param compression: The data compression method used for the json dataset. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -22551,9 +23340,8 @@ class JsonFormat(DatasetStorageFormat): :param deserializer: Deserializer. Type: string (or Expression with resultType string). :type deserializer: object :param file_pattern: File pattern of JSON. To be more specific, the way of separating a - collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. Possible - values include: "setOfObjects", "arrayOfObjects". - :type file_pattern: str or ~data_factory_management_client.models.JsonFormatFilePattern + collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. + :type file_pattern: object :param nesting_separator: The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string). :type nesting_separator: object @@ -22583,7 +23371,7 @@ class JsonFormat(DatasetStorageFormat): 'type': {'key': 'type', 'type': 'str'}, 'serializer': {'key': 'serializer', 'type': 'object'}, 'deserializer': {'key': 'deserializer', 'type': 'object'}, - 'file_pattern': {'key': 'filePattern', 'type': 'str'}, + 'file_pattern': {'key': 'filePattern', 'type': 'object'}, 'nesting_separator': {'key': 'nestingSeparator', 'type': 'object'}, 'encoding_name': {'key': 'encodingName', 'type': 'object'}, 'json_node_reference': {'key': 'jsonNodeReference', 'type': 'object'}, @@ -22596,7 +23384,7 @@ def __init__( additional_properties: Optional[Dict[str, object]] = None, serializer: Optional[object] = None, deserializer: Optional[object] = None, - file_pattern: Optional[Union[str, "JsonFormatFilePattern"]] = None, + file_pattern: Optional[object] = None, nesting_separator: Optional[object] = None, encoding_name: Optional[object] = None, json_node_reference: Optional[object] = None, @@ -22623,7 +23411,7 @@ class JsonReadSettings(FormatReadSettings): :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. - :type compression_properties: ~data_factory_management_client.models.CompressionReadSettings + :type compression_properties: ~azure.mgmt.datafactory.models.CompressionReadSettings """ _validation = { @@ -22673,10 +23461,13 @@ class JsonSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Json store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: Json format settings. - :type format_settings: ~data_factory_management_client.models.JsonWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.JsonWriteSettings """ _validation = { @@ -22691,6 +23482,7 @@ class JsonSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'JsonWriteSettings'}, } @@ -22704,11 +23496,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["JsonWriteSettings"] = None, **kwargs ): - super(JsonSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(JsonSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'JsonSink' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -22733,13 +23526,16 @@ class JsonSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Json store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: Json format settings. - :type format_settings: ~data_factory_management_client.models.JsonReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.JsonReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -22752,9 +23548,10 @@ class JsonSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'JsonReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -22764,12 +23561,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["JsonReadSettings"] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(JsonSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(JsonSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'JsonSource' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -22787,9 +23585,8 @@ class JsonWriteSettings(FormatWriteSettings): :param type: Required. The write setting type.Constant filled by server. :type type: str :param file_pattern: File pattern of JSON. This setting controls the way a collection of JSON - objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. Possible - values include: "setOfObjects", "arrayOfObjects". - :type file_pattern: str or ~data_factory_management_client.models.JsonWriteFilePattern + objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. + :type file_pattern: object """ _validation = { @@ -22799,14 +23596,14 @@ class JsonWriteSettings(FormatWriteSettings): _attribute_map = { 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, - 'file_pattern': {'key': 'filePattern', 'type': 'str'}, + 'file_pattern': {'key': 'filePattern', 'type': 'object'}, } def __init__( self, *, additional_properties: Optional[Dict[str, object]] = None, - file_pattern: Optional[Union[str, "JsonWriteFilePattern"]] = None, + file_pattern: Optional[object] = None, **kwargs ): super(JsonWriteSettings, self).__init__(additional_properties=additional_properties, **kwargs) @@ -22903,7 +23700,7 @@ class LinkedIntegrationRuntimeKeyAuthorization(LinkedIntegrationRuntimeType): sharing.Constant filled by server. :type authorization_type: str :param key: Required. The key used for authorization. - :type key: ~data_factory_management_client.models.SecureString + :type key: ~azure.mgmt.datafactory.models.SecureString """ _validation = { @@ -22995,7 +23792,7 @@ class LinkedServiceDebugResource(SubResourceDebugResource): :param name: The resource name. :type name: str :param properties: Required. Properties of linked service. - :type properties: ~data_factory_management_client.models.LinkedService + :type properties: ~azure.mgmt.datafactory.models.LinkedService """ _validation = { @@ -23024,7 +23821,7 @@ class LinkedServiceListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of linked services. - :type value: list[~data_factory_management_client.models.LinkedServiceResource] + :type value: list[~azure.mgmt.datafactory.models.LinkedServiceResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -23106,7 +23903,7 @@ class LinkedServiceResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Properties of linked service. - :type properties: ~data_factory_management_client.models.LinkedService + :type properties: ~azure.mgmt.datafactory.models.LinkedService """ _validation = { @@ -23141,7 +23938,7 @@ class LogLocationSettings(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param linked_service_name: Required. Log storage linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param path: The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). :type path: object @@ -23177,11 +23974,10 @@ class LogSettings(msrest.serialization.Model): (or Expression with resultType boolean). :type enable_copy_activity_log: object :param copy_activity_log_settings: Specifies settings for copy activity log. - :type copy_activity_log_settings: - ~data_factory_management_client.models.CopyActivityLogSettings + :type copy_activity_log_settings: ~azure.mgmt.datafactory.models.CopyActivityLogSettings :param log_location_settings: Required. Log location settings customer needs to provide when enabling log. - :type log_location_settings: ~data_factory_management_client.models.LogLocationSettings + :type log_location_settings: ~azure.mgmt.datafactory.models.LogLocationSettings """ _validation = { @@ -23217,7 +24013,7 @@ class LogStorageSettings(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param linked_service_name: Required. Log storage linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param path: The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). :type path: object @@ -23274,17 +24070,17 @@ class LookupActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param source: Required. Dataset-specific source properties, same as copy activity source. - :type source: ~data_factory_management_client.models.CopySource + :type source: ~azure.mgmt.datafactory.models.CopySource :param dataset: Required. Lookup activity dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference :param first_row_only: Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). :type first_row_only: object @@ -23344,17 +24140,17 @@ class MagentoLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the Magento instance. (i.e. 192.168.222.110/magento3). :type host: object :param access_token: The access token from Magento. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -23436,14 +24232,14 @@ class MagentoObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -23504,12 +24300,15 @@ class MagentoSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -23525,8 +24324,9 @@ class MagentoSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -23537,16 +24337,61 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(MagentoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(MagentoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'MagentoSource' # type: str self.query = query +class ManagedIdentityCredential(Credential): + """Managed identity credential. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Type of credential.Constant filled by server. + :type type: str + :param description: Credential description. + :type description: str + :param annotations: List of tags that can be used for describing the Credential. + :type annotations: list[object] + :param resource_id: The resource id of user assigned managed identity. + :type resource_id: str + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'annotations': {'key': 'annotations', 'type': '[object]'}, + 'resource_id': {'key': 'typeProperties.resourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, object]] = None, + description: Optional[str] = None, + annotations: Optional[List[object]] = None, + resource_id: Optional[str] = None, + **kwargs + ): + super(ManagedIdentityCredential, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, **kwargs) + self.type = 'ManagedIdentity' # type: str + self.resource_id = resource_id + + class ManagedIntegrationRuntime(IntegrationRuntime): """Managed integration runtime, including managed elastic and managed dedicated integration runtimes. @@ -23559,21 +24404,19 @@ class ManagedIntegrationRuntime(IntegrationRuntime): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str :ivar state: Integration runtime state, only valid for managed dedicated integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". - :vartype state: str or ~data_factory_management_client.models.IntegrationRuntimeState + :vartype state: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeState :param managed_virtual_network: Managed Virtual Network reference. - :type managed_virtual_network: - ~data_factory_management_client.models.ManagedVirtualNetworkReference + :type managed_virtual_network: ~azure.mgmt.datafactory.models.ManagedVirtualNetworkReference :param compute_properties: The compute resource for managed integration runtime. - :type compute_properties: - ~data_factory_management_client.models.IntegrationRuntimeComputeProperties + :type compute_properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeComputeProperties :param ssis_properties: SSIS properties for managed integration runtime. - :type ssis_properties: ~data_factory_management_client.models.IntegrationRuntimeSsisProperties + :type ssis_properties: ~azure.mgmt.datafactory.models.IntegrationRuntimeSsisProperties """ _validation = { @@ -23668,10 +24511,9 @@ class ManagedIntegrationRuntimeNode(msrest.serialization.Model): :vartype node_id: str :ivar status: The managed integration runtime node status. Possible values include: "Starting", "Available", "Recycling", "Unavailable". - :vartype status: str or - ~data_factory_management_client.models.ManagedIntegrationRuntimeNodeStatus + :vartype status: str or ~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeNodeStatus :param errors: The errors that occurred on this integration runtime node. - :type errors: list[~data_factory_management_client.models.ManagedIntegrationRuntimeError] + :type errors: list[~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeError] """ _validation = { @@ -23769,23 +24611,22 @@ class ManagedIntegrationRuntimeStatus(IntegrationRuntimeStatus): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :ivar data_factory_name: The data factory name which the integration runtime belong to. :vartype data_factory_name: str :ivar state: The state of integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". - :vartype state: str or ~data_factory_management_client.models.IntegrationRuntimeState + :vartype state: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeState :ivar create_time: The time at which the integration runtime was created, in ISO8601 format. :vartype create_time: ~datetime.datetime :ivar nodes: The list of nodes for managed integration runtime. - :vartype nodes: list[~data_factory_management_client.models.ManagedIntegrationRuntimeNode] + :vartype nodes: list[~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeNode] :ivar other_errors: The errors that occurred on this integration runtime. - :vartype other_errors: - list[~data_factory_management_client.models.ManagedIntegrationRuntimeError] + :vartype other_errors: list[~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeError] :ivar last_operation: The last operation result that occurred on this integration runtime. :vartype last_operation: - ~data_factory_management_client.models.ManagedIntegrationRuntimeOperationResult + ~azure.mgmt.datafactory.models.ManagedIntegrationRuntimeOperationResult """ _validation = { @@ -23832,7 +24673,7 @@ class ManagedPrivateEndpoint(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param connection_state: The managed private endpoint connection state. - :type connection_state: ~data_factory_management_client.models.ConnectionStateProperties + :type connection_state: ~azure.mgmt.datafactory.models.ConnectionStateProperties :param fqdns: Fully qualified domain names. :type fqdns: list[str] :param group_id: The groupId to which the managed private endpoint is created. @@ -23887,7 +24728,7 @@ class ManagedPrivateEndpointListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of managed private endpoints. - :type value: list[~data_factory_management_client.models.ManagedPrivateEndpointResource] + :type value: list[~azure.mgmt.datafactory.models.ManagedPrivateEndpointResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -23929,7 +24770,7 @@ class ManagedPrivateEndpointResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Managed private endpoint properties. - :type properties: ~data_factory_management_client.models.ManagedPrivateEndpoint + :type properties: ~azure.mgmt.datafactory.models.ManagedPrivateEndpoint """ _validation = { @@ -24001,7 +24842,7 @@ class ManagedVirtualNetworkListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of managed Virtual Networks. - :type value: list[~data_factory_management_client.models.ManagedVirtualNetworkResource] + :type value: list[~azure.mgmt.datafactory.models.ManagedVirtualNetworkResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -24079,7 +24920,7 @@ class ManagedVirtualNetworkResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Managed Virtual Network properties. - :type properties: ~data_factory_management_client.models.ManagedVirtualNetwork + :type properties: ~azure.mgmt.datafactory.models.ManagedVirtualNetwork """ _validation = { @@ -24111,7 +24952,9 @@ def __init__( class MappingDataFlow(DataFlow): """Mapping data flow. - :param type: Type of data flow.Constant filled by server. + All required parameters must be populated in order to send to Azure. + + :param type: Required. Type of data flow.Constant filled by server. :type type: str :param description: The description of the data flow. :type description: str @@ -24119,17 +24962,21 @@ class MappingDataFlow(DataFlow): :type annotations: list[object] :param folder: The folder that this data flow is in. If not specified, Data flow will appear at the root level. - :type folder: ~data_factory_management_client.models.DataFlowFolder + :type folder: ~azure.mgmt.datafactory.models.DataFlowFolder :param sources: List of sources in data flow. - :type sources: list[~data_factory_management_client.models.DataFlowSource] + :type sources: list[~azure.mgmt.datafactory.models.DataFlowSource] :param sinks: List of sinks in data flow. - :type sinks: list[~data_factory_management_client.models.DataFlowSink] + :type sinks: list[~azure.mgmt.datafactory.models.DataFlowSink] :param transformations: List of transformations in data flow. - :type transformations: list[~data_factory_management_client.models.Transformation] + :type transformations: list[~azure.mgmt.datafactory.models.Transformation] :param script: DataFlow script. :type script: str """ + _validation = { + 'type': {'required': True}, + } + _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, @@ -24172,18 +25019,18 @@ class MariaDbLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -24245,12 +25092,15 @@ class MariaDbSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -24266,8 +25116,9 @@ class MariaDbSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -24278,12 +25129,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(MariaDbSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(MariaDbSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'MariaDBSource' # type: str self.query = query @@ -24307,14 +25159,14 @@ class MariaDbTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -24367,11 +25219,11 @@ class MarketoLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com). @@ -24379,7 +25231,7 @@ class MarketoLinkedService(LinkedService): :param client_id: Required. The client Id of your Marketo service. :type client_id: object :param client_secret: The client secret of your Marketo service. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -24465,14 +25317,14 @@ class MarketoObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -24533,12 +25385,15 @@ class MarketoSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -24554,8 +25409,9 @@ class MarketoSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -24566,16 +25422,43 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(MarketoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(MarketoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'MarketoSource' # type: str self.query = query +class MetadataItem(msrest.serialization.Model): + """Specify the name and value of custom metadata item. + + :param name: Metadata item key name. Type: string (or Expression with resultType string). + :type name: object + :param value: Metadata item value. Type: string (or Expression with resultType string). + :type value: object + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'object'}, + 'value': {'key': 'value', 'type': 'object'}, + } + + def __init__( + self, + *, + name: Optional[object] = None, + value: Optional[object] = None, + **kwargs + ): + super(MetadataItem, self).__init__(**kwargs) + self.name = name + self.value = value + + class MicrosoftAccessLinkedService(LinkedService): """Microsoft Access linked service. @@ -24587,11 +25470,11 @@ class MicrosoftAccessLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string @@ -24604,12 +25487,12 @@ class MicrosoftAccessLinkedService(LinkedService): :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver- specific property-value format. - :type credential: ~data_factory_management_client.models.SecretBase + :type credential: ~azure.mgmt.datafactory.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -24687,6 +25570,9 @@ class MicrosoftAccessSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -24704,6 +25590,7 @@ class MicrosoftAccessSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -24716,10 +25603,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): - super(MicrosoftAccessSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(MicrosoftAccessSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'MicrosoftAccessSink' # type: str self.pre_copy_script = pre_copy_script @@ -24743,11 +25631,14 @@ class MicrosoftAccessSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -24760,8 +25651,9 @@ class MicrosoftAccessSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -24771,11 +25663,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(MicrosoftAccessSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(MicrosoftAccessSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'MicrosoftAccessSource' # type: str self.query = query self.additional_columns = additional_columns @@ -24800,14 +25693,14 @@ class MicrosoftAccessTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The Microsoft Access table name. Type: string (or Expression with resultType string). :type table_name: object @@ -24869,14 +25762,14 @@ class MongoDbAtlasCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection: Required. The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string). :type collection: object @@ -24931,11 +25824,11 @@ class MongoDbAtlasLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The MongoDB Atlas connection string. Type: string, @@ -24982,6 +25875,74 @@ def __init__( self.database = database +class MongoDbAtlasSink(CopySink): + """A copy activity MongoDB Atlas sink. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Copy sink type.Constant filled by server. + :type type: str + :param write_batch_size: Write batch size. Type: integer (or Expression with resultType + integer), minimum: 0. + :type write_batch_size: object + :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType + string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type write_batch_timeout: object + :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType + integer). + :type sink_retry_count: object + :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), + pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type sink_retry_wait: object + :param max_concurrent_connections: The maximum concurrent connection count for the sink data + store. Type: integer (or Expression with resultType integer). + :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object + :param write_behavior: Specifies whether the document with same key to be overwritten (upsert) + rather than throw exception (insert). The default value is "insert". Type: string (or + Expression with resultType string). Type: string (or Expression with resultType string). + :type write_behavior: object + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, + 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, + 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, + 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, + 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, object]] = None, + write_batch_size: Optional[object] = None, + write_batch_timeout: Optional[object] = None, + sink_retry_count: Optional[object] = None, + sink_retry_wait: Optional[object] = None, + max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, + write_behavior: Optional[object] = None, + **kwargs + ): + super(MongoDbAtlasSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) + self.type = 'MongoDbAtlasSink' # type: str + self.write_behavior = write_behavior + + class MongoDbAtlasSource(CopySource): """A copy activity source for a MongoDB Atlas database. @@ -25001,12 +25962,15 @@ class MongoDbAtlasSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. - :type cursor_methods: ~data_factory_management_client.models.MongoDbCursorMethodsProperties + :type cursor_methods: ~azure.mgmt.datafactory.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB Atlas instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response @@ -25016,8 +25980,8 @@ class MongoDbAtlasSource(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -25030,11 +25994,12 @@ class MongoDbAtlasSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -25044,14 +26009,15 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, filter: Optional[object] = None, cursor_methods: Optional["MongoDbCursorMethodsProperties"] = None, batch_size: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(MongoDbAtlasSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(MongoDbAtlasSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'MongoDbAtlasSource' # type: str self.filter = filter self.cursor_methods = cursor_methods @@ -25079,14 +26045,14 @@ class MongoDbCollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection_name: Required. The table name of the MongoDB database. Type: string (or Expression with resultType string). :type collection_name: object @@ -25190,11 +26156,11 @@ class MongoDbLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. The IP address or server name of the MongoDB server. Type: string (or @@ -25202,8 +26168,7 @@ class MongoDbLinkedService(LinkedService): :type server: object :param authentication_type: The authentication type to be used to connect to the MongoDB database. Possible values include: "Basic", "Anonymous". - :type authentication_type: str or - ~data_factory_management_client.models.MongoDbAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.MongoDbAuthenticationType :param database_name: Required. The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). :type database_name: object @@ -25211,7 +26176,7 @@ class MongoDbLinkedService(LinkedService): string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param auth_source: Database to verify the username and password. Type: string (or Expression with resultType string). :type auth_source: object @@ -25308,12 +26273,15 @@ class MongoDbSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -25326,8 +26294,9 @@ class MongoDbSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -25337,11 +26306,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(MongoDbSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(MongoDbSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'MongoDbSource' # type: str self.query = query self.additional_columns = additional_columns @@ -25366,14 +26336,14 @@ class MongoDbV2CollectionDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param collection: Required. The collection name of the MongoDB database. Type: string (or Expression with resultType string). :type collection: object @@ -25428,11 +26398,11 @@ class MongoDbV2LinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The MongoDB connection string. Type: string, SecureString @@ -25478,6 +26448,74 @@ def __init__( self.database = database +class MongoDbV2Sink(CopySink): + """A copy activity MongoDB sink. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Copy sink type.Constant filled by server. + :type type: str + :param write_batch_size: Write batch size. Type: integer (or Expression with resultType + integer), minimum: 0. + :type write_batch_size: object + :param write_batch_timeout: Write batch timeout. Type: string (or Expression with resultType + string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type write_batch_timeout: object + :param sink_retry_count: Sink retry count. Type: integer (or Expression with resultType + integer). + :type sink_retry_count: object + :param sink_retry_wait: Sink retry wait. Type: string (or Expression with resultType string), + pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + :type sink_retry_wait: object + :param max_concurrent_connections: The maximum concurrent connection count for the sink data + store. Type: integer (or Expression with resultType integer). + :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object + :param write_behavior: Specifies whether the document with same key to be overwritten (upsert) + rather than throw exception (insert). The default value is "insert". Type: string (or + Expression with resultType string). Type: string (or Expression with resultType string). + :type write_behavior: object + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'write_batch_size': {'key': 'writeBatchSize', 'type': 'object'}, + 'write_batch_timeout': {'key': 'writeBatchTimeout', 'type': 'object'}, + 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, + 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, + 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, object]] = None, + write_batch_size: Optional[object] = None, + write_batch_timeout: Optional[object] = None, + sink_retry_count: Optional[object] = None, + sink_retry_wait: Optional[object] = None, + max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, + write_behavior: Optional[object] = None, + **kwargs + ): + super(MongoDbV2Sink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) + self.type = 'MongoDbV2Sink' # type: str + self.write_behavior = write_behavior + + class MongoDbV2Source(CopySource): """A copy activity source for a MongoDB database. @@ -25497,12 +26535,15 @@ class MongoDbV2Source(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param filter: Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). :type filter: object :param cursor_methods: Cursor methods for Mongodb query. - :type cursor_methods: ~data_factory_management_client.models.MongoDbCursorMethodsProperties + :type cursor_methods: ~azure.mgmt.datafactory.models.MongoDbCursorMethodsProperties :param batch_size: Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. @@ -25512,8 +26553,8 @@ class MongoDbV2Source(CopySource): pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -25526,11 +26567,12 @@ class MongoDbV2Source(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'filter': {'key': 'filter', 'type': 'object'}, 'cursor_methods': {'key': 'cursorMethods', 'type': 'MongoDbCursorMethodsProperties'}, 'batch_size': {'key': 'batchSize', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -25540,14 +26582,15 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, filter: Optional[object] = None, cursor_methods: Optional["MongoDbCursorMethodsProperties"] = None, batch_size: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(MongoDbV2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(MongoDbV2Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'MongoDbV2Source' # type: str self.filter = filter self.cursor_methods = cursor_methods @@ -25567,17 +26610,17 @@ class MySqlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -25640,12 +26683,15 @@ class MySqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -25660,8 +26706,9 @@ class MySqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -25672,12 +26719,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(MySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(MySqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'MySqlSource' # type: str self.query = query @@ -25701,14 +26749,14 @@ class MySqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The MySQL table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -25761,18 +26809,18 @@ class NetezzaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -25870,12 +26918,15 @@ class NetezzaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -25883,7 +26934,7 @@ class NetezzaSource(TabularSource): parallel. Possible values include: "None", "DataSlice", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Netezza source partitioning. - :type partition_settings: ~data_factory_management_client.models.NetezzaPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.NetezzaPartitionSettings """ _validation = { @@ -25896,8 +26947,9 @@ class NetezzaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'NetezzaPartitionSettings'}, @@ -25910,14 +26962,15 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["NetezzaPartitionSettings"] = None, **kwargs ): - super(NetezzaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(NetezzaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'NetezzaSource' # type: str self.query = query self.partition_option = partition_option @@ -25943,14 +26996,14 @@ class NetezzaTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -26016,11 +27069,11 @@ class ODataLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of the OData service endpoint. Type: string (or Expression with @@ -26029,13 +27082,12 @@ class ODataLinkedService(LinkedService): :param authentication_type: Type of authentication used to connect to the OData service. Possible values include: "Basic", "Anonymous", "Windows", "AadServicePrincipal", "ManagedServiceIdentity". - :type authentication_type: str or - ~data_factory_management_client.models.ODataAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.ODataAuthenticationType :param user_name: User name of the OData service. Type: string (or Expression with resultType string). :type user_name: object :param password: Password of the OData service. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param auth_headers: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). :type auth_headers: object @@ -26055,19 +27107,18 @@ class ODataLinkedService(LinkedService): :param aad_service_principal_credential_type: Specify the credential type (key or cert) is used for service principal. Possible values include: "ServicePrincipalKey", "ServicePrincipalCert". :type aad_service_principal_credential_type: str or - ~data_factory_management_client.models.ODataAadServicePrincipalCredentialType + ~azure.mgmt.datafactory.models.ODataAadServicePrincipalCredentialType :param service_principal_key: Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_embedded_cert: Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - :type service_principal_embedded_cert: ~data_factory_management_client.models.SecretBase + :type service_principal_embedded_cert: ~azure.mgmt.datafactory.models.SecretBase :param service_principal_embedded_cert_password: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). - :type service_principal_embedded_cert_password: - ~data_factory_management_client.models.SecretBase + :type service_principal_embedded_cert_password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -26163,14 +27214,14 @@ class ODataResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param path: The OData resource path. Type: string (or Expression with resultType string). :type path: object """ @@ -26231,6 +27282,9 @@ class ODataSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -26240,8 +27294,8 @@ class ODataSource(CopySource): ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type http_request_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -26254,9 +27308,10 @@ class ODataSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -26266,12 +27321,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(ODataSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(ODataSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'ODataSource' # type: str self.query = query self.http_request_timeout = http_request_timeout @@ -26289,11 +27345,11 @@ class OdbcLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The non-access credential portion of the connection string @@ -26305,12 +27361,12 @@ class OdbcLinkedService(LinkedService): :type authentication_type: object :param credential: The access credential portion of the connection string specified in driver- specific property-value format. - :type credential: ~data_factory_management_client.models.SecretBase + :type credential: ~azure.mgmt.datafactory.models.SecretBase :param user_name: User name for Basic authentication. Type: string (or Expression with resultType string). :type user_name: object :param password: Password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -26388,6 +27444,9 @@ class OdbcSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: A query to execute before starting the copy. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -26405,6 +27464,7 @@ class OdbcSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -26417,10 +27477,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): - super(OdbcSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(OdbcSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'OdbcSink' # type: str self.pre_copy_script = pre_copy_script @@ -26444,12 +27505,15 @@ class OdbcSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -26464,8 +27528,9 @@ class OdbcSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -26476,12 +27541,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(OdbcSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(OdbcSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'OdbcSource' # type: str self.query = query @@ -26505,14 +27571,14 @@ class OdbcTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The ODBC table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -26573,14 +27639,14 @@ class Office365Dataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: Required. Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). :type table_name: object @@ -26641,11 +27707,11 @@ class Office365LinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param office365_tenant_id: Required. Azure tenant ID to which the Office 365 account belongs. @@ -26658,7 +27724,7 @@ class Office365LinkedService(LinkedService): Expression with resultType string). :type service_principal_id: object :param service_principal_key: Required. Specify the application's key. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -26730,6 +27796,9 @@ class Office365Source(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param allowed_groups: The groups containing all the users. Type: array of strings (or Expression with resultType array of strings). :type allowed_groups: object @@ -26761,6 +27830,7 @@ class Office365Source(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'allowed_groups': {'key': 'allowedGroups', 'type': 'object'}, 'user_scope_filter_uri': {'key': 'userScopeFilterUri', 'type': 'object'}, 'date_filter_column': {'key': 'dateFilterColumn', 'type': 'object'}, @@ -26776,6 +27846,7 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, allowed_groups: Optional[object] = None, user_scope_filter_uri: Optional[object] = None, date_filter_column: Optional[object] = None, @@ -26784,7 +27855,7 @@ def __init__( output_columns: Optional[object] = None, **kwargs ): - super(Office365Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(Office365Source, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'Office365Source' # type: str self.allowed_groups = allowed_groups self.user_scope_filter_uri = user_scope_filter_uri @@ -26802,10 +27873,9 @@ class Operation(msrest.serialization.Model): :param origin: The intended executor of the operation. :type origin: str :param display: Metadata associated with the operation. - :type display: ~data_factory_management_client.models.OperationDisplay + :type display: ~azure.mgmt.datafactory.models.OperationDisplay :param service_specification: Details about a service operation. - :type service_specification: - ~data_factory_management_client.models.OperationServiceSpecification + :type service_specification: ~azure.mgmt.datafactory.models.OperationServiceSpecification """ _attribute_map = { @@ -26871,7 +27941,7 @@ class OperationListResponse(msrest.serialization.Model): """A list of operations that can be performed by the Data Factory service. :param value: List of Data Factory operations supported by the Data Factory resource provider. - :type value: list[~data_factory_management_client.models.Operation] + :type value: list[~azure.mgmt.datafactory.models.Operation] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -27001,9 +28071,9 @@ class OperationMetricSpecification(msrest.serialization.Model): :param source_mdm_namespace: The name of the MDM namespace. :type source_mdm_namespace: str :param availabilities: Defines how often data for metrics becomes available. - :type availabilities: list[~data_factory_management_client.models.OperationMetricAvailability] + :type availabilities: list[~azure.mgmt.datafactory.models.OperationMetricAvailability] :param dimensions: Defines the metric dimension. - :type dimensions: list[~data_factory_management_client.models.OperationMetricDimension] + :type dimensions: list[~azure.mgmt.datafactory.models.OperationMetricDimension] """ _attribute_map = { @@ -27051,11 +28121,9 @@ class OperationServiceSpecification(msrest.serialization.Model): """Details about a service operation. :param log_specifications: Details about operations related to logs. - :type log_specifications: - list[~data_factory_management_client.models.OperationLogSpecification] + :type log_specifications: list[~azure.mgmt.datafactory.models.OperationLogSpecification] :param metric_specifications: Details about operations related to metrics. - :type metric_specifications: - list[~data_factory_management_client.models.OperationMetricSpecification] + :type metric_specifications: list[~azure.mgmt.datafactory.models.OperationMetricSpecification] """ _attribute_map = { @@ -27086,11 +28154,11 @@ class OracleCloudStorageLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param access_key_id: The access key identifier of the Oracle Cloud Storage Identity and Access @@ -27098,7 +28166,7 @@ class OracleCloudStorageLinkedService(LinkedService): :type access_key_id: object :param secret_access_key: The secret access key of the Oracle Cloud Storage Identity and Access Management (IAM) user. - :type secret_access_key: ~data_factory_management_client.models.SecretBase + :type secret_access_key: ~azure.mgmt.datafactory.models.SecretBase :param service_url: This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType @@ -27215,6 +28283,9 @@ class OracleCloudStorageReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -27255,6 +28326,7 @@ class OracleCloudStorageReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -27272,6 +28344,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -27284,7 +28357,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(OracleCloudStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(OracleCloudStorageReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'OracleCloudStorageReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -27309,18 +28382,18 @@ class OracleLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -27416,11 +28489,11 @@ class OracleServiceCloudLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the Oracle Service Cloud instance. @@ -27429,7 +28502,7 @@ class OracleServiceCloudLinkedService(LinkedService): :type username: object :param password: Required. The password corresponding to the user name that you provided in the username key. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object @@ -27517,14 +28590,14 @@ class OracleServiceCloudObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -27585,12 +28658,15 @@ class OracleServiceCloudSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -27606,8 +28682,9 @@ class OracleServiceCloudSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -27618,12 +28695,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(OracleServiceCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(OracleServiceCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'OracleServiceCloudSource' # type: str self.query = query @@ -27653,6 +28731,9 @@ class OracleSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -27670,6 +28751,7 @@ class OracleSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, } @@ -27682,10 +28764,11 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, **kwargs ): - super(OracleSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(OracleSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'OracleSink' # type: str self.pre_copy_script = pre_copy_script @@ -27709,6 +28792,9 @@ class OracleSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param oracle_reader_query: Oracle reader query. Type: string (or Expression with resultType string). :type oracle_reader_query: object @@ -27719,10 +28805,10 @@ class OracleSource(CopySource): Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Oracle source partitioning. - :type partition_settings: ~data_factory_management_client.models.OraclePartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.OraclePartitionSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -27735,11 +28821,12 @@ class OracleSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'oracle_reader_query': {'key': 'oracleReaderQuery', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'OraclePartitionSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -27749,14 +28836,15 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, oracle_reader_query: Optional[object] = None, query_timeout: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["OraclePartitionSettings"] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(OracleSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(OracleSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'OracleSource' # type: str self.oracle_reader_query = oracle_reader_query self.query_timeout = query_timeout @@ -27784,14 +28872,14 @@ class OracleTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -27865,18 +28953,19 @@ class OrcDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the ORC data storage. - :type location: ~data_factory_management_client.models.DatasetLocation - :param orc_compression_codec: Possible values include: "none", "zlib", "snappy", "lzo". - :type orc_compression_codec: str or ~data_factory_management_client.models.OrcCompressionCodec + :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param orc_compression_codec: The data orcCompressionCodec. Type: string (or Expression with + resultType string). + :type orc_compression_codec: object """ _validation = { @@ -27895,7 +28984,7 @@ class OrcDataset(Dataset): 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, - 'orc_compression_codec': {'key': 'typeProperties.orcCompressionCodec', 'type': 'str'}, + 'orc_compression_codec': {'key': 'typeProperties.orcCompressionCodec', 'type': 'object'}, } def __init__( @@ -27910,7 +28999,7 @@ def __init__( annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, - orc_compression_codec: Optional[Union[str, "OrcCompressionCodec"]] = None, + orc_compression_codec: Optional[object] = None, **kwargs ): super(OrcDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) @@ -27983,10 +29072,13 @@ class OrcSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: ORC store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: ORC format settings. - :type format_settings: ~data_factory_management_client.models.OrcWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.OrcWriteSettings """ _validation = { @@ -28001,6 +29093,7 @@ class OrcSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'OrcWriteSettings'}, } @@ -28014,11 +29107,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["OrcWriteSettings"] = None, **kwargs ): - super(OrcSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(OrcSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'OrcSink' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -28043,11 +29137,14 @@ class OrcSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: ORC store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -28060,8 +29157,9 @@ class OrcSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -28071,11 +29169,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(OrcSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(OrcSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'OrcSource' # type: str self.store_settings = store_settings self.additional_columns = additional_columns @@ -28133,7 +29232,7 @@ class PackageStore(msrest.serialization.Model): :param name: Required. The name of the package store. :type name: str :param package_store_linked_service: Required. The package store linked service reference. - :type package_store_linked_service: ~data_factory_management_client.models.EntityReference + :type package_store_linked_service: ~azure.mgmt.datafactory.models.EntityReference """ _validation = { @@ -28165,7 +29264,7 @@ class ParameterSpecification(msrest.serialization.Model): :param type: Required. Parameter type. Possible values include: "Object", "String", "Int", "Float", "Bool", "Array", "SecureString". - :type type: str or ~data_factory_management_client.models.ParameterType + :type type: str or ~azure.mgmt.datafactory.models.ParameterType :param default_value: Default value of parameter. :type default_value: object """ @@ -28210,19 +29309,19 @@ class ParquetDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the parquet storage. - :type location: ~data_factory_management_client.models.DatasetLocation - :param compression_codec: Possible values include: "none", "gzip", "snappy", "lzo", "bzip2", - "deflate", "zipDeflate", "lz4", "tar", "tarGZip". - :type compression_codec: str or ~data_factory_management_client.models.CompressionCodec + :type location: ~azure.mgmt.datafactory.models.DatasetLocation + :param compression_codec: The data compressionCodec. Type: string (or Expression with + resultType string). + :type compression_codec: object """ _validation = { @@ -28241,7 +29340,7 @@ class ParquetDataset(Dataset): 'annotations': {'key': 'annotations', 'type': '[object]'}, 'folder': {'key': 'folder', 'type': 'DatasetFolder'}, 'location': {'key': 'typeProperties.location', 'type': 'DatasetLocation'}, - 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'str'}, + 'compression_codec': {'key': 'typeProperties.compressionCodec', 'type': 'object'}, } def __init__( @@ -28256,7 +29355,7 @@ def __init__( annotations: Optional[List[object]] = None, folder: Optional["DatasetFolder"] = None, location: Optional["DatasetLocation"] = None, - compression_codec: Optional[Union[str, "CompressionCodec"]] = None, + compression_codec: Optional[object] = None, **kwargs ): super(ParquetDataset, self).__init__(additional_properties=additional_properties, description=description, structure=structure, schema=schema, linked_service_name=linked_service_name, parameters=parameters, annotations=annotations, folder=folder, **kwargs) @@ -28329,10 +29428,13 @@ class ParquetSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Parquet store settings. - :type store_settings: ~data_factory_management_client.models.StoreWriteSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreWriteSettings :param format_settings: Parquet format settings. - :type format_settings: ~data_factory_management_client.models.ParquetWriteSettings + :type format_settings: ~azure.mgmt.datafactory.models.ParquetWriteSettings """ _validation = { @@ -28347,6 +29449,7 @@ class ParquetSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreWriteSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'ParquetWriteSettings'}, } @@ -28360,11 +29463,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreWriteSettings"] = None, format_settings: Optional["ParquetWriteSettings"] = None, **kwargs ): - super(ParquetSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(ParquetSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'ParquetSink' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -28389,11 +29493,14 @@ class ParquetSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Parquet store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -28406,8 +29513,9 @@ class ParquetSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -28417,11 +29525,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(ParquetSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(ParquetSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'ParquetSource' # type: str self.store_settings = store_settings self.additional_columns = additional_columns @@ -28482,11 +29591,11 @@ class PaypalLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The URL of the PayPal instance. (i.e. api.sandbox.paypal.com). @@ -28494,7 +29603,7 @@ class PaypalLinkedService(LinkedService): :param client_id: Required. The client ID associated with your PayPal application. :type client_id: object :param client_secret: The client secret associated with your PayPal application. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -28580,14 +29689,14 @@ class PaypalObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -28648,12 +29757,15 @@ class PaypalSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -28669,8 +29781,9 @@ class PaypalSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -28681,12 +29794,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(PaypalSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(PaypalSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'PaypalSource' # type: str self.query = query @@ -28702,11 +29816,11 @@ class PhoenixLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Phoenix server. (i.e. @@ -28722,12 +29836,11 @@ class PhoenixLinkedService(LinkedService): :param authentication_type: Required. The authentication mechanism used to connect to the Phoenix server. Possible values include: "Anonymous", "UsernameAndPassword", "WindowsAzureHDInsightService". - :type authentication_type: str or - ~data_factory_management_client.models.PhoenixAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.PhoenixAuthenticationType :param username: The user name used to connect to the Phoenix server. :type username: object :param password: The password corresponding to the user name. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object @@ -28834,14 +29947,14 @@ class PhoenixObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -28915,12 +30028,15 @@ class PhoenixSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -28936,8 +30052,9 @@ class PhoenixSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -28948,12 +30065,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(PhoenixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(PhoenixSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'PhoenixSource' # type: str self.query = query @@ -29006,7 +30124,7 @@ class PipelineListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of pipelines. - :type value: list[~data_factory_management_client.models.PipelineResource] + :type value: list[~azure.mgmt.datafactory.models.PipelineResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -29036,8 +30154,7 @@ class PipelinePolicy(msrest.serialization.Model): """Pipeline Policy. :param elapsed_time_metric: Pipeline ElapsedTime Metric Policy. - :type elapsed_time_metric: - ~data_factory_management_client.models.PipelineElapsedTimeMetricPolicy + :type elapsed_time_metric: ~azure.mgmt.datafactory.models.PipelineElapsedTimeMetricPolicy """ _attribute_map = { @@ -29113,11 +30230,11 @@ class PipelineResource(SubResource): :param description: The description of the pipeline. :type description: str :param activities: List of activities in pipeline. - :type activities: list[~data_factory_management_client.models.Activity] + :type activities: list[~azure.mgmt.datafactory.models.Activity] :param parameters: List of parameters for pipeline. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param variables: List of variables for pipeline. - :type variables: dict[str, ~data_factory_management_client.models.VariableSpecification] + :type variables: dict[str, ~azure.mgmt.datafactory.models.VariableSpecification] :param concurrency: The max number of concurrent runs for the pipeline. :type concurrency: int :param annotations: List of tags that can be used for describing the Pipeline. @@ -29126,9 +30243,9 @@ class PipelineResource(SubResource): :type run_dimensions: dict[str, object] :param folder: The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. - :type folder: ~data_factory_management_client.models.PipelineFolder + :type folder: ~azure.mgmt.datafactory.models.PipelineFolder :param policy: Pipeline Policy. - :type policy: ~data_factory_management_client.models.PipelinePolicy + :type policy: ~azure.mgmt.datafactory.models.PipelinePolicy """ _validation = { @@ -29206,7 +30323,7 @@ class PipelineRun(msrest.serialization.Model): :ivar run_dimensions: Run dimensions emitted by Pipeline run. :vartype run_dimensions: dict[str, str] :ivar invoked_by: Entity that started the pipeline run. - :vartype invoked_by: ~data_factory_management_client.models.PipelineRunInvokedBy + :vartype invoked_by: ~azure.mgmt.datafactory.models.PipelineRunInvokedBy :ivar last_updated: The last updated timestamp for the pipeline run event in ISO8601 format. :vartype last_updated: ~datetime.datetime :ivar run_start: The start time of a pipeline run in ISO8601 format. @@ -29288,18 +30405,26 @@ class PipelineRunInvokedBy(msrest.serialization.Model): :vartype id: str :ivar invoked_by_type: The type of the entity that started the run. :vartype invoked_by_type: str + :ivar pipeline_name: The name of the pipeline that triggered the run, if any. + :vartype pipeline_name: str + :ivar pipeline_run_id: The run id of the pipeline that triggered the run, if any. + :vartype pipeline_run_id: str """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, 'invoked_by_type': {'readonly': True}, + 'pipeline_name': {'readonly': True}, + 'pipeline_run_id': {'readonly': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'id': {'key': 'id', 'type': 'str'}, 'invoked_by_type': {'key': 'invokedByType', 'type': 'str'}, + 'pipeline_name': {'key': 'pipelineName', 'type': 'str'}, + 'pipeline_run_id': {'key': 'pipelineRunId', 'type': 'str'}, } def __init__( @@ -29310,6 +30435,8 @@ def __init__( self.name = None self.id = None self.invoked_by_type = None + self.pipeline_name = None + self.pipeline_run_id = None class PipelineRunsQueryResponse(msrest.serialization.Model): @@ -29318,7 +30445,7 @@ class PipelineRunsQueryResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of pipeline runs. - :type value: list[~data_factory_management_client.models.PipelineRun] + :type value: list[~azure.mgmt.datafactory.models.PipelineRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str @@ -29352,7 +30479,7 @@ class PolybaseSettings(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param reject_type: Reject type. Possible values include: "value", "percentage". - :type reject_type: str or ~data_factory_management_client.models.PolybaseSettingsRejectType + :type reject_type: str or ~azure.mgmt.datafactory.models.PolybaseSettingsRejectType :param reject_value: Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. :type reject_value: object @@ -29403,17 +30530,17 @@ class PostgreSqlLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -29476,12 +30603,15 @@ class PostgreSqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -29496,8 +30626,9 @@ class PostgreSqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -29508,12 +30639,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(PostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(PostgreSqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'PostgreSqlSource' # type: str self.query = query @@ -29537,14 +30669,14 @@ class PostgreSqlTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -29609,11 +30741,11 @@ class PrestoLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The IP address or host name of the Presto server. (i.e. @@ -29628,12 +30760,11 @@ class PrestoLinkedService(LinkedService): :type port: object :param authentication_type: Required. The authentication mechanism used to connect to the Presto server. Possible values include: "Anonymous", "LDAP". - :type authentication_type: str or - ~data_factory_management_client.models.PrestoAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.PrestoAuthenticationType :param username: The user name used to connect to the Presto server. :type username: object :param password: The password corresponding to the user name. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The default value is false. :type enable_ssl: object @@ -29751,14 +30882,14 @@ class PrestoObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -29832,12 +30963,15 @@ class PrestoSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -29853,8 +30987,9 @@ class PrestoSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -29865,12 +31000,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(PrestoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(PrestoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'PrestoSource' # type: str self.query = query @@ -29881,7 +31017,7 @@ class PrivateEndpointConnectionListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of Private Endpoint Connections. - :type value: list[~data_factory_management_client.models.PrivateEndpointConnectionResource] + :type value: list[~azure.mgmt.datafactory.models.PrivateEndpointConnectionResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -29921,7 +31057,7 @@ class PrivateEndpointConnectionResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Core resource properties. - :type properties: ~data_factory_management_client.models.RemotePrivateEndpointConnection + :type properties: ~azure.mgmt.datafactory.models.RemotePrivateEndpointConnection """ _validation = { @@ -29954,7 +31090,7 @@ class PrivateLinkConnectionApprovalRequest(msrest.serialization.Model): :param private_link_service_connection_state: The state of a private link connection. :type private_link_service_connection_state: - ~data_factory_management_client.models.PrivateLinkConnectionState + ~azure.mgmt.datafactory.models.PrivateLinkConnectionState """ _attribute_map = { @@ -29985,7 +31121,7 @@ class PrivateLinkConnectionApprovalRequestResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Core resource properties. - :type properties: ~data_factory_management_client.models.PrivateLinkConnectionApprovalRequest + :type properties: ~azure.mgmt.datafactory.models.PrivateLinkConnectionApprovalRequest """ _validation = { @@ -30058,7 +31194,7 @@ class PrivateLinkResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Core resource properties. - :type properties: ~data_factory_management_client.models.PrivateLinkResourceProperties + :type properties: ~azure.mgmt.datafactory.models.PrivateLinkResourceProperties """ _validation = { @@ -30127,7 +31263,7 @@ class PrivateLinkResourcesWrapper(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. - :type value: list[~data_factory_management_client.models.PrivateLinkResource] + :type value: list[~azure.mgmt.datafactory.models.PrivateLinkResource] """ _validation = { @@ -30152,7 +31288,7 @@ class QueryDataFlowDebugSessionsResponse(msrest.serialization.Model): """A list of active debug sessions. :param value: Array with all active debug sessions. - :type value: list[~data_factory_management_client.models.DataFlowDebugSessionInfo] + :type value: list[~azure.mgmt.datafactory.models.DataFlowDebugSessionInfo] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -30185,11 +31321,11 @@ class QuickBooksLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to QuickBooks. It is mutually @@ -30202,11 +31338,11 @@ class QuickBooksLinkedService(LinkedService): :param consumer_key: The consumer key for OAuth 1.0 authentication. :type consumer_key: object :param consumer_secret: The consumer secret for OAuth 1.0 authentication. - :type consumer_secret: ~data_factory_management_client.models.SecretBase + :type consumer_secret: ~azure.mgmt.datafactory.models.SecretBase :param access_token: The access token for OAuth 1.0 authentication. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param access_token_secret: The access token secret for OAuth 1.0 authentication. - :type access_token_secret: ~data_factory_management_client.models.SecretBase + :type access_token_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -30289,14 +31425,14 @@ class QuickBooksObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -30357,12 +31493,15 @@ class QuickBooksSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -30378,8 +31517,9 @@ class QuickBooksSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -30390,12 +31530,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(QuickBooksSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(QuickBooksSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'QuickBooksSource' # type: str self.query = query @@ -30411,12 +31552,11 @@ class RecurrenceSchedule(msrest.serialization.Model): :param hours: The hours. :type hours: list[int] :param week_days: The days of the week. - :type week_days: list[str or ~data_factory_management_client.models.DaysOfWeek] + :type week_days: list[str or ~azure.mgmt.datafactory.models.DaysOfWeek] :param month_days: The month days. :type month_days: list[int] :param monthly_occurrences: The monthly occurrences. - :type monthly_occurrences: - list[~data_factory_management_client.models.RecurrenceScheduleOccurrence] + :type monthly_occurrences: list[~azure.mgmt.datafactory.models.RecurrenceScheduleOccurrence] """ _attribute_map = { @@ -30456,7 +31596,7 @@ class RecurrenceScheduleOccurrence(msrest.serialization.Model): :type additional_properties: dict[str, object] :param day: The day of the week. Possible values include: "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday". - :type day: str or ~data_factory_management_client.models.DayOfWeek + :type day: str or ~azure.mgmt.datafactory.models.DayOfWeek :param occurrence: The occurrence. :type occurrence: int """ @@ -30530,7 +31670,7 @@ class RedshiftUnloadSettings(msrest.serialization.Model): :param s3_linked_service_name: Required. The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. - :type s3_linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type s3_linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param bucket_name: Required. The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). @@ -30578,11 +31718,14 @@ class RelationalSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -30595,8 +31738,9 @@ class RelationalSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -30606,11 +31750,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(RelationalSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(RelationalSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'RelationalSource' # type: str self.query = query self.additional_columns = additional_columns @@ -30635,14 +31780,14 @@ class RelationalTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The relational table name. Type: string (or Expression with resultType string). :type table_name: object @@ -30693,10 +31838,10 @@ class RemotePrivateEndpointConnection(msrest.serialization.Model): :ivar provisioning_state: :vartype provisioning_state: str :param private_endpoint: PrivateEndpoint of a remote private endpoint connection. - :type private_endpoint: ~data_factory_management_client.models.ArmIdWrapper + :type private_endpoint: ~azure.mgmt.datafactory.models.ArmIdWrapper :param private_link_service_connection_state: The state of a private link connection. :type private_link_service_connection_state: - ~data_factory_management_client.models.PrivateLinkConnectionState + ~azure.mgmt.datafactory.models.PrivateLinkConnectionState """ _validation = { @@ -30738,7 +31883,7 @@ class RerunTumblingWindowTrigger(Trigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param parent_trigger: Required. The parent trigger reference. @@ -30806,11 +31951,11 @@ class ResponsysLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the Responsys server. @@ -30820,7 +31965,7 @@ class ResponsysLinkedService(LinkedService): :type client_id: object :param client_secret: The client secret associated with the Responsys application. Type: string (or Expression with resultType string). - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object @@ -30907,14 +32052,14 @@ class ResponsysObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -30975,12 +32120,15 @@ class ResponsysSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -30996,8 +32144,9 @@ class ResponsysSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -31008,12 +32157,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(ResponsysSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(ResponsysSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ResponsysSource' # type: str self.query = query @@ -31037,14 +32187,14 @@ class RestResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param relative_url: The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string). :type relative_url: object @@ -31122,11 +32272,11 @@ class RestServiceLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The base URL of the REST service. @@ -31138,12 +32288,11 @@ class RestServiceLinkedService(LinkedService): :param authentication_type: Required. Type of authentication used to connect to the REST service. Possible values include: "Anonymous", "Basic", "AadServicePrincipal", "ManagedServiceIdentity". - :type authentication_type: str or - ~data_factory_management_client.models.RestServiceAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.RestServiceAuthenticationType :param user_name: The user name used in Basic authentication type. :type user_name: object :param password: The password used in Basic authentication type. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param auth_headers: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). :type auth_headers: object @@ -31152,7 +32301,7 @@ class RestServiceLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: The application's key used in AadServicePrincipal authentication type. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param tenant: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. :type tenant: object @@ -31166,6 +32315,8 @@ class RestServiceLinkedService(LinkedService): encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ _validation = { @@ -31193,6 +32344,7 @@ class RestServiceLinkedService(LinkedService): 'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'}, 'aad_resource_id': {'key': 'typeProperties.aadResourceId', 'type': 'object'}, 'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'}, + 'credential': {'key': 'typeProperties.credential', 'type': 'CredentialReference'}, } def __init__( @@ -31215,6 +32367,7 @@ def __init__( azure_cloud_type: Optional[object] = None, aad_resource_id: Optional[object] = None, encrypted_credential: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(RestServiceLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs) @@ -31231,6 +32384,7 @@ def __init__( self.azure_cloud_type = azure_cloud_type self.aad_resource_id = aad_resource_id self.encrypted_credential = encrypted_credential + self.credential = credential class RestSink(CopySink): @@ -31258,6 +32412,9 @@ class RestSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param request_method: The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). :type request_method: object @@ -31288,6 +32445,7 @@ class RestSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, @@ -31304,6 +32462,7 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, request_method: Optional[object] = None, additional_headers: Optional[object] = None, http_request_timeout: Optional[object] = None, @@ -31311,7 +32470,7 @@ def __init__( http_compression_type: Optional[object] = None, **kwargs ): - super(RestSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(RestSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'RestSink' # type: str self.request_method = request_method self.additional_headers = additional_headers @@ -31339,6 +32498,9 @@ class RestSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param request_method: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). :type request_method: object @@ -31359,8 +32521,8 @@ class RestSource(CopySource): :param request_interval: The time to await before sending next page request. :type request_interval: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -31373,13 +32535,14 @@ class RestSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'request_method': {'key': 'requestMethod', 'type': 'object'}, 'request_body': {'key': 'requestBody', 'type': 'object'}, 'additional_headers': {'key': 'additionalHeaders', 'type': 'object'}, 'pagination_rules': {'key': 'paginationRules', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, 'request_interval': {'key': 'requestInterval', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -31389,16 +32552,17 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, request_method: Optional[object] = None, request_body: Optional[object] = None, additional_headers: Optional[object] = None, pagination_rules: Optional[object] = None, http_request_timeout: Optional[object] = None, request_interval: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(RestSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(RestSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'RestSource' # type: str self.request_method = request_method self.request_body = request_body @@ -31455,9 +32619,9 @@ class RunFilterParameters(msrest.serialization.Model): 'ISO 8601' format. :type last_updated_before: ~datetime.datetime :param filters: List of filters. - :type filters: list[~data_factory_management_client.models.RunQueryFilter] + :type filters: list[~azure.mgmt.datafactory.models.RunQueryFilter] :param order_by: List of OrderBy option. - :type order_by: list[~data_factory_management_client.models.RunQueryOrderBy] + :type order_by: list[~azure.mgmt.datafactory.models.RunQueryOrderBy] """ _validation = { @@ -31502,10 +32666,10 @@ class RunQueryFilter(msrest.serialization.Model): runs are TriggerName, TriggerRunTimestamp and Status. Possible values include: "PipelineName", "Status", "RunStart", "RunEnd", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "ActivityType", "TriggerName", "TriggerRunTimestamp", "RunGroupId", "LatestOnly". - :type operand: str or ~data_factory_management_client.models.RunQueryFilterOperand + :type operand: str or ~azure.mgmt.datafactory.models.RunQueryFilterOperand :param operator: Required. Operator to be used for filter. Possible values include: "Equals", "NotEquals", "In", "NotIn". - :type operator: str or ~data_factory_management_client.models.RunQueryFilterOperator + :type operator: str or ~azure.mgmt.datafactory.models.RunQueryFilterOperator :param values: Required. List of filter values. :type values: list[str] """ @@ -31547,9 +32711,9 @@ class RunQueryOrderBy(msrest.serialization.Model): TriggerRunTimestamp and Status. Possible values include: "RunStart", "RunEnd", "PipelineName", "Status", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "TriggerName", "TriggerRunTimestamp". - :type order_by: str or ~data_factory_management_client.models.RunQueryOrderByField + :type order_by: str or ~azure.mgmt.datafactory.models.RunQueryOrderByField :param order: Required. Sorting order of the parameter. Possible values include: "ASC", "DESC". - :type order: str or ~data_factory_management_client.models.RunQueryOrder + :type order: str or ~azure.mgmt.datafactory.models.RunQueryOrder """ _validation = { @@ -31585,11 +32749,11 @@ class SalesforceLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param environment_url: The URL of Salesforce instance. Default is @@ -31601,9 +32765,9 @@ class SalesforceLinkedService(LinkedService): (or Expression with resultType string). :type username: object :param password: The password for Basic authentication of the Salesforce instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param security_token: The security token is optional to remotely access Salesforce instance. - :type security_token: ~data_factory_management_client.models.SecretBase + :type security_token: ~azure.mgmt.datafactory.models.SecretBase :param api_version: The Salesforce API version used in ADF. Type: string (or Expression with resultType string). :type api_version: object @@ -31669,11 +32833,11 @@ class SalesforceMarketingCloudLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Salesforce Marketing Cloud. It is @@ -31684,7 +32848,7 @@ class SalesforceMarketingCloudLinkedService(LinkedService): :type client_id: object :param client_secret: The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). :type use_encrypted_endpoints: object @@ -31769,14 +32933,14 @@ class SalesforceMarketingCloudObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -31837,12 +33001,15 @@ class SalesforceMarketingCloudSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -31858,8 +33025,9 @@ class SalesforceMarketingCloudSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -31870,12 +33038,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(SalesforceMarketingCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SalesforceMarketingCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SalesforceMarketingCloudSource' # type: str self.query = query @@ -31899,14 +33068,14 @@ class SalesforceObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param object_api_name: The Salesforce object API name. Type: string (or Expression with resultType string). :type object_api_name: object @@ -31960,11 +33129,11 @@ class SalesforceServiceCloudLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param environment_url: The URL of Salesforce Service Cloud instance. Default is @@ -31976,9 +33145,9 @@ class SalesforceServiceCloudLinkedService(LinkedService): (or Expression with resultType string). :type username: object :param password: The password for Basic authentication of the Salesforce instance. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param security_token: The security token is optional to remotely access Salesforce instance. - :type security_token: ~data_factory_management_client.models.SecretBase + :type security_token: ~azure.mgmt.datafactory.models.SecretBase :param api_version: The Salesforce API version used in ADF. Type: string (or Expression with resultType string). :type api_version: object @@ -32058,14 +33227,14 @@ class SalesforceServiceCloudObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param object_api_name: The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). :type object_api_name: object @@ -32133,9 +33302,12 @@ class SalesforceServiceCloudSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: The write behavior for the operation. Default is Insert. Possible values include: "Insert", "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.SalesforceSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.SalesforceSinkWriteBehavior :param external_id_field_name: The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). :type external_id_field_name: object @@ -32160,6 +33332,7 @@ class SalesforceServiceCloudSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'external_id_field_name': {'key': 'externalIdFieldName', 'type': 'object'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, @@ -32174,12 +33347,13 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, write_behavior: Optional[Union[str, "SalesforceSinkWriteBehavior"]] = None, external_id_field_name: Optional[object] = None, ignore_null_values: Optional[object] = None, **kwargs ): - super(SalesforceServiceCloudSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SalesforceServiceCloudSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SalesforceServiceCloudSink' # type: str self.write_behavior = write_behavior self.external_id_field_name = external_id_field_name @@ -32205,14 +33379,17 @@ class SalesforceServiceCloudSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param read_behavior: The read behavior for the operation. Default is Query. Possible values include: "Query", "QueryAll". - :type read_behavior: str or ~data_factory_management_client.models.SalesforceSourceReadBehavior + :type read_behavior: str or ~azure.mgmt.datafactory.models.SalesforceSourceReadBehavior :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -32225,9 +33402,10 @@ class SalesforceServiceCloudSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'read_behavior': {'key': 'readBehavior', 'type': 'str'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -32237,12 +33415,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, read_behavior: Optional[Union[str, "SalesforceSourceReadBehavior"]] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(SalesforceServiceCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SalesforceServiceCloudSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SalesforceServiceCloudSource' # type: str self.query = query self.read_behavior = read_behavior @@ -32274,9 +33453,12 @@ class SalesforceSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: The write behavior for the operation. Default is Insert. Possible values include: "Insert", "Upsert". - :type write_behavior: str or ~data_factory_management_client.models.SalesforceSinkWriteBehavior + :type write_behavior: str or ~azure.mgmt.datafactory.models.SalesforceSinkWriteBehavior :param external_id_field_name: The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). :type external_id_field_name: object @@ -32301,6 +33483,7 @@ class SalesforceSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'external_id_field_name': {'key': 'externalIdFieldName', 'type': 'object'}, 'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'}, @@ -32315,12 +33498,13 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, write_behavior: Optional[Union[str, "SalesforceSinkWriteBehavior"]] = None, external_id_field_name: Optional[object] = None, ignore_null_values: Optional[object] = None, **kwargs ): - super(SalesforceSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SalesforceSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SalesforceSink' # type: str self.write_behavior = write_behavior self.external_id_field_name = external_id_field_name @@ -32346,17 +33530,20 @@ class SalesforceSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object :param read_behavior: The read behavior for the operation. Default is Query. Possible values include: "Query", "QueryAll". - :type read_behavior: str or ~data_factory_management_client.models.SalesforceSourceReadBehavior + :type read_behavior: str or ~azure.mgmt.datafactory.models.SalesforceSourceReadBehavior """ _validation = { @@ -32369,8 +33556,9 @@ class SalesforceSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'read_behavior': {'key': 'readBehavior', 'type': 'str'}, } @@ -32382,13 +33570,14 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, read_behavior: Optional[Union[str, "SalesforceSourceReadBehavior"]] = None, **kwargs ): - super(SalesforceSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SalesforceSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SalesforceSource' # type: str self.query = query self.read_behavior = read_behavior @@ -32413,14 +33602,14 @@ class SapBwCubeDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder """ _validation = { @@ -32468,11 +33657,11 @@ class SapBwLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. Host name of the SAP BW instance. Type: string (or Expression with @@ -32488,7 +33677,7 @@ class SapBwLinkedService(LinkedService): resultType string). :type user_name: object :param password: Password to access the SAP BW server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -32562,12 +33751,15 @@ class SapBwSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: MDX query. Type: string (or Expression with resultType string). :type query: object """ @@ -32582,8 +33774,9 @@ class SapBwSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -32594,12 +33787,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(SapBwSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SapBwSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapBwSource' # type: str self.query = query @@ -32615,11 +33809,11 @@ class SapCloudForCustomerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of SAP Cloud for Customer OData API. For example, @@ -32630,7 +33824,7 @@ class SapCloudForCustomerLinkedService(LinkedService): resultType string). :type username: object :param password: The password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). @@ -32696,14 +33890,14 @@ class SapCloudForCustomerResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param path: Required. The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). :type path: object @@ -32772,10 +33966,13 @@ class SapCloudForCustomerSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param write_behavior: The write behavior for the operation. Default is 'Insert'. Possible values include: "Insert", "Update". :type write_behavior: str or - ~data_factory_management_client.models.SapCloudForCustomerSinkWriteBehavior + ~azure.mgmt.datafactory.models.SapCloudForCustomerSinkWriteBehavior :param http_request_timeout: The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: @@ -32795,6 +33992,7 @@ class SapCloudForCustomerSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'write_behavior': {'key': 'writeBehavior', 'type': 'str'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -32808,11 +34006,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, write_behavior: Optional[Union[str, "SapCloudForCustomerSinkWriteBehavior"]] = None, http_request_timeout: Optional[object] = None, **kwargs ): - super(SapCloudForCustomerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SapCloudForCustomerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SapCloudForCustomerSink' # type: str self.write_behavior = write_behavior self.http_request_timeout = http_request_timeout @@ -32837,12 +34036,15 @@ class SapCloudForCustomerSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -32863,8 +34065,9 @@ class SapCloudForCustomerSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -32876,13 +34079,14 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): - super(SapCloudForCustomerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SapCloudForCustomerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapCloudForCustomerSource' # type: str self.query = query self.http_request_timeout = http_request_timeout @@ -32899,11 +34103,11 @@ class SapEccLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param url: Required. The URL of SAP ECC OData API. For example, @@ -32914,7 +34118,7 @@ class SapEccLinkedService(LinkedService): resultType string). :type username: str :param password: The password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). @@ -32980,14 +34184,14 @@ class SapEccResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param path: Required. The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). :type path: object @@ -33050,12 +34254,15 @@ class SapEccSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -33076,8 +34283,9 @@ class SapEccSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -33089,13 +34297,14 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): - super(SapEccSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SapEccSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapEccSource' # type: str self.query = query self.http_request_timeout = http_request_timeout @@ -33112,11 +34321,11 @@ class SapHanaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: SAP HANA ODBC connection string. Type: string, SecureString or @@ -33127,13 +34336,12 @@ class SapHanaLinkedService(LinkedService): :type server: object :param authentication_type: The authentication type to be used to connect to the SAP HANA server. Possible values include: "Basic", "Windows". - :type authentication_type: str or - ~data_factory_management_client.models.SapHanaAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.SapHanaAuthenticationType :param user_name: Username to access the SAP HANA server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to access the SAP HANA server. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -33226,12 +34434,15 @@ class SapHanaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: SAP HANA Sql query. Type: string (or Expression with resultType string). :type query: object :param packet_size: The packet size of data read from SAP HANA. Type: integer(or Expression @@ -33242,7 +34453,7 @@ class SapHanaSource(TabularSource): :type partition_option: object :param partition_settings: The settings that will be leveraged for SAP HANA source partitioning. - :type partition_settings: ~data_factory_management_client.models.SapHanaPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SapHanaPartitionSettings """ _validation = { @@ -33255,8 +34466,9 @@ class SapHanaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'packet_size': {'key': 'packetSize', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, @@ -33270,15 +34482,16 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, packet_size: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["SapHanaPartitionSettings"] = None, **kwargs ): - super(SapHanaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SapHanaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapHanaSource' # type: str self.query = query self.packet_size = packet_size @@ -33305,14 +34518,14 @@ class SapHanaTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param schema_type_properties_schema: The schema name of SAP HANA. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object @@ -33371,11 +34584,11 @@ class SapOpenHubLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Host name of the SAP BW instance where the open hub destination is located. @@ -33400,7 +34613,7 @@ class SapOpenHubLinkedService(LinkedService): :type user_name: object :param password: Password to access the SAP BW server where the open hub destination is located. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param message_server: The hostname of the SAP Message Server. Type: string (or Expression with resultType string). :type message_server: object @@ -33495,12 +34708,15 @@ class SapOpenHubSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param exclude_last_request: Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). :type exclude_last_request: object @@ -33527,8 +34743,9 @@ class SapOpenHubSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'exclude_last_request': {'key': 'excludeLastRequest', 'type': 'object'}, 'base_request_id': {'key': 'baseRequestId', 'type': 'object'}, 'custom_rfc_read_table_function_module': {'key': 'customRfcReadTableFunctionModule', 'type': 'object'}, @@ -33542,15 +34759,16 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, exclude_last_request: Optional[object] = None, base_request_id: Optional[object] = None, custom_rfc_read_table_function_module: Optional[object] = None, sap_data_column_delimiter: Optional[object] = None, **kwargs ): - super(SapOpenHubSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SapOpenHubSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapOpenHubSource' # type: str self.exclude_last_request = exclude_last_request self.base_request_id = base_request_id @@ -33577,14 +34795,14 @@ class SapOpenHubTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param open_hub_destination_name: Required. The name of the Open Hub Destination with destination type as Database Table. Type: string (or Expression with resultType string). :type open_hub_destination_name: object @@ -33652,11 +34870,11 @@ class SapTableLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Host name of the SAP instance where the table is located. Type: string (or @@ -33680,7 +34898,7 @@ class SapTableLinkedService(LinkedService): (or Expression with resultType string). :type user_name: object :param password: Password to access the SAP server where the table is located. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param message_server: The hostname of the SAP Message Server. Type: string (or Expression with resultType string). :type message_server: object @@ -33847,14 +35065,14 @@ class SapTableResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: Required. The name of the SAP Table. Type: string (or Expression with resultType string). :type table_name: object @@ -33917,12 +35135,15 @@ class SapTableSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param row_count: The number of rows to be retrieved. Type: integer(or Expression with resultType integer). :type row_count: object @@ -33951,7 +35172,7 @@ class SapTableSource(TabularSource): :type partition_option: object :param partition_settings: The settings that will be leveraged for SAP table source partitioning. - :type partition_settings: ~data_factory_management_client.models.SapTablePartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SapTablePartitionSettings """ _validation = { @@ -33964,8 +35185,9 @@ class SapTableSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'row_count': {'key': 'rowCount', 'type': 'object'}, 'row_skips': {'key': 'rowSkips', 'type': 'object'}, 'rfc_table_fields': {'key': 'rfcTableFields', 'type': 'object'}, @@ -33984,8 +35206,9 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, row_count: Optional[object] = None, row_skips: Optional[object] = None, rfc_table_fields: Optional[object] = None, @@ -33997,7 +35220,7 @@ def __init__( partition_settings: Optional["SapTablePartitionSettings"] = None, **kwargs ): - super(SapTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SapTableSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SapTableSource' # type: str self.row_count = row_count self.row_skips = row_skips @@ -34026,13 +35249,13 @@ class ScheduleTrigger(MultiplePipelineTrigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipelines: Pipelines that need to be started. - :type pipelines: list[~data_factory_management_client.models.TriggerPipelineReference] + :type pipelines: list[~azure.mgmt.datafactory.models.TriggerPipelineReference] :param recurrence: Required. Recurrence schedule configuration. - :type recurrence: ~data_factory_management_client.models.ScheduleTriggerRecurrence + :type recurrence: ~azure.mgmt.datafactory.models.ScheduleTriggerRecurrence """ _validation = { @@ -34074,7 +35297,7 @@ class ScheduleTriggerRecurrence(msrest.serialization.Model): :type additional_properties: dict[str, object] :param frequency: The frequency. Possible values include: "NotSpecified", "Minute", "Hour", "Day", "Week", "Month", "Year". - :type frequency: str or ~data_factory_management_client.models.RecurrenceFrequency + :type frequency: str or ~azure.mgmt.datafactory.models.RecurrenceFrequency :param interval: The interval. :type interval: int :param start_time: The start time. @@ -34084,7 +35307,7 @@ class ScheduleTriggerRecurrence(msrest.serialization.Model): :param time_zone: The time zone. :type time_zone: str :param schedule: The recurrence schedule. - :type schedule: ~data_factory_management_client.models.RecurrenceSchedule + :type schedule: ~azure.mgmt.datafactory.models.RecurrenceSchedule """ _attribute_map = { @@ -34128,9 +35351,8 @@ class ScriptAction(msrest.serialization.Model): :type name: str :param uri: Required. The URI for the script action. :type uri: str - :param roles: Required. The node types on which the script action should be executed. Possible - values include: "Headnode", "Workernode", "Zookeeper". - :type roles: str or ~data_factory_management_client.models.HdiNodeTypes + :param roles: Required. The node types on which the script action should be executed. + :type roles: str :param parameters: The parameters for the script action. :type parameters: str """ @@ -34153,7 +35375,7 @@ def __init__( *, name: str, uri: str, - roles: Union[str, "HdiNodeTypes"], + roles: str, parameters: Optional[str] = None, **kwargs ): @@ -34246,11 +35468,11 @@ class SelfHostedIntegrationRuntime(IntegrationRuntime): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :param description: Integration runtime description. :type description: str :param linked_info: The base definition of a linked integration runtime. - :type linked_info: ~data_factory_management_client.models.LinkedIntegrationRuntimeType + :type linked_info: ~azure.mgmt.datafactory.models.LinkedIntegrationRuntimeType """ _validation = { @@ -34294,8 +35516,7 @@ class SelfHostedIntegrationRuntimeNode(msrest.serialization.Model): :ivar status: Status of the integration runtime node. Possible values include: "NeedRegistration", "Online", "Limited", "Offline", "Upgrading", "Initializing", "InitializeFailed". - :vartype status: str or - ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNodeStatus + :vartype status: str or ~azure.mgmt.datafactory.models.SelfHostedIntegrationRuntimeNodeStatus :ivar capabilities: The integration runtime capabilities dictionary. :vartype capabilities: dict[str, str] :ivar version_status: Status of the integration runtime node version. @@ -34317,7 +35538,7 @@ class SelfHostedIntegrationRuntimeNode(msrest.serialization.Model): :ivar last_update_result: The result of the last integration runtime node update. Possible values include: "None", "Succeed", "Fail". :vartype last_update_result: str or - ~data_factory_management_client.models.IntegrationRuntimeUpdateResult + ~azure.mgmt.datafactory.models.IntegrationRuntimeUpdateResult :ivar last_start_update_time: The last time for the integration runtime node update start. :vartype last_start_update_time: ~datetime.datetime :ivar last_end_update_time: The last time for the integration runtime node update end. @@ -34414,13 +35635,13 @@ class SelfHostedIntegrationRuntimeStatus(IntegrationRuntimeStatus): :type additional_properties: dict[str, object] :param type: Required. Type of integration runtime.Constant filled by server. Possible values include: "Managed", "SelfHosted". - :type type: str or ~data_factory_management_client.models.IntegrationRuntimeType + :type type: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeType :ivar data_factory_name: The data factory name which the integration runtime belong to. :vartype data_factory_name: str :ivar state: The state of integration runtime. Possible values include: "Initial", "Stopped", "Started", "Starting", "Stopping", "NeedRegistration", "Online", "Limited", "Offline", "AccessDenied". - :vartype state: str or ~data_factory_management_client.models.IntegrationRuntimeState + :vartype state: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeState :ivar create_time: The time at which the integration runtime was created, in ISO8601 format. :vartype create_time: ~datetime.datetime :ivar task_queue_id: The task queue id of the integration runtime. @@ -34429,11 +35650,11 @@ class SelfHostedIntegrationRuntimeStatus(IntegrationRuntimeStatus): communication channel (when more than 2 self-hosted integration runtime nodes exist). Possible values include: "NotSet", "SslEncrypted", "NotEncrypted". :vartype internal_channel_encryption: str or - ~data_factory_management_client.models.IntegrationRuntimeInternalChannelEncryptionMode + ~azure.mgmt.datafactory.models.IntegrationRuntimeInternalChannelEncryptionMode :ivar version: Version of the integration runtime. :vartype version: str :param nodes: The list of nodes for this integration runtime. - :type nodes: list[~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode] + :type nodes: list[~azure.mgmt.datafactory.models.SelfHostedIntegrationRuntimeNode] :ivar scheduled_update_date: The date at which the integration runtime will be scheduled to update, in ISO8601 format. :vartype scheduled_update_date: ~datetime.datetime @@ -34448,13 +35669,12 @@ class SelfHostedIntegrationRuntimeStatus(IntegrationRuntimeStatus): :vartype service_urls: list[str] :ivar auto_update: Whether Self-hosted integration runtime auto update has been turned on. Possible values include: "On", "Off". - :vartype auto_update: str or - ~data_factory_management_client.models.IntegrationRuntimeAutoUpdate + :vartype auto_update: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeAutoUpdate :ivar version_status: Status of the integration runtime version. :vartype version_status: str :param links: The list of linked integration runtimes that are created to share with this integration runtime. - :type links: list[~data_factory_management_client.models.LinkedIntegrationRuntime] + :type links: list[~azure.mgmt.datafactory.models.LinkedIntegrationRuntime] :ivar pushed_version: The version that the integration runtime is going to update to. :vartype pushed_version: str :ivar latest_version: The latest version on download center. @@ -34546,11 +35766,11 @@ class ServiceNowLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param endpoint: Required. The endpoint of the ServiceNow server. (i.e. @@ -34558,18 +35778,17 @@ class ServiceNowLinkedService(LinkedService): :type endpoint: object :param authentication_type: Required. The authentication type to use. Possible values include: "Basic", "OAuth2". - :type authentication_type: str or - ~data_factory_management_client.models.ServiceNowAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.ServiceNowAuthenticationType :param username: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. :type username: object :param password: The password corresponding to the user name for Basic and OAuth2 authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param client_id: The client id for OAuth2 authentication. :type client_id: object :param client_secret: The client secret for OAuth2 authentication. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -34664,14 +35883,14 @@ class ServiceNowObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -34732,12 +35951,15 @@ class ServiceNowSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -34753,8 +35975,9 @@ class ServiceNowSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -34765,16 +35988,71 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(ServiceNowSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(ServiceNowSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ServiceNowSource' # type: str self.query = query +class ServicePrincipalCredential(Credential): + """Service principal credential. + + All required parameters must be populated in order to send to Azure. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, object] + :param type: Required. Type of credential.Constant filled by server. + :type type: str + :param description: Credential description. + :type description: str + :param annotations: List of tags that can be used for describing the Credential. + :type annotations: list[object] + :param service_principal_id: The app ID of the service principal used to authenticate. + :type service_principal_id: object + :param service_principal_key: The key of the service principal used to authenticate. + :type service_principal_key: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference + :param tenant: The ID of the tenant to which the service principal belongs. + :type tenant: object + """ + + _validation = { + 'type': {'required': True}, + } + + _attribute_map = { + 'additional_properties': {'key': '', 'type': '{object}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'annotations': {'key': 'annotations', 'type': '[object]'}, + 'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'}, + 'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'AzureKeyVaultSecretReference'}, + 'tenant': {'key': 'typeProperties.tenant', 'type': 'object'}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, object]] = None, + description: Optional[str] = None, + annotations: Optional[List[object]] = None, + service_principal_id: Optional[object] = None, + service_principal_key: Optional["AzureKeyVaultSecretReference"] = None, + tenant: Optional[object] = None, + **kwargs + ): + super(ServicePrincipalCredential, self).__init__(additional_properties=additional_properties, description=description, annotations=annotations, **kwargs) + self.type = 'ServicePrincipal' # type: str + self.service_principal_id = service_principal_id + self.service_principal_key = service_principal_key + self.tenant = tenant + + class SetVariableActivity(Activity): """Set value for a Variable. @@ -34790,9 +36068,9 @@ class SetVariableActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param variable_name: Name of the variable whose value needs to be set. :type variable_name: str :param value: Value to be set. Could be a static value or Expression. @@ -34887,6 +36165,9 @@ class SftpReadSettings(StoreReadSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param recursive: If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). :type recursive: object @@ -34924,6 +36205,7 @@ class SftpReadSettings(StoreReadSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'recursive': {'key': 'recursive', 'type': 'object'}, 'wildcard_folder_path': {'key': 'wildcardFolderPath', 'type': 'object'}, 'wildcard_file_name': {'key': 'wildcardFileName', 'type': 'object'}, @@ -34940,6 +36222,7 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, recursive: Optional[object] = None, wildcard_folder_path: Optional[object] = None, wildcard_file_name: Optional[object] = None, @@ -34951,7 +36234,7 @@ def __init__( modified_datetime_end: Optional[object] = None, **kwargs ): - super(SftpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SftpReadSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SftpReadSettings' # type: str self.recursive = recursive self.wildcard_folder_path = wildcard_folder_path @@ -34975,11 +36258,11 @@ class SftpServerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The SFTP server host name. Type: string (or Expression with resultType @@ -34990,12 +36273,12 @@ class SftpServerLinkedService(LinkedService): :type port: object :param authentication_type: The authentication type to be used to connect to the FTP server. Possible values include: "Basic", "SshPublicKey", "MultiFactor". - :type authentication_type: str or ~data_factory_management_client.models.SftpAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.SftpAuthenticationType :param user_name: The username used to log on to the SFTP server. Type: string (or Expression with resultType string). :type user_name: object :param password: Password to logon the SFTP server for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -35008,10 +36291,10 @@ class SftpServerLinkedService(LinkedService): :param private_key_content: Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. - :type private_key_content: ~data_factory_management_client.models.SecretBase + :type private_key_content: ~azure.mgmt.datafactory.models.SecretBase :param pass_phrase: The password to decrypt the SSH private key if the SSH private key is encrypted. - :type pass_phrase: ~data_factory_management_client.models.SecretBase + :type pass_phrase: ~azure.mgmt.datafactory.models.SecretBase :param skip_host_key_validation: If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). :type skip_host_key_validation: object @@ -35095,6 +36378,9 @@ class SftpWriteSettings(StoreWriteSettings): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param copy_behavior: The type of copy behavior for copy sink. :type copy_behavior: object :param operation_timeout: Specifies the timeout for writing each chunk to SFTP server. Default @@ -35114,6 +36400,7 @@ class SftpWriteSettings(StoreWriteSettings): 'additional_properties': {'key': '', 'type': '{object}'}, 'type': {'key': 'type', 'type': 'str'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'copy_behavior': {'key': 'copyBehavior', 'type': 'object'}, 'operation_timeout': {'key': 'operationTimeout', 'type': 'object'}, 'use_temp_file_rename': {'key': 'useTempFileRename', 'type': 'object'}, @@ -35124,12 +36411,13 @@ def __init__( *, additional_properties: Optional[Dict[str, object]] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, copy_behavior: Optional[object] = None, operation_timeout: Optional[object] = None, use_temp_file_rename: Optional[object] = None, **kwargs ): - super(SftpWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, copy_behavior=copy_behavior, **kwargs) + super(SftpWriteSettings, self).__init__(additional_properties=additional_properties, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, copy_behavior=copy_behavior, **kwargs) self.type = 'SftpWriteSettings' # type: str self.operation_timeout = operation_timeout self.use_temp_file_rename = use_temp_file_rename @@ -35146,11 +36434,11 @@ class SharePointOnlineListLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param site_url: Required. The URL of the SharePoint Online site. For example, @@ -35167,7 +36455,7 @@ class SharePointOnlineListLinkedService(LinkedService): :type service_principal_id: object :param service_principal_key: Required. The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -35239,14 +36527,14 @@ class SharePointOnlineListResourceDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param list_name: The name of the SharePoint Online list. Type: string (or Expression with resultType string). :type list_name: object @@ -35308,6 +36596,9 @@ class SharePointOnlineListSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). :type query: object @@ -35327,6 +36618,7 @@ class SharePointOnlineListSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'http_request_timeout': {'key': 'httpRequestTimeout', 'type': 'object'}, } @@ -35338,11 +36630,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, http_request_timeout: Optional[object] = None, **kwargs ): - super(SharePointOnlineListSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SharePointOnlineListSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SharePointOnlineListSource' # type: str self.query = query self.http_request_timeout = http_request_timeout @@ -35359,18 +36652,18 @@ class ShopifyLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. The endpoint of the Shopify server. (i.e. mystore.myshopify.com). :type host: object :param access_token: The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -35452,14 +36745,14 @@ class ShopifyObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -35520,12 +36813,15 @@ class ShopifySource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -35541,8 +36837,9 @@ class ShopifySource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -35553,12 +36850,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(ShopifySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(ShopifySource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ShopifySource' # type: str self.query = query @@ -35610,14 +36908,14 @@ class SnowflakeDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param schema_type_properties_schema: The schema name of the Snowflake database. Type: string (or Expression with resultType string). :type schema_type_properties_schema: object @@ -35771,18 +37069,18 @@ class SnowflakeLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string of snowflake. Type: string, SecureString. :type connection_string: object :param password: The Azure key vault secret reference of password in connection string. - :type password: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type password: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -35851,11 +37149,14 @@ class SnowflakeSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object :param import_settings: Snowflake import settings. - :type import_settings: ~data_factory_management_client.models.SnowflakeImportCopyCommand + :type import_settings: ~azure.mgmt.datafactory.models.SnowflakeImportCopyCommand """ _validation = { @@ -35870,6 +37171,7 @@ class SnowflakeSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'import_settings': {'key': 'importSettings', 'type': 'SnowflakeImportCopyCommand'}, } @@ -35883,11 +37185,12 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, import_settings: Optional["SnowflakeImportCopyCommand"] = None, **kwargs ): - super(SnowflakeSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SnowflakeSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SnowflakeSink' # type: str self.pre_copy_script = pre_copy_script self.import_settings = import_settings @@ -35912,10 +37215,13 @@ class SnowflakeSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query: Snowflake Sql query. Type: string (or Expression with resultType string). :type query: object :param export_settings: Snowflake export settings. - :type export_settings: ~data_factory_management_client.models.SnowflakeExportCopyCommand + :type export_settings: ~azure.mgmt.datafactory.models.SnowflakeExportCopyCommand """ _validation = { @@ -35928,6 +37234,7 @@ class SnowflakeSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'export_settings': {'key': 'exportSettings', 'type': 'SnowflakeExportCopyCommand'}, } @@ -35939,11 +37246,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query: Optional[object] = None, export_settings: Optional["SnowflakeExportCopyCommand"] = None, **kwargs ): - super(SnowflakeSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SnowflakeSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SnowflakeSource' # type: str self.query = query self.export_settings = export_settings @@ -35960,11 +37268,11 @@ class SparkLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param host: Required. IP address or host name of the Spark server. @@ -35974,21 +37282,20 @@ class SparkLinkedService(LinkedService): :type port: object :param server_type: The type of Spark server. Possible values include: "SharkServer", "SharkServer2", "SparkThriftServer". - :type server_type: str or ~data_factory_management_client.models.SparkServerType + :type server_type: str or ~azure.mgmt.datafactory.models.SparkServerType :param thrift_transport_protocol: The transport protocol to use in the Thrift layer. Possible values include: "Binary", "SASL", "HTTP ". :type thrift_transport_protocol: str or - ~data_factory_management_client.models.SparkThriftTransportProtocol + ~azure.mgmt.datafactory.models.SparkThriftTransportProtocol :param authentication_type: Required. The authentication method used to access the Spark server. Possible values include: "Anonymous", "Username", "UsernameAndPassword", "WindowsAzureHDInsightService". - :type authentication_type: str or - ~data_factory_management_client.models.SparkAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.SparkAuthenticationType :param username: The user name that you use to access Spark Server. :type username: object :param password: The password corresponding to the user name that you provided in the Username field. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param http_path: The partial URL corresponding to the Spark server. :type http_path: object :param enable_ssl: Specifies whether the connections to the server are encrypted using SSL. The @@ -36104,14 +37411,14 @@ class SparkObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -36184,12 +37491,15 @@ class SparkSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -36205,8 +37515,9 @@ class SparkSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -36217,12 +37528,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(SparkSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SparkSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SparkSource' # type: str self.query = query @@ -36236,13 +37548,13 @@ class SqlAlwaysEncryptedProperties(msrest.serialization.Model): Type: string (or Expression with resultType string). Possible values include: "ServicePrincipal", "ManagedIdentity". :type always_encrypted_akv_auth_type: str or - ~data_factory_management_client.models.SqlAlwaysEncryptedAkvAuthType + ~azure.mgmt.datafactory.models.SqlAlwaysEncryptedAkvAuthType :param service_principal_id: The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string). :type service_principal_id: object :param service_principal_key: The key of the service principal used to authenticate against Azure Key Vault. - :type service_principal_key: ~data_factory_management_client.models.SecretBase + :type service_principal_key: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -36294,6 +37606,9 @@ class SqlDwSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param pre_copy_script: SQL pre-copy script. Type: string (or Expression with resultType string). :type pre_copy_script: object @@ -36301,16 +37616,24 @@ class SqlDwSink(CopySink): applicable. Type: boolean (or Expression with resultType boolean). :type allow_poly_base: object :param poly_base_settings: Specifies PolyBase-related settings when allowPolyBase is true. - :type poly_base_settings: ~data_factory_management_client.models.PolybaseSettings + :type poly_base_settings: ~azure.mgmt.datafactory.models.PolybaseSettings :param allow_copy_command: Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean). :type allow_copy_command: object :param copy_command_settings: Specifies Copy Command related settings when allowCopyCommand is true. - :type copy_command_settings: ~data_factory_management_client.models.DwCopyCommandSettings + :type copy_command_settings: ~azure.mgmt.datafactory.models.DwCopyCommandSettings :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: Write behavior when copying data into azure SQL DW. Type: + SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL DW upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlDwUpsertSettings """ _validation = { @@ -36325,12 +37648,16 @@ class SqlDwSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'allow_poly_base': {'key': 'allowPolyBase', 'type': 'object'}, 'poly_base_settings': {'key': 'polyBaseSettings', 'type': 'PolybaseSettings'}, 'allow_copy_command': {'key': 'allowCopyCommand', 'type': 'object'}, 'copy_command_settings': {'key': 'copyCommandSettings', 'type': 'DwCopyCommandSettings'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlDwUpsertSettings'}, } def __init__( @@ -36342,15 +37669,19 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, pre_copy_script: Optional[object] = None, allow_poly_base: Optional[object] = None, poly_base_settings: Optional["PolybaseSettings"] = None, allow_copy_command: Optional[object] = None, copy_command_settings: Optional["DwCopyCommandSettings"] = None, table_option: Optional[object] = None, + sql_writer_use_table_lock: Optional[object] = None, + write_behavior: Optional[object] = None, + upsert_settings: Optional["SqlDwUpsertSettings"] = None, **kwargs ): - super(SqlDwSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SqlDwSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SqlDWSink' # type: str self.pre_copy_script = pre_copy_script self.allow_poly_base = allow_poly_base @@ -36358,6 +37689,9 @@ def __init__( self.allow_copy_command = allow_copy_command self.copy_command_settings = copy_command_settings self.table_option = table_option + self.sql_writer_use_table_lock = sql_writer_use_table_lock + self.write_behavior = write_behavior + self.upsert_settings = upsert_settings class SqlDwSource(TabularSource): @@ -36379,12 +37713,15 @@ class SqlDwSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL Data Warehouse reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object @@ -36400,7 +37737,7 @@ class SqlDwSource(TabularSource): Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -36413,8 +37750,9 @@ class SqlDwSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': 'object'}, @@ -36429,8 +37767,9 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[object] = None, @@ -36438,7 +37777,7 @@ def __init__( partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): - super(SqlDwSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SqlDwSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SqlDWSource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name @@ -36447,6 +37786,34 @@ def __init__( self.partition_settings = partition_settings +class SqlDwUpsertSettings(msrest.serialization.Model): + """Sql DW upsert option settings. + + :param interim_schema_name: Schema name for interim table. Type: string (or Expression with + resultType string). + :type interim_schema_name: object + :param keys: Key column names for unique row identification. Type: array of strings (or + Expression with resultType array of strings). + :type keys: object + """ + + _attribute_map = { + 'interim_schema_name': {'key': 'interimSchemaName', 'type': 'object'}, + 'keys': {'key': 'keys', 'type': 'object'}, + } + + def __init__( + self, + *, + interim_schema_name: Optional[object] = None, + keys: Optional[object] = None, + **kwargs + ): + super(SqlDwUpsertSettings, self).__init__(**kwargs) + self.interim_schema_name = interim_schema_name + self.keys = keys + + class SqlMiSink(CopySink): """A copy activity Azure SQL Managed Instance sink. @@ -36472,6 +37839,9 @@ class SqlMiSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object @@ -36483,13 +37853,21 @@ class SqlMiSink(CopySink): :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: White behavior when copying data into azure SQL MI. Type: + SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlUpsertSettings """ _validation = { @@ -36504,12 +37882,16 @@ class SqlMiSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlUpsertSettings'}, } def __init__( @@ -36521,15 +37903,19 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, sql_writer_stored_procedure_name: Optional[object] = None, sql_writer_table_type: Optional[object] = None, pre_copy_script: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, stored_procedure_table_type_parameter_name: Optional[object] = None, table_option: Optional[object] = None, + sql_writer_use_table_lock: Optional[object] = None, + write_behavior: Optional[object] = None, + upsert_settings: Optional["SqlUpsertSettings"] = None, **kwargs ): - super(SqlMiSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SqlMiSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SqlMISink' # type: str self.sql_writer_stored_procedure_name = sql_writer_stored_procedure_name self.sql_writer_table_type = sql_writer_table_type @@ -36537,6 +37923,9 @@ def __init__( self.stored_procedure_parameters = stored_procedure_parameters self.stored_procedure_table_type_parameter_name = stored_procedure_table_type_parameter_name self.table_option = table_option + self.sql_writer_use_table_lock = sql_writer_use_table_lock + self.write_behavior = write_behavior + self.upsert_settings = upsert_settings class SqlMiSource(TabularSource): @@ -36558,12 +37947,15 @@ class SqlMiSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a Azure SQL Managed @@ -36573,14 +37965,14 @@ class SqlMiSource(TabularSource): :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -36593,8 +37985,9 @@ class SqlMiSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -36610,8 +38003,9 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, @@ -36620,7 +38014,7 @@ def __init__( partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): - super(SqlMiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SqlMiSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SqlMISource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name @@ -36680,11 +38074,11 @@ class SqlServerLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Required. The connection string. Type: string, SecureString or @@ -36694,14 +38088,13 @@ class SqlServerLinkedService(LinkedService): with resultType string). :type user_name: object :param password: The on-premises Windows authentication password. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). :type encrypted_credential: object :param always_encrypted_settings: Sql always encrypted properties. - :type always_encrypted_settings: - ~data_factory_management_client.models.SqlAlwaysEncryptedProperties + :type always_encrypted_settings: ~azure.mgmt.datafactory.models.SqlAlwaysEncryptedProperties """ _validation = { @@ -36772,6 +38165,9 @@ class SqlServerSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object @@ -36783,13 +38179,21 @@ class SqlServerSink(CopySink): :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: Write behavior when copying data into sql server. Type: + SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlUpsertSettings """ _validation = { @@ -36804,12 +38208,16 @@ class SqlServerSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlUpsertSettings'}, } def __init__( @@ -36821,15 +38229,19 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, sql_writer_stored_procedure_name: Optional[object] = None, sql_writer_table_type: Optional[object] = None, pre_copy_script: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, stored_procedure_table_type_parameter_name: Optional[object] = None, table_option: Optional[object] = None, + sql_writer_use_table_lock: Optional[object] = None, + write_behavior: Optional[object] = None, + upsert_settings: Optional["SqlUpsertSettings"] = None, **kwargs ): - super(SqlServerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SqlServerSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SqlServerSink' # type: str self.sql_writer_stored_procedure_name = sql_writer_stored_procedure_name self.sql_writer_table_type = sql_writer_table_type @@ -36837,6 +38249,9 @@ def __init__( self.stored_procedure_parameters = stored_procedure_parameters self.stored_procedure_table_type_parameter_name = stored_procedure_table_type_parameter_name self.table_option = table_option + self.sql_writer_use_table_lock = sql_writer_use_table_lock + self.write_behavior = write_behavior + self.upsert_settings = upsert_settings class SqlServerSource(TabularSource): @@ -36858,12 +38273,15 @@ class SqlServerSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database @@ -36873,14 +38291,14 @@ class SqlServerSource(TabularSource): :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param produce_additional_types: Which additional types to produce. :type produce_additional_types: object :param partition_option: The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -36893,8 +38311,9 @@ class SqlServerSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -36910,8 +38329,9 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, @@ -36920,7 +38340,7 @@ def __init__( partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): - super(SqlServerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SqlServerSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SqlServerSource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name @@ -36945,20 +38365,20 @@ class SqlServerStoredProcedureActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param stored_procedure_name: Required. Stored procedure name. Type: string (or Expression with resultType string). :type stored_procedure_name: object :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] """ _validation = { @@ -37019,14 +38439,14 @@ class SqlServerTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -37106,6 +38526,9 @@ class SqlSink(CopySink): :param max_concurrent_connections: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param sql_writer_stored_procedure_name: SQL writer stored procedure name. Type: string (or Expression with resultType string). :type sql_writer_stored_procedure_name: object @@ -37117,13 +38540,21 @@ class SqlSink(CopySink): :type pre_copy_script: object :param stored_procedure_parameters: SQL stored procedure parameters. :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param stored_procedure_table_type_parameter_name: The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). :type stored_procedure_table_type_parameter_name: object :param table_option: The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). :type table_option: object + :param sql_writer_use_table_lock: Whether to use table lock during bulk copy. Type: boolean (or + Expression with resultType boolean). + :type sql_writer_use_table_lock: object + :param write_behavior: Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum + (or Expression with resultType SqlWriteBehaviorEnum). + :type write_behavior: object + :param upsert_settings: SQL upsert settings. + :type upsert_settings: ~azure.mgmt.datafactory.models.SqlUpsertSettings """ _validation = { @@ -37138,12 +38569,16 @@ class SqlSink(CopySink): 'sink_retry_count': {'key': 'sinkRetryCount', 'type': 'object'}, 'sink_retry_wait': {'key': 'sinkRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'sql_writer_stored_procedure_name': {'key': 'sqlWriterStoredProcedureName', 'type': 'object'}, 'sql_writer_table_type': {'key': 'sqlWriterTableType', 'type': 'object'}, 'pre_copy_script': {'key': 'preCopyScript', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, 'stored_procedure_table_type_parameter_name': {'key': 'storedProcedureTableTypeParameterName', 'type': 'object'}, 'table_option': {'key': 'tableOption', 'type': 'object'}, + 'sql_writer_use_table_lock': {'key': 'sqlWriterUseTableLock', 'type': 'object'}, + 'write_behavior': {'key': 'writeBehavior', 'type': 'object'}, + 'upsert_settings': {'key': 'upsertSettings', 'type': 'SqlUpsertSettings'}, } def __init__( @@ -37155,15 +38590,19 @@ def __init__( sink_retry_count: Optional[object] = None, sink_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, sql_writer_stored_procedure_name: Optional[object] = None, sql_writer_table_type: Optional[object] = None, pre_copy_script: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, stored_procedure_table_type_parameter_name: Optional[object] = None, table_option: Optional[object] = None, + sql_writer_use_table_lock: Optional[object] = None, + write_behavior: Optional[object] = None, + upsert_settings: Optional["SqlUpsertSettings"] = None, **kwargs ): - super(SqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(SqlSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'SqlSink' # type: str self.sql_writer_stored_procedure_name = sql_writer_stored_procedure_name self.sql_writer_table_type = sql_writer_table_type @@ -37171,6 +38610,9 @@ def __init__( self.stored_procedure_parameters = stored_procedure_parameters self.stored_procedure_table_type_parameter_name = stored_procedure_table_type_parameter_name self.table_option = table_option + self.sql_writer_use_table_lock = sql_writer_use_table_lock + self.write_behavior = write_behavior + self.upsert_settings = upsert_settings class SqlSource(TabularSource): @@ -37192,12 +38634,15 @@ class SqlSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param sql_reader_query: SQL reader query. Type: string (or Expression with resultType string). :type sql_reader_query: object :param sql_reader_stored_procedure_name: Name of the stored procedure for a SQL Database @@ -37207,7 +38652,7 @@ class SqlSource(TabularSource): :param stored_procedure_parameters: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". :type stored_procedure_parameters: dict[str, - ~data_factory_management_client.models.StoredProcedureParameter] + ~azure.mgmt.datafactory.models.StoredProcedureParameter] :param isolation_level: Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). @@ -37216,7 +38661,7 @@ class SqlSource(TabularSource): Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". :type partition_option: object :param partition_settings: The settings that will be leveraged for Sql source partitioning. - :type partition_settings: ~data_factory_management_client.models.SqlPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.SqlPartitionSettings """ _validation = { @@ -37229,8 +38674,9 @@ class SqlSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'sql_reader_query': {'key': 'sqlReaderQuery', 'type': 'object'}, 'sql_reader_stored_procedure_name': {'key': 'sqlReaderStoredProcedureName', 'type': 'object'}, 'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '{StoredProcedureParameter}'}, @@ -37246,8 +38692,9 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, sql_reader_query: Optional[object] = None, sql_reader_stored_procedure_name: Optional[object] = None, stored_procedure_parameters: Optional[Dict[str, "StoredProcedureParameter"]] = None, @@ -37256,7 +38703,7 @@ def __init__( partition_settings: Optional["SqlPartitionSettings"] = None, **kwargs ): - super(SqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SqlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SqlSource' # type: str self.sql_reader_query = sql_reader_query self.sql_reader_stored_procedure_name = sql_reader_stored_procedure_name @@ -37266,6 +38713,40 @@ def __init__( self.partition_settings = partition_settings +class SqlUpsertSettings(msrest.serialization.Model): + """Sql upsert option settings. + + :param use_temp_db: Specifies whether to use temp db for upsert interim table. Type: boolean + (or Expression with resultType boolean). + :type use_temp_db: object + :param interim_schema_name: Schema name for interim table. Type: string (or Expression with + resultType string). + :type interim_schema_name: object + :param keys: Key column names for unique row identification. Type: array of strings (or + Expression with resultType array of strings). + :type keys: object + """ + + _attribute_map = { + 'use_temp_db': {'key': 'useTempDB', 'type': 'object'}, + 'interim_schema_name': {'key': 'interimSchemaName', 'type': 'object'}, + 'keys': {'key': 'keys', 'type': 'object'}, + } + + def __init__( + self, + *, + use_temp_db: Optional[object] = None, + interim_schema_name: Optional[object] = None, + keys: Optional[object] = None, + **kwargs + ): + super(SqlUpsertSettings, self).__init__(**kwargs) + self.use_temp_db = use_temp_db + self.interim_schema_name = interim_schema_name + self.keys = keys + + class SquareLinkedService(LinkedService): """Square Service linked service. @@ -37277,11 +38758,11 @@ class SquareLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Square. It is mutually exclusive @@ -37292,7 +38773,7 @@ class SquareLinkedService(LinkedService): :param client_id: The client ID associated with your Square application. :type client_id: object :param client_secret: The client secret associated with your Square application. - :type client_secret: ~data_factory_management_client.models.SecretBase + :type client_secret: ~azure.mgmt.datafactory.models.SecretBase :param redirect_uri: The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500). :type redirect_uri: object @@ -37385,14 +38866,14 @@ class SquareObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -37453,12 +38934,15 @@ class SquareSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -37474,8 +38958,9 @@ class SquareSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -37486,12 +38971,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(SquareSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SquareSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SquareSource' # type: str self.query = query @@ -37506,7 +38992,7 @@ class SsisAccessCredential(msrest.serialization.Model): :param user_name: Required. UseName for windows authentication. :type user_name: object :param password: Required. Password for windows authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -37590,7 +39076,7 @@ class SsisObjectMetadata(msrest.serialization.Model): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -37636,7 +39122,7 @@ class SsisEnvironment(SsisObjectMetadata): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -37646,7 +39132,7 @@ class SsisEnvironment(SsisObjectMetadata): :param folder_id: Folder id which contains environment. :type folder_id: long :param variables: Variable in environment. - :type variables: list[~data_factory_management_client.models.SsisVariable] + :type variables: list[~azure.mgmt.datafactory.models.SsisVariable] """ _validation = { @@ -37724,7 +39210,7 @@ class SsisExecutionCredential(msrest.serialization.Model): :param user_name: Required. UseName for windows authentication. :type user_name: object :param password: Required. Password for windows authentication. - :type password: ~data_factory_management_client.models.SecureString + :type password: ~azure.mgmt.datafactory.models.SecureString """ _validation = { @@ -37788,7 +39274,7 @@ class SsisFolder(SsisObjectMetadata): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -37829,9 +39315,9 @@ class SsisLogLocation(msrest.serialization.Model): with resultType string). :type log_path: object :param type: Required. The type of SSIS log location. Possible values include: "File". - :type type: str or ~data_factory_management_client.models.SsisLogLocationType + :type type: str or ~azure.mgmt.datafactory.models.SsisLogLocationType :param access_credential: The package execution log access credential. - :type access_credential: ~data_factory_management_client.models.SsisAccessCredential + :type access_credential: ~azure.mgmt.datafactory.models.SsisAccessCredential :param log_refresh_interval: Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). @@ -37870,7 +39356,7 @@ class SsisObjectMetadataListResponse(msrest.serialization.Model): """A list of SSIS object metadata. :param value: List of SSIS object metadata. - :type value: list[~data_factory_management_client.models.SsisObjectMetadata] + :type value: list[~azure.mgmt.datafactory.models.SsisObjectMetadata] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -37935,7 +39421,7 @@ class SsisPackage(SsisObjectMetadata): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -37949,7 +39435,7 @@ class SsisPackage(SsisObjectMetadata): :param project_id: Project id which contains package. :type project_id: long :param parameters: Parameters in package. - :type parameters: list[~data_factory_management_client.models.SsisParameter] + :type parameters: list[~azure.mgmt.datafactory.models.SsisParameter] """ _validation = { @@ -37995,17 +39481,16 @@ class SsisPackageLocation(msrest.serialization.Model): :type package_path: object :param type: The type of SSIS package location. Possible values include: "SSISDB", "File", "InlinePackage", "PackageStore". - :type type: str or ~data_factory_management_client.models.SsisPackageLocationType + :type type: str or ~azure.mgmt.datafactory.models.SsisPackageLocationType :param package_password: Password of the package. - :type package_password: ~data_factory_management_client.models.SecretBase + :type package_password: ~azure.mgmt.datafactory.models.SecretBase :param access_credential: The package access credential. - :type access_credential: ~data_factory_management_client.models.SsisAccessCredential + :type access_credential: ~azure.mgmt.datafactory.models.SsisAccessCredential :param configuration_path: The configuration file of the package execution. Type: string (or Expression with resultType string). :type configuration_path: object :param configuration_access_credential: The configuration file access credential. - :type configuration_access_credential: - ~data_factory_management_client.models.SsisAccessCredential + :type configuration_access_credential: ~azure.mgmt.datafactory.models.SsisAccessCredential :param package_name: The package name. :type package_name: str :param package_content: The embedded package content. Type: string (or Expression with @@ -38014,7 +39499,7 @@ class SsisPackageLocation(msrest.serialization.Model): :param package_last_modified_date: The embedded package last modified date. :type package_last_modified_date: str :param child_packages: The embedded child package list. - :type child_packages: list[~data_factory_management_client.models.SsisChildPackage] + :type child_packages: list[~azure.mgmt.datafactory.models.SsisChildPackage] """ _attribute_map = { @@ -38141,7 +39626,7 @@ class SsisProject(SsisObjectMetadata): :param type: Required. Type of metadata.Constant filled by server. Possible values include: "Folder", "Project", "Package", "Environment". - :type type: str or ~data_factory_management_client.models.SsisObjectMetadataType + :type type: str or ~azure.mgmt.datafactory.models.SsisObjectMetadataType :param id: Metadata id. :type id: long :param name: Metadata name. @@ -38153,9 +39638,9 @@ class SsisProject(SsisObjectMetadata): :param version: Project version. :type version: long :param environment_refs: Environment reference in project. - :type environment_refs: list[~data_factory_management_client.models.SsisEnvironmentReference] + :type environment_refs: list[~azure.mgmt.datafactory.models.SsisEnvironmentReference] :param parameters: Parameters in project. - :type parameters: list[~data_factory_management_client.models.SsisParameter] + :type parameters: list[~azure.mgmt.datafactory.models.SsisParameter] """ _validation = { @@ -38287,7 +39772,7 @@ class StagingSettings(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param linked_service_name: Required. Staging linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param path: The path to storage for storing the interim data. Type: string (or Expression with resultType string). :type path: object @@ -38331,7 +39816,7 @@ class StoredProcedureParameter(msrest.serialization.Model): :type value: object :param type: Stored procedure parameter type. Possible values include: "String", "Int", "Int64", "Decimal", "Guid", "Boolean", "Date". - :type type: str or ~data_factory_management_client.models.StoredProcedureParameterType + :type type: str or ~azure.mgmt.datafactory.models.StoredProcedureParameterType """ _attribute_map = { @@ -38366,19 +39851,19 @@ class SwitchActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param on: Required. An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. - :type on: ~data_factory_management_client.models.Expression + :type on: ~azure.mgmt.datafactory.models.Expression :param cases: List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. - :type cases: list[~data_factory_management_client.models.SwitchCase] + :type cases: list[~azure.mgmt.datafactory.models.SwitchCase] :param default_activities: List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. - :type default_activities: list[~data_factory_management_client.models.Activity] + :type default_activities: list[~azure.mgmt.datafactory.models.Activity] """ _validation = { @@ -38425,7 +39910,7 @@ class SwitchCase(msrest.serialization.Model): :param value: Expected value that satisfies the expression result of the 'on' property. :type value: str :param activities: List of activities to execute for satisfied case condition. - :type activities: list[~data_factory_management_client.models.Activity] + :type activities: list[~azure.mgmt.datafactory.models.Activity] """ _attribute_map = { @@ -38456,11 +39941,11 @@ class SybaseLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param server: Required. Server name for connection. Type: string (or Expression with @@ -38473,13 +39958,12 @@ class SybaseLinkedService(LinkedService): :type schema: object :param authentication_type: AuthenticationType to be used for connection. Possible values include: "Basic", "Windows". - :type authentication_type: str or - ~data_factory_management_client.models.SybaseAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.SybaseAuthenticationType :param username: Username for authentication. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -38555,12 +40039,15 @@ class SybaseSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Database query. Type: string (or Expression with resultType string). :type query: object """ @@ -38575,8 +40062,9 @@ class SybaseSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -38587,12 +40075,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(SybaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(SybaseSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'SybaseSource' # type: str self.query = query @@ -38616,14 +40105,14 @@ class SybaseTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The Sybase table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -38700,7 +40189,7 @@ class TabularTranslator(CopyTranslator): activity. Type: boolean (or Expression with resultType boolean). :type type_conversion: object :param type_conversion_settings: Type conversion settings. - :type type_conversion_settings: ~data_factory_management_client.models.TypeConversionSettings + :type type_conversion_settings: ~azure.mgmt.datafactory.models.TypeConversionSettings """ _validation = { @@ -38828,11 +40317,11 @@ class TeradataLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: Teradata ODBC connection string. Type: string, SecureString or @@ -38842,13 +40331,12 @@ class TeradataLinkedService(LinkedService): :type server: object :param authentication_type: AuthenticationType to be used for connection. Possible values include: "Basic", "Windows". - :type authentication_type: str or - ~data_factory_management_client.models.TeradataAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.TeradataAuthenticationType :param username: Username for authentication. Type: string (or Expression with resultType string). :type username: object :param password: Password for authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -38955,12 +40443,15 @@ class TeradataSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: Teradata query. Type: string (or Expression with resultType string). :type query: object :param partition_option: The partition mechanism that will be used for teradata read in @@ -38968,7 +40459,7 @@ class TeradataSource(TabularSource): :type partition_option: object :param partition_settings: The settings that will be leveraged for teradata source partitioning. - :type partition_settings: ~data_factory_management_client.models.TeradataPartitionSettings + :type partition_settings: ~azure.mgmt.datafactory.models.TeradataPartitionSettings """ _validation = { @@ -38981,8 +40472,9 @@ class TeradataSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, 'partition_option': {'key': 'partitionOption', 'type': 'object'}, 'partition_settings': {'key': 'partitionSettings', 'type': 'TeradataPartitionSettings'}, @@ -38995,14 +40487,15 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, partition_option: Optional[object] = None, partition_settings: Optional["TeradataPartitionSettings"] = None, **kwargs ): - super(TeradataSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(TeradataSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'TeradataSource' # type: str self.query = query self.partition_option = partition_option @@ -39028,14 +40521,14 @@ class TeradataTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param database: The database name of Teradata. Type: string (or Expression with resultType string). :type database: object @@ -39187,7 +40680,7 @@ class TriggerDependencyReference(DependencyReference): :param type: Required. The type of dependency reference.Constant filled by server. :type type: str :param reference_trigger: Required. Referenced trigger. - :type reference_trigger: ~data_factory_management_client.models.TriggerReference + :type reference_trigger: ~azure.mgmt.datafactory.models.TriggerReference """ _validation = { @@ -39249,7 +40742,7 @@ class TriggerListResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of triggers. - :type value: list[~data_factory_management_client.models.TriggerResource] + :type value: list[~azure.mgmt.datafactory.models.TriggerResource] :param next_link: The link to the next page of results, if any remaining results exist. :type next_link: str """ @@ -39279,7 +40772,7 @@ class TriggerPipelineReference(msrest.serialization.Model): """Pipeline that needs to be triggered with the given parameters. :param pipeline_reference: Pipeline reference. - :type pipeline_reference: ~data_factory_management_client.models.PipelineReference + :type pipeline_reference: ~azure.mgmt.datafactory.models.PipelineReference :param parameters: Pipeline parameters. :type parameters: dict[str, object] """ @@ -39307,7 +40800,7 @@ class TriggerQueryResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of triggers. - :type value: list[~data_factory_management_client.models.TriggerResource] + :type value: list[~azure.mgmt.datafactory.models.TriggerResource] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str @@ -39385,7 +40878,7 @@ class TriggerResource(SubResource): :ivar etag: Etag identifies change in the resource. :vartype etag: str :param properties: Required. Properties of the trigger. - :type properties: ~data_factory_management_client.models.Trigger + :type properties: ~azure.mgmt.datafactory.models.Trigger """ _validation = { @@ -39431,7 +40924,7 @@ class TriggerRun(msrest.serialization.Model): :ivar trigger_run_timestamp: Trigger run start time. :vartype trigger_run_timestamp: ~datetime.datetime :ivar status: Trigger run status. Possible values include: "Succeeded", "Failed", "Inprogress". - :vartype status: str or ~data_factory_management_client.models.TriggerRunStatus + :vartype status: str or ~azure.mgmt.datafactory.models.TriggerRunStatus :ivar message: Trigger error message. :vartype message: str :ivar properties: List of property name and value related to trigger run. Name, value pair @@ -39498,7 +40991,7 @@ class TriggerRunsQueryResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. List of trigger runs. - :type value: list[~data_factory_management_client.models.TriggerRun] + :type value: list[~azure.mgmt.datafactory.models.TriggerRun] :param continuation_token: The continuation token for getting the next page of results, if any remaining results exist, null otherwise. :type continuation_token: str @@ -39534,7 +41027,7 @@ class TriggerSubscriptionOperationStatus(msrest.serialization.Model): :vartype trigger_name: str :ivar status: Event Subscription Status. Possible values include: "Enabled", "Provisioning", "Deprovisioning", "Disabled", "Unknown". - :vartype status: str or ~data_factory_management_client.models.EventSubscriptionStatus + :vartype status: str or ~azure.mgmt.datafactory.models.EventSubscriptionStatus """ _validation = { @@ -39572,15 +41065,15 @@ class TumblingWindowTrigger(Trigger): :type description: str :ivar runtime_state: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. Possible values include: "Started", "Stopped", "Disabled". - :vartype runtime_state: str or ~data_factory_management_client.models.TriggerRuntimeState + :vartype runtime_state: str or ~azure.mgmt.datafactory.models.TriggerRuntimeState :param annotations: List of tags that can be used for describing the trigger. :type annotations: list[object] :param pipeline: Required. Pipeline for which runs are created when an event is fired for trigger window that is ready. - :type pipeline: ~data_factory_management_client.models.TriggerPipelineReference + :type pipeline: ~azure.mgmt.datafactory.models.TriggerPipelineReference :param frequency: Required. The frequency of the time windows. Possible values include: "Minute", "Hour", "Month". - :type frequency: str or ~data_factory_management_client.models.TumblingWindowFrequency + :type frequency: str or ~azure.mgmt.datafactory.models.TumblingWindowFrequency :param interval: Required. The interval of the time windows. The minimum interval allowed is 15 Minutes. :type interval: int @@ -39598,10 +41091,10 @@ class TumblingWindowTrigger(Trigger): for which a new run is triggered. :type max_concurrency: int :param retry_policy: Retry policy that will be applied for failed pipeline runs. - :type retry_policy: ~data_factory_management_client.models.RetryPolicy + :type retry_policy: ~azure.mgmt.datafactory.models.RetryPolicy :param depends_on: Triggers that this trigger depends on. Only tumbling window triggers are supported. - :type depends_on: list[~data_factory_management_client.models.DependencyReference] + :type depends_on: list[~azure.mgmt.datafactory.models.DependencyReference] """ _validation = { @@ -39669,7 +41162,7 @@ class TumblingWindowTriggerDependencyReference(TriggerDependencyReference): :param type: Required. The type of dependency reference.Constant filled by server. :type type: str :param reference_trigger: Required. Referenced trigger. - :type reference_trigger: ~data_factory_management_client.models.TriggerReference + :type reference_trigger: ~azure.mgmt.datafactory.models.TriggerReference :param offset: Timespan applied to the start time of a tumbling window when evaluating dependency. :type offset: str @@ -39773,12 +41266,12 @@ class UntilActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param expression: Required. An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true. - :type expression: ~data_factory_management_client.models.Expression + :type expression: ~azure.mgmt.datafactory.models.Expression :param timeout: Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: @@ -39786,7 +41279,7 @@ class UntilActivity(Activity): resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type timeout: object :param activities: Required. List of activities to execute. - :type activities: list[~data_factory_management_client.models.Activity] + :type activities: list[~azure.mgmt.datafactory.models.Activity] """ _validation = { @@ -39860,7 +41353,7 @@ class UpdateIntegrationRuntimeRequest(msrest.serialization.Model): :param auto_update: Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189. Possible values include: "On", "Off". - :type auto_update: str or ~data_factory_management_client.models.IntegrationRuntimeAutoUpdate + :type auto_update: str or ~azure.mgmt.datafactory.models.IntegrationRuntimeAutoUpdate :param update_delay_offset: The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time. :type update_delay_offset: str @@ -39977,9 +41470,9 @@ class ValidationActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param timeout: Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: @@ -39996,7 +41489,7 @@ class ValidationActivity(Activity): with resultType boolean). :type child_items: object :param dataset: Required. Validation activity dataset reference. - :type dataset: ~data_factory_management_client.models.DatasetReference + :type dataset: ~azure.mgmt.datafactory.models.DatasetReference """ _validation = { @@ -40049,7 +41542,7 @@ class VariableSpecification(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param type: Required. Variable type. Possible values include: "String", "Bool", "Array". - :type type: str or ~data_factory_management_client.models.VariableType + :type type: str or ~azure.mgmt.datafactory.models.VariableType :param default_value: Default value of variable. :type default_value: object """ @@ -40086,18 +41579,18 @@ class VerticaLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_string: An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. :type connection_string: object :param pwd: The Azure key vault secret reference of password in connection string. - :type pwd: ~data_factory_management_client.models.AzureKeyVaultSecretReference + :type pwd: ~azure.mgmt.datafactory.models.AzureKeyVaultSecretReference :param encrypted_credential: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -40159,12 +41652,15 @@ class VerticaSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -40180,8 +41676,9 @@ class VerticaSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -40192,12 +41689,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(VerticaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(VerticaSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'VerticaSource' # type: str self.query = query @@ -40221,14 +41719,14 @@ class VerticaTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: This property will be retired. Please consider using schema + table properties instead. :type table_name: object @@ -40298,9 +41796,9 @@ class WaitActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param wait_time_in_seconds: Required. Duration in seconds. :type wait_time_in_seconds: object """ @@ -40352,16 +41850,16 @@ class WebActivity(ExecutionActivity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param linked_service_name: Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param policy: Activity policy. - :type policy: ~data_factory_management_client.models.ActivityPolicy + :type policy: ~azure.mgmt.datafactory.models.ActivityPolicy :param method: Required. Rest API method for target endpoint. Possible values include: "GET", "POST", "PUT", "DELETE". - :type method: str or ~data_factory_management_client.models.WebActivityMethod + :type method: str or ~azure.mgmt.datafactory.models.WebActivityMethod :param url: Required. Web activity target endpoint and path. Type: string (or Expression with resultType string). :type url: object @@ -40373,13 +41871,13 @@ class WebActivity(ExecutionActivity): method, not allowed for GET method Type: string (or Expression with resultType string). :type body: object :param authentication: Authentication method used for calling the endpoint. - :type authentication: ~data_factory_management_client.models.WebActivityAuthentication + :type authentication: ~azure.mgmt.datafactory.models.WebActivityAuthentication :param datasets: List of datasets passed to web endpoint. - :type datasets: list[~data_factory_management_client.models.DatasetReference] + :type datasets: list[~azure.mgmt.datafactory.models.DatasetReference] :param linked_services: List of linked services passed to web endpoint. - :type linked_services: list[~data_factory_management_client.models.LinkedServiceReference] + :type linked_services: list[~azure.mgmt.datafactory.models.LinkedServiceReference] :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference """ _validation = { @@ -40443,32 +41941,27 @@ def __init__( class WebActivityAuthentication(msrest.serialization.Model): """Web activity authentication properties. - All required parameters must be populated in order to send to Azure. - - :param type: Required. Web activity authentication - (Basic/ClientCertificate/MSI/ServicePrincipal). + :param type: Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal). :type type: str :param pfx: Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal. - :type pfx: ~data_factory_management_client.models.SecretBase + :type pfx: ~azure.mgmt.datafactory.models.SecretBase :param username: Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal. Type: string (or Expression with resultType string). :type username: object :param password: Password for the PFX file or basic authentication / Secret when used for ServicePrincipal. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase :param resource: Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string). :type resource: object :param user_tenant: TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication. Type: string (or Expression with resultType string). :type user_tenant: object + :param credential: The credential reference containing authentication information. + :type credential: ~azure.mgmt.datafactory.models.CredentialReference """ - _validation = { - 'type': {'required': True}, - } - _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'pfx': {'key': 'pfx', 'type': 'SecretBase'}, @@ -40476,17 +41969,19 @@ class WebActivityAuthentication(msrest.serialization.Model): 'password': {'key': 'password', 'type': 'SecretBase'}, 'resource': {'key': 'resource', 'type': 'object'}, 'user_tenant': {'key': 'userTenant', 'type': 'object'}, + 'credential': {'key': 'credential', 'type': 'CredentialReference'}, } def __init__( self, *, - type: str, + type: Optional[str] = None, pfx: Optional["SecretBase"] = None, username: Optional[object] = None, password: Optional["SecretBase"] = None, resource: Optional[object] = None, user_tenant: Optional[object] = None, + credential: Optional["CredentialReference"] = None, **kwargs ): super(WebActivityAuthentication, self).__init__(**kwargs) @@ -40496,6 +41991,7 @@ def __init__( self.password = password self.resource = resource self.user_tenant = user_tenant + self.credential = credential class WebLinkedServiceTypeProperties(msrest.serialization.Model): @@ -40512,7 +42008,7 @@ class WebLinkedServiceTypeProperties(msrest.serialization.Model): :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.WebAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.WebAuthenticationType """ _validation = { @@ -40551,7 +42047,7 @@ class WebAnonymousAuthentication(WebLinkedServiceTypeProperties): :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.WebAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.WebAuthenticationType """ _validation = { @@ -40585,12 +42081,12 @@ class WebBasicAuthentication(WebLinkedServiceTypeProperties): :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.WebAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.WebAuthenticationType :param username: Required. User name for Basic authentication. Type: string (or Expression with resultType string). :type username: object :param password: Required. The password for Basic authentication. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -40632,11 +42128,11 @@ class WebClientCertificateAuthentication(WebLinkedServiceTypeProperties): :param authentication_type: Required. Type of authentication used to connect to the web table source.Constant filled by server. Possible values include: "Basic", "Anonymous", "ClientCertificate". - :type authentication_type: str or ~data_factory_management_client.models.WebAuthenticationType + :type authentication_type: str or ~azure.mgmt.datafactory.models.WebAuthenticationType :param pfx: Required. Base64-encoded contents of a PFX file. - :type pfx: ~data_factory_management_client.models.SecretBase + :type pfx: ~azure.mgmt.datafactory.models.SecretBase :param password: Required. Password for the PFX file. - :type password: ~data_factory_management_client.models.SecretBase + :type password: ~azure.mgmt.datafactory.models.SecretBase """ _validation = { @@ -40682,11 +42178,11 @@ class WebHookActivity(Activity): :param description: Activity description. :type description: str :param depends_on: Activity depends on condition. - :type depends_on: list[~data_factory_management_client.models.ActivityDependency] + :type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] :param user_properties: Activity user properties. - :type user_properties: list[~data_factory_management_client.models.UserProperty] + :type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] :param method: Required. Rest API method for target endpoint. Possible values include: "POST". - :type method: str or ~data_factory_management_client.models.WebHookActivityMethod + :type method: str or ~azure.mgmt.datafactory.models.WebHookActivityMethod :param url: Required. WebHook activity target endpoint and path. Type: string (or Expression with resultType string). :type url: object @@ -40702,7 +42198,7 @@ class WebHookActivity(Activity): method, not allowed for GET method Type: string (or Expression with resultType string). :type body: object :param authentication: Authentication method used for calling the endpoint. - :type authentication: ~data_factory_management_client.models.WebActivityAuthentication + :type authentication: ~azure.mgmt.datafactory.models.WebActivityAuthentication :param report_status_on_call_back: When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with @@ -40772,15 +42268,15 @@ class WebLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param type_properties: Required. Web linked service properties. - :type type_properties: ~data_factory_management_client.models.WebLinkedServiceTypeProperties + :type type_properties: ~azure.mgmt.datafactory.models.WebLinkedServiceTypeProperties """ _validation = { @@ -40833,9 +42329,12 @@ class WebSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -40848,7 +42347,8 @@ class WebSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -40858,10 +42358,11 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + disable_metrics_collection: Optional[object] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(WebSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(WebSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'WebSource' # type: str self.additional_columns = additional_columns @@ -40885,14 +42386,14 @@ class WebTableDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param index: Required. The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. :type index: object @@ -40953,11 +42454,11 @@ class XeroLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Xero. It is mutually exclusive with @@ -40966,11 +42467,11 @@ class XeroLinkedService(LinkedService): :param host: The endpoint of the Xero server. (i.e. api.xero.com). :type host: object :param consumer_key: The consumer key associated with the Xero application. - :type consumer_key: ~data_factory_management_client.models.SecretBase + :type consumer_key: ~azure.mgmt.datafactory.models.SecretBase :param private_key: The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( ). - :type private_key: ~data_factory_management_client.models.SecretBase + :type private_key: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -41057,14 +42558,14 @@ class XeroObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -41125,12 +42626,15 @@ class XeroSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -41146,8 +42650,9 @@ class XeroSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -41158,12 +42663,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(XeroSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(XeroSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'XeroSource' # type: str self.query = query @@ -41187,16 +42693,16 @@ class XmlDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param location: The location of the json data storage. - :type location: ~data_factory_management_client.models.DatasetLocation + :type location: ~azure.mgmt.datafactory.models.DatasetLocation :param encoding_name: The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: @@ -41206,7 +42712,7 @@ class XmlDataset(Dataset): :param null_value: The null value string. Type: string (or Expression with resultType string). :type null_value: object :param compression: The data compression method used for the json dataset. - :type compression: ~data_factory_management_client.models.DatasetCompression + :type compression: ~azure.mgmt.datafactory.models.DatasetCompression """ _validation = { @@ -41266,7 +42772,7 @@ class XmlReadSettings(FormatReadSettings): :param type: Required. The read setting type.Constant filled by server. :type type: str :param compression_properties: Compression settings. - :type compression_properties: ~data_factory_management_client.models.CompressionReadSettings + :type compression_properties: ~azure.mgmt.datafactory.models.CompressionReadSettings :param validation_mode: Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). :type validation_mode: object @@ -41336,13 +42842,16 @@ class XmlSource(CopySource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param store_settings: Xml store settings. - :type store_settings: ~data_factory_management_client.models.StoreReadSettings + :type store_settings: ~azure.mgmt.datafactory.models.StoreReadSettings :param format_settings: Xml format settings. - :type format_settings: ~data_factory_management_client.models.XmlReadSettings + :type format_settings: ~azure.mgmt.datafactory.models.XmlReadSettings :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object """ _validation = { @@ -41355,9 +42864,10 @@ class XmlSource(CopySource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'store_settings': {'key': 'storeSettings', 'type': 'StoreReadSettings'}, 'format_settings': {'key': 'formatSettings', 'type': 'XmlReadSettings'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, } def __init__( @@ -41367,12 +42877,13 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, store_settings: Optional["StoreReadSettings"] = None, format_settings: Optional["XmlReadSettings"] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, **kwargs ): - super(XmlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs) + super(XmlSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, **kwargs) self.type = 'XmlSource' # type: str self.store_settings = store_settings self.format_settings = format_settings @@ -41427,11 +42938,11 @@ class ZohoLinkedService(LinkedService): :param type: Required. Type of linked service.Constant filled by server. :type type: str :param connect_via: The integration runtime reference. - :type connect_via: ~data_factory_management_client.models.IntegrationRuntimeReference + :type connect_via: ~azure.mgmt.datafactory.models.IntegrationRuntimeReference :param description: Linked service description. :type description: str :param parameters: Parameters for linked service. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the linked service. :type annotations: list[object] :param connection_properties: Properties used to connect to Zoho. It is mutually exclusive with @@ -41440,7 +42951,7 @@ class ZohoLinkedService(LinkedService): :param endpoint: The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private). :type endpoint: object :param access_token: The access token for Zoho authentication. - :type access_token: ~data_factory_management_client.models.SecretBase + :type access_token: ~azure.mgmt.datafactory.models.SecretBase :param use_encrypted_endpoints: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. :type use_encrypted_endpoints: object @@ -41524,14 +43035,14 @@ class ZohoObjectDataset(Dataset): Expression with resultType array), itemType: DatasetSchemaDataElement. :type schema: object :param linked_service_name: Required. Linked service reference. - :type linked_service_name: ~data_factory_management_client.models.LinkedServiceReference + :type linked_service_name: ~azure.mgmt.datafactory.models.LinkedServiceReference :param parameters: Parameters for dataset. - :type parameters: dict[str, ~data_factory_management_client.models.ParameterSpecification] + :type parameters: dict[str, ~azure.mgmt.datafactory.models.ParameterSpecification] :param annotations: List of tags that can be used for describing the Dataset. :type annotations: list[object] :param folder: The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - :type folder: ~data_factory_management_client.models.DatasetFolder + :type folder: ~azure.mgmt.datafactory.models.DatasetFolder :param table_name: The table name. Type: string (or Expression with resultType string). :type table_name: object """ @@ -41592,12 +43103,15 @@ class ZohoSource(TabularSource): :param max_concurrent_connections: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). :type max_concurrent_connections: object + :param disable_metrics_collection: If true, disable data store metrics collection. Default is + false. Type: boolean (or Expression with resultType boolean). + :type disable_metrics_collection: object :param query_timeout: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). :type query_timeout: object :param additional_columns: Specifies the additional columns to be added to source data. Type: - array of objects (or Expression with resultType array of objects). - :type additional_columns: list[~data_factory_management_client.models.AdditionalColumns] + array of objects(AdditionalColumns) (or Expression with resultType array of objects). + :type additional_columns: object :param query: A query to retrieve data from source. Type: string (or Expression with resultType string). :type query: object @@ -41613,8 +43127,9 @@ class ZohoSource(TabularSource): 'source_retry_count': {'key': 'sourceRetryCount', 'type': 'object'}, 'source_retry_wait': {'key': 'sourceRetryWait', 'type': 'object'}, 'max_concurrent_connections': {'key': 'maxConcurrentConnections', 'type': 'object'}, + 'disable_metrics_collection': {'key': 'disableMetricsCollection', 'type': 'object'}, 'query_timeout': {'key': 'queryTimeout', 'type': 'object'}, - 'additional_columns': {'key': 'additionalColumns', 'type': '[AdditionalColumns]'}, + 'additional_columns': {'key': 'additionalColumns', 'type': 'object'}, 'query': {'key': 'query', 'type': 'object'}, } @@ -41625,11 +43140,12 @@ def __init__( source_retry_count: Optional[object] = None, source_retry_wait: Optional[object] = None, max_concurrent_connections: Optional[object] = None, + disable_metrics_collection: Optional[object] = None, query_timeout: Optional[object] = None, - additional_columns: Optional[List["AdditionalColumns"]] = None, + additional_columns: Optional[object] = None, query: Optional[object] = None, **kwargs ): - super(ZohoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) + super(ZohoSource, self).__init__(additional_properties=additional_properties, source_retry_count=source_retry_count, source_retry_wait=source_retry_wait, max_concurrent_connections=max_concurrent_connections, disable_metrics_collection=disable_metrics_collection, query_timeout=query_timeout, additional_columns=additional_columns, **kwargs) self.type = 'ZohoSource' # type: str self.query = query diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_activity_run_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_activity_run_operations.py deleted file mode 100644 index 192e09232ad..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_activity_run_operations.py +++ /dev/null @@ -1,132 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- -import datetime -from typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class ActivityRunOperations(object): - """ActivityRunOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def query_by_pipeline_run( - self, - resource_group_name, # type: str - factory_name, # type: str - run_id, # type: str - last_updated_after, # type: datetime.datetime - last_updated_before, # type: datetime.datetime - continuation_token_parameter=None, # type: Optional[str] - filters=None, # type: Optional[List["models.RunQueryFilter"]] - order_by=None, # type: Optional[List["models.RunQueryOrderBy"]] - **kwargs # type: Any - ): - # type: (...) -> "models.ActivityRunsQueryResponse" - """Query activity runs based on input filter conditions. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :param last_updated_after: The time at or after which the run event was updated in 'ISO 8601' - format. - :type last_updated_after: ~datetime.datetime - :param last_updated_before: The time at or before which the run event was updated in 'ISO 8601' - format. - :type last_updated_before: ~datetime.datetime - :param continuation_token_parameter: The continuation token for getting the next page of - results. Null for first page. - :type continuation_token_parameter: str - :param filters: List of filters. - :type filters: list[~data_factory_management_client.models.RunQueryFilter] - :param order_by: List of OrderBy option. - :type order_by: list[~data_factory_management_client.models.RunQueryOrderBy] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ActivityRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ActivityRunsQueryResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ActivityRunsQueryResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - filter_parameters = models.RunFilterParameters(continuation_token=continuation_token_parameter, last_updated_after=last_updated_after, last_updated_before=last_updated_before, filters=filters, order_by=order_by) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_by_pipeline_run.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(filter_parameters, 'RunFilterParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ActivityRunsQueryResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_by_pipeline_run.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_activity_runs_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_activity_runs_operations.py index f51ff306dc7..9585a0a97f6 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_activity_runs_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_activity_runs_operations.py @@ -29,7 +29,7 @@ class ActivityRunsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,10 +62,10 @@ def query_by_pipeline_run( :param run_id: The pipeline run identifier. :type run_id: str :param filter_parameters: Parameters to filter the activity runs. - :type filter_parameters: ~data_factory_management_client.models.RunFilterParameters + :type filter_parameters: ~azure.mgmt.datafactory.models.RunFilterParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: ActivityRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ActivityRunsQueryResponse + :rtype: ~azure.mgmt.datafactory.models.ActivityRunsQueryResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ActivityRunsQueryResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flow_debug_session_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flow_debug_session_operations.py index 976a9653c6e..27e9c3c9bd2 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flow_debug_session_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flow_debug_session_operations.py @@ -32,7 +32,7 @@ class DataFlowDebugSessionOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -122,7 +122,7 @@ def begin_create( :param factory_name: The factory name. :type factory_name: str :param request: Data flow debug session definition. - :type request: ~data_factory_management_client.models.CreateDataFlowDebugSessionRequest + :type request: ~azure.mgmt.datafactory.models.CreateDataFlowDebugSessionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -130,7 +130,7 @@ def begin_create( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either CreateDataFlowDebugSessionResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.CreateDataFlowDebugSessionResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.datafactory.models.CreateDataFlowDebugSessionResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -194,7 +194,7 @@ def query_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either QueryDataFlowDebugSessionsResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.QueryDataFlowDebugSessionsResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.QueryDataFlowDebugSessionsResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.QueryDataFlowDebugSessionsResponse"] @@ -269,10 +269,10 @@ def add_data_flow( :param factory_name: The factory name. :type factory_name: str :param request: Data flow debug session definition with debug content. - :type request: ~data_factory_management_client.models.DataFlowDebugPackage + :type request: ~azure.mgmt.datafactory.models.DataFlowDebugPackage :keyword callable cls: A custom type or function that will be passed the direct response :return: AddDataFlowToDebugSessionResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.AddDataFlowToDebugSessionResponse + :rtype: ~azure.mgmt.datafactory.models.AddDataFlowToDebugSessionResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AddDataFlowToDebugSessionResponse"] @@ -336,7 +336,7 @@ def delete( :param factory_name: The factory name. :type factory_name: str :param request: Data flow debug session definition for deletion. - :type request: ~data_factory_management_client.models.DeleteDataFlowDebugSessionRequest + :type request: ~azure.mgmt.datafactory.models.DeleteDataFlowDebugSessionRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None @@ -460,7 +460,7 @@ def begin_execute_command( :param factory_name: The factory name. :type factory_name: str :param request: Data flow debug command definition. - :type request: ~data_factory_management_client.models.DataFlowDebugCommandRequest + :type request: ~azure.mgmt.datafactory.models.DataFlowDebugCommandRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: True for ARMPolling, False for no polling, or a @@ -468,7 +468,7 @@ def begin_execute_command( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DataFlowDebugCommandResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.DataFlowDebugCommandResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.datafactory.models.DataFlowDebugCommandResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flow_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flow_operations.py deleted file mode 100644 index e0bd3be1783..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flow_operations.py +++ /dev/null @@ -1,317 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DataFlowOperations(object): - """DataFlowOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - data_flow_name, # type: str - properties, # type: "models.DataFlow" - if_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.DataFlowResource" - """Creates or updates a data flow. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param data_flow_name: The data flow name. - :type data_flow_name: str - :param properties: Data flow properties. - :type properties: ~data_factory_management_client.models.DataFlow - :param if_match: ETag of the data flow entity. Should only be specified for update, for which - it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataFlowResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DataFlowResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - data_flow = models.DataFlowResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'dataFlowName': self._serialize.url("data_flow_name", data_flow_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(data_flow, 'DataFlowResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DataFlowResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - data_flow_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.DataFlowResource" - """Gets a data flow. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param data_flow_name: The data flow name. - :type data_flow_name: str - :param if_none_match: ETag of the data flow entity. Should only be specified for get. If the - ETag matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DataFlowResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DataFlowResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'dataFlowName': self._serialize.url("data_flow_name", data_flow_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DataFlowResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - data_flow_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a data flow. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param data_flow_name: The data flow name. - :type data_flow_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'dataFlowName': self._serialize.url("data_flow_name", data_flow_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'} # type: ignore - - def list_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DataFlowListResponse"] - """Lists data flows. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DataFlowListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.DataFlowListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('DataFlowListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flows_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flows_operations.py index 41292015b17..4ddb7d1f44a 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flows_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_data_flows_operations.py @@ -30,7 +30,7 @@ class DataFlowsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -64,13 +64,13 @@ def create_or_update( :param data_flow_name: The data flow name. :type data_flow_name: str :param data_flow: Data flow resource definition. - :type data_flow: ~data_factory_management_client.models.DataFlowResource + :type data_flow: ~azure.mgmt.datafactory.models.DataFlowResource :param if_match: ETag of the data flow entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataFlowResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DataFlowResource + :rtype: ~azure.mgmt.datafactory.models.DataFlowResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowResource"] @@ -144,7 +144,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DataFlowResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DataFlowResource + :rtype: ~azure.mgmt.datafactory.models.DataFlowResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowResource"] @@ -266,7 +266,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DataFlowListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.DataFlowListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.DataFlowListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DataFlowListResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_dataset_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_dataset_operations.py deleted file mode 100644 index 2f866416c74..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_dataset_operations.py +++ /dev/null @@ -1,319 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DatasetOperations(object): - """DatasetOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.DatasetListResponse"] - """Lists datasets. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DatasetListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.DatasetListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DatasetListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('DatasetListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - dataset_name, # type: str - properties, # type: "models.Dataset" - if_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.DatasetResource" - """Creates or updates a dataset. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param dataset_name: The dataset name. - :type dataset_name: str - :param properties: Dataset properties. - :type properties: ~data_factory_management_client.models.Dataset - :param if_match: ETag of the dataset entity. Should only be specified for update, for which it - should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DatasetResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DatasetResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.DatasetResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - dataset = models.DatasetResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'datasetName': self._serialize.url("dataset_name", dataset_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(dataset, 'DatasetResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DatasetResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - dataset_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Optional["models.DatasetResource"] - """Gets a dataset. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param dataset_name: The dataset name. - :type dataset_name: str - :param if_none_match: ETag of the dataset entity. Should only be specified for get. If the ETag - matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DatasetResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DatasetResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.DatasetResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'datasetName': self._serialize.url("dataset_name", dataset_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('DatasetResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - dataset_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a dataset. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param dataset_name: The dataset name. - :type dataset_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'datasetName': self._serialize.url("dataset_name", dataset_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_datasets_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_datasets_operations.py index 3ad92c858c9..f26e8b248f7 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_datasets_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_datasets_operations.py @@ -30,7 +30,7 @@ class DatasetsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either DatasetListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.DatasetListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.DatasetListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DatasetListResponse"] @@ -139,13 +139,13 @@ def create_or_update( :param dataset_name: The dataset name. :type dataset_name: str :param dataset: Dataset resource definition. - :type dataset: ~data_factory_management_client.models.DatasetResource + :type dataset: ~azure.mgmt.datafactory.models.DatasetResource :param if_match: ETag of the dataset entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DatasetResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DatasetResource + :rtype: ~azure.mgmt.datafactory.models.DatasetResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.DatasetResource"] @@ -219,7 +219,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DatasetResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.DatasetResource or None + :rtype: ~azure.mgmt.datafactory.models.DatasetResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.DatasetResource"]] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_exposure_control_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_exposure_control_operations.py index b419a713e9f..4935032e777 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_exposure_control_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_exposure_control_operations.py @@ -29,7 +29,7 @@ class ExposureControlOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,10 +56,10 @@ def get_feature_value( :param location_id: The location identifier. :type location_id: str :param exposure_control_request: The exposure control request. - :type exposure_control_request: ~data_factory_management_client.models.ExposureControlRequest + :type exposure_control_request: ~azure.mgmt.datafactory.models.ExposureControlRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: ExposureControlResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlResponse + :rtype: ~azure.mgmt.datafactory.models.ExposureControlResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlResponse"] @@ -122,10 +122,10 @@ def get_feature_value_by_factory( :param factory_name: The factory name. :type factory_name: str :param exposure_control_request: The exposure control request. - :type exposure_control_request: ~data_factory_management_client.models.ExposureControlRequest + :type exposure_control_request: ~azure.mgmt.datafactory.models.ExposureControlRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: ExposureControlResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlResponse + :rtype: ~azure.mgmt.datafactory.models.ExposureControlResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlResponse"] @@ -189,10 +189,10 @@ def query_feature_values_by_factory( :param factory_name: The factory name. :type factory_name: str :param exposure_control_batch_request: The exposure control request for list of features. - :type exposure_control_batch_request: ~data_factory_management_client.models.ExposureControlBatchRequest + :type exposure_control_batch_request: ~azure.mgmt.datafactory.models.ExposureControlBatchRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: ExposureControlBatchResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ExposureControlBatchResponse + :rtype: ~azure.mgmt.datafactory.models.ExposureControlBatchResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ExposureControlBatchResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_factories_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_factories_operations.py index 29d7d4af8a9..bce9885ad55 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_factories_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_factories_operations.py @@ -30,7 +30,7 @@ class FactoriesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FactoryListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.FactoryListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.FactoryListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FactoryListResponse"] @@ -124,10 +124,10 @@ def configure_factory_repo( :param location_id: The location identifier. :type location_id: str :param factory_repo_update: Update factory repo request definition. - :type factory_repo_update: ~data_factory_management_client.models.FactoryRepoUpdate + :type factory_repo_update: ~azure.mgmt.datafactory.models.FactoryRepoUpdate :keyword callable cls: A custom type or function that will be passed the direct response :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory + :rtype: ~azure.mgmt.datafactory.models.Factory :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] @@ -187,7 +187,7 @@ def list_by_resource_group( :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either FactoryListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.FactoryListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.FactoryListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.FactoryListResponse"] @@ -262,13 +262,13 @@ def create_or_update( :param factory_name: The factory name. :type factory_name: str :param factory: Factory resource definition. - :type factory: ~data_factory_management_client.models.Factory + :type factory: ~azure.mgmt.datafactory.models.Factory :param if_match: ETag of the factory entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory + :rtype: ~azure.mgmt.datafactory.models.Factory :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] @@ -334,10 +334,10 @@ def update( :param factory_name: The factory name. :type factory_name: str :param factory_update_parameters: The parameters for updating a factory. - :type factory_update_parameters: ~data_factory_management_client.models.FactoryUpdateParameters + :type factory_update_parameters: ~azure.mgmt.datafactory.models.FactoryUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory + :rtype: ~azure.mgmt.datafactory.models.Factory :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] @@ -405,7 +405,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory or None + :rtype: ~azure.mgmt.datafactory.models.Factory or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.Factory"]] @@ -524,10 +524,10 @@ def get_git_hub_access_token( :param factory_name: The factory name. :type factory_name: str :param git_hub_access_token_request: Get GitHub access token request definition. - :type git_hub_access_token_request: ~data_factory_management_client.models.GitHubAccessTokenRequest + :type git_hub_access_token_request: ~azure.mgmt.datafactory.models.GitHubAccessTokenRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: GitHubAccessTokenResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.GitHubAccessTokenResponse + :rtype: ~azure.mgmt.datafactory.models.GitHubAccessTokenResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.GitHubAccessTokenResponse"] @@ -591,10 +591,10 @@ def get_data_plane_access( :param factory_name: The factory name. :type factory_name: str :param policy: Data Plane user access policy definition. - :type policy: ~data_factory_management_client.models.UserAccessPolicy + :type policy: ~azure.mgmt.datafactory.models.UserAccessPolicy :keyword callable cls: A custom type or function that will be passed the direct response :return: AccessPolicyResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.AccessPolicyResponse + :rtype: ~azure.mgmt.datafactory.models.AccessPolicyResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AccessPolicyResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_factory_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_factory_operations.py deleted file mode 100644 index 5b8622e97f9..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_factory_operations.py +++ /dev/null @@ -1,671 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class FactoryOperations(object): - """FactoryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.FactoryListResponse"] - """Lists factories under the specified subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FactoryListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.FactoryListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.FactoryListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('FactoryListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories'} # type: ignore - - def configure_factory_repo( - self, - location_id, # type: str - factory_resource_id=None, # type: Optional[str] - repo_configuration=None, # type: Optional["models.FactoryRepoConfiguration"] - **kwargs # type: Any - ): - # type: (...) -> "models.Factory" - """Updates a factory's repo information. - - :param location_id: The location identifier. - :type location_id: str - :param factory_resource_id: The factory resource id. - :type factory_resource_id: str - :param repo_configuration: Git repo information of the factory. - :type repo_configuration: ~data_factory_management_client.models.FactoryRepoConfiguration - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - factory_repo_update = models.FactoryRepoUpdate(factory_resource_id=factory_resource_id, repo_configuration=repo_configuration) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.configure_factory_repo.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'locationId': self._serialize.url("location_id", location_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(factory_repo_update, 'FactoryRepoUpdate') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Factory', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - configure_factory_repo.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.FactoryListResponse"] - """Lists factories. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FactoryListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.FactoryListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.FactoryListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('FactoryListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - if_match=None, # type: Optional[str] - location=None, # type: Optional[str] - tags=None, # type: Optional[Dict[str, str]] - identity=None, # type: Optional["models.FactoryIdentity"] - repo_configuration=None, # type: Optional["models.FactoryRepoConfiguration"] - global_parameters=None, # type: Optional[Dict[str, "models.GlobalParameterSpecification"]] - **kwargs # type: Any - ): - # type: (...) -> "models.Factory" - """Creates or updates a factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param if_match: ETag of the factory entity. Should only be specified for update, for which it - should match existing entity or can be * for unconditional update. - :type if_match: str - :param location: The resource location. - :type location: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param identity: Managed service identity of the factory. - :type identity: ~data_factory_management_client.models.FactoryIdentity - :param repo_configuration: Git repo information of the factory. - :type repo_configuration: ~data_factory_management_client.models.FactoryRepoConfiguration - :param global_parameters: List of parameters for factory. - :type global_parameters: dict[str, ~data_factory_management_client.models.GlobalParameterSpecification] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - factory = models.Factory(location=location, tags=tags, identity=identity, repo_configuration=repo_configuration, global_parameters=global_parameters) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(factory, 'Factory') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Factory', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - factory_name, # type: str - tags=None, # type: Optional[Dict[str, str]] - identity=None, # type: Optional["models.FactoryIdentity"] - **kwargs # type: Any - ): - # type: (...) -> "models.Factory" - """Updates a factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param tags: The resource tags. - :type tags: dict[str, str] - :param identity: Managed service identity of the factory. - :type identity: ~data_factory_management_client.models.FactoryIdentity - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.Factory"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - factory_update_parameters = models.FactoryUpdateParameters(tags=tags, identity=identity) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(factory_update_parameters, 'FactoryUpdateParameters') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Factory', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Optional["models.Factory"] - """Gets a factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param if_none_match: ETag of the factory entity. Should only be specified for get. If the ETag - matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Factory, or the result of cls(response) - :rtype: ~data_factory_management_client.models.Factory or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.Factory"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('Factory', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a factory. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}'} # type: ignore - - def get_git_hub_access_token( - self, - resource_group_name, # type: str - factory_name, # type: str - git_hub_access_code, # type: str - git_hub_access_token_base_url, # type: str - git_hub_client_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.GitHubAccessTokenResponse" - """Get GitHub Access Token. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param git_hub_access_code: GitHub access code. - :type git_hub_access_code: str - :param git_hub_access_token_base_url: GitHub access token base URL. - :type git_hub_access_token_base_url: str - :param git_hub_client_id: GitHub application client ID. - :type git_hub_client_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: GitHubAccessTokenResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.GitHubAccessTokenResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.GitHubAccessTokenResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - git_hub_access_token_request = models.GitHubAccessTokenRequest(git_hub_access_code=git_hub_access_code, git_hub_client_id=git_hub_client_id, git_hub_access_token_base_url=git_hub_access_token_base_url) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.get_git_hub_access_token.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(git_hub_access_token_request, 'GitHubAccessTokenRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('GitHubAccessTokenResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_git_hub_access_token.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getGitHubAccessToken'} # type: ignore - - def get_data_plane_access( - self, - resource_group_name, # type: str - factory_name, # type: str - permissions=None, # type: Optional[str] - access_resource_path=None, # type: Optional[str] - profile_name=None, # type: Optional[str] - start_time=None, # type: Optional[str] - expire_time=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.AccessPolicyResponse" - """Get Data Plane access. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param permissions: The string with permissions for Data Plane access. Currently only 'r' is - supported which grants read only access. - :type permissions: str - :param access_resource_path: The resource path to get access relative to factory. Currently - only empty string is supported which corresponds to the factory resource. - :type access_resource_path: str - :param profile_name: The name of the profile. Currently only the default is supported. The - default value is DefaultProfile. - :type profile_name: str - :param start_time: Start time for the token. If not specified the current time will be used. - :type start_time: str - :param expire_time: Expiration time for the token. Maximum duration for the token is eight - hours and by default the token will expire in eight hours. - :type expire_time: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: AccessPolicyResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.AccessPolicyResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.AccessPolicyResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - policy = models.UserAccessPolicy(permissions=permissions, access_resource_path=access_resource_path, profile_name=profile_name, start_time=start_time, expire_time=expire_time) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.get_data_plane_access.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(policy, 'UserAccessPolicy') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('AccessPolicyResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_data_plane_access.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getDataPlaneAccess'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_node_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_node_operations.py deleted file mode 100644 index a7903633080..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_node_operations.py +++ /dev/null @@ -1,309 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class IntegrationRuntimeNodeOperations(object): - """IntegrationRuntimeNodeOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - node_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.SelfHostedIntegrationRuntimeNode" - """Gets a self-hosted integration runtime node. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param node_name: The integration runtime node name. - :type node_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: SelfHostedIntegrationRuntimeNode, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.SelfHostedIntegrationRuntimeNode"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'nodeName': self._serialize.url("node_name", node_name, 'str', max_length=150, min_length=1, pattern=r'^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('SelfHostedIntegrationRuntimeNode', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - node_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a self-hosted integration runtime node. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param node_name: The integration runtime node name. - :type node_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'nodeName': self._serialize.url("node_name", node_name, 'str', max_length=150, min_length=1, pattern=r'^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - node_name, # type: str - concurrent_jobs_limit=None, # type: Optional[int] - **kwargs # type: Any - ): - # type: (...) -> "models.SelfHostedIntegrationRuntimeNode" - """Updates a self-hosted integration runtime node. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param node_name: The integration runtime node name. - :type node_name: str - :param concurrent_jobs_limit: The number of concurrent jobs permitted to run on the integration - runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed. - :type concurrent_jobs_limit: int - :keyword callable cls: A custom type or function that will be passed the direct response - :return: SelfHostedIntegrationRuntimeNode, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.SelfHostedIntegrationRuntimeNode"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - update_integration_runtime_node_request = models.UpdateIntegrationRuntimeNodeRequest(concurrent_jobs_limit=concurrent_jobs_limit) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'nodeName': self._serialize.url("node_name", node_name, 'str', max_length=150, min_length=1, pattern=r'^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(update_integration_runtime_node_request, 'UpdateIntegrationRuntimeNodeRequest') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('SelfHostedIntegrationRuntimeNode', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}'} # type: ignore - - def get_ip_address( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - node_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeNodeIpAddress" - """Get the IP address of self-hosted integration runtime node. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param node_name: The integration runtime node name. - :type node_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeNodeIpAddress, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeNodeIpAddress - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeNodeIpAddress"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_ip_address.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'nodeName': self._serialize.url("node_name", node_name, 'str', max_length=150, min_length=1, pattern=r'^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeNodeIpAddress', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_ip_address.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_nodes_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_nodes_operations.py index c9623854aa9..6baf806e618 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_nodes_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_nodes_operations.py @@ -29,7 +29,7 @@ class IntegrationRuntimeNodesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -65,7 +65,7 @@ def get( :type node_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: SelfHostedIntegrationRuntimeNode, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode + :rtype: ~azure.mgmt.datafactory.models.SelfHostedIntegrationRuntimeNode :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SelfHostedIntegrationRuntimeNode"] @@ -197,10 +197,10 @@ def update( :type node_name: str :param update_integration_runtime_node_request: The parameters for updating an integration runtime node. - :type update_integration_runtime_node_request: ~data_factory_management_client.models.UpdateIntegrationRuntimeNodeRequest + :type update_integration_runtime_node_request: ~azure.mgmt.datafactory.models.UpdateIntegrationRuntimeNodeRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: SelfHostedIntegrationRuntimeNode, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SelfHostedIntegrationRuntimeNode + :rtype: ~azure.mgmt.datafactory.models.SelfHostedIntegrationRuntimeNode :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SelfHostedIntegrationRuntimeNode"] @@ -272,7 +272,7 @@ def get_ip_address( :type node_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeNodeIpAddress, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeNodeIpAddress + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeNodeIpAddress :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeNodeIpAddress"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_object_metadata_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_object_metadata_operations.py index a04018b467e..ee79d15a42f 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_object_metadata_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_object_metadata_operations.py @@ -31,7 +31,7 @@ class IntegrationRuntimeObjectMetadataOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -121,7 +121,7 @@ def begin_refresh( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SsisObjectMetadataStatusResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.SsisObjectMetadataStatusResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.datafactory.models.SsisObjectMetadataStatusResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -190,10 +190,10 @@ def get( :param integration_runtime_name: The integration runtime name. :type integration_runtime_name: str :param get_metadata_request: The parameters for getting a SSIS object metadata. - :type get_metadata_request: ~data_factory_management_client.models.GetSsisObjectMetadataRequest + :type get_metadata_request: ~azure.mgmt.datafactory.models.GetSsisObjectMetadataRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: SsisObjectMetadataListResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.SsisObjectMetadataListResponse + :rtype: ~azure.mgmt.datafactory.models.SsisObjectMetadataListResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SsisObjectMetadataListResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_operations.py deleted file mode 100644 index 1fb5fc6b30d..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtime_operations.py +++ /dev/null @@ -1,1198 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class IntegrationRuntimeOperations(object): - """IntegrationRuntimeOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.IntegrationRuntimeListResponse"] - """Lists integration runtimes. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either IntegrationRuntimeListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.IntegrationRuntimeListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('IntegrationRuntimeListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - properties, # type: "models.IntegrationRuntime" - if_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeResource" - """Creates or updates an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param properties: Integration runtime properties. - :type properties: ~data_factory_management_client.models.IntegrationRuntime - :param if_match: ETag of the integration runtime entity. Should only be specified for update, - for which it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - integration_runtime = models.IntegrationRuntimeResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(integration_runtime, 'IntegrationRuntimeResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Optional["models.IntegrationRuntimeResource"] - """Gets an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param if_none_match: ETag of the integration runtime entity. Should only be specified for get. - If the ETag matches the existing entity tag, or if * was provided, then no content will be - returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.IntegrationRuntimeResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('IntegrationRuntimeResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - auto_update=None, # type: Optional[Union[str, "models.IntegrationRuntimeAutoUpdate"]] - update_delay_offset=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeResource" - """Updates an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param auto_update: Enables or disables the auto-update feature of the self-hosted integration - runtime. See https://go.microsoft.com/fwlink/?linkid=854189. - :type auto_update: str or ~data_factory_management_client.models.IntegrationRuntimeAutoUpdate - :param update_delay_offset: The time offset (in hours) in the day, e.g., PT03H is 3 hours. The - integration runtime auto update will happen on that time. - :type update_delay_offset: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - update_integration_runtime_request = models.UpdateIntegrationRuntimeRequest(auto_update=auto_update, update_delay_offset=update_delay_offset) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(update_integration_runtime_request, 'UpdateIntegrationRuntimeRequest') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'} # type: ignore - - def get_status( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeStatusResponse" - """Gets detailed status information for an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeStatusResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeStatusResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_status.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus'} # type: ignore - - def get_connection_info( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeConnectionInfo" - """Gets the on-premises integration runtime connection information for encrypting the on-premises - data source credentials. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeConnectionInfo, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeConnectionInfo - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeConnectionInfo"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_connection_info.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeConnectionInfo', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_connection_info.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo'} # type: ignore - - def regenerate_auth_key( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - key_name=None, # type: Optional[Union[str, "models.IntegrationRuntimeAuthKeyName"]] - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeAuthKeys" - """Regenerates the authentication key for an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param key_name: The name of the authentication key to regenerate. - :type key_name: str or ~data_factory_management_client.models.IntegrationRuntimeAuthKeyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeAuthKeys, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeAuthKeys - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeAuthKeys"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - regenerate_key_parameters = models.IntegrationRuntimeRegenerateKeyParameters(key_name=key_name) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.regenerate_auth_key.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(regenerate_key_parameters, 'IntegrationRuntimeRegenerateKeyParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeAuthKeys', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - regenerate_auth_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey'} # type: ignore - - def list_auth_key( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeAuthKeys" - """Retrieves the authentication keys for an integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeAuthKeys, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeAuthKeys - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeAuthKeys"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.list_auth_key.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeAuthKeys', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_auth_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys'} # type: ignore - - def _start_initial( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Optional["models.IntegrationRuntimeStatusResponse"] - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.IntegrationRuntimeStatusResponse"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._start_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('IntegrationRuntimeStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start'} # type: ignore - - def begin_start( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.IntegrationRuntimeStatusResponse"] - """Starts a ManagedReserved type integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either IntegrationRuntimeStatusResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.IntegrationRuntimeStatusResponse] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._start_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - integration_runtime_name=integration_runtime_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('IntegrationRuntimeStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start'} # type: ignore - - def _stop_initial( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._stop_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop'} # type: ignore - - def begin_stop( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Stops a ManagedReserved type integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._stop_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - integration_runtime_name=integration_runtime_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop'} # type: ignore - - def sync_credentials( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Force the integration runtime to synchronize credentials across integration runtime nodes, and - this will override the credentials across all worker nodes with those available on the - dispatcher node. If you already have the latest credential backup file, you should manually - import it (preferred) on any self-hosted integration runtime node than using this API directly. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.sync_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - sync_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials'} # type: ignore - - def get_monitoring_data( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeMonitoringData" - """Get the integration runtime monitoring data, which includes the monitor data for all the nodes - under this integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeMonitoringData, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeMonitoringData - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeMonitoringData"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_monitoring_data.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeMonitoringData', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_monitoring_data.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData'} # type: ignore - - def upgrade( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Upgrade self-hosted integration runtime to latest version if availability. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.upgrade.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - upgrade.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade'} # type: ignore - - def remove_link( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - linked_factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Remove all linked integration runtimes under specific data factory in a self-hosted integration - runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param linked_factory_name: The data factory name for linked integration runtime. - :type linked_factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - linked_integration_runtime_request = models.LinkedIntegrationRuntimeRequest(linked_factory_name=linked_factory_name) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.remove_link.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(linked_integration_runtime_request, 'LinkedIntegrationRuntimeRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - remove_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks'} # type: ignore - - def create_linked_integration_runtime( - self, - resource_group_name, # type: str - factory_name, # type: str - integration_runtime_name, # type: str - name=None, # type: Optional[str] - subscription_id=None, # type: Optional[str] - data_factory_name=None, # type: Optional[str] - data_factory_location=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.IntegrationRuntimeStatusResponse" - """Create a linked integration runtime entry in a shared integration runtime. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param integration_runtime_name: The integration runtime name. - :type integration_runtime_name: str - :param name: The name of the linked integration runtime. - :type name: str - :param subscription_id: The ID of the subscription that the linked integration runtime belongs - to. - :type subscription_id: str - :param data_factory_name: The name of the data factory that the linked integration runtime - belongs to. - :type data_factory_name: str - :param data_factory_location: The location of the data factory that the linked integration - runtime belongs to. - :type data_factory_location: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: IntegrationRuntimeStatusResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeStatusResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - create_linked_integration_runtime_request = models.CreateLinkedIntegrationRuntimeRequest(name=name, subscription_id=subscription_id, data_factory_name=data_factory_name, data_factory_location=data_factory_location) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_linked_integration_runtime.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(create_linked_integration_runtime_request, 'CreateLinkedIntegrationRuntimeRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('IntegrationRuntimeStatusResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_linked_integration_runtime.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtimes_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtimes_operations.py index d0a57313403..b4521ba7818 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtimes_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_integration_runtimes_operations.py @@ -32,7 +32,7 @@ class IntegrationRuntimesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either IntegrationRuntimeListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.IntegrationRuntimeListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.IntegrationRuntimeListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeListResponse"] @@ -141,13 +141,13 @@ def create_or_update( :param integration_runtime_name: The integration runtime name. :type integration_runtime_name: str :param integration_runtime: Integration runtime resource definition. - :type integration_runtime: ~data_factory_management_client.models.IntegrationRuntimeResource + :type integration_runtime: ~azure.mgmt.datafactory.models.IntegrationRuntimeResource :param if_match: ETag of the integration runtime entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeResource"] @@ -222,7 +222,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource or None + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.IntegrationRuntimeResource"]] @@ -289,10 +289,10 @@ def update( :param integration_runtime_name: The integration runtime name. :type integration_runtime_name: str :param update_integration_runtime_request: The parameters for updating an integration runtime. - :type update_integration_runtime_request: ~data_factory_management_client.models.UpdateIntegrationRuntimeRequest + :type update_integration_runtime_request: ~azure.mgmt.datafactory.models.UpdateIntegrationRuntimeRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeResource + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeResource"] @@ -420,7 +420,7 @@ def get_status( :type integration_runtime_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeStatusResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeStatusResponse + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeStatusResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] @@ -465,6 +465,69 @@ def get_status( return deserialized get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus'} # type: ignore + def list_outbound_network_dependencies_endpoints( + self, + resource_group_name, # type: str + factory_name, # type: str + integration_runtime_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse" + """Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param factory_name: The factory name. + :type factory_name: str + :param integration_runtime_name: The integration runtime name. + :type integration_runtime_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse, or the result of cls(response) + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01" + accept = "application/json" + + # Construct URL + url = self.list_outbound_network_dependencies_endpoints.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), + 'integrationRuntimeName': self._serialize.url("integration_runtime_name", integration_runtime_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_outbound_network_dependencies_endpoints.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints'} # type: ignore + def get_connection_info( self, resource_group_name, # type: str @@ -484,7 +547,7 @@ def get_connection_info( :type integration_runtime_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeConnectionInfo, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeConnectionInfo + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeConnectionInfo :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeConnectionInfo"] @@ -548,10 +611,10 @@ def regenerate_auth_key( :type integration_runtime_name: str :param regenerate_key_parameters: The parameters for regenerating integration runtime authentication key. - :type regenerate_key_parameters: ~data_factory_management_client.models.IntegrationRuntimeRegenerateKeyParameters + :type regenerate_key_parameters: ~azure.mgmt.datafactory.models.IntegrationRuntimeRegenerateKeyParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeAuthKeys, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeAuthKeys + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeAuthKeys :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeAuthKeys"] @@ -619,7 +682,7 @@ def list_auth_keys( :type integration_runtime_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeAuthKeys, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeAuthKeys + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeAuthKeys :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeAuthKeys"] @@ -739,7 +802,7 @@ def begin_start( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IntegrationRuntimeStatusResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.IntegrationRuntimeStatusResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.datafactory.models.IntegrationRuntimeStatusResponse] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -988,7 +1051,7 @@ def get_monitoring_data( :type integration_runtime_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeMonitoringData, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeMonitoringData + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeMonitoringData :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeMonitoringData"] @@ -1113,7 +1176,7 @@ def remove_links( :type integration_runtime_name: str :param linked_integration_runtime_request: The data factory name for the linked integration runtime. - :type linked_integration_runtime_request: ~data_factory_management_client.models.LinkedIntegrationRuntimeRequest + :type linked_integration_runtime_request: ~azure.mgmt.datafactory.models.LinkedIntegrationRuntimeRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None @@ -1181,10 +1244,10 @@ def create_linked_integration_runtime( :param integration_runtime_name: The integration runtime name. :type integration_runtime_name: str :param create_linked_integration_runtime_request: The linked integration runtime properties. - :type create_linked_integration_runtime_request: ~data_factory_management_client.models.CreateLinkedIntegrationRuntimeRequest + :type create_linked_integration_runtime_request: ~azure.mgmt.datafactory.models.CreateLinkedIntegrationRuntimeRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: IntegrationRuntimeStatusResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.IntegrationRuntimeStatusResponse + :rtype: ~azure.mgmt.datafactory.models.IntegrationRuntimeStatusResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IntegrationRuntimeStatusResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_linked_service_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_linked_service_operations.py deleted file mode 100644 index 7124cb588eb..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_linked_service_operations.py +++ /dev/null @@ -1,320 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class LinkedServiceOperations(object): - """LinkedServiceOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.LinkedServiceListResponse"] - """Lists linked services. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either LinkedServiceListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.LinkedServiceListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.LinkedServiceListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('LinkedServiceListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - linked_service_name, # type: str - properties, # type: "models.LinkedService" - if_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.LinkedServiceResource" - """Creates or updates a linked service. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param linked_service_name: The linked service name. - :type linked_service_name: str - :param properties: Properties of linked service. - :type properties: ~data_factory_management_client.models.LinkedService - :param if_match: ETag of the linkedService entity. Should only be specified for update, for - which it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LinkedServiceResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.LinkedServiceResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.LinkedServiceResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - linked_service = models.LinkedServiceResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'linkedServiceName': self._serialize.url("linked_service_name", linked_service_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(linked_service, 'LinkedServiceResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('LinkedServiceResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - linked_service_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Optional["models.LinkedServiceResource"] - """Gets a linked service. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param linked_service_name: The linked service name. - :type linked_service_name: str - :param if_none_match: ETag of the linked service entity. Should only be specified for get. If - the ETag matches the existing entity tag, or if * was provided, then no content will be - returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LinkedServiceResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.LinkedServiceResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.LinkedServiceResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'linkedServiceName': self._serialize.url("linked_service_name", linked_service_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('LinkedServiceResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - linked_service_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a linked service. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param linked_service_name: The linked service name. - :type linked_service_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'linkedServiceName': self._serialize.url("linked_service_name", linked_service_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_linked_services_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_linked_services_operations.py index ffb243da168..58d7f1f344d 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_linked_services_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_linked_services_operations.py @@ -30,7 +30,7 @@ class LinkedServicesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either LinkedServiceListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.LinkedServiceListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.LinkedServiceListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LinkedServiceListResponse"] @@ -139,13 +139,13 @@ def create_or_update( :param linked_service_name: The linked service name. :type linked_service_name: str :param linked_service: Linked service resource definition. - :type linked_service: ~data_factory_management_client.models.LinkedServiceResource + :type linked_service: ~azure.mgmt.datafactory.models.LinkedServiceResource :param if_match: ETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LinkedServiceResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.LinkedServiceResource + :rtype: ~azure.mgmt.datafactory.models.LinkedServiceResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.LinkedServiceResource"] @@ -220,7 +220,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: LinkedServiceResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.LinkedServiceResource or None + :rtype: ~azure.mgmt.datafactory.models.LinkedServiceResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.LinkedServiceResource"]] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_private_endpoint_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_private_endpoint_operations.py deleted file mode 100644 index 29be0bd0e6d..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_private_endpoint_operations.py +++ /dev/null @@ -1,344 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class ManagedPrivateEndpointOperations(object): - """ManagedPrivateEndpointOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - managed_virtual_network_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.ManagedPrivateEndpointListResponse"] - """Lists managed private endpoints. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedPrivateEndpointListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.ManagedPrivateEndpointListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ManagedPrivateEndpointListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - managed_virtual_network_name, # type: str - managed_private_endpoint_name, # type: str - if_match=None, # type: Optional[str] - connection_state=None, # type: Optional["models.ConnectionStateProperties"] - fqdns=None, # type: Optional[List[str]] - group_id=None, # type: Optional[str] - private_link_resource_id=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.ManagedPrivateEndpointResource" - """Creates or updates a managed private endpoint. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param managed_private_endpoint_name: Managed private endpoint name. - :type managed_private_endpoint_name: str - :param if_match: ETag of the managed private endpoint entity. Should only be specified for - update, for which it should match existing entity or can be * for unconditional update. - :type if_match: str - :param connection_state: The managed private endpoint connection state. - :type connection_state: ~data_factory_management_client.models.ConnectionStateProperties - :param fqdns: Fully qualified domain names. - :type fqdns: list[str] - :param group_id: The groupId to which the managed private endpoint is created. - :type group_id: str - :param private_link_resource_id: The ARM resource ID of the resource to which the managed - private endpoint is created. - :type private_link_resource_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedPrivateEndpointResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedPrivateEndpointResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - managed_private_endpoint = models.ManagedPrivateEndpointResource(connection_state=connection_state, fqdns=fqdns, group_id=group_id, private_link_resource_id=private_link_resource_id) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - 'managedPrivateEndpointName': self._serialize.url("managed_private_endpoint_name", managed_private_endpoint_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(managed_private_endpoint, 'ManagedPrivateEndpointResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedPrivateEndpointResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - managed_virtual_network_name, # type: str - managed_private_endpoint_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.ManagedPrivateEndpointResource" - """Gets a managed private endpoint. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param managed_private_endpoint_name: Managed private endpoint name. - :type managed_private_endpoint_name: str - :param if_none_match: ETag of the managed private endpoint entity. Should only be specified for - get. If the ETag matches the existing entity tag, or if * was provided, then no content will be - returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedPrivateEndpointResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedPrivateEndpointResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - 'managedPrivateEndpointName': self._serialize.url("managed_private_endpoint_name", managed_private_endpoint_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedPrivateEndpointResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - managed_virtual_network_name, # type: str - managed_private_endpoint_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a managed private endpoint. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param managed_private_endpoint_name: Managed private endpoint name. - :type managed_private_endpoint_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - 'managedPrivateEndpointName': self._serialize.url("managed_private_endpoint_name", managed_private_endpoint_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_private_endpoints_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_private_endpoints_operations.py index d1c7c89531f..a8340467285 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_private_endpoints_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_private_endpoints_operations.py @@ -30,7 +30,7 @@ class ManagedPrivateEndpointsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -63,7 +63,7 @@ def list_by_factory( :type managed_virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ManagedPrivateEndpointListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.ManagedPrivateEndpointListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.ManagedPrivateEndpointListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointListResponse"] @@ -146,13 +146,13 @@ def create_or_update( :param managed_private_endpoint_name: Managed private endpoint name. :type managed_private_endpoint_name: str :param managed_private_endpoint: Managed private endpoint resource definition. - :type managed_private_endpoint: ~data_factory_management_client.models.ManagedPrivateEndpointResource + :type managed_private_endpoint: ~azure.mgmt.datafactory.models.ManagedPrivateEndpointResource :param if_match: ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedPrivateEndpointResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedPrivateEndpointResource + :rtype: ~azure.mgmt.datafactory.models.ManagedPrivateEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointResource"] @@ -231,7 +231,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedPrivateEndpointResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedPrivateEndpointResource + :rtype: ~azure.mgmt.datafactory.models.ManagedPrivateEndpointResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedPrivateEndpointResource"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_virtual_network_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_virtual_network_operations.py deleted file mode 100644 index fa043ca3e59..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_virtual_network_operations.py +++ /dev/null @@ -1,262 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class ManagedVirtualNetworkOperations(object): - """ManagedVirtualNetworkOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.ManagedVirtualNetworkListResponse"] - """Lists managed Virtual Networks. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedVirtualNetworkListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.ManagedVirtualNetworkListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ManagedVirtualNetworkListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - managed_virtual_network_name, # type: str - properties, # type: "models.ManagedVirtualNetwork" - if_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.ManagedVirtualNetworkResource" - """Creates or updates a managed Virtual Network. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param properties: Managed Virtual Network properties. - :type properties: ~data_factory_management_client.models.ManagedVirtualNetwork - :param if_match: ETag of the managed Virtual Network entity. Should only be specified for - update, for which it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedVirtualNetworkResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedVirtualNetworkResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - managed_virtual_network = models.ManagedVirtualNetworkResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(managed_virtual_network, 'ManagedVirtualNetworkResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedVirtualNetworkResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - managed_virtual_network_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.ManagedVirtualNetworkResource" - """Gets a managed Virtual Network. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param managed_virtual_network_name: Managed virtual network name. - :type managed_virtual_network_name: str - :param if_none_match: ETag of the managed Virtual Network entity. Should only be specified for - get. If the ETag matches the existing entity tag, or if * was provided, then no content will be - returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedVirtualNetworkResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedVirtualNetworkResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'managedVirtualNetworkName': self._serialize.url("managed_virtual_network_name", managed_virtual_network_name, 'str', max_length=127, min_length=1, pattern=r'^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedVirtualNetworkResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_virtual_networks_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_virtual_networks_operations.py index 8f81cdf0c80..b5c877cea9d 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_virtual_networks_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_managed_virtual_networks_operations.py @@ -30,7 +30,7 @@ class ManagedVirtualNetworksOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ManagedVirtualNetworkListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.ManagedVirtualNetworkListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.ManagedVirtualNetworkListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkListResponse"] @@ -139,13 +139,13 @@ def create_or_update( :param managed_virtual_network_name: Managed virtual network name. :type managed_virtual_network_name: str :param managed_virtual_network: Managed Virtual Network resource definition. - :type managed_virtual_network: ~data_factory_management_client.models.ManagedVirtualNetworkResource + :type managed_virtual_network: ~azure.mgmt.datafactory.models.ManagedVirtualNetworkResource :param if_match: ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedVirtualNetworkResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedVirtualNetworkResource + :rtype: ~azure.mgmt.datafactory.models.ManagedVirtualNetworkResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkResource"] @@ -220,7 +220,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedVirtualNetworkResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.ManagedVirtualNetworkResource + :rtype: ~azure.mgmt.datafactory.models.ManagedVirtualNetworkResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ManagedVirtualNetworkResource"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_operation_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_operation_operations.py deleted file mode 100644 index c5cf3d43f6d..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_operation_operations.py +++ /dev/null @@ -1,106 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class OperationOperations(object): - """OperationOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.OperationListResponse"] - """Lists the available Azure Data Factory API operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OperationListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.OperationListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('OperationListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/providers/Microsoft.DataFactory/operations'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_operations.py index 9795a6e8c4e..567165c2570 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_operations.py @@ -30,7 +30,7 @@ class Operations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,7 +54,7 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.OperationListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.OperationListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_operations.py deleted file mode 100644 index d82f423f2cb..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_operations.py +++ /dev/null @@ -1,414 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class PipelineOperations(object): - """PipelineOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.PipelineListResponse"] - """Lists pipelines. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either PipelineListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.PipelineListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('PipelineListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - pipeline_name, # type: str - pipeline, # type: "models.PipelineResource" - if_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.PipelineResource" - """Creates or updates a pipeline. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param pipeline_name: The pipeline name. - :type pipeline_name: str - :param pipeline: Pipeline resource definition. - :type pipeline: ~data_factory_management_client.models.PipelineResource - :param if_match: ETag of the pipeline entity. Should only be specified for update, for which - it should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PipelineResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'pipelineName': self._serialize.url("pipeline_name", pipeline_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(pipeline, 'PipelineResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PipelineResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - pipeline_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Optional["models.PipelineResource"] - """Gets a pipeline. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param pipeline_name: The pipeline name. - :type pipeline_name: str - :param if_none_match: ETag of the pipeline entity. Should only be specified for get. If the - ETag matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PipelineResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.PipelineResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'pipelineName': self._serialize.url("pipeline_name", pipeline_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('PipelineResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - pipeline_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a pipeline. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param pipeline_name: The pipeline name. - :type pipeline_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'pipelineName': self._serialize.url("pipeline_name", pipeline_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}'} # type: ignore - - def create_run( - self, - resource_group_name, # type: str - factory_name, # type: str - pipeline_name, # type: str - reference_pipeline_run_id=None, # type: Optional[str] - is_recovery=None, # type: Optional[bool] - start_activity_name=None, # type: Optional[str] - start_from_failure=None, # type: Optional[bool] - parameters=None, # type: Optional[Dict[str, object]] - **kwargs # type: Any - ): - # type: (...) -> "models.CreateRunResponse" - """Creates a run of a pipeline. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param pipeline_name: The pipeline name. - :type pipeline_name: str - :param reference_pipeline_run_id: The pipeline run identifier. If run ID is specified the - parameters of the specified run will be used to create a new run. - :type reference_pipeline_run_id: str - :param is_recovery: Recovery mode flag. If recovery mode is set to true, the specified - referenced pipeline run and the new run will be grouped under the same groupId. - :type is_recovery: bool - :param start_activity_name: In recovery mode, the rerun will start from this activity. If not - specified, all activities will run. - :type start_activity_name: str - :param start_from_failure: In recovery mode, if set to true, the rerun will start from failed - activities. The property will be used only if startActivityName is not specified. - :type start_from_failure: bool - :param parameters: Parameters of the pipeline run. These parameters will be used only if the - runId is not specified. - :type parameters: dict[str, object] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CreateRunResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.CreateRunResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.CreateRunResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_run.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'pipelineName': self._serialize.url("pipeline_name", pipeline_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if reference_pipeline_run_id is not None: - query_parameters['referencePipelineRunId'] = self._serialize.query("reference_pipeline_run_id", reference_pipeline_run_id, 'str') - if is_recovery is not None: - query_parameters['isRecovery'] = self._serialize.query("is_recovery", is_recovery, 'bool') - if start_activity_name is not None: - query_parameters['startActivityName'] = self._serialize.query("start_activity_name", start_activity_name, 'str') - if start_from_failure is not None: - query_parameters['startFromFailure'] = self._serialize.query("start_from_failure", start_from_failure, 'bool') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - if parameters is not None: - body_content = self._serialize.body(parameters, '{object}') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CreateRunResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_run.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_run_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_run_operations.py deleted file mode 100644 index 75634fde5ac..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_run_operations.py +++ /dev/null @@ -1,250 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- -import datetime -from typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class PipelineRunOperations(object): - """PipelineRunOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def query_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - last_updated_after, # type: datetime.datetime - last_updated_before, # type: datetime.datetime - continuation_token_parameter=None, # type: Optional[str] - filters=None, # type: Optional[List["models.RunQueryFilter"]] - order_by=None, # type: Optional[List["models.RunQueryOrderBy"]] - **kwargs # type: Any - ): - # type: (...) -> "models.PipelineRunsQueryResponse" - """Query pipeline runs in the factory based on input filter conditions. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param last_updated_after: The time at or after which the run event was updated in 'ISO 8601' - format. - :type last_updated_after: ~datetime.datetime - :param last_updated_before: The time at or before which the run event was updated in 'ISO 8601' - format. - :type last_updated_before: ~datetime.datetime - :param continuation_token_parameter: The continuation token for getting the next page of - results. Null for first page. - :type continuation_token_parameter: str - :param filters: List of filters. - :type filters: list[~data_factory_management_client.models.RunQueryFilter] - :param order_by: List of OrderBy option. - :type order_by: list[~data_factory_management_client.models.RunQueryOrderBy] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PipelineRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineRunsQueryResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineRunsQueryResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - filter_parameters = models.RunFilterParameters(continuation_token=continuation_token_parameter, last_updated_after=last_updated_after, last_updated_before=last_updated_before, filters=filters, order_by=order_by) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(filter_parameters, 'RunFilterParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PipelineRunsQueryResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - run_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.PipelineRun" - """Get a pipeline run by its run ID. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PipelineRun, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineRun - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineRun"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PipelineRun', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}'} # type: ignore - - def cancel( - self, - resource_group_name, # type: str - factory_name, # type: str - run_id, # type: str - is_recursive=None, # type: Optional[bool] - **kwargs # type: Any - ): - # type: (...) -> None - """Cancel a pipeline run by its run ID. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :param is_recursive: If true, cancel all the Child pipelines that are triggered by the current - pipeline. - :type is_recursive: bool - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.cancel.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if is_recursive is not None: - query_parameters['isRecursive'] = self._serialize.query("is_recursive", is_recursive, 'bool') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_runs_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_runs_operations.py index be684c71f0a..d8142b7ad24 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_runs_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipeline_runs_operations.py @@ -29,7 +29,7 @@ class PipelineRunsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,10 +59,10 @@ def query_by_factory( :param factory_name: The factory name. :type factory_name: str :param filter_parameters: Parameters to filter the pipeline run. - :type filter_parameters: ~data_factory_management_client.models.RunFilterParameters + :type filter_parameters: ~azure.mgmt.datafactory.models.RunFilterParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: PipelineRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineRunsQueryResponse + :rtype: ~azure.mgmt.datafactory.models.PipelineRunsQueryResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineRunsQueryResponse"] @@ -129,7 +129,7 @@ def get( :type run_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PipelineRun, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineRun + :rtype: ~azure.mgmt.datafactory.models.PipelineRun :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineRun"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipelines_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipelines_operations.py index d4a5594d606..36b7bc04188 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipelines_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_pipelines_operations.py @@ -30,7 +30,7 @@ class PipelinesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PipelineListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.PipelineListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.PipelineListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineListResponse"] @@ -139,13 +139,13 @@ def create_or_update( :param pipeline_name: The pipeline name. :type pipeline_name: str :param pipeline: Pipeline resource definition. - :type pipeline: ~data_factory_management_client.models.PipelineResource + :type pipeline: ~azure.mgmt.datafactory.models.PipelineResource :param if_match: ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PipelineResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineResource + :rtype: ~azure.mgmt.datafactory.models.PipelineResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PipelineResource"] @@ -219,7 +219,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PipelineResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PipelineResource or None + :rtype: ~azure.mgmt.datafactory.models.PipelineResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.PipelineResource"]] @@ -366,7 +366,7 @@ def create_run( :type parameters: dict[str, object] :keyword callable cls: A custom type or function that will be passed the direct response :return: CreateRunResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.CreateRunResponse + :rtype: ~azure.mgmt.datafactory.models.CreateRunResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.CreateRunResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_end_point_connections_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_end_point_connections_operations.py index 11471ac9d41..74cb51bb807 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_end_point_connections_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_end_point_connections_operations.py @@ -30,7 +30,7 @@ class PrivateEndPointConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,7 +60,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnectionListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.PrivateEndpointConnectionListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.PrivateEndpointConnectionListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_endpoint_connection_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_endpoint_connection_operations.py index 60bd6a37157..240258361e3 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_endpoint_connection_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_endpoint_connection_operations.py @@ -29,7 +29,7 @@ class PrivateEndpointConnectionOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -63,13 +63,13 @@ def create_or_update( :param private_endpoint_connection_name: The private endpoint connection name. :type private_endpoint_connection_name: str :param private_endpoint_wrapper: - :type private_endpoint_wrapper: ~data_factory_management_client.models.PrivateLinkConnectionApprovalRequestResource + :type private_endpoint_wrapper: ~azure.mgmt.datafactory.models.PrivateLinkConnectionApprovalRequestResource :param if_match: ETag of the private endpoint connection entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnectionResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PrivateEndpointConnectionResource + :rtype: ~azure.mgmt.datafactory.models.PrivateEndpointConnectionResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionResource"] @@ -144,7 +144,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnectionResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PrivateEndpointConnectionResource + :rtype: ~azure.mgmt.datafactory.models.PrivateEndpointConnectionResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionResource"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_link_resources_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_link_resources_operations.py index 89847585015..de519f218fa 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_link_resources_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_private_link_resources_operations.py @@ -29,7 +29,7 @@ class PrivateLinkResourcesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -59,7 +59,7 @@ def get( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourcesWrapper, or the result of cls(response) - :rtype: ~data_factory_management_client.models.PrivateLinkResourcesWrapper + :rtype: ~azure.mgmt.datafactory.models.PrivateLinkResourcesWrapper :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResourcesWrapper"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_operations.py deleted file mode 100644 index 142f32f2c31..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_operations.py +++ /dev/null @@ -1,895 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class TriggerOperations(object): - """TriggerOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["models.TriggerListResponse"] - """Lists triggers. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either TriggerListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.TriggerListResponse] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerListResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - if not next_link: - # Construct URL - url = self.list_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('TriggerListResponse', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers'} # type: ignore - - def query_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - continuation_token_parameter=None, # type: Optional[str] - parent_trigger_name=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.TriggerQueryResponse" - """Query triggers. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param continuation_token_parameter: The continuation token for getting the next page of - results. Null for first page. - :type continuation_token_parameter: str - :param parent_trigger_name: The name of the parent TumblingWindowTrigger to get the child rerun - triggers. - :type parent_trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerQueryResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerQueryResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - filter_parameters = models.TriggerFilterParameters(continuation_token=continuation_token_parameter, parent_trigger_name=parent_trigger_name) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(filter_parameters, 'TriggerFilterParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TriggerQueryResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - properties, # type: "models.Trigger" - if_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "models.TriggerResource" - """Creates or updates a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :param properties: Properties of the trigger. - :type properties: ~data_factory_management_client.models.Trigger - :param if_match: ETag of the trigger entity. Should only be specified for update, for which it - should match existing entity or can be * for unconditional update. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerResource - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerResource"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - trigger = models.TriggerResource(properties=properties) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(trigger, 'TriggerResource') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TriggerResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - if_none_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Optional["models.TriggerResource"] - """Gets a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :param if_none_match: ETag of the trigger entity. Should only be specified for get. If the ETag - matches the existing entity tag, or if * was provided, then no content will be returned. - :type if_none_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerResource or None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.TriggerResource"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_none_match is not None: - header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - header_parameters['Accept'] = 'application/json' - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 304]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('TriggerResource', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}'} # type: ignore - - def _subscribe_to_event_initial( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Optional["models.TriggerSubscriptionOperationStatus"] - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.TriggerSubscriptionOperationStatus"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._subscribe_to_event_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _subscribe_to_event_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents'} # type: ignore - - def begin_subscribe_to_event( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.TriggerSubscriptionOperationStatus"] - """Subscribe event trigger to events. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.TriggerSubscriptionOperationStatus] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerSubscriptionOperationStatus"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._subscribe_to_event_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - trigger_name=trigger_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_subscribe_to_event.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents'} # type: ignore - - def get_event_subscription_status( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "models.TriggerSubscriptionOperationStatus" - """Get a trigger's event subscription status. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerSubscriptionOperationStatus, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerSubscriptionOperationStatus - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerSubscriptionOperationStatus"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.get_event_subscription_status.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_event_subscription_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus'} # type: ignore - - def _unsubscribe_from_event_initial( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Optional["models.TriggerSubscriptionOperationStatus"] - cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.TriggerSubscriptionOperationStatus"]] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._unsubscribe_from_event_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _unsubscribe_from_event_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents'} # type: ignore - - def begin_unsubscribe_from_event( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller["models.TriggerSubscriptionOperationStatus"] - """Unsubscribe event trigger from events. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.TriggerSubscriptionOperationStatus] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerSubscriptionOperationStatus"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._unsubscribe_from_event_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - trigger_name=trigger_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('TriggerSubscriptionOperationStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_unsubscribe_from_event.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents'} # type: ignore - - def _start_initial( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._start_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start'} # type: ignore - - def begin_start( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Starts a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._start_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - trigger_name=trigger_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start'} # type: ignore - - def _stop_initial( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self._stop_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop'} # type: ignore - - def begin_stop( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Stops a trigger. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._stop_initial( - resource_group_name=resource_group_name, - factory_name=factory_name, - trigger_name=trigger_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_run_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_run_operations.py deleted file mode 100644 index 3290d8196ab..00000000000 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_run_operations.py +++ /dev/null @@ -1,248 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- -import datetime -from typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class TriggerRunOperations(object): - """TriggerRunOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def rerun( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - run_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Rerun single trigger instance by runId. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.rerun.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - rerun.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun'} # type: ignore - - def cancel( - self, - resource_group_name, # type: str - factory_name, # type: str - trigger_name, # type: str - run_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Cancel a single trigger instance by runId. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param trigger_name: The trigger name. - :type trigger_name: str - :param run_id: The pipeline run identifier. - :type run_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - api_version = "2018-06-01" - - # Construct URL - url = self.cancel.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - 'triggerName': self._serialize.url("trigger_name", trigger_name, 'str', max_length=260, min_length=1, pattern=r'^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'), - 'runId': self._serialize.url("run_id", run_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - cancel.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel'} # type: ignore - - def query_by_factory( - self, - resource_group_name, # type: str - factory_name, # type: str - last_updated_after, # type: datetime.datetime - last_updated_before, # type: datetime.datetime - continuation_token_parameter=None, # type: Optional[str] - filters=None, # type: Optional[List["models.RunQueryFilter"]] - order_by=None, # type: Optional[List["models.RunQueryOrderBy"]] - **kwargs # type: Any - ): - # type: (...) -> "models.TriggerRunsQueryResponse" - """Query trigger runs. - - :param resource_group_name: The resource group name. - :type resource_group_name: str - :param factory_name: The factory name. - :type factory_name: str - :param last_updated_after: The time at or after which the run event was updated in 'ISO 8601' - format. - :type last_updated_after: ~datetime.datetime - :param last_updated_before: The time at or before which the run event was updated in 'ISO 8601' - format. - :type last_updated_before: ~datetime.datetime - :param continuation_token_parameter: The continuation token for getting the next page of - results. Null for first page. - :type continuation_token_parameter: str - :param filters: List of filters. - :type filters: list[~data_factory_management_client.models.RunQueryFilter] - :param order_by: List of OrderBy option. - :type order_by: list[~data_factory_management_client.models.RunQueryOrderBy] - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TriggerRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerRunsQueryResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerRunsQueryResponse"] - error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} - error_map.update(kwargs.pop('error_map', {})) - - filter_parameters = models.RunFilterParameters(continuation_token=continuation_token_parameter, last_updated_after=last_updated_after, last_updated_before=last_updated_before, filters=filters, order_by=order_by) - api_version = "2018-06-01" - content_type = kwargs.pop("content_type", "application/json") - - # Construct URL - url = self.query_by_factory.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'factoryName': self._serialize.url("factory_name", factory_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = 'application/json' - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(filter_parameters, 'RunFilterParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TriggerRunsQueryResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - query_by_factory.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns'} # type: ignore diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_runs_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_runs_operations.py index ca2b12d4a29..0e3bb6b4abe 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_runs_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_trigger_runs_operations.py @@ -29,7 +29,7 @@ class TriggerRunsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -187,10 +187,10 @@ def query_by_factory( :param factory_name: The factory name. :type factory_name: str :param filter_parameters: Parameters to filter the pipeline run. - :type filter_parameters: ~data_factory_management_client.models.RunFilterParameters + :type filter_parameters: ~azure.mgmt.datafactory.models.RunFilterParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerRunsQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerRunsQueryResponse + :rtype: ~azure.mgmt.datafactory.models.TriggerRunsQueryResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerRunsQueryResponse"] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_triggers_operations.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_triggers_operations.py index f85d33b9c68..a4506ab40d9 100644 --- a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_triggers_operations.py +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/operations/_triggers_operations.py @@ -32,7 +32,7 @@ class TriggersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~data_factory_management_client.models + :type models: ~azure.mgmt.datafactory.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -62,7 +62,7 @@ def list_by_factory( :type factory_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TriggerListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~data_factory_management_client.models.TriggerListResponse] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.datafactory.models.TriggerListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerListResponse"] @@ -137,10 +137,10 @@ def query_by_factory( :param factory_name: The factory name. :type factory_name: str :param filter_parameters: Parameters to filter the triggers. - :type filter_parameters: ~data_factory_management_client.models.TriggerFilterParameters + :type filter_parameters: ~azure.mgmt.datafactory.models.TriggerFilterParameters :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerQueryResponse, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerQueryResponse + :rtype: ~azure.mgmt.datafactory.models.TriggerQueryResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerQueryResponse"] @@ -208,13 +208,13 @@ def create_or_update( :param trigger_name: The trigger name. :type trigger_name: str :param trigger: Trigger resource definition. - :type trigger: ~data_factory_management_client.models.TriggerResource + :type trigger: ~azure.mgmt.datafactory.models.TriggerResource :param if_match: ETag of the trigger entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. :type if_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerResource + :rtype: ~azure.mgmt.datafactory.models.TriggerResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerResource"] @@ -288,7 +288,7 @@ def get( :type if_none_match: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerResource, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerResource or None + :rtype: ~azure.mgmt.datafactory.models.TriggerResource or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.TriggerResource"]] @@ -472,7 +472,7 @@ def begin_subscribe_to_events( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.TriggerSubscriptionOperationStatus] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.datafactory.models.TriggerSubscriptionOperationStatus] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -540,7 +540,7 @@ def get_event_subscription_status( :type trigger_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: TriggerSubscriptionOperationStatus, or the result of cls(response) - :rtype: ~data_factory_management_client.models.TriggerSubscriptionOperationStatus + :rtype: ~azure.mgmt.datafactory.models.TriggerSubscriptionOperationStatus :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.TriggerSubscriptionOperationStatus"] @@ -660,7 +660,7 @@ def begin_unsubscribe_from_events( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~data_factory_management_client.models.TriggerSubscriptionOperationStatus] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.datafactory.models.TriggerSubscriptionOperationStatus] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] diff --git a/src/datafactory/azext_datafactory/vendored_sdks/datafactory/setup.py b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/setup.py new file mode 100644 index 00000000000..489e9c4c502 --- /dev/null +++ b/src/datafactory/azext_datafactory/vendored_sdks/datafactory/setup.py @@ -0,0 +1,37 @@ +# 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. +# -------------------------------------------------------------------------- +# coding: utf-8 + +from setuptools import setup, find_packages + +NAME = "azure-mgmt-datafactory" +VERSION = "1.0.0" + +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.2", "azure-mgmt-core<2.0.0,>=1.2.1"] + +setup( + name=NAME, + version=VERSION, + description="azure-mgmt-datafactory", + author_email="", + url="", + keywords=["Swagger", "DataFactoryManagementClient"], + install_requires=REQUIRES, + packages=find_packages(), + include_package_data=True, + long_description="""\ + The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. + """ +) diff --git a/src/datafactory/gen.zip b/src/datafactory/gen.zip deleted file mode 100644 index 296cd2dfd073b40b800d50721ca0621a581fdee3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 39102 zcmeG_O>^VQak7)RQYs%DR}Q|tG4~+JB~To^~azH*Y@_iR+}^zAY384k^4P z2^s+PmTyaE-+jm-S6AhpUyzIMIp^P`d%ge+2LvdQkaiPoaY+C(-90@$(;w3_xcKI; z{(5~4|9*b)$4mA@{P#=vc7CKEBfINFPS0^8KbY=ZWS0Mxv3x|sD4bL4t2wm>4%SXo z{=4V@emVKmU#y+U+8X=hSEe7G;dnspFrwqII-Wiu*3$mgpO9z%cp7;9>xgW+TjZ7J z27c)GBDf!n{lJMle^ezWg8^ZMLK4uB1~;@@g}N_2mySZ(C6iH?1|+(s+% zl&Xv9V??|WD>DxK@2MM+!1p84^8P!xe|b)E+vci8Fv_PsrK7p1itv zd3Hp0&YA3bG~5|aqWH>w7EoZzo8avjB%H2)odD3KJ%S=*yR6J63gR{i`rE|4rtXLE z__aTxTSw~z{-DkLCbXE~eSRAsiTlUo-FsFP!BpL0cXPw}ktBu{;b_PPD}^=L--cxk ze3$hnshl~$-?vv4L!pr~q@?m`IOQ#!-kJ)5==qbtrB*-iCu1lc^lvL0+i8rVb^L29 zlaGCxqwzqkwU#OIV<&R26LZJBIb*`+la;rcqnYhxtI%{1IsK3b?bvqu#})DW_s(EK zS3Q4>L02T0`OF{ny#6GhV*a|MW8W-Kt}JN_gTxM??8;fK&{_g5$ky05us(h)CR?vd zDm&q%6S{#nMspzC`INl0z3%Of6jU~lpa9IwJD}!oJg^JG9c5KiPr(plEYkG^7-k$Z zD!CjzAW6Id!_1Nm<2uH1U4Jr)m;fDDPEOA&#PtUQrz1=ms}ndQ_xiXp1YJaf3K_sR zz!(m_$nv_!m07tF)`|crt}0*_fCzYKQHm#c18##&WA*$2wEMWSQy~!@IY5sYv`IPM zQJ-n@2nr2ZeKBxG^u%>(7@DOK)F3mC?J<_LfqhVP<-!P9EwmjhhSlO&4YF8h8sN3# zsS@V7YtRw~aP;HY3#b)&XlpcT^_EqyTlHGIc6hY6f7GZ|8~e?}-MxcvO_j$q70qQ#ErZgFPdIXV76xco4jNH^MnS|r_&2>Ob6bGLMd|xgV({p z*ui9E{{bu6ovA$*)$s1hyIPW90W!i!usTyqlECiHjzp;-3Uxly0NfJkT22qNf|wj? z`&NCwU8^1K?jP;#Rd;vyng`96adJq(=uq%sF!C(|q; zIEzD#vYbqTF5B6JIT$AD2#g4D4?lhPT_u{1DSREl=j2DQ&z=ta4*cGR4~YH;+P#8k z1_U2og9D1?^hz(2g)V8226W_7UE~DBKt7ky;6B(gDHykK@Aek)kDUOJg1m)r!4bcj zo`VLFwRKvqqCiLNjrs~6RAzR^1t>rTG0}dgE{k&l@EPbQ!7x>YM_|+?hoB>79Bo5v z?VQDH6cMNav*^GE&6tItD541j+m3qEv&4TE`TV>v0L_M zQq?0Fo)Ck=7@k;Y)-ewDg={}TiZ)p1d3A!rc1hlyKu0pYye?Hf1q6q9n3E)KntFl{ zS_@;4FlvRZr4N+UfK!832wkB;s!JWzy)|}vJcz}FlM>#U=_D}*aR3w^vN}B|sV4S3 zYC#3FKh`SXq0Cn)rG(z3jOK;l#9%Y>{GrBuik&>3bq?kdc%<_gixI7r+ijAuh|FNa zJQUBmbO0JRmcmnZJ)d8^PH7zD=!i8nuBVr+ zvp_(0NC!Rp8bWQfTb7BLAOpP%7A!zAEKWwY>A8?dC$t=?oDf7H;3x1Cfq(8qKg(w0 zBz1p#V-``kgHw>PR&rXW8%w`k{bUNH9kANGTd3 zfmrp(bP+PlAluf@V0hTi1CGQ$I*y0~XC``m0nB>F&gKX+hOZcQXm ztL_)Rlj%|B>OG&|Iz8vGaR|}!!(M0K+Us?w)#^2Ntqyf)>!9P--PW$DyW+L~f599L z^V&a}ifUDg@b#2Vpc@Sv^I&kq%&|x7RhDl|ij(i--d|s!$@<+Jl z2ys00NEhq0p{mQ4{2r{+VmjC&;FsTNSCJD-rW=&9m!UYxl3u-z5Y@nD?> zaw04e6dREDhRJ$bO^hH@ox!viWW<0?vm#7M!Rq6d3CzlFW|&tv&Ki%wBD{+Hj10&G zOO%QVq4a~yeTevr?~3Wjh0N|QLPd;|%9;<;LqLR;AYz5R^%%y@+c5;c zyBWFnrlAwip?^bdbjBZ~e>i>%@t55-A^?&0$wb!fIbXVZ4J+-8Hrg#qMZJct9$BGm z_H40m_6We)r7T`1q)X~53$c@o)yy>CbCPV0z-1c5i()|yBu3aB$Vl55vss1Jf!MNR zw(RM`aa(LmS*a67<^%rhT#C=AZw<2!#BtmS?9771$nX752onJ0W0S^0`7pCGDWm{1 z^)nvg$bK2^T~7tpgz6wpie#!4)o!And3KS1^nOX;BY6qbL~a@_2Ie{lH4#2WeL4me#H7^G9i{{ zdZcg7P4eItAmnwh^u4ljI)vRRur4WuBRAC;JnF#dV}2{9`eh{B#w!>qH87ntsAv8G zs4EJ}lB)80Cau_cayIIYeVETeNb!w)*adZb9Yy2tx3H}Pw@9I(eJpHmaH^3~*hzy= zLn1Yx7&e-K3pM3nv!NGXsqo05(dd2A^hMxlH=XNR;VlzfeO zjOJMFsl1|sDYa@2NpZ29o&w`#Cxw^ z4`q)I#Cc!S_Wq7$T2iGglD<3F4ADfmBnw0n;^iA3DGsb?;z(>(A50N;xCg(X?dGo+Gt>}Rm0nhwl!hvWw1zsm})eD07qSr2fW z26ipvH7(i)^?k=}?(Vg$Ua!@FgsH=(<+N&DYk#-p*1LNLor6Ywv1GL*#|?cTwsfA) z+W;W>!umpO=M;P>w^!6oPJ#Wt{R7+1a3dYT&1`U_&v8Yv3(edLzYRw2apmj}aJo)d zA#Ceec#PZgWKrY9mD<_)=yr!L6fcqOI-X(n>T)cA)YcXD=_pZTh;U9vN8ac30JgB zU_hJ^O29nYM4bCAWC}9Q?KY5=A;fKvXuY|(A^M6x<4xelzI^wcjyR(#J3ooFA7cTm z*SzqG!UWG&uMuSwOem6oyo&caC%P`pavd?$Ol=gFa}w+nj%B#|hKUNc2B&=VYSKi- zMUf=Ng@5upFS_a~n(Bzv&T$oL;T$renqllo5I8tmkuBKz8z=Cb&VbK741XJPqJNKf zb;M9g*3JbBR^KUXl^U^=NmOI>rm3bZgVhqaY*}~0w|^ma_|&R!W`!pP06tq)Dg3(PvZ)* z|NdM^Ye5|^px{&IlC|QD7Ss_}m_l8?R@7NO))5O+x42d`<=4boQkcw(>pBxysUb*0 zIhe|+*l1~b0Rzwy*__z3oTSSQAuT0*^w2yl5MWl^EhV%pvB9Ckk0Ge6q%R%S358#N znRPgqY=&4w#h^~v?l}vv>GRNnD^>+(oOiL#;7*}%Mc+Rb1CvM96LZPwoHP^FcO|U= zNPH_uJdonMA`89^$By^$3{gCiOkT_lS-~k+Sfi}m0)cKx0V|`+V+fAUOFp=Qv#-08 z0TtYWfrIX+6oEuAB_4Y4oLftpy4S}x_o|QP48|m?q|rI!$4a?L7Q)Kh3f2+B0t34B zNGE)fL0h;)Ka>R?(k3AmW@ap$_|B3GT~?pnqN8pbyk-H9odwEI>eCT}E8A=y)px6{ zy}f#?R{s{NAep^@g*aUF@R6if-e?jbJbZ{*WC0k+_-qevupK03gm}K-At2BZ>j?26 zl5gQ?c7zF^x9w-}Kejw)0u)lP;6dr4mNx9>xy@o6l;t%GbW3uYiw?WHIM>Slx@S+I zr7F86d%aV3Ln+x2vJ;k(7E!bdR>IB#HmYQ7DJH69?BlRd+e!yxDz&^q89cjzDDPF` zY;f4qm$}thau5XBrdZKV9@kLTj%UeQpu%EQSV<}@n5m%w293Lt<>F-tGuvaSI;O~4 zuPw>z}$vw1vY1B~J>pXNIh4teMEcX`q)QNuCseA52B zMfvSW=$sBchc`eK;XWMXE}3BCTcb+ufdqOB(SMG;0FgBCXA<)?-jHYE&rO_?LjXc- z@iF*ifnoFs_>$w zD)xWa{UG1ZdL?=v6Zdk8UMAlxc>(W+gYZNk-uEhUU-%n+CG5nzT62r>y@I*LwB1HL zg?rIj1#w}TP5dIDTqLr1LFjVvN-XN-f>-4W!k7A`Ad6)2g3wKe3e28tpW7%Cn0rvb zr6U)sVkPGdnzXrfOqAjpL2gA&Vhhz#1OjC&Jtr57s!<5O6xBk7rDPN;Y+@5e{Bs+i zv8hlU)#yT{WjhKLmK-WnxDaO$QlkJH3h>Ir~Nk}3#mk15!QXs3xaYY%|Enbx^a};G5937F*UF53iouaukVMUyX zQg5=&t(9c>OlWVh+I*vFZXL;X)K>c9TW)2TZ1`)YQ!kIst!A3LxHpztRgzng`nFq)cF!jtfy0P8H>9nmGg11QKT9peV=Ta(&Y=lmLgoBsFa%m zMNP~^i!+CCjWq>oDAp7xE9oy#RC1+2(E{8+D2?2v&*RRlsJ+1>5b(7wq5TrTGx3@& zl@>^`mW2v2ujm!C`HGbUdk+gT(KB_t!4J!3#w=lC0A1oTE^E(xY-k~B-dZ-cOqz9H z?G7N25Y1D&0~C}U<)_`De!@$;Lv3sW_tEZ9nR#e;s%J{@Nln&rC?kED-dPUneBUew zfF#1~nH8)&>z5U+Xns+Gkxl56<$y&_nmn=s)o`**`C~bC)SPW{juxrQeX*PxvX}0F z%X{pW%71oq+p*nemvRxA9)}SLoT*xO03A~ox?2Yip zryy%$-CX)CSa~yf0ZtQB5nb9NHiYZE$hJ4pX5A*gae{sbU%&bA1O5{371Lf5P^g<3 z;J4YUTeqqTnhuBIV_*PHl>@H|3-^#S zf+LCF_=hc-k76hf`jfz=5e#Q0K~5R2!fuXX2afmgctb?M#DXkl1Z})KI()xP26WVq zu8-@jE$$?9R0 z)qvhwg5KIJy(mWD92Z9*E4({8h#}YaW+7jQ{olnws~Tz81}?X`<5C>7tdNGBq#EUx z3GUa%mC{WVMO%s@EX77Jmb>u~w}o`3DucWrli+CDR3Dp0hkf<5ZF3@gFNT~B8uJo~Tz`14O869GSe3!fp4 zoNDwj`gD8o%};*%_iO8LZ*A@87k|8DKg55(R2RPxznmZG$5eZE=GFgIs(uZwX6qw^ z!nshsNG{^n=+Commands in `az datafactory integration-runtime` group @@ -83,9 +85,26 @@ |[az datafactory linked-service list](#LinkedServicesListByFactory)|ListByFactory|[Parameters](#ParametersLinkedServicesListByFactory)|[Example](#ExamplesLinkedServicesListByFactory)| |[az datafactory linked-service show](#LinkedServicesGet)|Get|[Parameters](#ParametersLinkedServicesGet)|[Example](#ExamplesLinkedServicesGet)| |[az datafactory linked-service create](#LinkedServicesCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersLinkedServicesCreateOrUpdate#Create)|[Example](#ExamplesLinkedServicesCreateOrUpdate#Create)| -|[az datafactory linked-service update](#LinkedServicesCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersLinkedServicesCreateOrUpdate#Update)|[Example](#ExamplesLinkedServicesCreateOrUpdate#Update)| +|[az datafactory linked-service update](#LinkedServicesCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersLinkedServicesCreateOrUpdate#Update)|Not Found| |[az datafactory linked-service delete](#LinkedServicesDelete)|Delete|[Parameters](#ParametersLinkedServicesDelete)|[Example](#ExamplesLinkedServicesDelete)| +### Commands in `az datafactory managed-private-endpoint` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az datafactory managed-private-endpoint list](#ManagedPrivateEndpointsListByFactory)|ListByFactory|[Parameters](#ParametersManagedPrivateEndpointsListByFactory)|[Example](#ExamplesManagedPrivateEndpointsListByFactory)| +|[az datafactory managed-private-endpoint show](#ManagedPrivateEndpointsGet)|Get|[Parameters](#ParametersManagedPrivateEndpointsGet)|[Example](#ExamplesManagedPrivateEndpointsGet)| +|[az datafactory managed-private-endpoint create](#ManagedPrivateEndpointsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersManagedPrivateEndpointsCreateOrUpdate#Create)|[Example](#ExamplesManagedPrivateEndpointsCreateOrUpdate#Create)| +|[az datafactory managed-private-endpoint update](#ManagedPrivateEndpointsCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersManagedPrivateEndpointsCreateOrUpdate#Update)|Not Found| +|[az datafactory managed-private-endpoint delete](#ManagedPrivateEndpointsDelete)|Delete|[Parameters](#ParametersManagedPrivateEndpointsDelete)|[Example](#ExamplesManagedPrivateEndpointsDelete)| + +### Commands in `az datafactory managed-virtual-network` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az datafactory managed-virtual-network list](#ManagedVirtualNetworksListByFactory)|ListByFactory|[Parameters](#ParametersManagedVirtualNetworksListByFactory)|[Example](#ExamplesManagedVirtualNetworksListByFactory)| +|[az datafactory managed-virtual-network show](#ManagedVirtualNetworksGet)|Get|[Parameters](#ParametersManagedVirtualNetworksGet)|[Example](#ExamplesManagedVirtualNetworksGet)| +|[az datafactory managed-virtual-network create](#ManagedVirtualNetworksCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersManagedVirtualNetworksCreateOrUpdate#Create)|[Example](#ExamplesManagedVirtualNetworksCreateOrUpdate#Create)| +|[az datafactory managed-virtual-network update](#ManagedVirtualNetworksCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersManagedVirtualNetworksCreateOrUpdate#Update)|Not Found| + ### Commands in `az datafactory pipeline` group |CLI Command|Operation Swagger name|Parameters|Examples| |---------|------------|--------|-----------| @@ -109,7 +128,7 @@ |[az datafactory trigger list](#TriggersListByFactory)|ListByFactory|[Parameters](#ParametersTriggersListByFactory)|[Example](#ExamplesTriggersListByFactory)| |[az datafactory trigger show](#TriggersGet)|Get|[Parameters](#ParametersTriggersGet)|[Example](#ExamplesTriggersGet)| |[az datafactory trigger create](#TriggersCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersTriggersCreateOrUpdate#Create)|[Example](#ExamplesTriggersCreateOrUpdate#Create)| -|[az datafactory trigger update](#TriggersCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersTriggersCreateOrUpdate#Update)|[Example](#ExamplesTriggersCreateOrUpdate#Update)| +|[az datafactory trigger update](#TriggersCreateOrUpdate#Update)|CreateOrUpdate#Update|[Parameters](#ParametersTriggersCreateOrUpdate#Update)|Not Found| |[az datafactory trigger delete](#TriggersDelete)|Delete|[Parameters](#ParametersTriggersDelete)|[Example](#ExamplesTriggersDelete)| |[az datafactory trigger get-event-subscription-status](#TriggersGetEventSubscriptionStatus)|GetEventSubscriptionStatus|[Parameters](#ParametersTriggersGetEventSubscriptionStatus)|[Example](#ExamplesTriggersGetEventSubscriptionStatus)| |[az datafactory trigger query-by-factory](#TriggersQueryByFactory)|QueryByFactory|[Parameters](#ParametersTriggersQueryByFactory)|[Example](#ExamplesTriggersQueryByFactory)| @@ -127,7 +146,6 @@ ## COMMAND DETAILS - ### group `az datafactory` #### Command `az datafactory list` @@ -149,6 +167,7 @@ az datafactory list ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| + #### Command `az datafactory show` ##### Example @@ -324,26 +343,20 @@ pression\\",\\"value\\":\\"@dataset().MyFolderPath\\"}}}" --name "exampleDataset |**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| |**--factory-name**|string|The factory name.|factory_name|factoryName| |**--dataset-name**|string|The dataset name.|dataset_name|datasetName| -|**--properties**|object|Dataset properties.|properties|properties| |**--if-match**|string|ETag of the dataset entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| +|**--properties**|object|Dataset properties.|properties|properties| #### Command `az datafactory dataset update` -##### Example -``` -az datafactory dataset update --description "Example description" --linked-service-name "{\\"type\\":\\"LinkedServiceRe\ -ference\\",\\"referenceName\\":\\"exampleLinkedService\\"}" --parameters "{\\"MyFileName\\":{\\"type\\":\\"String\\"},\ -\\"MyFolderPath\\":{\\"type\\":\\"String\\"}}" --name "exampleDataset" --factory-name "exampleFactoryName" \ ---resource-group "exampleResourceGroup" -``` + ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| |**--factory-name**|string|The factory name.|factory_name|factoryName| |**--dataset-name**|string|The dataset name.|dataset_name|datasetName| -|**--linked-service-name**|object|Linked service reference.|linked_service_name|linkedServiceName| |**--if-match**|string|ETag of the dataset entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| +|**--linked-service-name**|object|Linked service reference.|linked_service_name|linkedServiceName| |**--description**|string|Dataset description.|description|description| |**--structure**|any|Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.|structure|structure| |**--schema**|any|Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.|schema|schema| @@ -415,6 +428,7 @@ az datafactory integration-runtime linked-integration-runtime create --name "bfa #### Command `az datafactory integration-runtime managed create` + ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| @@ -720,16 +734,12 @@ ps;AccountName=examplestorageaccount;AccountKey=\\"}}}" --name "exa |**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| |**--factory-name**|string|The factory name.|factory_name|factoryName| |**--linked-service-name**|string|The linked service name.|linked_service_name|linkedServiceName| -|**--properties**|object|Properties of linked service.|properties|properties| |**--if-match**|string|ETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| +|**--properties**|object|Properties of linked service.|properties|properties| #### Command `az datafactory linked-service update` -##### Example -``` -az datafactory linked-service update --factory-name "exampleFactoryName" --description "Example description" --name \ -"exampleLinkedService" --resource-group "exampleResourceGroup" -``` + ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| @@ -756,6 +766,144 @@ az datafactory linked-service delete --factory-name "exampleFactoryName" --name |**--factory-name**|string|The factory name.|factory_name|factoryName| |**--linked-service-name**|string|The linked service name.|linked_service_name|linkedServiceName| +### group `az datafactory managed-private-endpoint` +#### Command `az datafactory managed-private-endpoint list` + +##### Example +``` +az datafactory managed-private-endpoint list --factory-name "exampleFactoryName" --managed-virtual-network-name \ +"exampleManagedVirtualNetworkName" --resource-group "exampleResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| +|**--managed-virtual-network-name**|string|Managed virtual network name|managed_virtual_network_name|managedVirtualNetworkName| + +#### Command `az datafactory managed-private-endpoint show` + +##### Example +``` +az datafactory managed-private-endpoint show --factory-name "exampleFactoryName" --name "exampleManagedPrivateEndpointN\ +ame" --managed-virtual-network-name "exampleManagedVirtualNetworkName" --resource-group "exampleResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| +|**--managed-virtual-network-name**|string|Managed virtual network name|managed_virtual_network_name|managedVirtualNetworkName| +|**--managed-private-endpoint-name**|string|Managed private endpoint name|managed_private_endpoint_name|managedPrivateEndpointName| +|**--if-none-match**|string|ETag of the managed private endpoint entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.|if_none_match|If-None-Match| + +#### Command `az datafactory managed-private-endpoint create` + +##### Example +``` +az datafactory managed-private-endpoint create --factory-name "exampleFactoryName" --group-id "blob" \ +--private-link-resource-id "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/prov\ +iders/Microsoft.Storage/storageAccounts/exampleBlobStorage" --name "exampleManagedPrivateEndpointName" \ +--managed-virtual-network-name "exampleManagedVirtualNetworkName" --resource-group "exampleResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| +|**--managed-virtual-network-name**|string|Managed virtual network name|managed_virtual_network_name|managedVirtualNetworkName| +|**--managed-private-endpoint-name**|string|Managed private endpoint name|managed_private_endpoint_name|managedPrivateEndpointName| +|**--if-match**|string|ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| +|**--fqdns**|array|Fully qualified domain names|fqdns|fqdns| +|**--group-id**|string|The groupId to which the managed private endpoint is created|group_id|groupId| +|**--private-link-resource-id**|string|The ARM resource ID of the resource to which the managed private endpoint is created|private_link_resource_id|privateLinkResourceId| + +#### Command `az datafactory managed-private-endpoint update` + + +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| +|**--managed-virtual-network-name**|string|Managed virtual network name|managed_virtual_network_name|managedVirtualNetworkName| +|**--managed-private-endpoint-name**|string|Managed private endpoint name|managed_private_endpoint_name|managedPrivateEndpointName| +|**--if-match**|string|ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| +|**--fqdns**|array|Fully qualified domain names|fqdns|fqdns| +|**--group-id**|string|The groupId to which the managed private endpoint is created|group_id|groupId| +|**--private-link-resource-id**|string|The ARM resource ID of the resource to which the managed private endpoint is created|private_link_resource_id|privateLinkResourceId| + +#### Command `az datafactory managed-private-endpoint delete` + +##### Example +``` +az datafactory managed-private-endpoint delete --factory-name "exampleFactoryName" --name \ +"exampleManagedPrivateEndpointName" --managed-virtual-network-name "exampleManagedVirtualNetworkName" --resource-group \ +"exampleResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| +|**--managed-virtual-network-name**|string|Managed virtual network name|managed_virtual_network_name|managedVirtualNetworkName| +|**--managed-private-endpoint-name**|string|Managed private endpoint name|managed_private_endpoint_name|managedPrivateEndpointName| + +### group `az datafactory managed-virtual-network` +#### Command `az datafactory managed-virtual-network list` + +##### Example +``` +az datafactory managed-virtual-network list --factory-name "exampleFactoryName" --resource-group \ +"exampleResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| + +#### Command `az datafactory managed-virtual-network show` + +##### Example +``` +az datafactory managed-virtual-network show --factory-name "exampleFactoryName" --name "exampleManagedVirtualNetworkNam\ +e" --resource-group "exampleResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| +|**--managed-virtual-network-name**|string|Managed virtual network name|managed_virtual_network_name|managedVirtualNetworkName| +|**--if-none-match**|string|ETag of the managed Virtual Network entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.|if_none_match|If-None-Match| + +#### Command `az datafactory managed-virtual-network create` + +##### Example +``` +az datafactory managed-virtual-network create --factory-name "exampleFactoryName" --name \ +"exampleManagedVirtualNetworkName" --resource-group "exampleResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| +|**--managed-virtual-network-name**|string|Managed virtual network name|managed_virtual_network_name|managedVirtualNetworkName| +|**--if-match**|string|ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| + +#### Command `az datafactory managed-virtual-network update` + + +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| +|**--factory-name**|string|The factory name.|factory_name|factoryName| +|**--managed-virtual-network-name**|string|Managed virtual network name|managed_virtual_network_name|managedVirtualNetworkName| +|**--if-match**|string|ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| + ### group `az datafactory pipeline` #### Command `az datafactory pipeline list` @@ -807,8 +955,8 @@ es\\":{\\"TestVariableArray\\":{\\"type\\":\\"Array\\"}},\\"runDimensions\\":{\\ |**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| |**--factory-name**|string|The factory name.|factory_name|factoryName| |**--pipeline-name**|string|The pipeline name.|pipeline_name|pipelineName| -|**--pipeline**|object|Pipeline resource definition.|pipeline|pipeline| |**--if-match**|string|ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| +|**--pipeline**|object|Pipeline resource definition.|pipeline|pipeline| #### Command `az datafactory pipeline update` @@ -968,16 +1116,12 @@ perties\\":{\\"recurrence\\":{\\"endTime\\":\\"2018-06-16T00:55:13.8441801Z\\",\ |**--resource-group-name**|string|The resource group name.|resource_group_name|resourceGroupName| |**--factory-name**|string|The factory name.|factory_name|factoryName| |**--trigger-name**|string|The trigger name.|trigger_name|triggerName| -|**--properties**|object|Properties of the trigger.|properties|properties| |**--if-match**|string|ETag of the trigger entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.|if_match|If-Match| +|**--properties**|object|Properties of the trigger.|properties|properties| #### Command `az datafactory trigger update` -##### Example -``` -az datafactory trigger update --factory-name "exampleFactoryName" --resource-group "exampleResourceGroup" \ ---description "Example description" --name "exampleTrigger" -``` + ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| From 2a9e8fd38f4d47810325f52bdf5bf0a00368bd78 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Wed, 18 Aug 2021 13:12:54 +0800 Subject: [PATCH 14/43] [Release] Update index.json for extension [ datafactory ] (#3786) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1053976 Last commit: https://github.com/Azure/azure-cli-extensions/commit/81dd55b46e58078b172200825be81c1acc44f52f --- src/index.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/index.json b/src/index.json index 0110b777656..37ba528c4bd 100644 --- a/src/index.json +++ b/src/index.json @@ -9971,6 +9971,48 @@ "version": "0.4.0" }, "sha256Digest": "95c6024d8fd35fca5280de274660abb3f249af868c6f5b75c3581df536ff4a13" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/datafactory-0.5.0-py3-none-any.whl", + "filename": "datafactory-0.5.0-py3-none-any.whl", + "metadata": { + "azext.minCliCoreVersion": "2.15.0", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/datafactory" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "datafactory", + "summary": "Microsoft Azure Command-Line Tools DataFactoryManagementClient Extension", + "version": "0.5.0" + }, + "sha256Digest": "5aade65b73ff133eb5442a8420818faf17ed398660c081bd92af87edbc9ab3e6" } ], "dataprotection": [ From bfe70b4df327cfb90830e4a6318b2935de9c6866 Mon Sep 17 00:00:00 2001 From: "Kerwin(Kaihui) Sun" Date: Wed, 18 Aug 2021 13:31:17 +0800 Subject: [PATCH 15/43] fix ipsec_polices is NoneType (#3785) --- src/virtual-wan/HISTORY.rst | 4 ++++ src/virtual-wan/azext_vwan/custom.py | 4 ++++ src/virtual-wan/setup.py | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/virtual-wan/HISTORY.rst b/src/virtual-wan/HISTORY.rst index dc523ede0da..e5fa21fd20a 100644 --- a/src/virtual-wan/HISTORY.rst +++ b/src/virtual-wan/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.2.8 +++++++ +* bugfix: `az network vpn-gateway connection ipsec-policy add ` ipsec_policies is NoneType. + 0.2.7 ++++++ * bugfix: `az network vhub get-effective-routes` always returns empty value list. diff --git a/src/virtual-wan/azext_vwan/custom.py b/src/virtual-wan/azext_vwan/custom.py index c9f0696640e..3967291cb05 100644 --- a/src/virtual-wan/azext_vwan/custom.py +++ b/src/virtual-wan/azext_vwan/custom.py @@ -588,6 +588,9 @@ def add_vpn_gateway_connection_ipsec_policy(cmd, resource_group_name, gateway_na client = network_client_factory(cmd.cli_ctx).vpn_gateways gateway = client.get(resource_group_name, gateway_name) conn = _find_item_at_path(gateway, 'connections.{}'.format(connection_name)) + + if conn.ipsec_policies is None: + conn.ipsec_policies = [] conn.ipsec_policies.append( IpsecPolicy( sa_life_time_seconds=sa_life_time_seconds, @@ -600,6 +603,7 @@ def add_vpn_gateway_connection_ipsec_policy(cmd, resource_group_name, gateway_na pfs_group=pfs_group ) ) + _upsert(gateway, 'connections', conn, 'name', warn=False) poller = sdk_no_wait(no_wait, client.create_or_update, resource_group_name, gateway_name, gateway) diff --git a/src/virtual-wan/setup.py b/src/virtual-wan/setup.py index d2e3cb05643..fcedafabb71 100644 --- a/src/virtual-wan/setup.py +++ b/src/virtual-wan/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.2.7" +VERSION = "0.2.8" CLASSIFIERS = [ 'Development Status :: 4 - Beta', From ade9ec9b90823170d620eb5c7598a7f1a8170745 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Wed, 18 Aug 2021 14:12:44 +0800 Subject: [PATCH 16/43] [Release] Update index.json for extension [ vm-repair ] (#3780) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1051623 Last commit: https://github.com/Azure/azure-cli-extensions/commit/2955a127fce9a033e9645f2de109df70f021694b --- src/index.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/src/index.json b/src/index.json index 37ba528c4bd..4f0b7713f00 100644 --- a/src/index.json +++ b/src/index.json @@ -22903,6 +22903,51 @@ "version": "0.3.6" }, "sha256Digest": "bd7d1259bb095ab238d8efca72c201570c5144816d7d4e98e73d1a82eb08a80a" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/vm_repair-0.3.7-py2.py3-none-any.whl", + "filename": "vm_repair-0.3.7-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": false, + "azext.minCliCoreVersion": "2.0.67", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "caiddev@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/vm-repair" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "vm-repair", + "summary": "Auto repair commands to fix VMs.", + "version": "0.3.7" + }, + "sha256Digest": "021ae4b3b776b41e98fc91c35bc54e0ea7bcdfd32be3cfd23261e450535326bd" } ], "vmware": [ From d8d870fa14316f1883e320729c209c23cbe86918 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Wed, 18 Aug 2021 14:13:12 +0800 Subject: [PATCH 17/43] [Release] Update index.json for extension [ aks-preview ] (#3773) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1044715 Last commit: https://github.com/Azure/azure-cli-extensions/commit/cc860fcc385634fb8d503240f41922832d082ba8 --- src/index.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/index.json b/src/index.json index 4f0b7713f00..6b8c59d7ea9 100644 --- a/src/index.json +++ b/src/index.json @@ -3347,6 +3347,49 @@ "version": "0.5.25" }, "sha256Digest": "67e35a0b44ffa2c73c98e0ef8604705302707a383b1ffe37a5a9368f2d2a24bb" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-0.5.26-py2.py3-none-any.whl", + "filename": "aks_preview-0.5.26-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.0.49", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/aks-preview" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "aks-preview", + "summary": "Provides a preview for upcoming AKS features", + "version": "0.5.26" + }, + "sha256Digest": "b0653d61f1b26184f2439bef551fb42055f9509ec4f4a3e805d20bce2f382cf8" } ], "alertsmanagement": [ From 8fe3624aa76cdc2081abdb78d8957fd4f28bf0fc Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Wed, 18 Aug 2021 14:47:28 +0800 Subject: [PATCH 18/43] [Release] Update index.json for extension [ virtual-wan ] (#3787) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1054040 Last commit: https://github.com/Azure/azure-cli-extensions/commit/bfe70b4df327cfb90830e4a6318b2935de9c6866 --- src/index.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/src/index.json b/src/index.json index 6b8c59d7ea9..2be0274852e 100644 --- a/src/index.json +++ b/src/index.json @@ -22588,6 +22588,51 @@ "version": "0.2.7" }, "sha256Digest": "9358296298aa06595055b6d82ce3a4443b3a63dc4236f675e056769c5c633bc9" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/virtual_wan-0.2.8-py2.py3-none-any.whl", + "filename": "virtual_wan-0.2.8-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.0.67", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/virtual-wan" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "virtual-wan", + "summary": "Manage virtual WAN, hubs, VPN gateways and VPN sites.", + "version": "0.2.8" + }, + "sha256Digest": "14568d2b5de27623558f6d4d26ce68a3b4af0a429cc82cbb06021942f7239a36" } ], "vm-repair": [ From c496315dfd4732adb43baae9c6cc83d5c0dc2609 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 18 Aug 2021 01:51:13 -0600 Subject: [PATCH 19/43] publish vmware 3.1.0 (#3772) --- src/vmware/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmware/setup.py b/src/vmware/setup.py index 86253aa8a6d..dfa30259f1a 100644 --- a/src/vmware/setup.py +++ b/src/vmware/setup.py @@ -8,7 +8,7 @@ from io import open from setuptools import setup, find_packages -VERSION = "3.0.0" +VERSION = "3.1.0" with open('README.md', encoding='utf-8') as f: readme = f.read() From 1fbebf8b90c537dad3015f511f32e0a22938e661 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Wed, 18 Aug 2021 16:11:06 +0800 Subject: [PATCH 20/43] [Release] Update index.json for extension [ vmware ] (#3789) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1054220 Last commit: https://github.com/Azure/azure-cli-extensions/commit/c496315dfd4732adb43baae9c6cc83d5c0dc2609 --- src/index.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/index.json b/src/index.json index 2be0274852e..c62068e6d5e 100644 --- a/src/index.json +++ b/src/index.json @@ -23168,6 +23168,39 @@ "version": "3.0.0" }, "sha256Digest": "d68bcb114a2b46860eecf0debeb0d9c5db46c069399ef9e3f5292220a3cd37c2" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/vmware-3.1.0-py2.py3-none-any.whl", + "filename": "vmware-3.1.0-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": false, + "azext.minCliCoreVersion": "2.11.0", + "description_content_type": "text/markdown", + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/az-vmware-cli" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "vmware", + "summary": "Azure VMware Solution commands.", + "version": "3.1.0" + }, + "sha256Digest": "7b1ff134e840caa3b30a636fceb0e6a8022565e8a439245b8e1a111534e196f8" } ], "webapp": [ From 2ceb992c1243232c219ddb85701efe4972b7392f Mon Sep 17 00:00:00 2001 From: Li Ma Date: Thu, 19 Aug 2021 17:03:49 +0800 Subject: [PATCH 21/43] AKS: GA private cluster public fqdn feature (#3788) * GA private cluster public fqdn feature * trigger pipeline * add breaking change parameter in release history Co-authored-by: Li Ma --- src/aks-preview/HISTORY.md | 4 + src/aks-preview/azext_aks_preview/_help.py | 10 +- src/aks-preview/azext_aks_preview/_params.py | 8 +- src/aks-preview/azext_aks_preview/custom.py | 10 +- ...ks_create_private_cluster_public_fqdn.yaml | 995 ++++++++---------- .../tests/latest/test_aks_commands.py | 6 +- src/aks-preview/setup.py | 2 +- 7 files changed, 455 insertions(+), 580 deletions(-) diff --git a/src/aks-preview/HISTORY.md b/src/aks-preview/HISTORY.md index 8021e23beb5..989830d3250 100644 --- a/src/aks-preview/HISTORY.md +++ b/src/aks-preview/HISTORY.md @@ -3,6 +3,10 @@ Release History =============== +0.5.27 ++++++ +* GA private cluster public FQDN feature, breaking change to replace create parameter `--enable-public-fqdn` with `--disable-public-fqdn` since now it's enabled by default for private cluster during cluster creation. + 0.5.26 +++++ * Correct containerLogMaxSizeMb to containerLogMaxSizeMB in customized kubelet config diff --git a/src/aks-preview/azext_aks_preview/_help.py b/src/aks-preview/azext_aks_preview/_help.py index e9116cc8896..268e67a4318 100644 --- a/src/aks-preview/azext_aks_preview/_help.py +++ b/src/aks-preview/azext_aks_preview/_help.py @@ -263,9 +263,9 @@ - name: --fqdn-subdomain type: string short-summary: Prefix for FQDN that is created for private cluster with custom private dns zone scenario. - - name: --enable-public-fqdn + - name: --disable-public-fqdn type: bool - short-summary: (Preview) Enable public fqdn feature for private cluster. + short-summary: Disable public fqdn feature for private cluster. - name: --enable-node-public-ip type: bool short-summary: Enable VMSS node public IP. @@ -559,10 +559,10 @@ short-summary: (Preview) If set to true, will enable getting static credential for this cluster. - name: --enable-public-fqdn type: bool - short-summary: (Preview) Enable public fqdn feature for private cluster. + short-summary: Enable public fqdn feature for private cluster. - name: --disable-public-fqdn type: bool - short-summary: (Preview) Disable public fqdn feature for private cluster. + short-summary: Disable public fqdn feature for private cluster. examples: - name: Enable cluster-autoscaler within node count range [1,5] text: az aks update --enable-cluster-autoscaler --min-count 1 --max-count 5 -g MyResourceGroup -n MyManagedCluster @@ -1106,7 +1106,7 @@ long-summary: Credentials are always in YAML format, so this argument is effectively ignored. - name: --public-fqdn type: bool - short-summary: (Preview) Get private cluster credential with server address to be public fqdn. + short-summary: Get private cluster credential with server address to be public fqdn. examples: - name: Get access credentials for a managed Kubernetes cluster. (autogenerated) text: az aks get-credentials --name MyManagedCluster --resource-group MyResourceGroup diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 38fd102debf..78c6591fafb 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -114,7 +114,7 @@ def load_arguments(self, _): c.argument('enable_private_cluster', action='store_true') c.argument('private_dns_zone') c.argument('fqdn_subdomain') - c.argument('enable_public_fqdn', action='store_true', is_preview=True) + c.argument('disable_public_fqdn', action='store_true') c.argument('enable_managed_identity', action='store_true') c.argument('assign_identity', type=str, validator=validate_assign_identity) c.argument('enable_sgxquotehelper', action='store_true') @@ -154,8 +154,8 @@ def load_arguments(self, _): c.argument('api_server_authorized_ip_ranges', type=str, validator=validate_ip_ranges) c.argument('enable_pod_security_policy', action='store_true') c.argument('disable_pod_security_policy', action='store_true') - c.argument('enable_public_fqdn', action='store_true', is_preview=True) - c.argument('disable_public_fqdn', action='store_true', is_preview=True) + c.argument('enable_public_fqdn', action='store_true') + c.argument('disable_public_fqdn', action='store_true') c.argument('attach_acr', acr_arg_type, validator=validate_acr) c.argument('detach_acr', acr_arg_type, validator=validate_acr) c.argument('aks_custom_headers') @@ -267,7 +267,7 @@ def load_arguments(self, _): c.argument('user', options_list=['--user', '-u'], default='clusterUser', validator=validate_user) c.argument('path', options_list=['--file', '-f'], type=file_type, completer=FilesCompleter(), default=os.path.join(os.path.expanduser('~'), '.kube', 'config')) - c.argument('public_fqdn', default=False, action='store_true', is_preview=True) + c.argument('public_fqdn', default=False, action='store_true') with self.argument_context('aks pod-identity') as c: c.argument('cluster_name', type=str, help='The cluster name.') diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index de70736ec84..07d47b70675 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -1012,7 +1012,7 @@ def aks_create(cmd, # pylint: disable=too-many-locals,too-many-statements,to private_dns_zone=None, enable_managed_identity=True, fqdn_subdomain=None, - enable_public_fqdn=False, + disable_public_fqdn=False, api_server_authorized_ip_ranges=None, aks_custom_headers=None, appgw_name=None, @@ -1411,8 +1411,8 @@ def aks_create(cmd, # pylint: disable=too-many-locals,too-many-statements,to mc.node_resource_group = node_resource_group use_custom_private_dns_zone = False - if not enable_private_cluster and enable_public_fqdn: - raise ArgumentUsageError("--enable-public-fqdn should only be used with --enable-private-cluster") + if not enable_private_cluster and disable_public_fqdn: + raise ArgumentUsageError("--disable_public_fqdn should only be used with --enable-private-cluster") if enable_private_cluster: if load_balancer_sku.lower() != "standard": raise ArgumentUsageError( @@ -1420,8 +1420,8 @@ def aks_create(cmd, # pylint: disable=too-many-locals,too-many-statements,to mc.api_server_access_profile = ManagedClusterAPIServerAccessProfile( enable_private_cluster=True ) - if enable_public_fqdn: - mc.api_server_access_profile.enable_private_cluster_public_fqdn = True + if disable_public_fqdn: + mc.api_server_access_profile.enable_private_cluster_public_fqdn = False if private_dns_zone: if not enable_private_cluster: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml index 3057257b6f4..2eca511cfef 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml @@ -11,15 +11,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - python/3.8.9 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 (DOCKER) + accept-language: + - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:01:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-18T06:41:50Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:01:24 GMT + - Wed, 18 Aug 2021 06:41:58 GMT expires: - '-1' pragma: @@ -43,22 +45,21 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestm6375nb7i-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": - false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": + body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": + "", "dnsPrefix": "cliakstest-clitestfvnycy3ym-8ecadf", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "apiServerAccessProfile": {"enablePrivateCluster": true, "enablePrivateClusterPublicFQDN": - true}, "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + "apiServerAccessProfile": {"enablePrivateCluster": true}, "disableLocalAccounts": + false}, "location": "westus2"}' headers: - AKSHTTPCustomFeatures: - - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - application/json Accept-Encoding: @@ -68,70 +69,69 @@ interactions: Connection: - keep-alive Content-Length: - - '1426' + - '1743' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestm6375nb7i-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestm6375nb7i-8ecadf-9596d2b3.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"7ff964ceefa0f95e06bf0dc0a0326bf9-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestm6375nb7i-8ecadf-3d93f2a4.4905f439-b4d7-44bb-bed3-4000fe61d01a.privatelink.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n - \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": - \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": - \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": - \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"privateLinkResources\": - [\n {\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": - true\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n - \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ + : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"fqdn\": \"cliakstest-clitestfvnycy3ym-8ecadf-1354234d.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n\ + \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ + : \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ + : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ + nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ + maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"name\"\ + : \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ + ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ + management\"\n ]\n }\n ],\n \"apiServerAccessProfile\": {\n \ + \ \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \ + \ \"enablePrivateClusterPublicFQDN\": true\n },\n \"disableLocalAccounts\"\ + : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ + principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ + \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3228' + - '3561' content-type: - application/json date: - - Wed, 23 Jun 2021 08:01:40 GMT + - Wed, 18 Aug 2021 06:42:10 GMT expires: - '-1' pragma: @@ -151,107 +151,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:02:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:02:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -259,27 +159,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:13 GMT + - Wed, 18 Aug 2021 06:42:40 GMT expires: - '-1' pragma: @@ -301,7 +199,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -309,27 +207,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:45 GMT + - Wed, 18 Aug 2021 06:43:10 GMT expires: - '-1' pragma: @@ -351,7 +247,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -359,27 +255,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:16 GMT + - Wed, 18 Aug 2021 06:43:41 GMT expires: - '-1' pragma: @@ -401,7 +295,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -409,27 +303,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:48 GMT + - Wed, 18 Aug 2021 06:44:11 GMT expires: - '-1' pragma: @@ -451,7 +343,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -459,27 +351,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:18 GMT + - Wed, 18 Aug 2021 06:44:41 GMT expires: - '-1' pragma: @@ -501,7 +391,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -509,27 +399,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:50 GMT + - Wed, 18 Aug 2021 06:45:11 GMT expires: - '-1' pragma: @@ -551,7 +439,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -559,27 +447,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:21 GMT + - Wed, 18 Aug 2021 06:45:42 GMT expires: - '-1' pragma: @@ -601,7 +487,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -609,27 +495,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:52 GMT + - Wed, 18 Aug 2021 06:46:13 GMT expires: - '-1' pragma: @@ -651,7 +535,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -659,27 +543,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:24 GMT + - Wed, 18 Aug 2021 06:46:43 GMT expires: - '-1' pragma: @@ -701,7 +583,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -709,27 +591,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:55 GMT + - Wed, 18 Aug 2021 06:47:13 GMT expires: - '-1' pragma: @@ -751,7 +631,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -759,27 +639,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:26 GMT + - Wed, 18 Aug 2021 06:47:43 GMT expires: - '-1' pragma: @@ -801,7 +679,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -809,27 +687,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:57 GMT + - Wed, 18 Aug 2021 06:48:14 GMT expires: - '-1' pragma: @@ -851,7 +727,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -859,28 +735,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc043c7e-ac2c-4523-9358-b73a0c842c5e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7e3c04bc-2cac-2345-9358-b73a0c842c5e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:01:39.2966666Z\",\n \"endTime\": - \"2021-06-23T08:09:03.947086Z\"\n }" + string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\",\n \"endTime\"\ + : \"2021-08-18T06:48:26.0731664Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '165' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:29 GMT + - Wed, 18 Aug 2021 06:48:45 GMT expires: - '-1' pragma: @@ -902,7 +776,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -910,67 +784,69 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --enable-public-fqdn - --enable-private-cluster --aks-custom-headers + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestm6375nb7i-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestm6375nb7i-8ecadf-9596d2b3.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"7ff964ceefa0f95e06bf0dc0a0326bf9-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestm6375nb7i-8ecadf-3d93f2a4.4905f439-b4d7-44bb-bed3-4000fe61d01a.privatelink.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n - \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f480dc5d-27a9-4dae-a184-c38f7a6cf645\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"privateLinkResources\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\",\n - \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": - true\n },\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n - \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ + : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"fqdn\": \"cliakstest-clitestfvnycy3ym-8ecadf-1354234d.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\"\ + ,\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"\ + mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ + : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ + nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ + maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\"\ + ,\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ + ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ + management\"\n ]\n }\n ],\n \"apiServerAccessProfile\": {\n \ + \ \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \ + \ \"enablePrivateClusterPublicFQDN\": true\n },\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ + principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ + \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4092' + - '4425' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:31 GMT + - Wed, 18 Aug 2021 06:48:46 GMT expires: - '-1' pragma: @@ -1000,68 +876,69 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn --aks-custom-headers + - --resource-group --name --disable-public-fqdn User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestm6375nb7i-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestm6375nb7i-8ecadf-9596d2b3.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"7ff964ceefa0f95e06bf0dc0a0326bf9-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestm6375nb7i-8ecadf-3d93f2a4.4905f439-b4d7-44bb-bed3-4000fe61d01a.privatelink.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n - \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f480dc5d-27a9-4dae-a184-c38f7a6cf645\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"privateLinkResources\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\",\n - \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": - true\n },\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n - \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ + : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"fqdn\": \"cliakstest-clitestfvnycy3ym-8ecadf-1354234d.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\"\ + ,\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"\ + mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ + : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ + nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ + maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\"\ + ,\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ + ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ + management\"\n ]\n }\n ],\n \"apiServerAccessProfile\": {\n \ + \ \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \ + \ \"enablePrivateClusterPublicFQDN\": true\n },\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ + principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ + \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4092' + - '4425' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:33 GMT + - Wed, 18 Aug 2021 06:48:50 GMT expires: - '-1' pragma: @@ -1080,22 +957,22 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestm6375nb7i-8ecadf", "agentPoolProfiles": [{"count": - 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": + body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": + "1.20.7", "dnsPrefix": "cliakstest-clitestfvnycy3ym-8ecadf", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": + "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": + "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f480dc5d-27a9-4dae-a184-c38f7a6cf645"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257"}]}}, "autoUpgradeProfile": {}, "apiServerAccessProfile": {"enablePrivateCluster": true, "privateDNSZone": "system", "enablePrivateClusterPublicFQDN": false}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", @@ -1103,11 +980,8 @@ interactions: "privateLinkResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management", "name": "management", "type": "Microsoft.ContainerService/managedClusters/privateLinkResources", "groupId": "management", "requiredMembers": ["management"]}], "disableLocalAccounts": - false}, "identity": {"type": "SystemAssigned"}, "sku": {"name": "Basic", "tier": - "Free"}}' + false}, "location": "westus2", "sku": {"name": "Basic", "tier": "Free"}}' headers: - AKSHTTPCustomFeatures: - - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - application/json Accept-Encoding: @@ -1117,74 +991,74 @@ interactions: Connection: - keep-alive Content-Length: - - '2755' + - '3088' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --disable-public-fqdn --aks-custom-headers + - --resource-group --name --disable-public-fqdn User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestm6375nb7i-8ecadf\",\n - \ \"azurePortalFQDN\": \"7ff964ceefa0f95e06bf0dc0a0326bf9-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestm6375nb7i-8ecadf-3d93f2a4.4905f439-b4d7-44bb-bed3-4000fe61d01a.privatelink.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n - \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f480dc5d-27a9-4dae-a184-c38f7a6cf645\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"privateLinkResources\": [\n {\n \"name\": \"management\",\n - \ \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ],\n \"privateLinkServiceID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hcp-underlay-westus2-cx-82/providers/Microsoft.Network/privateLinkServices/aa37440e9a05a417daffb694dad640f9\"\n - \ }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": - false\n },\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n - \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ + : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n\ + \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ + : \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ + : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ + nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ + maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"name\"\ + : \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ + ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ + management\"\n ],\n \"privateLinkServiceID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hcp-underlay-westus2-cx-154/providers/Microsoft.Network/privateLinkServices/aec92f55798b74208a57591b969239e8\"\ + \n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\"\ + : true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\"\ + : false\n },\n \"identityProfile\": {\n \"kubeletidentity\": {\n \ + \ \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ + principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ + \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9755368f-2b18-433c-af42-6cd31e47cd66?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 cache-control: - no-cache content-length: - - '4017' + - '4351' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:40 GMT + - Wed, 18 Aug 2021 06:48:56 GMT expires: - '-1' pragma: @@ -1208,7 +1082,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1216,17 +1090,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn --aks-custom-headers + - --resource-group --name --disable-public-fqdn User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9755368f-2b18-433c-af42-6cd31e47cd66?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8f365597-182b-3c43-af42-6cd31e47cd66\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:38.22Z\"\n }" + string: "{\n \"name\": \"dd96880f-1e40-c74a-9ef2-b0cb9fb4864d\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:48:54.59Z\"\n }" headers: cache-control: - no-cache @@ -1235,7 +1108,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:10 GMT + - Wed, 18 Aug 2021 06:49:26 GMT expires: - '-1' pragma: @@ -1257,7 +1130,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1265,17 +1138,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn --aks-custom-headers + - --resource-group --name --disable-public-fqdn User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9755368f-2b18-433c-af42-6cd31e47cd66?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8f365597-182b-3c43-af42-6cd31e47cd66\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:38.22Z\"\n }" + string: "{\n \"name\": \"dd96880f-1e40-c74a-9ef2-b0cb9fb4864d\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:48:54.59Z\"\n }" headers: cache-control: - no-cache @@ -1284,7 +1156,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:42 GMT + - Wed, 18 Aug 2021 06:49:56 GMT expires: - '-1' pragma: @@ -1306,7 +1178,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1314,17 +1186,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn --aks-custom-headers + - --resource-group --name --disable-public-fqdn User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9755368f-2b18-433c-af42-6cd31e47cd66?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8f365597-182b-3c43-af42-6cd31e47cd66\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:38.22Z\"\n }" + string: "{\n \"name\": \"dd96880f-1e40-c74a-9ef2-b0cb9fb4864d\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-08-18T06:48:54.59Z\"\n }" headers: cache-control: - no-cache @@ -1333,7 +1204,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:14 GMT + - Wed, 18 Aug 2021 06:50:27 GMT expires: - '-1' pragma: @@ -1355,7 +1226,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1363,18 +1234,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn --aks-custom-headers + - --resource-group --name --disable-public-fqdn User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9755368f-2b18-433c-af42-6cd31e47cd66?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8f365597-182b-3c43-af42-6cd31e47cd66\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:09:38.22Z\",\n \"endTime\": - \"2021-06-23T08:11:27.9321529Z\"\n }" + string: "{\n \"name\": \"dd96880f-1e40-c74a-9ef2-b0cb9fb4864d\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2021-08-18T06:48:54.59Z\",\n \"endTime\"\ + : \"2021-08-18T06:50:39.0348243Z\"\n }" headers: cache-control: - no-cache @@ -1383,7 +1253,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:45 GMT + - Wed, 18 Aug 2021 06:50:58 GMT expires: - '-1' pragma: @@ -1405,7 +1275,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1413,65 +1283,68 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn --aks-custom-headers + - --resource-group --name --disable-public-fqdn User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 + (Linux-4.9.125-linuxkit-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestm6375nb7i-8ecadf\",\n - \ \"azurePortalFQDN\": \"7ff964ceefa0f95e06bf0dc0a0326bf9-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestm6375nb7i-8ecadf-3d93f2a4.4905f439-b4d7-44bb-bed3-4000fe61d01a.privatelink.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n - \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f480dc5d-27a9-4dae-a184-c38f7a6cf645\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"privateLinkResources\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\",\n - \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": - false\n },\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n - \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ + : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\"\ + ,\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"\ + mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ + : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ + nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ + maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\"\ + ,\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ + ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ + management\"\n ]\n }\n ],\n \"apiServerAccessProfile\": {\n \ + \ \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \ + \ \"enablePrivateClusterPublicFQDN\": false\n },\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ + principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ + \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4013' + - '4346' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:47 GMT + - Wed, 18 Aug 2021 06:50:58 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index e0dcfc37174..0ec30998412 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -1610,8 +1610,7 @@ def test_aks_create_private_cluster_public_fqdn(self, resource_group, resource_g # create create_cmd = 'aks create --resource-group={resource_group} --name={name} ' \ - '--node-count=1 --enable-public-fqdn ' \ - '--enable-private-cluster --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/EnablePrivateClusterPublicFQDN ' \ + '--enable-private-cluster --node-count=1 ' \ '--ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.exists('privateFqdn'), @@ -1621,8 +1620,7 @@ def test_aks_create_private_cluster_public_fqdn(self, resource_group, resource_g ]) # update - update_cmd = 'aks update --resource-group={resource_group} --name={name} ' \ - '--disable-public-fqdn --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/EnablePrivateClusterPublicFQDN' + update_cmd = 'aks update --resource-group={resource_group} --name={name} --disable-public-fqdn' self.cmd(update_cmd, checks=[ self.exists('privateFqdn'), self.check('fqdn', None), diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index 4beebd08905..691d7550286 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open as open1 from setuptools import setup, find_packages -VERSION = "0.5.26" +VERSION = "0.5.27" CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', From 4f7f056967ae4ace54aaf2bd581f367fe8dce5e4 Mon Sep 17 00:00:00 2001 From: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Date: Thu, 19 Aug 2021 17:41:30 +0800 Subject: [PATCH 22/43] update recordings upload location (#3798) --- .../azcli_aks_live_test/vsts-azcli-aks-live-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aks-preview/azcli_aks_live_test/vsts-azcli-aks-live-test.yaml b/src/aks-preview/azcli_aks_live_test/vsts-azcli-aks-live-test.yaml index e5655019242..87c79e3b22e 100644 --- a/src/aks-preview/azcli_aks_live_test/vsts-azcli-aks-live-test.yaml +++ b/src/aks-preview/azcli_aks_live_test/vsts-azcli-aks-live-test.yaml @@ -77,14 +77,14 @@ jobs: displayName: "Create Dir for Recordings" - task: CopyFiles@2 inputs: - contents: '$(ACS_BASE_DIR)/tests/latest/recordings/**' + contents: '$(ACS_BASE_DIR)/tests/latest/recordings/updated/**' flattenFolders: true targetFolder: $(Build.ArtifactStagingDirectory)/cli-recordings condition: and(succeededOrFailed(), in(variables['COVERAGE'], 'cli', 'all')) displayName: "Copy CLI Recordings" - task: CopyFiles@2 inputs: - contents: '$(AKS_PREVIEW_BASE_DIR)/tests/latest/recordings/**' + contents: '$(AKS_PREVIEW_BASE_DIR)/tests/latest/recordings/updated/**' flattenFolders: true targetFolder: $(Build.ArtifactStagingDirectory)/ext-recordings condition: and(succeededOrFailed(), in(variables['COVERAGE'], 'ext', 'all')) From cabf2f05e8f06f2c06b9edb65302fec3a9c761e1 Mon Sep 17 00:00:00 2001 From: Yishi Wang Date: Fri, 20 Aug 2021 16:44:02 +0800 Subject: [PATCH 23/43] [Storage-blob-preview] `az storage account blob-service-properties`: deleted since has been moved to main repo (#3796) * sync with main repo * record tests * release history * linter * upgrade cli core version to 2.27.0 with last access tracking support --- src/storage-blob-preview/HISTORY.rst | 4 + .../azext_storage_blob_preview/__init__.py | 3 +- .../_client_factory.py | 18 +- .../azext_storage_blob_preview/_params.py | 67 +- .../azext_metadata.json | 2 +- .../azext_storage_blob_preview/commands.py | 25 +- .../operations/account.py | 68 - .../azext_storage_blob_preview/profiles.py | 2 - ...ge_account_default_service_properties.yaml | 193 - ...st_storage_account_update_change_feed.yaml | 398 -- ...ate_container_delete_retention_policy.yaml | 398 -- ...ccount_update_delete_retention_policy.yaml | 398 -- ...st_storage_account_update_last_access.yaml | 391 -- ...est_storage_account_update_versioning.yaml | 345 - .../test_storage_blob_versioning.yaml | 291 +- ...test_storage_container_list_scenarios.yaml | 186 +- ...t_storage_container_soft_delete_oauth.yaml | 144 +- ...orage_container_soft_delete_scenarios.yaml | 144 +- .../latest/test_storage_account_scenarios.py | 195 - .../azure_mgmt_storage/__init__.py | 16 - .../azure_mgmt_storage/_configuration.py | 66 - .../_storage_management_client.py | 655 -- .../azure_mgmt_storage/_version.py | 8 - .../azure_mgmt_storage/models.py | 8 - .../v2021_01_01/__init__.py | 16 - .../v2021_01_01/_configuration.py | 70 - .../v2021_01_01/_storage_management_client.py | 159 - .../v2021_01_01/aio/__init__.py | 10 - .../v2021_01_01/aio/_configuration.py | 66 - .../aio/_storage_management_client.py | 153 - .../v2021_01_01/aio/operations/__init__.py | 49 - .../operations/_blob_containers_operations.py | 1082 ---- .../_blob_inventory_policies_operations.py | 326 - .../operations/_blob_services_operations.py | 256 - .../_deleted_accounts_operations.py | 168 - .../_encryption_scopes_operations.py | 349 - .../operations/_file_services_operations.py | 239 - .../aio/operations/_file_shares_operations.py | 521 -- .../_management_policies_operations.py | 242 - ..._object_replication_policies_operations.py | 327 - .../v2021_01_01/aio/operations/_operations.py | 104 - ...private_endpoint_connections_operations.py | 325 - .../_private_link_resources_operations.py | 102 - .../aio/operations/_queue_operations.py | 416 -- .../operations/_queue_services_operations.py | 239 - .../aio/operations/_skus_operations.py | 108 - .../_storage_accounts_operations.py | 1150 ---- .../aio/operations/_table_operations.py | 384 -- .../operations/_table_services_operations.py | 239 - .../aio/operations/_usages_operations.py | 113 - .../v2021_01_01/models/__init__.py | 506 -- .../v2021_01_01/models/_models.py | 5295 --------------- .../v2021_01_01/models/_models_py3.py | 5696 ----------------- .../_storage_management_client_enums.py | 461 -- .../v2021_01_01/operations/__init__.py | 49 - .../operations/_blob_containers_operations.py | 1099 ---- .../_blob_inventory_policies_operations.py | 334 - .../operations/_blob_services_operations.py | 263 - .../_deleted_accounts_operations.py | 174 - .../_encryption_scopes_operations.py | 357 -- .../operations/_file_services_operations.py | 246 - .../operations/_file_shares_operations.py | 531 -- .../_management_policies_operations.py | 249 - ..._object_replication_policies_operations.py | 335 - .../v2021_01_01/operations/_operations.py | 109 - ...private_endpoint_connections_operations.py | 333 - .../_private_link_resources_operations.py | 107 - .../operations/_queue_operations.py | 425 -- .../operations/_queue_services_operations.py | 246 - .../operations/_skus_operations.py | 113 - .../_storage_accounts_operations.py | 1171 ---- .../operations/_table_operations.py | 393 -- .../operations/_table_services_operations.py | 246 - .../operations/_usages_operations.py | 118 - 74 files changed, 338 insertions(+), 29756 deletions(-) delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/operations/account.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_default_service_properties.yaml delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_change_feed.yaml delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_container_delete_retention_policy.yaml delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_delete_retention_policy.yaml delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_last_access.yaml delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_versioning.yaml delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/tests/latest/test_storage_account_scenarios.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/__init__.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_configuration.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_storage_management_client.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_version.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/models.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/__init__.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/_configuration.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/_storage_management_client.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/__init__.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/_configuration.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/_storage_management_client.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/__init__.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_containers_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_services_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_file_services_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_file_shares_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_management_policies_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_private_link_resources_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_queue_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_queue_services_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_skus_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_storage_accounts_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_table_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_table_services_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_usages_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/__init__.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_models.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_models_py3.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_storage_management_client_enums.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/__init__.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_containers_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_inventory_policies_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_services_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_deleted_accounts_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_encryption_scopes_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_file_services_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_file_shares_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_management_policies_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_object_replication_policies_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_private_endpoint_connections_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_private_link_resources_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_queue_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_queue_services_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_skus_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_storage_accounts_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_table_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_table_services_operations.py delete mode 100644 src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_usages_operations.py diff --git a/src/storage-blob-preview/HISTORY.rst b/src/storage-blob-preview/HISTORY.rst index 4ffd62be51c..29899b4c595 100644 --- a/src/storage-blob-preview/HISTORY.rst +++ b/src/storage-blob-preview/HISTORY.rst @@ -2,6 +2,10 @@ Release History =============== +0.6.0 +++++++ +* Remove `az storage account blob-service-properties` since all the preview arguments are supported in main azure cli + 0.5.2 ++++++ * Apply v2020-06-12 api version for blob operations diff --git a/src/storage-blob-preview/azext_storage_blob_preview/__init__.py b/src/storage-blob-preview/azext_storage_blob_preview/__init__.py index 1bb9035243a..4bb504673bc 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/__init__.py +++ b/src/storage-blob-preview/azext_storage_blob_preview/__init__.py @@ -6,7 +6,7 @@ from azure.cli.core import AzCommandsLoader from azure.cli.core.profiles import register_resource_type from azure.cli.core.commands import AzCommandGroup, AzArgumentContext -from .profiles import CUSTOM_DATA_STORAGE_BLOB, CUSTOM_MGMT_STORAGE +from .profiles import CUSTOM_DATA_STORAGE_BLOB from ._help import helps # pylint: disable=unused-import @@ -15,7 +15,6 @@ class StorageCommandsLoader(AzCommandsLoader): def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType register_resource_type('latest', CUSTOM_DATA_STORAGE_BLOB, '2020-06-12') - register_resource_type('latest', CUSTOM_MGMT_STORAGE, '2021-01-01') storage_custom = CliCommandType(operations_tmpl='azure.cli.command_modules.storage.custom#{}') super(StorageCommandsLoader, self).__init__(cli_ctx=cli_ctx, resource_type=CUSTOM_DATA_STORAGE_BLOB, diff --git a/src/storage-blob-preview/azext_storage_blob_preview/_client_factory.py b/src/storage-blob-preview/azext_storage_blob_preview/_client_factory.py index 1a8343da833..88c2a1ba2b0 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/_client_factory.py +++ b/src/storage-blob-preview/azext_storage_blob_preview/_client_factory.py @@ -5,7 +5,7 @@ from azure.cli.core.commands.client_factory import get_mgmt_service_client, prepare_client_kwargs_track2 from azure.cli.core.profiles import ResourceType, get_sdk -from .profiles import CUSTOM_DATA_STORAGE_BLOB, CUSTOM_MGMT_STORAGE +from .profiles import CUSTOM_DATA_STORAGE_BLOB MISSING_CREDENTIALS_ERROR_MESSAGE = """ Missing credentials to access storage service. The following variations are accepted: @@ -21,22 +21,6 @@ """ -def storage_client_factory(cli_ctx, **_): - return get_mgmt_service_client(cli_ctx, CUSTOM_MGMT_STORAGE) - - -def cf_mgmt_blob_services(cli_ctx, _): - return storage_client_factory(cli_ctx).blob_services - - -def cf_mgmt_policy(cli_ctx, _): - return storage_client_factory(cli_ctx).management_policies - - -def cf_sa(cli_ctx, _): - return storage_client_factory(cli_ctx).storage_accounts - - def get_account_url(cli_ctx, account_name, service): from knack.util import CLIError if account_name is None: diff --git a/src/storage-blob-preview/azext_storage_blob_preview/_params.py b/src/storage-blob-preview/azext_storage_blob_preview/_params.py index d0529dfcbfd..d4898d35917 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/_params.py +++ b/src/storage-blob-preview/azext_storage_blob_preview/_params.py @@ -6,16 +6,13 @@ from azure.cli.core.commands.validators import validate_tags from azure.cli.core.commands.parameters import (file_type, get_enum_type, get_three_state_flag) -from azure.cli.core.local_context import LocalContextAttribute, LocalContextAction from ._validators import (validate_metadata, get_permission_validator, get_permission_help_string, validate_blob_type, validate_included_datasets_v2, add_download_progress_callback, add_upload_progress_callback, - validate_storage_data_plane_list, as_user_validator, blob_tier_validator, - validate_container_delete_retention_days, validate_delete_retention_days, - process_resource_group) + validate_storage_data_plane_list, as_user_validator, blob_tier_validator) -from .profiles import CUSTOM_DATA_STORAGE_BLOB, CUSTOM_MGMT_STORAGE +from .profiles import CUSTOM_DATA_STORAGE_BLOB def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statements, too-many-lines @@ -23,17 +20,9 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem from knack.arguments import ignore_type, CLIArgumentType - from azure.cli.core.commands.parameters import get_resource_name_completion_list - from .sdkutil import get_table_data_type from .completers import get_storage_name_completion_list - acct_name_type = CLIArgumentType(options_list=['--account-name', '-n'], help='The storage account name.', - id_part='name', - completer=get_resource_name_completion_list('Microsoft.Storage/storageAccounts'), - local_context_attribute=LocalContextAttribute( - name='storage_account_name', actions=[LocalContextAction.GET])) - t_base_blob_service = self.get_sdk('blob.baseblobservice#BaseBlobService') t_file_service = self.get_sdk('file#FileService') t_table_service = get_table_data_type(self.cli_ctx, 'table', 'TableService') @@ -146,58 +135,6 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem validator=validate_metadata) c.argument('timeout', help='Request timeout in seconds. Applies to each call to the service.', type=int) - with self.argument_context('storage account blob-service-properties show', - resource_type=CUSTOM_MGMT_STORAGE) as c: - c.argument('account_name', acct_name_type, id_part=None) - c.argument('resource_group_name', required=False, validator=process_resource_group) - - with self.argument_context('storage account blob-service-properties update', - resource_type=CUSTOM_MGMT_STORAGE) as c: - from azure.cli.command_modules.storage._validators import get_api_version_type, \ - validator_change_feed_retention_days - c.argument('account_name', acct_name_type, id_part=None) - c.argument('resource_group_name', required=False, validator=process_resource_group) - c.argument('enable_change_feed', arg_type=get_three_state_flag(), min_api='2019-04-01', - arg_group='Change Feed Policy') - c.argument('change_feed_retention_days', is_preview=True, - options_list=['--change-feed-retention-days', '--change-feed-days'], - type=int, min_api='2019-06-01', arg_group='Change Feed Policy', - validator=validator_change_feed_retention_days, - help='Indicate the duration of changeFeed retention in days. ' - 'Minimum value is 1 day and maximum value is 146000 days (400 years). ' - 'A null value indicates an infinite retention of the change feed.' - '(Use `--enable-change-feed` without `--change-feed-days` to indicate null)') - c.argument('enable_container_delete_retention', - arg_type=get_three_state_flag(), - options_list=['--enable-container-delete-retention', '--container-retention'], - arg_group='Container Delete Retention Policy', min_api='2019-06-01', - help='Enable container delete retention policy for container soft delete when set to true. ' - 'Disable container delete retention policy when set to false.') - c.argument('container_delete_retention_days', - options_list=['--container-delete-retention-days', '--container-days'], - type=int, arg_group='Container Delete Retention Policy', - min_api='2019-06-01', validator=validate_container_delete_retention_days, - help='Indicate the number of days that the deleted container should be retained. The minimum ' - 'specified value can be 1 and the maximum value can be 365.') - c.argument('enable_delete_retention', arg_type=get_three_state_flag(), arg_group='Delete Retention Policy', - min_api='2018-07-01') - c.argument('delete_retention_days', type=int, arg_group='Delete Retention Policy', - validator=validate_delete_retention_days, min_api='2018-07-01') - c.argument('enable_restore_policy', arg_type=get_three_state_flag(), arg_group='Restore Policy', - min_api='2019-06-01', help="Enable blob restore policy when it set to true.") - c.argument('restore_days', type=int, arg_group='Restore Policy', - min_api='2019-06-01', help="The number of days for the blob can be restored. It should be greater " - "than zero and less than Delete Retention Days.") - c.argument('enable_versioning', arg_type=get_three_state_flag(), help='Versioning is enabled if set to true.', - min_api='2019-06-01') - c.argument('enable_last_access_tracking', arg_type=get_three_state_flag(), min_api='2019-06-01', - options_list=['--enable-last-access-tracking', '-t'], - help='When set to true last access time based tracking policy is enabled.') - c.argument('default_service_version', options_list=['--default-service-version', '-d'], - type=get_api_version_type(), min_api='2018-07-01', - help="Indicate the default version to use for requests to the Blob service if an incoming request's " - "version is not specified.") - with self.argument_context('storage blob') as c: c.argument('blob_name', options_list=('--name', '-n'), arg_type=blob_name_type) c.argument('destination_path', help='The destination path that will be appended to the blob name.') diff --git a/src/storage-blob-preview/azext_storage_blob_preview/azext_metadata.json b/src/storage-blob-preview/azext_storage_blob_preview/azext_metadata.json index bf1c696a39e..78ba8cb3a4f 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/azext_metadata.json +++ b/src/storage-blob-preview/azext_storage_blob_preview/azext_metadata.json @@ -1,4 +1,4 @@ { "azext.isPreview": true, - "azext.minCliCoreVersion": "2.25.0" + "azext.minCliCoreVersion": "2.27.0" } \ No newline at end of file diff --git a/src/storage-blob-preview/azext_storage_blob_preview/commands.py b/src/storage-blob-preview/azext_storage_blob_preview/commands.py index fab8409c7f6..1992f3f416b 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/commands.py +++ b/src/storage-blob-preview/azext_storage_blob_preview/commands.py @@ -7,9 +7,8 @@ from azure.cli.core.commands.arm import show_exception_handler from azure.cli.core.profiles import ResourceType -from ._client_factory import cf_blob_client, cf_container_client, cf_blob_service, cf_blob_lease_client, \ - cf_mgmt_blob_services, cf_sa -from .profiles import CUSTOM_DATA_STORAGE_BLOB, CUSTOM_MGMT_STORAGE +from ._client_factory import cf_blob_client, cf_container_client, cf_blob_service, cf_blob_lease_client +from .profiles import CUSTOM_DATA_STORAGE_BLOB def load_command_table(self, _): # pylint: disable=too-many-locals, too-many-statements @@ -25,26 +24,6 @@ def get_custom_sdk(custom_module, client_factory, resource_type=ResourceType.DAT resource_type=resource_type ) - blob_service_mgmt_sdk = CliCommandType( - operations_tmpl='azext_storage_blob_preview.vendored_sdks.azure_mgmt_storage.operations#' - 'BlobServicesOperations.{}', - client_factory=cf_mgmt_blob_services, - resource_type=CUSTOM_MGMT_STORAGE - ) - - storage_account_custom_type = CliCommandType( - operations_tmpl='azext_storage_blob_preview.operations.account#{}', - client_factory=cf_sa) - - with self.command_group('storage account blob-service-properties', blob_service_mgmt_sdk, - custom_command_type=storage_account_custom_type, - resource_type=CUSTOM_MGMT_STORAGE, min_api='2018-07-01', is_preview=True) as g: - g.show_command('show', 'get_service_properties') - g.generic_update_command('update', - getter_name='get_service_properties', - setter_name='set_service_properties', - custom_func_name='update_blob_service_properties') - blob_client_sdk = CliCommandType( operations_tmpl='azext_storage_blob_preview.vendored_sdks.azure_storage_blob._blob_client#BlobClient.{}', client_factory=cf_blob_client, diff --git a/src/storage-blob-preview/azext_storage_blob_preview/operations/account.py b/src/storage-blob-preview/azext_storage_blob_preview/operations/account.py deleted file mode 100644 index 7317ffe86a6..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/operations/account.py +++ /dev/null @@ -1,68 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -"""Custom operations for storage account commands""" - -import os -from azure.cli.core.util import get_file_json, shell_safe_json_parse - - -def create_management_policies(client, resource_group_name, account_name, policy): - if os.path.exists(policy): - policy = get_file_json(policy) - else: - policy = shell_safe_json_parse(policy) - return client.create_or_update(resource_group_name, account_name, policy=policy) - - -def update_management_policies(client, resource_group_name, account_name, parameters=None): - if parameters: - parameters = parameters.policy - return client.create_or_update(resource_group_name, account_name, policy=parameters) - - -# TODO: support updating other properties besides 'enable_change_feed,delete_retention_policy' -def update_blob_service_properties(cmd, instance, enable_change_feed=None, change_feed_retention_days=None, - enable_delete_retention=None, delete_retention_days=None, - enable_restore_policy=None, restore_days=None, - enable_versioning=None, enable_container_delete_retention=None, - container_delete_retention_days=None, enable_last_access_tracking=None, - default_service_version=None): - if enable_change_feed is not None: - if enable_change_feed is False: - change_feed_retention_days = None - instance.change_feed = cmd.get_models('ChangeFeed')( - enabled=enable_change_feed, retention_in_days=change_feed_retention_days) - - if enable_container_delete_retention is not None: - if enable_container_delete_retention is False: - container_delete_retention_days = None - instance.container_delete_retention_policy = cmd.get_models('DeleteRetentionPolicy')( - enabled=enable_container_delete_retention, days=container_delete_retention_days) - - if enable_delete_retention is not None: - if enable_delete_retention is False: - delete_retention_days = None - instance.delete_retention_policy = cmd.get_models('DeleteRetentionPolicy')( - enabled=enable_delete_retention, days=delete_retention_days) - - if enable_restore_policy is not None: - if enable_restore_policy is False: - restore_days = None - instance.restore_policy = cmd.get_models('RestorePolicyProperties')( - enabled=enable_restore_policy, days=restore_days) - - if enable_versioning is not None: - instance.is_versioning_enabled = enable_versioning - - # Update last access time tracking policy - if enable_last_access_tracking is not None: - LastAccessTimeTrackingPolicy = cmd.get_models('LastAccessTimeTrackingPolicy') - instance.last_access_time_tracking_policy = LastAccessTimeTrackingPolicy(enable=enable_last_access_tracking) - - if default_service_version is not None: - instance.default_service_version = default_service_version - - return instance diff --git a/src/storage-blob-preview/azext_storage_blob_preview/profiles.py b/src/storage-blob-preview/azext_storage_blob_preview/profiles.py index b9b7ed10c19..8539cdcf0da 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/profiles.py +++ b/src/storage-blob-preview/azext_storage_blob_preview/profiles.py @@ -7,5 +7,3 @@ CUSTOM_DATA_STORAGE_BLOB = CustomResourceType('azext_storage_blob_preview.vendored_sdks.azure_storage_blob', 'BlobClient') -CUSTOM_MGMT_STORAGE = CustomResourceType('azext_storage_blob_preview.vendored_sdks.azure_mgmt_storage', - 'StorageManagementClient') diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_default_service_properties.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_default_service_properties.yaml deleted file mode 100644 index cb5f99e5ff6..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_default_service_properties.yaml +++ /dev/null @@ -1,193 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '443' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --default-service-version -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '443' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "defaultServiceVersion": "2018-11-09", - "deleteRetentionPolicy": {"enabled": false}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '127' - Content-Type: - - application/json - ParameterSetName: - - --default-service-version -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"defaultServiceVersion":"2018-11-09","deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '432' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"defaultServiceVersion":"2018-11-09","deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '480' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_change_feed.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_change_feed.yaml deleted file mode 100644 index 282f4da4147..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_change_feed.yaml +++ /dev/null @@ -1,398 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-change-feed --change-feed-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '443' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "changeFeed": {"enabled": true, "retentionInDays": 1}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '143' - Content-Type: - - application/json - ParameterSetName: - - --enable-change-feed --change-feed-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":1,"enabled":true}}}' - headers: - cache-control: - - no-cache - content-length: - - '445' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-change-feed --change-feed-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":1,"enabled":true}}}' - headers: - cache-control: - - no-cache - content-length: - - '493' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "changeFeed": {"enabled": true, "retentionInDays": 100}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '145' - Content-Type: - - application/json - ParameterSetName: - - --enable-change-feed --change-feed-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":100,"enabled":true}}}' - headers: - cache-control: - - no-cache - content-length: - - '447' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-change-feed --change-feed-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":100,"enabled":true}}}' - headers: - cache-control: - - no-cache - content-length: - - '495' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "changeFeed": {"enabled": true, "retentionInDays": 14600}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '147' - Content-Type: - - application/json - ParameterSetName: - - --enable-change-feed --change-feed-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":14600,"enabled":true}}}' - headers: - cache-control: - - no-cache - content-length: - - '449' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-change-feed -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"retentionInDays":14600,"enabled":true}}}' - headers: - cache-control: - - no-cache - content-length: - - '497' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "changeFeed": {"enabled": false}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '122' - Content-Type: - - application/json - ParameterSetName: - - --enable-change-feed -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_change_feed000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"changeFeed":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '426' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 200 - message: OK -version: 1 diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_container_delete_retention_policy.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_container_delete_retention_policy.yaml deleted file mode 100644 index d0275753768..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_container_delete_retention_policy.yaml +++ /dev/null @@ -1,398 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-container-delete-retention --container-delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '443' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "containerDeleteRetentionPolicy": {"enabled": true, "days": 1}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '152' - Content-Type: - - application/json - ParameterSetName: - - --enable-container-delete-retention --container-delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":1}}}' - headers: - cache-control: - - no-cache - content-length: - - '454' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-container-delete-retention --container-delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":1}}}' - headers: - cache-control: - - no-cache - content-length: - - '502' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "containerDeleteRetentionPolicy": {"enabled": true, "days": 100}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '154' - Content-Type: - - application/json - ParameterSetName: - - --enable-container-delete-retention --container-delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":100}}}' - headers: - cache-control: - - no-cache - content-length: - - '456' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-container-delete-retention --container-delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":100}}}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "containerDeleteRetentionPolicy": {"enabled": true, "days": 365}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '154' - Content-Type: - - application/json - ParameterSetName: - - --enable-container-delete-retention --container-delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":365}}}' - headers: - cache-control: - - no-cache - content-length: - - '456' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-container-delete-retention -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":365}}}' - headers: - cache-control: - - no-cache - content-length: - - '504' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "containerDeleteRetentionPolicy": {"enabled": false}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '142' - Content-Type: - - application/json - ParameterSetName: - - --enable-container-delete-retention -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '446' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -version: 1 diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_delete_retention_policy.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_delete_retention_policy.yaml deleted file mode 100644 index 5a71db0f1f8..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_delete_retention_policy.yaml +++ /dev/null @@ -1,398 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-delete-retention --delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '443' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - true, "days": 1}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '98' - Content-Type: - - application/json - ParameterSetName: - - --enable-delete-retention --delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":true,"days":1}}}' - headers: - cache-control: - - no-cache - content-length: - - '403' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-delete-retention --delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":true,"days":1}}}' - headers: - cache-control: - - no-cache - content-length: - - '451' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - true, "days": 100}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '100' - Content-Type: - - application/json - ParameterSetName: - - --enable-delete-retention --delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":true,"days":100}}}' - headers: - cache-control: - - no-cache - content-length: - - '405' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-delete-retention --delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":true,"days":100}}}' - headers: - cache-control: - - no-cache - content-length: - - '453' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - true, "days": 365}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '100' - Content-Type: - - application/json - ParameterSetName: - - --enable-delete-retention --delete-retention-days -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":true,"days":365}}}' - headers: - cache-control: - - no-cache - content-length: - - '405' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-delete-retention -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":true,"days":365}}}' - headers: - cache-control: - - no-cache - content-length: - - '453' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '88' - Content-Type: - - application/json - ParameterSetName: - - --enable-delete-retention -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_storage_account_update_delete_retention_policy000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '395' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:43:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -version: 1 diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_last_access.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_last_access.yaml deleted file mode 100644 index 68aec518eb6..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_last_access.yaml +++ /dev/null @@ -1,391 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-last-access-tracking -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '443' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:42:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "lastAccessTimeTrackingPolicy": {"enable": true}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '138' - Content-Type: - - application/json - ParameterSetName: - - --enable-last-access-tracking -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"lastAccessTimeTrackingPolicy":{"enable":true,"name":"AccessTimeTracking","trackingGranularityInDays":1,"blobType":["blockBlob"]}}}' - headers: - cache-control: - - no-cache - content-length: - - '525' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:42:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"lastAccessTimeTrackingPolicy":{"enable":true,"name":"AccessTimeTracking","trackingGranularityInDays":1,"blobType":["blockBlob"]}}}' - headers: - cache-control: - - no-cache - content-length: - - '573' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:42:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-last-access-tracking -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"lastAccessTimeTrackingPolicy":{"enable":true,"name":"AccessTimeTracking","trackingGranularityInDays":1,"blobType":["blockBlob"]}}}' - headers: - cache-control: - - no-cache - content-length: - - '573' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:42:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "lastAccessTimeTrackingPolicy": {"enable": false}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '139' - Content-Type: - - application/json - ParameterSetName: - - --enable-last-access-tracking -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '395' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:42:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-last-access-tracking -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '443' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:42:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "lastAccessTimeTrackingPolicy": {"enable": true}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '138' - Content-Type: - - application/json - ParameterSetName: - - --enable-last-access-tracking -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"lastAccessTimeTrackingPolicy":{"enable":true,"name":"AccessTimeTracking","trackingGranularityInDays":1,"blobType":["blockBlob"]}}}' - headers: - cache-control: - - no-cache - content-length: - - '525' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:42:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"lastAccessTimeTrackingPolicy":{"enable":true,"name":"AccessTimeTracking","trackingGranularityInDays":1,"blobType":["blockBlob"]}}}' - headers: - cache-control: - - no-cache - content-length: - - '573' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:42:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_versioning.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_versioning.yaml deleted file mode 100644 index bfb76c75482..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_account_update_versioning.yaml +++ /dev/null @@ -1,345 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-versioning -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' - headers: - cache-control: - - no-cache - content-length: - - '443' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:44:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "isVersioningEnabled": true}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '117' - Content-Type: - - application/json - ParameterSetName: - - --enable-versioning -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"isVersioningEnabled":true}}' - headers: - cache-control: - - no-cache - content-length: - - '422' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:44:14 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-versioning -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"isVersioningEnabled":true}}' - headers: - cache-control: - - no-cache - content-length: - - '470' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:44:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "isVersioningEnabled": false}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '118' - Content-Type: - - application/json - ParameterSetName: - - --enable-versioning -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"isVersioningEnabled":false}}' - headers: - cache-control: - - no-cache - content-length: - - '423' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:44:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - ParameterSetName: - - --enable-versioning -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"isVersioningEnabled":false}}' - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:44:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"cors": {"corsRules": []}, "deleteRetentionPolicy": {"enabled": - false}, "isVersioningEnabled": true}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties update - Connection: - - keep-alive - Content-Length: - - '117' - Content-Type: - - application/json - ParameterSetName: - - --enable-versioning -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"isVersioningEnabled":true}}' - headers: - cache-control: - - no-cache - content-length: - - '422' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:44:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1191' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account blob-service-properties show - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 - response: - body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sa_versioning000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"isVersioningEnabled":true}}' - headers: - cache-control: - - no-cache - content-length: - - '470' - content-type: - - application/json - date: - - Thu, 20 May 2021 08:44:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_blob_versioning.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_blob_versioning.yaml index 9ce68cb3dd4..da00ab5279a 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_blob_versioning.yaml +++ b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_blob_versioning.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -n -g --enable-versioning User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/version000002/blobServices/default?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/version000002/blobServices/default?api-version=2021-04-01 response: body: string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/version000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' @@ -27,7 +27,7 @@ interactions: content-type: - application/json date: - - Tue, 29 Jun 2021 09:13:40 GMT + - Thu, 19 Aug 2021 06:40:53 GMT expires: - '-1' pragma: @@ -64,9 +64,9 @@ interactions: ParameterSetName: - -n -g --enable-versioning User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/version000002/blobServices/default?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/version000002/blobServices/default?api-version=2021-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/version000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"isVersioningEnabled":true}}' @@ -78,7 +78,7 @@ interactions: content-type: - application/json date: - - Tue, 29 Jun 2021 09:13:41 GMT + - Thu, 19 Aug 2021 06:40:55 GMT expires: - '-1' pragma: @@ -94,7 +94,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -114,12 +114,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/version000002/listKeys?api-version=2021-04-01&$expand=kerb response: body: - string: '{"keys":[{"creationTime":"2021-06-29T09:13:18.5412506Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2021-06-29T09:13:18.5412506Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' + string: '{"keys":[{"creationTime":"2021-08-19T06:40:31.5141116Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2021-08-19T06:40:31.5141116Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' headers: cache-control: - no-cache @@ -128,7 +128,7 @@ interactions: content-type: - application/json date: - - Tue, 29 Jun 2021 09:13:43 GMT + - Thu, 19 Aug 2021 06:40:57 GMT expires: - '-1' pragma: @@ -156,9 +156,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.25.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Tue, 29 Jun 2021 09:13:44 GMT + - Thu, 19 Aug 2021 06:40:58 GMT x-ms-version: - '2018-11-09' method: PUT @@ -170,11 +170,11 @@ interactions: content-length: - '0' date: - - Tue, 29 Jun 2021 09:13:45 GMT + - Thu, 19 Aug 2021 06:41:00 GMT etag: - - '"0x8D93ADE329B20FB"' + - '"0x8D962DC4F315900"' last-modified: - - Tue, 29 Jun 2021 09:13:45 GMT + - Thu, 19 Aug 2021 06:41:01 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -202,11 +202,11 @@ interactions: ParameterSetName: - -c -f -n --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-blob-type: - BlockBlob x-ms-date: - - Tue, 29 Jun 2021 09:13:45 GMT + - Thu, 19 Aug 2021 06:41:01 GMT x-ms-version: - '2020-06-12' method: PUT @@ -220,107 +220,11 @@ interactions: content-md5: - DzQ7CTESaiDxM9Z8KwGKOw== date: - - Tue, 29 Jun 2021 09:13:46 GMT + - Thu, 19 Aug 2021 06:41:01 GMT etag: - - '"0x8D93ADE3379A86E"' + - '"0x8D962DC4FFD7278"' last-modified: - - Tue, 29 Jun 2021 09:13:47 GMT - server: - - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 - x-ms-content-crc64: - - iknlm7CyG2k= - x-ms-request-server-encrypted: - - 'true' - x-ms-version: - - '2020-06-12' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - CommandName: - - storage blob list - Connection: - - keep-alive - ParameterSetName: - - -c --include --account-name --account-key - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-date: - - Tue, 29 Jun 2021 09:13:47 GMT - x-ms-version: - - '2020-06-12' - method: GET - uri: https://version000002.blob.core.windows.net/con000003?restype=container&comp=list&maxresults=5000&include=versions - response: - body: - string: "\uFEFF5000blob000004Tue, - 29 Jun 2021 09:13:47 GMTTue, 29 Jun 2021 09:13:47 - GMT0x8D93ADE3379A86E1024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobHottrueunlockedavailabletrue" - headers: - content-type: - - application/xml - date: - - Tue, 29 Jun 2021 09:13:48 GMT - server: - - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 - transfer-encoding: - - chunked - x-ms-version: - - '2020-06-12' - status: - code: 200 - message: OK -- request: - body: "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - headers: - Accept: - - application/xml - Accept-Encoding: - - gzip, deflate - CommandName: - - storage blob upload - Connection: - - keep-alive - Content-Length: - - '1024' - Content-Type: - - application/octet-stream - ParameterSetName: - - -c -f -n --overwrite --account-name --account-key - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) - x-ms-blob-type: - - BlockBlob - x-ms-date: - - Tue, 29 Jun 2021 09:13:58 GMT - x-ms-version: - - '2020-06-12' - method: PUT - uri: https://version000002.blob.core.windows.net/con000003/blob000004 - response: - body: - string: '' - headers: - content-length: - - '0' - content-md5: - - DzQ7CTESaiDxM9Z8KwGKOw== - date: - - Tue, 29 Jun 2021 09:13:59 GMT - etag: - - '"0x8D93ADE3B3D854E"' - last-modified: - - Tue, 29 Jun 2021 09:14:00 GMT + - Thu, 19 Aug 2021 06:41:02 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -330,7 +234,7 @@ interactions: x-ms-version: - '2020-06-12' x-ms-version-id: - - '2021-06-29T09:14:00.0684126Z' + - '2021-08-19T06:41:02.3972984Z' status: code: 201 message: Created @@ -348,9 +252,9 @@ interactions: ParameterSetName: - -c --include --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 29 Jun 2021 09:14:00 GMT + - Thu, 19 Aug 2021 06:41:02 GMT x-ms-version: - '2020-06-12' method: GET @@ -358,14 +262,9 @@ interactions: response: body: string: "\uFEFF5000blob0000042021-06-29T09:13:47.0397550ZTue, - 29 Jun 2021 09:13:47 GMTTue, 29 Jun 2021 09:13:47 - GMT0x8D93ADE3379A86E1024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobHottruetrueblob0000042021-06-29T09:14:00.0684126ZtrueTue, - 29 Jun 2021 09:14:00 GMTTue, 29 Jun 2021 09:14:00 - GMT0x8D93ADE3B3D854E1024application/octet-stream5000blob0000042021-08-19T06:41:02.3972984ZtrueThu, + 19 Aug 2021 06:41:02 GMTThu, 19 Aug 2021 06:41:02 + GMT0x8D962DC4FFD72781024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobHottrueunlockedavailabletrue" @@ -373,7 +272,7 @@ interactions: content-type: - application/xml date: - - Tue, 29 Jun 2021 09:14:00 GMT + - Thu, 19 Aug 2021 06:41:03 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -401,11 +300,11 @@ interactions: ParameterSetName: - -c -f -n --overwrite --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-blob-type: - BlockBlob x-ms-date: - - Tue, 29 Jun 2021 09:14:01 GMT + - Thu, 19 Aug 2021 06:41:03 GMT x-ms-version: - '2020-06-12' method: PUT @@ -419,11 +318,11 @@ interactions: content-md5: - yZp0xVU3GkM9Eh9VHWxjmA== date: - - Tue, 29 Jun 2021 09:14:02 GMT + - Thu, 19 Aug 2021 06:41:04 GMT etag: - - '"0x8D93ADE3D0E0A96"' + - '"0x8D962DC517FD340"' last-modified: - - Tue, 29 Jun 2021 09:14:03 GMT + - Thu, 19 Aug 2021 06:41:04 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -433,7 +332,7 @@ interactions: x-ms-version: - '2020-06-12' x-ms-version-id: - - '2021-06-29T09:14:03.1126950Z' + - '2021-08-19T06:41:04.9494592Z' status: code: 201 message: Created @@ -451,13 +350,13 @@ interactions: ParameterSetName: - -c -n --version-id --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 29 Jun 2021 09:14:03 GMT + - Thu, 19 Aug 2021 06:41:05 GMT x-ms-version: - '2020-06-12' method: HEAD - uri: https://version000002.blob.core.windows.net/con000003/blob000004?versionid=2021-06-29T09%3A13%3A47.0397550Z + uri: https://version000002.blob.core.windows.net/con000003/blob000004?versionid=2021-08-19T06%3A41%3A02.3972984Z response: body: string: '' @@ -471,11 +370,11 @@ interactions: content-type: - application/octet-stream date: - - Tue, 29 Jun 2021 09:14:04 GMT + - Thu, 19 Aug 2021 06:41:06 GMT etag: - - '"0x8D93ADE3379A86E"' + - '"0x8D962DC4FFD7278"' last-modified: - - Tue, 29 Jun 2021 09:13:47 GMT + - Thu, 19 Aug 2021 06:41:02 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -485,13 +384,13 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Tue, 29 Jun 2021 09:13:47 GMT + - Thu, 19 Aug 2021 06:41:02 GMT x-ms-server-encrypted: - 'true' x-ms-version: - '2020-06-12' x-ms-version-id: - - '2021-06-29T09:13:47.0397550Z' + - '2021-08-19T06:41:02.3972984Z' status: code: 200 message: OK @@ -509,15 +408,15 @@ interactions: ParameterSetName: - -c -n --version-id -f --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 29 Jun 2021 09:14:04 GMT + - Thu, 19 Aug 2021 06:41:06 GMT x-ms-range: - bytes=0-33554431 x-ms-version: - '2020-06-12' method: GET - uri: https://version000002.blob.core.windows.net/con000003/blob000004?versionid=2021-06-29T09%3A13%3A47.0397550Z + uri: https://version000002.blob.core.windows.net/con000003/blob000004?versionid=2021-08-19T06%3A41%3A02.3972984Z response: body: string: "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" @@ -531,11 +430,11 @@ interactions: content-type: - application/octet-stream date: - - Tue, 29 Jun 2021 09:14:05 GMT + - Thu, 19 Aug 2021 06:41:07 GMT etag: - - '"0x8D93ADE3379A86E"' + - '"0x8D962DC4FFD7278"' last-modified: - - Tue, 29 Jun 2021 09:13:47 GMT + - Thu, 19 Aug 2021 06:41:02 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-blob-content-md5: @@ -543,13 +442,13 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Tue, 29 Jun 2021 09:13:47 GMT + - Thu, 19 Aug 2021 06:41:02 GMT x-ms-server-encrypted: - 'true' x-ms-version: - '2020-06-12' x-ms-version-id: - - '2021-06-29T09:13:47.0397550Z' + - '2021-08-19T06:41:02.3972984Z' status: code: 206 message: Partial Content @@ -567,9 +466,9 @@ interactions: ParameterSetName: - -c -n --version-id -f --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 29 Jun 2021 09:14:06 GMT + - Thu, 19 Aug 2021 06:41:07 GMT x-ms-version: - '2020-06-12' method: HEAD @@ -587,11 +486,11 @@ interactions: content-type: - application/octet-stream date: - - Tue, 29 Jun 2021 09:14:05 GMT + - Thu, 19 Aug 2021 06:41:07 GMT etag: - - '"0x8D93ADE3D0E0A96"' + - '"0x8D962DC517FD340"' last-modified: - - Tue, 29 Jun 2021 09:14:03 GMT + - Thu, 19 Aug 2021 06:41:04 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -601,7 +500,7 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Tue, 29 Jun 2021 09:14:03 GMT + - Thu, 19 Aug 2021 06:41:04 GMT x-ms-is-current-version: - 'true' x-ms-lease-state: @@ -613,7 +512,7 @@ interactions: x-ms-version: - '2020-06-12' x-ms-version-id: - - '2021-06-29T09:14:03.1126950Z' + - '2021-08-19T06:41:04.9494592Z' status: code: 200 message: OK @@ -633,15 +532,15 @@ interactions: ParameterSetName: - -c -n --version-id --tier --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-access-tier: - Cool x-ms-date: - - Tue, 29 Jun 2021 09:14:06 GMT + - Thu, 19 Aug 2021 06:41:08 GMT x-ms-version: - '2020-06-12' method: PUT - uri: https://version000002.blob.core.windows.net/con000003/blob000004?comp=tier&versionid=2021-06-29T09%3A13%3A47.0397550Z + uri: https://version000002.blob.core.windows.net/con000003/blob000004?comp=tier&versionid=2021-08-19T06%3A41%3A02.3972984Z response: body: string: '' @@ -649,7 +548,7 @@ interactions: content-length: - '0' date: - - Tue, 29 Jun 2021 09:14:07 GMT + - Thu, 19 Aug 2021 06:41:08 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -671,13 +570,13 @@ interactions: ParameterSetName: - -c -n --version-id --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 29 Jun 2021 09:14:08 GMT + - Thu, 19 Aug 2021 06:41:09 GMT x-ms-version: - '2020-06-12' method: HEAD - uri: https://version000002.blob.core.windows.net/con000003/blob000004?versionid=2021-06-29T09%3A13%3A47.0397550Z + uri: https://version000002.blob.core.windows.net/con000003/blob000004?versionid=2021-08-19T06%3A41%3A02.3972984Z response: body: string: '' @@ -691,27 +590,27 @@ interactions: content-type: - application/octet-stream date: - - Tue, 29 Jun 2021 09:14:09 GMT + - Thu, 19 Aug 2021 06:41:09 GMT etag: - - '"0x8D93ADE3379A86E"' + - '"0x8D962DC4FFD7278"' last-modified: - - Tue, 29 Jun 2021 09:13:47 GMT + - Thu, 19 Aug 2021 06:41:02 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: - Cool x-ms-access-tier-change-time: - - Tue, 29 Jun 2021 09:14:07 GMT + - Thu, 19 Aug 2021 06:41:09 GMT x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Tue, 29 Jun 2021 09:13:47 GMT + - Thu, 19 Aug 2021 06:41:02 GMT x-ms-server-encrypted: - 'true' x-ms-version: - '2020-06-12' x-ms-version-id: - - '2021-06-29T09:13:47.0397550Z' + - '2021-08-19T06:41:02.3972984Z' status: code: 200 message: OK @@ -729,9 +628,9 @@ interactions: ParameterSetName: - -c --include --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 29 Jun 2021 09:14:09 GMT + - Thu, 19 Aug 2021 06:41:10 GMT x-ms-version: - '2020-06-12' method: GET @@ -739,20 +638,15 @@ interactions: response: body: string: "\uFEFF5000blob0000042021-06-29T09:13:47.0397550ZTue, - 29 Jun 2021 09:13:47 GMTTue, 29 Jun 2021 09:13:47 - GMT0x8D93ADE3379A86E1024application/octet-stream5000blob0000042021-08-19T06:41:02.3972984ZThu, + 19 Aug 2021 06:41:02 GMTThu, 19 Aug 2021 06:41:02 + GMT0x8D962DC4FFD72781024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobCoolTue, - 29 Jun 2021 09:14:07 GMTtrueblob0000042021-06-29T09:14:00.0684126ZTue, - 29 Jun 2021 09:14:00 GMTTue, 29 Jun 2021 09:14:00 - GMT0x8D93ADE3B3D854E1024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobHottruetrueblob0000042021-06-29T09:14:03.1126950ZtrueTue, - 29 Jun 2021 09:14:03 GMTTue, 29 Jun 2021 09:14:03 - GMT0x8D93ADE3D0E0A962048application/octet-streamBlockBlobCoolThu, + 19 Aug 2021 06:41:09 GMTtrueblob0000042021-08-19T06:41:04.9494592ZtrueThu, + 19 Aug 2021 06:41:04 GMTThu, 19 Aug 2021 06:41:04 + GMT0x8D962DC517FD3402048application/octet-streamyZp0xVU3GkM9Eh9VHWxjmA==BlockBlobHottrueunlockedavailabletrue" @@ -760,7 +654,7 @@ interactions: content-type: - application/xml date: - - Tue, 29 Jun 2021 09:14:10 GMT + - Thu, 19 Aug 2021 06:41:11 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -786,13 +680,13 @@ interactions: ParameterSetName: - -c -n --version-id --account-name --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 29 Jun 2021 09:14:11 GMT + - Thu, 19 Aug 2021 06:41:12 GMT x-ms-version: - '2020-06-12' method: DELETE - uri: https://version000002.blob.core.windows.net/con000003/blob000004?versionid=2021-06-29T09%3A13%3A47.0397550Z + uri: https://version000002.blob.core.windows.net/con000003/blob000004?versionid=2021-08-19T06%3A41%3A02.3972984Z response: body: string: '' @@ -800,7 +694,7 @@ interactions: content-length: - '0' date: - - Tue, 29 Jun 2021 09:14:12 GMT + - Thu, 19 Aug 2021 06:41:12 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-delete-type-permanent: @@ -824,9 +718,9 @@ interactions: ParameterSetName: - -c --include --account-name --account-key User-Agent: - - AZURECLI/2.25.0 azsdk-python-storage-blob/12.8.1 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Tue, 29 Jun 2021 09:14:13 GMT + - Thu, 19 Aug 2021 06:41:13 GMT x-ms-version: - '2020-06-12' method: GET @@ -834,14 +728,9 @@ interactions: response: body: string: "\uFEFF5000blob0000042021-06-29T09:14:00.0684126ZTue, - 29 Jun 2021 09:14:00 GMTTue, 29 Jun 2021 09:14:00 - GMT0x8D93ADE3B3D854E1024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobHottruetrueblob0000042021-06-29T09:14:03.1126950ZtrueTue, - 29 Jun 2021 09:14:03 GMTTue, 29 Jun 2021 09:14:03 - GMT0x8D93ADE3D0E0A962048application/octet-stream5000blob0000042021-08-19T06:41:04.9494592ZtrueThu, + 19 Aug 2021 06:41:04 GMTThu, 19 Aug 2021 06:41:04 + GMT0x8D962DC517FD3402048application/octet-streamyZp0xVU3GkM9Eh9VHWxjmA==BlockBlobHottrueunlockedavailabletrue" @@ -849,7 +738,7 @@ interactions: content-type: - application/xml date: - - Tue, 29 Jun 2021 09:14:13 GMT + - Thu, 19 Aug 2021 06:41:14 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_list_scenarios.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_list_scenarios.yaml index ffc9104e3b1..706f58cb62e 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_list_scenarios.yaml +++ b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_list_scenarios.yaml @@ -15,12 +15,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2021-04-01&$expand=kerb response: body: - string: '{"keys":[{"creationTime":"2021-05-20T08:44:39.7029389Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2021-05-20T08:44:39.7029389Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' + string: '{"keys":[{"creationTime":"2021-08-19T06:42:11.1784316Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2021-08-19T06:42:11.1784316Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:45:01 GMT + - Thu, 19 Aug 2021 06:42:32 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:45:01 GMT + - Thu, 19 Aug 2021 06:42:32 GMT x-ms-version: - '2018-11-09' method: PUT @@ -71,11 +71,11 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:45:03 GMT + - Thu, 19 Aug 2021 06:42:35 GMT etag: - - '"0x8D91B6B8F753F05"' + - '"0x8D962DC88012E7E"' last-modified: - - Thu, 20 May 2021 08:45:03 GMT + - Thu, 19 Aug 2021 06:42:36 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -91,9 +91,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:45:03 GMT + - Thu, 19 Aug 2021 06:42:36 GMT x-ms-version: - '2018-11-09' method: PUT @@ -105,11 +105,11 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:45:03 GMT + - Thu, 19 Aug 2021 06:42:37 GMT etag: - - '"0x8D91B6B90438B2F"' + - '"0x8D962DC88C28351"' last-modified: - - Thu, 20 May 2021 08:45:04 GMT + - Thu, 19 Aug 2021 06:42:37 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -131,9 +131,9 @@ interactions: ParameterSetName: - -n -g --container-delete-retention-days --enable-container-delete-retention User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-04-01 response: body: string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' @@ -145,7 +145,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:45:05 GMT + - Thu, 19 Aug 2021 06:42:38 GMT expires: - '-1' pragma: @@ -182,9 +182,9 @@ interactions: ParameterSetName: - -n -g --container-delete-retention-days --enable-container-delete-retention User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":7}}}' @@ -196,7 +196,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:45:06 GMT + - Thu, 19 Aug 2021 06:42:40 GMT expires: - '-1' pragma: @@ -212,7 +212,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 200 message: OK @@ -230,31 +230,31 @@ interactions: ParameterSetName: - --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:07 GMT + - Thu, 19 Aug 2021 06:42:41 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include= response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:45:03 GMT\"0x8D91B6B8F753F05\"unlockedavailable$account-encryption-keyfalsefalsefalsecon2000004Thu, - 20 May 2021 08:45:04 GMT\"0x8D91B6B90438B2F\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962DC88012E7E\"unlockedavailable$account-encryption-keyfalsefalsefalsefalsecon2000004Thu, + 19 Aug 2021 06:42:37 GMT\"0x8D962DC88C28351\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:08 GMT + - Thu, 19 Aug 2021 06:42:41 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -266,9 +266,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:45:08 GMT + - Thu, 19 Aug 2021 06:42:42 GMT x-ms-meta-test: - '1' x-ms-version: @@ -282,11 +282,11 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:45:09 GMT + - Thu, 19 Aug 2021 06:42:43 GMT etag: - - '"0x8D91B6B93A21465"' + - '"0x8D962DC8C494DCF"' last-modified: - - Thu, 20 May 2021 08:45:10 GMT + - Thu, 19 Aug 2021 06:42:43 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -300,9 +300,9 @@ interactions: Connection: - keep-alive User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:45:10 GMT + - Thu, 19 Aug 2021 06:42:43 GMT x-ms-version: - '2018-11-09' method: GET @@ -314,11 +314,11 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:45:11 GMT + - Thu, 19 Aug 2021 06:42:44 GMT etag: - - '"0x8D91B6B93A21465"' + - '"0x8D962DC8C494DCF"' last-modified: - - Thu, 20 May 2021 08:45:10 GMT + - Thu, 19 Aug 2021 06:42:43 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-meta-test: @@ -342,31 +342,31 @@ interactions: ParameterSetName: - --include-metadata --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:12 GMT + - Thu, 19 Aug 2021 06:42:45 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=metadata&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include=metadata response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:45:10 GMT\"0x8D91B6B93A21465\"unlockedavailable$account-encryption-keyfalsefalsefalse1con2000004Thu, - 20 May 2021 08:45:04 GMT\"0x8D91B6B90438B2F\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962DC8C494DCF\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse1con2000004Thu, + 19 Aug 2021 06:42:37 GMT\"0x8D962DC88C28351\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:12 GMT + - Thu, 19 Aug 2021 06:42:45 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -384,29 +384,29 @@ interactions: ParameterSetName: - --num-results --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:13 GMT + - Thu, 19 Aug 2021 06:42:46 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=1&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=1&include= response: body: string: "\uFEFF1con1000003Thu, - 20 May 2021 08:45:10 GMT\"0x8D91B6B93A21465\"unlockedavailable$account-encryption-keyfalsefalsefalse/clitest000002/con2000004" + 19 Aug 2021 06:42:43 GMT\"0x8D962DC8C494DCF\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse/clitest000002/con2000004" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:14 GMT + - Thu, 19 Aug 2021 06:42:47 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -424,29 +424,29 @@ interactions: ParameterSetName: - --num-results --show-next-marker --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:15 GMT + - Thu, 19 Aug 2021 06:42:47 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=1&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=1&include= response: body: string: "\uFEFF1con1000003Thu, - 20 May 2021 08:45:10 GMT\"0x8D91B6B93A21465\"unlockedavailable$account-encryption-keyfalsefalsefalse/clitest000002/con2000004" + 19 Aug 2021 06:42:43 GMT\"0x8D962DC8C494DCF\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse/clitest000002/con2000004" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:15 GMT + - Thu, 19 Aug 2021 06:42:48 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -464,30 +464,30 @@ interactions: ParameterSetName: - --marker --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:16 GMT + - Thu, 19 Aug 2021 06:42:48 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?marker=%2Fclitest000002%2Fcon2000004&maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&marker=%2Fclitest000002%2Fcon2000004&maxresults=5000&include= response: body: string: "\uFEFF/clitest000002/con20000045000con2000004Thu, - 20 May 2021 08:45:04 GMT\"0x8D91B6B90438B2F\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962DC88C28351\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:17 GMT + - Thu, 19 Aug 2021 06:42:49 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -505,30 +505,30 @@ interactions: ParameterSetName: - --prefix --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:17 GMT + - Thu, 19 Aug 2021 06:42:50 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?prefix=con1&maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&prefix=con1&maxresults=5000&include= response: body: string: "\uFEFFcon15000con1000003Thu, - 20 May 2021 08:45:10 GMT\"0x8D91B6B93A21465\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962DC8C494DCF\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:18 GMT + - Thu, 19 Aug 2021 06:42:50 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -540,9 +540,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:45:19 GMT + - Thu, 19 Aug 2021 06:42:51 GMT x-ms-version: - '2018-11-09' method: DELETE @@ -554,7 +554,7 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:45:19 GMT + - Thu, 19 Aug 2021 06:42:51 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -576,30 +576,30 @@ interactions: ParameterSetName: - --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:20 GMT + - Thu, 19 Aug 2021 06:42:52 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include= response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:45:10 GMT\"0x8D91B6B93A21465\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962DC8C494DCF\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:21 GMT + - Thu, 19 Aug 2021 06:42:53 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -617,32 +617,32 @@ interactions: ParameterSetName: - --include-deleted --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:22 GMT + - Thu, 19 Aug 2021 06:42:54 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=deleted&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include=deleted response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:45:10 GMT\"0x8D91B6B93A21465\"unlockedavailable$account-encryption-keyfalsefalsefalsecon2000004true01D74D546DCD2033Thu, - 20 May 2021 08:45:04 GMT\"0x8D91B6B90438B2F\"lockedleasedfixed$account-encryption-keyfalsefalsefalseThu, - 20 May 2021 08:45:20 GMT7\"0x8D962DC8C494DCF\"unlockedavailable$account-encryption-keyfalsefalsefalsefalsecon2000004true01D794C5664BCFCEThu, + 19 Aug 2021 06:42:37 GMT\"0x8D962DC88C28351\"lockedleasedfixed$account-encryption-keyfalsefalsefalsefalseThu, + 19 Aug 2021 06:42:52 GMT7" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:23 GMT + - Thu, 19 Aug 2021 06:42:54 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_soft_delete_oauth.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_soft_delete_oauth.yaml index 6c9de5266ce..366b5cf3f7b 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_soft_delete_oauth.yaml +++ b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_soft_delete_oauth.yaml @@ -15,12 +15,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2021-04-01&$expand=kerb response: body: - string: '{"keys":[{"creationTime":"2021-05-20T08:46:57.7625585Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2021-05-20T08:46:57.7625585Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' + string: '{"keys":[{"creationTime":"2021-08-19T08:38:39.2110048Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2021-08-19T08:38:39.2110048Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:47:19 GMT + - Thu, 19 Aug 2021 08:38:59 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '11998' + - '11999' status: code: 200 message: OK @@ -57,9 +57,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:47:20 GMT + - Thu, 19 Aug 2021 08:39:00 GMT x-ms-version: - '2018-11-09' method: PUT @@ -71,11 +71,11 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:47:23 GMT + - Thu, 19 Aug 2021 08:39:03 GMT etag: - - '"0x8D91B6BE364970A"' + - '"0x8D962ECCD1007E3"' last-modified: - - Thu, 20 May 2021 08:47:24 GMT + - Thu, 19 Aug 2021 08:39:04 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -97,9 +97,9 @@ interactions: ParameterSetName: - -n -g --container-delete-retention-days --enable-container-delete-retention User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-04-01 response: body: string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' @@ -111,7 +111,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:47:24 GMT + - Thu, 19 Aug 2021 08:39:05 GMT expires: - '-1' pragma: @@ -148,9 +148,9 @@ interactions: ParameterSetName: - -n -g --container-delete-retention-days --enable-container-delete-retention User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":7}}}' @@ -162,7 +162,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:47:26 GMT + - Thu, 19 Aug 2021 08:39:07 GMT expires: - '-1' pragma: @@ -178,7 +178,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 200 message: OK @@ -196,30 +196,30 @@ interactions: ParameterSetName: - --account-name --auth-mode User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:47:27 GMT + - Thu, 19 Aug 2021 08:39:08 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include= response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:47:24 GMT\"0x8D91B6BE364970A\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962ECCD1007E3\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:47:28 GMT + - Thu, 19 Aug 2021 08:39:11 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -231,9 +231,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:47:29 GMT + - Thu, 19 Aug 2021 08:39:12 GMT x-ms-version: - '2018-11-09' method: DELETE @@ -245,7 +245,7 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:47:29 GMT + - Thu, 19 Aug 2021 08:39:13 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -267,13 +267,13 @@ interactions: ParameterSetName: - --account-name --auth-mode User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:47:31 GMT + - Thu, 19 Aug 2021 08:39:13 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include= response: body: string: "\uFEFF5000con1000003true01D74D54C0EDDDB6Thu, - 20 May 2021 08:47:24 GMT\"0x8D91B6BE364970A\"lockedleasedfixed$account-encryption-keyfalsefalsefalseThu, - 20 May 2021 08:47:30 GMT75000con1000003true01D794D5AA99721EThu, + 19 Aug 2021 08:39:04 GMT\"0x8D962ECCD1007E3\"lockedleasedfixed$account-encryption-keyfalsefalsefalsefalseThu, + 19 Aug 2021 08:39:13 GMT7" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:47:33 GMT + - Thu, 19 Aug 2021 08:39:15 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -349,31 +349,31 @@ interactions: ParameterSetName: - --include-deleted --query -o --account-name --auth-mode User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:48:04 GMT + - Thu, 19 Aug 2021 08:39:46 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=deleted&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include=deleted response: body: string: "\uFEFF5000con1000003true01D74D54C0EDDDB6Thu, - 20 May 2021 08:47:24 GMT\"0x8D91B6BE364970A\"unlockedexpired$account-encryption-keyfalsefalsefalseThu, - 20 May 2021 08:47:30 GMT75000con1000003true01D794D5AA99721EThu, + 19 Aug 2021 08:39:04 GMT\"0x8D962ECCD1007E3\"unlockedexpired$account-encryption-keyfalsefalsefalsefalseThu, + 19 Aug 2021 08:39:13 GMT7" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:48:05 GMT + - Thu, 19 Aug 2021 08:39:46 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -381,7 +381,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/xml Accept-Encoding: - gzip, deflate CommandName: @@ -393,15 +393,15 @@ interactions: ParameterSetName: - -n --deleted-version --account-name --auth-mode User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:48:06 GMT + - Thu, 19 Aug 2021 08:39:47 GMT x-ms-deleted-container-name: - - con1fkcdavxnuhngif633hod + - con1xdnjapipattxcammysgi x-ms-deleted-container-version: - - 01D74D54C0EDDDB6 + - 01D794D5AA99721E x-ms-version: - - '2020-02-10' + - '2020-06-12' method: PUT uri: https://clitest000002.blob.core.windows.net/con1000003?restype=container&comp=undelete response: @@ -411,11 +411,11 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:48:07 GMT + - Thu, 19 Aug 2021 08:39:48 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 201 message: Created @@ -433,30 +433,30 @@ interactions: ParameterSetName: - --account-name --auth-mode User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:48:07 GMT + - Thu, 19 Aug 2021 08:39:49 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include= response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:48:07 GMT\"0x8D91B6BFD512FB1\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962ECE7B9C247\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:48:08 GMT + - Thu, 19 Aug 2021 08:39:49 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -474,30 +474,30 @@ interactions: ParameterSetName: - --include-deleted --account-name --auth-mode User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:48:09 GMT + - Thu, 19 Aug 2021 08:39:50 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=deleted&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include=deleted response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:48:07 GMT\"0x8D91B6BFD512FB1\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962ECE7B9C247\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:48:10 GMT + - Thu, 19 Aug 2021 08:39:50 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_soft_delete_scenarios.yaml b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_soft_delete_scenarios.yaml index 1c5a832a269..eb936dd3d1f 100644 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_soft_delete_scenarios.yaml +++ b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/recordings/test_storage_container_soft_delete_scenarios.yaml @@ -15,12 +15,12 @@ interactions: ParameterSetName: - -n -g --query -o User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2021-04-01&$expand=kerb response: body: - string: '{"keys":[{"creationTime":"2021-05-20T08:44:58.0686243Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2021-05-20T08:44:58.0686243Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' + string: '{"keys":[{"creationTime":"2021-08-19T08:29:43.5232012Z","keyName":"key1","value":"veryFakedStorageAccountKey==","permissions":"FULL"},{"creationTime":"2021-08-19T08:29:43.5232012Z","keyName":"key2","value":"veryFakedStorageAccountKey==","permissions":"FULL"}]}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:45:22 GMT + - Thu, 19 Aug 2021 08:30:05 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '11995' + - '11999' status: code: 200 message: OK @@ -57,9 +57,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:45:22 GMT + - Thu, 19 Aug 2021 08:30:05 GMT x-ms-version: - '2018-11-09' method: PUT @@ -71,11 +71,11 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:45:23 GMT + - Thu, 19 Aug 2021 08:30:06 GMT etag: - - '"0x8D91B6B9BFB611B"' + - '"0x8D962EB8CD5F2D7"' last-modified: - - Thu, 20 May 2021 08:45:24 GMT + - Thu, 19 Aug 2021 08:30:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -97,9 +97,9 @@ interactions: ParameterSetName: - -n -g --container-delete-retention-days --enable-container-delete-retention User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-04-01 response: body: string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false}}}' @@ -111,7 +111,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:45:25 GMT + - Thu, 19 Aug 2021 08:30:07 GMT expires: - '-1' pragma: @@ -148,9 +148,9 @@ interactions: ParameterSetName: - -n -g --container-delete-retention-days --enable-container-delete-retention User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-storage/17.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-storage/18.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default?api-version=2021-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices","properties":{"cors":{"corsRules":[]},"deleteRetentionPolicy":{"enabled":false},"containerDeleteRetentionPolicy":{"enabled":true,"days":7}}}' @@ -162,7 +162,7 @@ interactions: content-type: - application/json date: - - Thu, 20 May 2021 08:45:27 GMT + - Thu, 19 Aug 2021 08:30:09 GMT expires: - '-1' pragma: @@ -178,7 +178,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -196,30 +196,30 @@ interactions: ParameterSetName: - --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:27 GMT + - Thu, 19 Aug 2021 08:30:10 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include= response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:45:24 GMT\"0x8D91B6B9BFB611B\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962EB8CD5F2D7\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:28 GMT + - Thu, 19 Aug 2021 08:30:11 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -231,9 +231,9 @@ interactions: Content-Length: - '0' User-Agent: - - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.3; Windows 10) AZURECLI/2.23.0 + - Azure-Storage/2.0.0-2.0.1 (Python CPython 3.7.9; Windows 10) AZURECLI/2.27.0 x-ms-date: - - Thu, 20 May 2021 08:45:28 GMT + - Thu, 19 Aug 2021 08:30:11 GMT x-ms-version: - '2018-11-09' method: DELETE @@ -245,7 +245,7 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:45:29 GMT + - Thu, 19 Aug 2021 08:30:12 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -267,13 +267,13 @@ interactions: ParameterSetName: - --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:45:30 GMT + - Thu, 19 Aug 2021 08:30:13 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include= response: body: string: "\uFEFF5000con1000003true01D74D5479850DEEThu, - 20 May 2021 08:45:24 GMT\"0x8D91B6B9BFB611B\"lockedleasedfixed$account-encryption-keyfalsefalsefalseThu, - 20 May 2021 08:45:30 GMT75000con1000003true01D794D46A5F5DA1Thu, + 19 Aug 2021 08:30:06 GMT\"0x8D962EB8CD5F2D7\"lockedleasedfixed$account-encryption-keyfalsefalsefalsefalseThu, + 19 Aug 2021 08:30:12 GMT7" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:45:32 GMT + - Thu, 19 Aug 2021 08:30:15 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -349,31 +349,31 @@ interactions: ParameterSetName: - --include-deleted --query -o --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:46:03 GMT + - Thu, 19 Aug 2021 08:30:45 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=deleted&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include=deleted response: body: string: "\uFEFF5000con1000003true01D74D5479850DEEThu, - 20 May 2021 08:45:24 GMT\"0x8D91B6B9BFB611B\"unlockedexpired$account-encryption-keyfalsefalsefalseThu, - 20 May 2021 08:45:30 GMT75000con1000003true01D794D46A5F5DA1Thu, + 19 Aug 2021 08:30:06 GMT\"0x8D962EB8CD5F2D7\"unlockedexpired$account-encryption-keyfalsefalsefalsefalseThu, + 19 Aug 2021 08:30:12 GMT7" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:46:04 GMT + - Thu, 19 Aug 2021 08:30:46 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -381,7 +381,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/xml Accept-Encoding: - gzip, deflate CommandName: @@ -393,15 +393,15 @@ interactions: ParameterSetName: - -n --deleted-version --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:46:05 GMT + - Thu, 19 Aug 2021 08:30:46 GMT x-ms-deleted-container-name: - - con1clr24uxuu352awxhxjhh + - con1k5v5s3kca45yvgihul6u x-ms-deleted-container-version: - - 01D74D5479850DEE + - 01D794D46A5F5DA1 x-ms-version: - - '2020-02-10' + - '2020-06-12' method: PUT uri: https://clitest000002.blob.core.windows.net/con1000003?restype=container&comp=undelete response: @@ -411,11 +411,11 @@ interactions: content-length: - '0' date: - - Thu, 20 May 2021 08:46:06 GMT + - Thu, 19 Aug 2021 08:30:47 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 201 message: Created @@ -433,30 +433,30 @@ interactions: ParameterSetName: - --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:46:07 GMT + - Thu, 19 Aug 2021 08:30:48 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include= response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:46:07 GMT\"0x8D91B6BB5DE495B\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962EBA56D35C0\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:46:08 GMT + - Thu, 19 Aug 2021 08:30:48 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK @@ -474,30 +474,30 @@ interactions: ParameterSetName: - --include-deleted --account-name --account-key User-Agent: - - AZURECLI/2.23.0 azsdk-python-storage-blob/12.6.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.0 azsdk-python-storage-blob/12.8.1 Python/3.7.9 (Windows-10-10.0.19041-SP0) x-ms-date: - - Thu, 20 May 2021 08:46:09 GMT + - Thu, 19 Aug 2021 08:30:49 GMT x-ms-version: - - '2020-02-10' + - '2020-06-12' method: GET - uri: https://clitest000002.blob.core.windows.net/?maxresults=5000&include=deleted&comp=list + uri: https://clitest000002.blob.core.windows.net/?comp=list&maxresults=5000&include=deleted response: body: string: "\uFEFF5000con1000003Thu, - 20 May 2021 08:46:07 GMT\"0x8D91B6BB5DE495B\"unlockedavailable$account-encryption-keyfalsefalsefalse\"0x8D962EBA56D35C0\"unlockedavailable$account-encryption-keyfalsefalsefalsefalse" headers: content-type: - application/xml date: - - Thu, 20 May 2021 08:46:09 GMT + - Thu, 19 Aug 2021 08:30:50 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-version: - - '2020-02-10' + - '2020-06-12' status: code: 200 message: OK diff --git a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/test_storage_account_scenarios.py b/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/test_storage_account_scenarios.py deleted file mode 100644 index b6e95ab623b..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/tests/latest/test_storage_account_scenarios.py +++ /dev/null @@ -1,195 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -from azure.cli.testsdk import (ScenarioTest, LocalContextScenarioTest, JMESPathCheck, ResourceGroupPreparer, - StorageAccountPreparer, api_version_constraint, live_only, LiveScenarioTest) -from azure.cli.core.profiles import ResourceType -from ..storage_test_util import StorageScenarioMixin - - -class BlobServicePropertiesTests(StorageScenarioMixin, ScenarioTest): - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2019-06-01') - @ResourceGroupPreparer(name_prefix='cli_storage_account_update_change_feed') - @StorageAccountPreparer(kind='StorageV2', name_prefix='clitest', location="eastus2euap") - def test_storage_account_update_change_feed(self, resource_group, storage_account): - self.kwargs.update({ - 'sa': storage_account, - 'rg': resource_group, - 'cmd': 'storage account blob-service-properties update' - }) - - from azure.cli.core.azclierror import InvalidArgumentValueError - with self.assertRaises(InvalidArgumentValueError): - self.cmd('{cmd} --enable-change-feed false --change-feed-retention-days 14600 -n {sa} -g {rg}') - - with self.assertRaises(InvalidArgumentValueError): - self.cmd('{cmd} --change-feed-retention-days 1 -n {sa} -g {rg}') - - with self.assertRaises(InvalidArgumentValueError): - self.cmd('{cmd} --enable-change-feed true --change-feed-retention-days -1 -n {sa} -g {rg}') - - with self.assertRaises(InvalidArgumentValueError): - self.cmd('{cmd} --enable-change-feed true --change-feed-retention-days 0 -n {sa} -g {rg}') - - with self.assertRaises(InvalidArgumentValueError): - self.cmd('{cmd} --enable-change-feed true --change-feed-retention-days 146001 -n {sa} -g {rg}') - - result = self.cmd('{cmd} --enable-change-feed true --change-feed-retention-days 1 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['changeFeed']['enabled'], True) - self.assertEqual(result['changeFeed']['retentionInDays'], 1) - - result = self.cmd('{cmd} --enable-change-feed true --change-feed-retention-days 100 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['changeFeed']['enabled'], True) - self.assertEqual(result['changeFeed']['retentionInDays'], 100) - - result = self.cmd('{cmd} --enable-change-feed true --change-feed-retention-days 14600 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['changeFeed']['enabled'], True) - self.assertEqual(result['changeFeed']['retentionInDays'], 14600) - - result = self.cmd('{cmd} --enable-change-feed false -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['changeFeed']['enabled'], False) - self.assertEqual(result['changeFeed']['retentionInDays'], None) - - @ResourceGroupPreparer(name_prefix='cli_storage_account_update_delete_retention_policy') - @StorageAccountPreparer(kind='StorageV2') - def test_storage_account_update_delete_retention_policy(self, resource_group, storage_account): - self.kwargs.update({ - 'sa': storage_account, - 'rg': resource_group, - 'cmd': 'storage account blob-service-properties update' - }) - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-delete-retention true -n {sa} -g {rg}') - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-delete-retention false --delete-retention-days 365 -n {sa} -g {rg}').get_output_in_json() - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --delete-retention-days 1 -n {sa} -g {rg}').get_output_in_json() - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-delete-retention true --delete-retention-days -1 -n {sa} -g {rg}') - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-delete-retention true --delete-retention-days 0 -n {sa} -g {rg}') - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-delete-retention true --delete-retention-days 366 -n {sa} -g {rg}') - - result = self.cmd('{cmd} --enable-delete-retention true --delete-retention-days 1 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['deleteRetentionPolicy']['enabled'], True) - self.assertEqual(result['deleteRetentionPolicy']['days'], 1) - - result = self.cmd('{cmd} --enable-delete-retention true --delete-retention-days 100 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['deleteRetentionPolicy']['enabled'], True) - self.assertEqual(result['deleteRetentionPolicy']['days'], 100) - - result = self.cmd('{cmd} --enable-delete-retention true --delete-retention-days 365 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['deleteRetentionPolicy']['enabled'], True) - self.assertEqual(result['deleteRetentionPolicy']['days'], 365) - - result = self.cmd('{cmd} --enable-delete-retention false -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['deleteRetentionPolicy']['enabled'], False) - self.assertEqual(result['deleteRetentionPolicy']['days'], None) - - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2019-06-01') - @ResourceGroupPreparer(name_prefix="cli_test_sa_versioning") - @StorageAccountPreparer(location="eastus2euap", kind="StorageV2") - def test_storage_account_update_versioning(self): - result = self.cmd('storage account blob-service-properties update --enable-versioning true -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['isVersioningEnabled'], True) - - result = self.cmd('storage account blob-service-properties update --enable-versioning false -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['isVersioningEnabled'], False) - - result = self.cmd('storage account blob-service-properties update --enable-versioning -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['isVersioningEnabled'], True) - - result = self.cmd('storage account blob-service-properties show -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['isVersioningEnabled'], True) - - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2019-06-01') - @ResourceGroupPreparer(name_prefix='cli_storage_account_update_delete_retention_policy') - @StorageAccountPreparer(kind='StorageV2', name_prefix='clitest', location='eastus2euap') - def test_storage_account_update_container_delete_retention_policy(self, resource_group, storage_account): - self.kwargs.update({ - 'sa': storage_account, - 'rg': resource_group, - 'cmd': 'storage account blob-service-properties update' - }) - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-container-delete-retention true -n {sa} -g {rg}') - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-container-delete-retention false --container-delete-retention-days 365 -n {sa} -g {rg}') - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --container-delete-retention-days 1 -n {sa} -g {rg}') - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-container-delete-retention true --container-delete-retention-days -1 -n {sa} -g {rg}') - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-container-delete-retention true --container-delete-retention-days 0 -n {sa} -g {rg}') - - with self.assertRaises(SystemExit): - self.cmd('{cmd} --enable-container-delete-retention true --container-delete-retention-days 366 -n {sa} -g {rg}') - - result = self.cmd('{cmd} --enable-container-delete-retention true --container-delete-retention-days 1 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['containerDeleteRetentionPolicy']['enabled'], True) - self.assertEqual(result['containerDeleteRetentionPolicy']['days'], 1) - - result = self.cmd('{cmd} --enable-container-delete-retention true --container-delete-retention-days 100 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['containerDeleteRetentionPolicy']['enabled'], True) - self.assertEqual(result['containerDeleteRetentionPolicy']['days'], 100) - - result = self.cmd('{cmd} --enable-container-delete-retention true --container-delete-retention-days 365 -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['containerDeleteRetentionPolicy']['enabled'], True) - self.assertEqual(result['containerDeleteRetentionPolicy']['days'], 365) - - result = self.cmd('{cmd} --enable-container-delete-retention false -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['containerDeleteRetentionPolicy']['enabled'], False) - self.assertEqual(result['containerDeleteRetentionPolicy']['days'], None) - - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2019-06-01') - @ResourceGroupPreparer(name_prefix="cli_test_sa_versioning") - @StorageAccountPreparer(location="eastus2euap", kind="StorageV2") - def test_storage_account_update_last_access(self): - result = self.cmd('storage account blob-service-properties update --enable-last-access-tracking true -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['lastAccessTimeTrackingPolicy']['enable'], True) - - result = self.cmd( - 'storage account blob-service-properties show -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['lastAccessTimeTrackingPolicy']['enable'], True) - self.assertEqual(result['lastAccessTimeTrackingPolicy']['name'], "AccessTimeTracking") - self.assertEqual(result['lastAccessTimeTrackingPolicy']['trackingGranularityInDays'], 1) - self.assertEqual(result['lastAccessTimeTrackingPolicy']['blobType'][0], "blockBlob") - - result = self.cmd('storage account blob-service-properties update --enable-last-access-tracking false -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['lastAccessTimeTrackingPolicy'], None) - - result = self.cmd('storage account blob-service-properties update --enable-last-access-tracking -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['lastAccessTimeTrackingPolicy']['enable'], True) - - result = self.cmd('storage account blob-service-properties show -n {sa} -g {rg}').get_output_in_json() - self.assertEqual(result['lastAccessTimeTrackingPolicy']['enable'], True) - - @ResourceGroupPreparer() - @StorageAccountPreparer(kind="StorageV2") - def test_storage_account_default_service_properties(self): - from azure.cli.core.azclierror import InvalidArgumentValueError - self.cmd('storage account blob-service-properties show -n {sa} -g {rg}', checks=[ - self.check('defaultServiceVersion', None)]) - - with self.assertRaisesRegexp(InvalidArgumentValueError, 'Valid example: 2008-10-27'): - self.cmd('storage account blob-service-properties update --default-service-version 2018 -n {sa} -g {rg}') - - self.cmd('storage account blob-service-properties update --default-service-version 2018-11-09 -n {sa} -g {rg}', - checks=[self.check('defaultServiceVersion', '2018-11-09')]) - - self.cmd('storage account blob-service-properties show -n {sa} -g {rg}', - checks=[self.check('defaultServiceVersion', '2018-11-09')]) diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/__init__.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/__init__.py deleted file mode 100644 index 75a361344ca..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -# 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 ._storage_management_client import StorageManagementClient -__all__ = ['StorageManagementClient'] - -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_configuration.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_configuration.py deleted file mode 100644 index 26d1c20a8e9..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_configuration.py +++ /dev/null @@ -1,66 +0,0 @@ -# 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 typing import Any - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -from ._version import VERSION - - -class StorageManagementClientConfiguration(Configuration): - """Configuration for StorageManagementClient. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StorageManagementClientConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'azure-mgmt-storage/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs # type: Any - ): - # type: (...) -> None - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_storage_management_client.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_storage_management_client.py deleted file mode 100644 index 24740541ab0..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_storage_management_client.py +++ /dev/null @@ -1,655 +0,0 @@ -# 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 azure.mgmt.core import ARMPipelineClient -from msrest import Serializer, Deserializer - -from azure.profiles import KnownProfiles, ProfileDefinition -from azure.profiles.multiapiclient import MultiApiClientMixin -from ._configuration import StorageManagementClientConfiguration - -class _SDKClient(object): - def __init__(self, *args, **kwargs): - """This is a fake class to support current implemetation of MultiApiClientMixin." - Will be removed in final version of multiapi azure-core based client - """ - pass - -class StorageManagementClient(MultiApiClientMixin, _SDKClient): - """The Azure Storage Management API. - - This ready contains multiple API versions, to help you deal with all of the Azure clouds - (Azure Stack, Azure Government, Azure China, etc.). - By default, it uses the latest API version available on public Azure. - For production, you should stick to a particular api-version and/or profile. - The profile sets a mapping between an operation group and its API version. - The api-version parameter sets the default API version if the operation - group is not described in the profile. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str api_version: API version to use if no profile is provided, or if - missing in profile. - :param str base_url: Service URL - :param profile: A profile definition, from KnownProfiles to dict. - :type profile: azure.profiles.KnownProfiles - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - DEFAULT_API_VERSION = '2021-01-01' - _PROFILE_TAG = "azure.mgmt.storage.StorageManagementClient" - LATEST_PROFILE = ProfileDefinition({ - _PROFILE_TAG: { - None: DEFAULT_API_VERSION, - 'usage': '2018-02-01', - }}, - _PROFILE_TAG + " latest" - ) - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - api_version=None, - base_url=None, - profile=KnownProfiles.default, - **kwargs # type: Any - ): - if not base_url: - base_url = 'https://management.azure.com' - self._config = StorageManagementClientConfiguration(credential, subscription_id, **kwargs) - self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - super(StorageManagementClient, self).__init__( - api_version=api_version, - profile=profile - ) - - @classmethod - def _models_dict(cls, api_version): - return {k: v for k, v in cls.models(api_version).__dict__.items() if isinstance(v, type)} - - @classmethod - def models(cls, api_version=DEFAULT_API_VERSION): - """Module depends on the API version: - - * 2015-06-15: :mod:`v2015_06_15.models` - * 2016-01-01: :mod:`v2016_01_01.models` - * 2016-12-01: :mod:`v2016_12_01.models` - * 2017-06-01: :mod:`v2017_06_01.models` - * 2017-10-01: :mod:`v2017_10_01.models` - * 2018-02-01: :mod:`v2018_02_01.models` - * 2018-03-01-preview: :mod:`v2018_03_01_preview.models` - * 2018-07-01: :mod:`v2018_07_01.models` - * 2018-11-01: :mod:`v2018_11_01.models` - * 2019-04-01: :mod:`v2019_04_01.models` - * 2019-06-01: :mod:`v2019_06_01.models` - * 2020-08-01-preview: :mod:`v2020_08_01_preview.models` - * 2021-01-01: :mod:`v2021_01_01.models` - """ - if api_version == '2015-06-15': - from .v2015_06_15 import models - return models - elif api_version == '2016-01-01': - from .v2016_01_01 import models - return models - elif api_version == '2016-12-01': - from .v2016_12_01 import models - return models - elif api_version == '2017-06-01': - from .v2017_06_01 import models - return models - elif api_version == '2017-10-01': - from .v2017_10_01 import models - return models - elif api_version == '2018-02-01': - from .v2018_02_01 import models - return models - elif api_version == '2018-03-01-preview': - from .v2018_03_01_preview import models - return models - elif api_version == '2018-07-01': - from .v2018_07_01 import models - return models - elif api_version == '2018-11-01': - from .v2018_11_01 import models - return models - elif api_version == '2019-04-01': - from .v2019_04_01 import models - return models - elif api_version == '2019-06-01': - from .v2019_06_01 import models - return models - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview import models - return models - elif api_version == '2021-01-01': - from .v2021_01_01 import models - return models - raise ValueError("API version {} is not available".format(api_version)) - - @property - def blob_containers(self): - """Instance depends on the API version: - - * 2018-02-01: :class:`BlobContainersOperations` - * 2018-03-01-preview: :class:`BlobContainersOperations` - * 2018-07-01: :class:`BlobContainersOperations` - * 2018-11-01: :class:`BlobContainersOperations` - * 2019-04-01: :class:`BlobContainersOperations` - * 2019-06-01: :class:`BlobContainersOperations` - * 2020-08-01-preview: :class:`BlobContainersOperations` - * 2021-01-01: :class:`BlobContainersOperations` - """ - api_version = self._get_api_version('blob_containers') - if api_version == '2018-02-01': - from .v2018_02_01.operations import BlobContainersOperations as OperationClass - elif api_version == '2018-03-01-preview': - from .v2018_03_01_preview.operations import BlobContainersOperations as OperationClass - elif api_version == '2018-07-01': - from .v2018_07_01.operations import BlobContainersOperations as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import BlobContainersOperations as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import BlobContainersOperations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import BlobContainersOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import BlobContainersOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import BlobContainersOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'blob_containers'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def blob_inventory_policies(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`BlobInventoryPoliciesOperations` - * 2020-08-01-preview: :class:`BlobInventoryPoliciesOperations` - * 2021-01-01: :class:`BlobInventoryPoliciesOperations` - """ - api_version = self._get_api_version('blob_inventory_policies') - if api_version == '2019-06-01': - from .v2019_06_01.operations import BlobInventoryPoliciesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import BlobInventoryPoliciesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import BlobInventoryPoliciesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'blob_inventory_policies'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def blob_services(self): - """Instance depends on the API version: - - * 2018-07-01: :class:`BlobServicesOperations` - * 2018-11-01: :class:`BlobServicesOperations` - * 2019-04-01: :class:`BlobServicesOperations` - * 2019-06-01: :class:`BlobServicesOperations` - * 2020-08-01-preview: :class:`BlobServicesOperations` - * 2021-01-01: :class:`BlobServicesOperations` - """ - api_version = self._get_api_version('blob_services') - if api_version == '2018-07-01': - from .v2018_07_01.operations import BlobServicesOperations as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import BlobServicesOperations as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import BlobServicesOperations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import BlobServicesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import BlobServicesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import BlobServicesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'blob_services'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def deleted_accounts(self): - """Instance depends on the API version: - - * 2020-08-01-preview: :class:`DeletedAccountsOperations` - * 2021-01-01: :class:`DeletedAccountsOperations` - """ - api_version = self._get_api_version('deleted_accounts') - if api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import DeletedAccountsOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import DeletedAccountsOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'deleted_accounts'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def encryption_scopes(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`EncryptionScopesOperations` - * 2020-08-01-preview: :class:`EncryptionScopesOperations` - * 2021-01-01: :class:`EncryptionScopesOperations` - """ - api_version = self._get_api_version('encryption_scopes') - if api_version == '2019-06-01': - from .v2019_06_01.operations import EncryptionScopesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import EncryptionScopesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import EncryptionScopesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'encryption_scopes'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def file_services(self): - """Instance depends on the API version: - - * 2019-04-01: :class:`FileServicesOperations` - * 2019-06-01: :class:`FileServicesOperations` - * 2020-08-01-preview: :class:`FileServicesOperations` - * 2021-01-01: :class:`FileServicesOperations` - """ - api_version = self._get_api_version('file_services') - if api_version == '2019-04-01': - from .v2019_04_01.operations import FileServicesOperations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import FileServicesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import FileServicesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import FileServicesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'file_services'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def file_shares(self): - """Instance depends on the API version: - - * 2019-04-01: :class:`FileSharesOperations` - * 2019-06-01: :class:`FileSharesOperations` - * 2020-08-01-preview: :class:`FileSharesOperations` - * 2021-01-01: :class:`FileSharesOperations` - """ - api_version = self._get_api_version('file_shares') - if api_version == '2019-04-01': - from .v2019_04_01.operations import FileSharesOperations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import FileSharesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import FileSharesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import FileSharesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'file_shares'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def management_policies(self): - """Instance depends on the API version: - - * 2018-07-01: :class:`ManagementPoliciesOperations` - * 2018-11-01: :class:`ManagementPoliciesOperations` - * 2019-04-01: :class:`ManagementPoliciesOperations` - * 2019-06-01: :class:`ManagementPoliciesOperations` - * 2020-08-01-preview: :class:`ManagementPoliciesOperations` - * 2021-01-01: :class:`ManagementPoliciesOperations` - """ - api_version = self._get_api_version('management_policies') - if api_version == '2018-07-01': - from .v2018_07_01.operations import ManagementPoliciesOperations as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import ManagementPoliciesOperations as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import ManagementPoliciesOperations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import ManagementPoliciesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import ManagementPoliciesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import ManagementPoliciesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'management_policies'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def object_replication_policies(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`ObjectReplicationPoliciesOperations` - * 2020-08-01-preview: :class:`ObjectReplicationPoliciesOperations` - * 2021-01-01: :class:`ObjectReplicationPoliciesOperations` - """ - api_version = self._get_api_version('object_replication_policies') - if api_version == '2019-06-01': - from .v2019_06_01.operations import ObjectReplicationPoliciesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import ObjectReplicationPoliciesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import ObjectReplicationPoliciesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'object_replication_policies'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def operations(self): - """Instance depends on the API version: - - * 2017-06-01: :class:`Operations` - * 2017-10-01: :class:`Operations` - * 2018-02-01: :class:`Operations` - * 2018-03-01-preview: :class:`Operations` - * 2018-07-01: :class:`Operations` - * 2018-11-01: :class:`Operations` - * 2019-04-01: :class:`Operations` - * 2019-06-01: :class:`Operations` - * 2020-08-01-preview: :class:`Operations` - * 2021-01-01: :class:`Operations` - """ - api_version = self._get_api_version('operations') - if api_version == '2017-06-01': - from .v2017_06_01.operations import Operations as OperationClass - elif api_version == '2017-10-01': - from .v2017_10_01.operations import Operations as OperationClass - elif api_version == '2018-02-01': - from .v2018_02_01.operations import Operations as OperationClass - elif api_version == '2018-03-01-preview': - from .v2018_03_01_preview.operations import Operations as OperationClass - elif api_version == '2018-07-01': - from .v2018_07_01.operations import Operations as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import Operations as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import Operations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import Operations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import Operations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import Operations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def private_endpoint_connections(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`PrivateEndpointConnectionsOperations` - * 2020-08-01-preview: :class:`PrivateEndpointConnectionsOperations` - * 2021-01-01: :class:`PrivateEndpointConnectionsOperations` - """ - api_version = self._get_api_version('private_endpoint_connections') - if api_version == '2019-06-01': - from .v2019_06_01.operations import PrivateEndpointConnectionsOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import PrivateEndpointConnectionsOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import PrivateEndpointConnectionsOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def private_link_resources(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`PrivateLinkResourcesOperations` - * 2020-08-01-preview: :class:`PrivateLinkResourcesOperations` - * 2021-01-01: :class:`PrivateLinkResourcesOperations` - """ - api_version = self._get_api_version('private_link_resources') - if api_version == '2019-06-01': - from .v2019_06_01.operations import PrivateLinkResourcesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import PrivateLinkResourcesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import PrivateLinkResourcesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def queue(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`QueueOperations` - * 2020-08-01-preview: :class:`QueueOperations` - * 2021-01-01: :class:`QueueOperations` - """ - api_version = self._get_api_version('queue') - if api_version == '2019-06-01': - from .v2019_06_01.operations import QueueOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import QueueOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import QueueOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'queue'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def queue_services(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`QueueServicesOperations` - * 2020-08-01-preview: :class:`QueueServicesOperations` - * 2021-01-01: :class:`QueueServicesOperations` - """ - api_version = self._get_api_version('queue_services') - if api_version == '2019-06-01': - from .v2019_06_01.operations import QueueServicesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import QueueServicesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import QueueServicesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'queue_services'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def skus(self): - """Instance depends on the API version: - - * 2017-06-01: :class:`SkusOperations` - * 2017-10-01: :class:`SkusOperations` - * 2018-02-01: :class:`SkusOperations` - * 2018-03-01-preview: :class:`SkusOperations` - * 2018-07-01: :class:`SkusOperations` - * 2018-11-01: :class:`SkusOperations` - * 2019-04-01: :class:`SkusOperations` - * 2019-06-01: :class:`SkusOperations` - * 2020-08-01-preview: :class:`SkusOperations` - * 2021-01-01: :class:`SkusOperations` - """ - api_version = self._get_api_version('skus') - if api_version == '2017-06-01': - from .v2017_06_01.operations import SkusOperations as OperationClass - elif api_version == '2017-10-01': - from .v2017_10_01.operations import SkusOperations as OperationClass - elif api_version == '2018-02-01': - from .v2018_02_01.operations import SkusOperations as OperationClass - elif api_version == '2018-03-01-preview': - from .v2018_03_01_preview.operations import SkusOperations as OperationClass - elif api_version == '2018-07-01': - from .v2018_07_01.operations import SkusOperations as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import SkusOperations as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import SkusOperations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import SkusOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import SkusOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import SkusOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'skus'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def storage_accounts(self): - """Instance depends on the API version: - - * 2015-06-15: :class:`StorageAccountsOperations` - * 2016-01-01: :class:`StorageAccountsOperations` - * 2016-12-01: :class:`StorageAccountsOperations` - * 2017-06-01: :class:`StorageAccountsOperations` - * 2017-10-01: :class:`StorageAccountsOperations` - * 2018-02-01: :class:`StorageAccountsOperations` - * 2018-03-01-preview: :class:`StorageAccountsOperations` - * 2018-07-01: :class:`StorageAccountsOperations` - * 2018-11-01: :class:`StorageAccountsOperations` - * 2019-04-01: :class:`StorageAccountsOperations` - * 2019-06-01: :class:`StorageAccountsOperations` - * 2020-08-01-preview: :class:`StorageAccountsOperations` - * 2021-01-01: :class:`StorageAccountsOperations` - """ - api_version = self._get_api_version('storage_accounts') - if api_version == '2015-06-15': - from .v2015_06_15.operations import StorageAccountsOperations as OperationClass - elif api_version == '2016-01-01': - from .v2016_01_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2016-12-01': - from .v2016_12_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2017-06-01': - from .v2017_06_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2017-10-01': - from .v2017_10_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2018-02-01': - from .v2018_02_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2018-03-01-preview': - from .v2018_03_01_preview.operations import StorageAccountsOperations as OperationClass - elif api_version == '2018-07-01': - from .v2018_07_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import StorageAccountsOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import StorageAccountsOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import StorageAccountsOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'storage_accounts'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def table(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`TableOperations` - * 2020-08-01-preview: :class:`TableOperations` - * 2021-01-01: :class:`TableOperations` - """ - api_version = self._get_api_version('table') - if api_version == '2019-06-01': - from .v2019_06_01.operations import TableOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import TableOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import TableOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'table'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def table_services(self): - """Instance depends on the API version: - - * 2019-06-01: :class:`TableServicesOperations` - * 2020-08-01-preview: :class:`TableServicesOperations` - * 2021-01-01: :class:`TableServicesOperations` - """ - api_version = self._get_api_version('table_services') - if api_version == '2019-06-01': - from .v2019_06_01.operations import TableServicesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import TableServicesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import TableServicesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'table_services'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def usage(self): - """Instance depends on the API version: - - * 2015-06-15: :class:`UsageOperations` - * 2016-01-01: :class:`UsageOperations` - * 2016-12-01: :class:`UsageOperations` - * 2017-06-01: :class:`UsageOperations` - * 2017-10-01: :class:`UsageOperations` - * 2018-02-01: :class:`UsageOperations` - """ - api_version = self._get_api_version('usage') - if api_version == '2015-06-15': - from .v2015_06_15.operations import UsageOperations as OperationClass - elif api_version == '2016-01-01': - from .v2016_01_01.operations import UsageOperations as OperationClass - elif api_version == '2016-12-01': - from .v2016_12_01.operations import UsageOperations as OperationClass - elif api_version == '2017-06-01': - from .v2017_06_01.operations import UsageOperations as OperationClass - elif api_version == '2017-10-01': - from .v2017_10_01.operations import UsageOperations as OperationClass - elif api_version == '2018-02-01': - from .v2018_02_01.operations import UsageOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'usage'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - @property - def usages(self): - """Instance depends on the API version: - - * 2018-03-01-preview: :class:`UsagesOperations` - * 2018-07-01: :class:`UsagesOperations` - * 2018-11-01: :class:`UsagesOperations` - * 2019-04-01: :class:`UsagesOperations` - * 2019-06-01: :class:`UsagesOperations` - * 2020-08-01-preview: :class:`UsagesOperations` - * 2021-01-01: :class:`UsagesOperations` - """ - api_version = self._get_api_version('usages') - if api_version == '2018-03-01-preview': - from .v2018_03_01_preview.operations import UsagesOperations as OperationClass - elif api_version == '2018-07-01': - from .v2018_07_01.operations import UsagesOperations as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import UsagesOperations as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import UsagesOperations as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import UsagesOperations as OperationClass - elif api_version == '2020-08-01-preview': - from .v2020_08_01_preview.operations import UsagesOperations as OperationClass - elif api_version == '2021-01-01': - from .v2021_01_01.operations import UsagesOperations as OperationClass - else: - raise ValueError("API version {} does not have operation group 'usages'".format(api_version)) - return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) - - def close(self): - self._client.close() - def __enter__(self): - self._client.__enter__() - return self - def __exit__(self, *exc_details): - self._client.__exit__(*exc_details) diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_version.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_version.py deleted file mode 100644 index 1f4def1a9aa..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/_version.py +++ /dev/null @@ -1,8 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -VERSION = "17.0.0" diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/models.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/models.py deleted file mode 100644 index 77f14a4c21f..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/models.py +++ /dev/null @@ -1,8 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- -from .v2018_02_01.models import * -from .v2021_01_01.models import * diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/__init__.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/__init__.py deleted file mode 100644 index 75a361344ca..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -# 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 ._storage_management_client import StorageManagementClient -__all__ = ['StorageManagementClient'] - -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/_configuration.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/_configuration.py deleted file mode 100644 index 3a0fd10e6b4..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/_configuration.py +++ /dev/null @@ -1,70 +0,0 @@ -# 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 typing import TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any - - from azure.core.credentials import TokenCredential - -VERSION = "unknown" - -class StorageManagementClientConfiguration(Configuration): - """Configuration for StorageManagementClient. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StorageManagementClientConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2021-01-01" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs # type: Any - ): - # type: (...) -> None - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/_storage_management_client.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/_storage_management_client.py deleted file mode 100644 index 26bbdc0fa19..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/_storage_management_client.py +++ /dev/null @@ -1,159 +0,0 @@ -# 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 typing import TYPE_CHECKING - -from azure.mgmt.core import ARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Optional - - from azure.core.credentials import TokenCredential - -from ._configuration import StorageManagementClientConfiguration -from .operations import Operations -from .operations import SkusOperations -from .operations import StorageAccountsOperations -from .operations import DeletedAccountsOperations -from .operations import UsagesOperations -from .operations import ManagementPoliciesOperations -from .operations import BlobInventoryPoliciesOperations -from .operations import PrivateEndpointConnectionsOperations -from .operations import PrivateLinkResourcesOperations -from .operations import ObjectReplicationPoliciesOperations -from .operations import EncryptionScopesOperations -from .operations import BlobServicesOperations -from .operations import BlobContainersOperations -from .operations import FileServicesOperations -from .operations import FileSharesOperations -from .operations import QueueServicesOperations -from .operations import QueueOperations -from .operations import TableServicesOperations -from .operations import TableOperations -from . import models - - -class StorageManagementClient(object): - """The Azure Storage Management API. - - :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2021_01_01.operations.Operations - :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2021_01_01.operations.SkusOperations - :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2021_01_01.operations.StorageAccountsOperations - :ivar deleted_accounts: DeletedAccountsOperations operations - :vartype deleted_accounts: azure.mgmt.storage.v2021_01_01.operations.DeletedAccountsOperations - :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.storage.v2021_01_01.operations.UsagesOperations - :ivar management_policies: ManagementPoliciesOperations operations - :vartype management_policies: azure.mgmt.storage.v2021_01_01.operations.ManagementPoliciesOperations - :ivar blob_inventory_policies: BlobInventoryPoliciesOperations operations - :vartype blob_inventory_policies: azure.mgmt.storage.v2021_01_01.operations.BlobInventoryPoliciesOperations - :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations - :vartype private_endpoint_connections: azure.mgmt.storage.v2021_01_01.operations.PrivateEndpointConnectionsOperations - :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: azure.mgmt.storage.v2021_01_01.operations.PrivateLinkResourcesOperations - :ivar object_replication_policies: ObjectReplicationPoliciesOperations operations - :vartype object_replication_policies: azure.mgmt.storage.v2021_01_01.operations.ObjectReplicationPoliciesOperations - :ivar encryption_scopes: EncryptionScopesOperations operations - :vartype encryption_scopes: azure.mgmt.storage.v2021_01_01.operations.EncryptionScopesOperations - :ivar blob_services: BlobServicesOperations operations - :vartype blob_services: azure.mgmt.storage.v2021_01_01.operations.BlobServicesOperations - :ivar blob_containers: BlobContainersOperations operations - :vartype blob_containers: azure.mgmt.storage.v2021_01_01.operations.BlobContainersOperations - :ivar file_services: FileServicesOperations operations - :vartype file_services: azure.mgmt.storage.v2021_01_01.operations.FileServicesOperations - :ivar file_shares: FileSharesOperations operations - :vartype file_shares: azure.mgmt.storage.v2021_01_01.operations.FileSharesOperations - :ivar queue_services: QueueServicesOperations operations - :vartype queue_services: azure.mgmt.storage.v2021_01_01.operations.QueueServicesOperations - :ivar queue: QueueOperations operations - :vartype queue: azure.mgmt.storage.v2021_01_01.operations.QueueOperations - :ivar table_services: TableServicesOperations operations - :vartype table_services: azure.mgmt.storage.v2021_01_01.operations.TableServicesOperations - :ivar table: TableOperations operations - :vartype table: azure.mgmt.storage.v2021_01_01.operations.TableOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - base_url=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - if not base_url: - base_url = 'https://management.azure.com' - self._config = StorageManagementClientConfiguration(credential, subscription_id, **kwargs) - self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._deserialize = Deserializer(client_models) - - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.skus = SkusOperations( - self._client, self._config, self._serialize, self._deserialize) - self.storage_accounts = StorageAccountsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.deleted_accounts = DeletedAccountsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.usages = UsagesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.management_policies = ManagementPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.blob_inventory_policies = BlobInventoryPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.private_endpoint_connections = PrivateEndpointConnectionsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.private_link_resources = PrivateLinkResourcesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.object_replication_policies = ObjectReplicationPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.encryption_scopes = EncryptionScopesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.blob_services = BlobServicesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.blob_containers = BlobContainersOperations( - self._client, self._config, self._serialize, self._deserialize) - self.file_services = FileServicesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.file_shares = FileSharesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.queue_services = QueueServicesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.queue = QueueOperations( - self._client, self._config, self._serialize, self._deserialize) - self.table_services = TableServicesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.table = TableOperations( - self._client, self._config, self._serialize, self._deserialize) - - def close(self): - # type: () -> None - self._client.close() - - def __enter__(self): - # type: () -> StorageManagementClient - self._client.__enter__() - return self - - def __exit__(self, *exc_details): - # type: (Any) -> None - self._client.__exit__(*exc_details) diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/__init__.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/__init__.py deleted file mode 100644 index 9cfe0ace1ba..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/__init__.py +++ /dev/null @@ -1,10 +0,0 @@ -# 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 ._storage_management_client import StorageManagementClient -__all__ = ['StorageManagementClient'] diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/_configuration.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/_configuration.py deleted file mode 100644 index 66d6f7765e4..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/_configuration.py +++ /dev/null @@ -1,66 +0,0 @@ -# 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 typing import Any, TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -VERSION = "unknown" - -class StorageManagementClientConfiguration(Configuration): - """Configuration for StorageManagementClient. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(StorageManagementClientConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2021-01-01" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'mgmt-storage/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs: Any - ) -> None: - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/_storage_management_client.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/_storage_management_client.py deleted file mode 100644 index 464d9ad86d5..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/_storage_management_client.py +++ /dev/null @@ -1,153 +0,0 @@ -# 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 typing import Any, Optional, TYPE_CHECKING - -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -from ._configuration import StorageManagementClientConfiguration -from .operations import Operations -from .operations import SkusOperations -from .operations import StorageAccountsOperations -from .operations import DeletedAccountsOperations -from .operations import UsagesOperations -from .operations import ManagementPoliciesOperations -from .operations import BlobInventoryPoliciesOperations -from .operations import PrivateEndpointConnectionsOperations -from .operations import PrivateLinkResourcesOperations -from .operations import ObjectReplicationPoliciesOperations -from .operations import EncryptionScopesOperations -from .operations import BlobServicesOperations -from .operations import BlobContainersOperations -from .operations import FileServicesOperations -from .operations import FileSharesOperations -from .operations import QueueServicesOperations -from .operations import QueueOperations -from .operations import TableServicesOperations -from .operations import TableOperations -from .. import models - - -class StorageManagementClient(object): - """The Azure Storage Management API. - - :ivar operations: Operations operations - :vartype operations: azure.mgmt.storage.v2021_01_01.aio.operations.Operations - :ivar skus: SkusOperations operations - :vartype skus: azure.mgmt.storage.v2021_01_01.aio.operations.SkusOperations - :ivar storage_accounts: StorageAccountsOperations operations - :vartype storage_accounts: azure.mgmt.storage.v2021_01_01.aio.operations.StorageAccountsOperations - :ivar deleted_accounts: DeletedAccountsOperations operations - :vartype deleted_accounts: azure.mgmt.storage.v2021_01_01.aio.operations.DeletedAccountsOperations - :ivar usages: UsagesOperations operations - :vartype usages: azure.mgmt.storage.v2021_01_01.aio.operations.UsagesOperations - :ivar management_policies: ManagementPoliciesOperations operations - :vartype management_policies: azure.mgmt.storage.v2021_01_01.aio.operations.ManagementPoliciesOperations - :ivar blob_inventory_policies: BlobInventoryPoliciesOperations operations - :vartype blob_inventory_policies: azure.mgmt.storage.v2021_01_01.aio.operations.BlobInventoryPoliciesOperations - :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations - :vartype private_endpoint_connections: azure.mgmt.storage.v2021_01_01.aio.operations.PrivateEndpointConnectionsOperations - :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: azure.mgmt.storage.v2021_01_01.aio.operations.PrivateLinkResourcesOperations - :ivar object_replication_policies: ObjectReplicationPoliciesOperations operations - :vartype object_replication_policies: azure.mgmt.storage.v2021_01_01.aio.operations.ObjectReplicationPoliciesOperations - :ivar encryption_scopes: EncryptionScopesOperations operations - :vartype encryption_scopes: azure.mgmt.storage.v2021_01_01.aio.operations.EncryptionScopesOperations - :ivar blob_services: BlobServicesOperations operations - :vartype blob_services: azure.mgmt.storage.v2021_01_01.aio.operations.BlobServicesOperations - :ivar blob_containers: BlobContainersOperations operations - :vartype blob_containers: azure.mgmt.storage.v2021_01_01.aio.operations.BlobContainersOperations - :ivar file_services: FileServicesOperations operations - :vartype file_services: azure.mgmt.storage.v2021_01_01.aio.operations.FileServicesOperations - :ivar file_shares: FileSharesOperations operations - :vartype file_shares: azure.mgmt.storage.v2021_01_01.aio.operations.FileSharesOperations - :ivar queue_services: QueueServicesOperations operations - :vartype queue_services: azure.mgmt.storage.v2021_01_01.aio.operations.QueueServicesOperations - :ivar queue: QueueOperations operations - :vartype queue: azure.mgmt.storage.v2021_01_01.aio.operations.QueueOperations - :ivar table_services: TableServicesOperations operations - :vartype table_services: azure.mgmt.storage.v2021_01_01.aio.operations.TableServicesOperations - :ivar table: TableOperations operations - :vartype table: azure.mgmt.storage.v2021_01_01.aio.operations.TableOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: The ID of the target subscription. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - base_url: Optional[str] = None, - **kwargs: Any - ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = StorageManagementClientConfiguration(credential, subscription_id, **kwargs) - self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._deserialize = Deserializer(client_models) - - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.skus = SkusOperations( - self._client, self._config, self._serialize, self._deserialize) - self.storage_accounts = StorageAccountsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.deleted_accounts = DeletedAccountsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.usages = UsagesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.management_policies = ManagementPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.blob_inventory_policies = BlobInventoryPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.private_endpoint_connections = PrivateEndpointConnectionsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.private_link_resources = PrivateLinkResourcesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.object_replication_policies = ObjectReplicationPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.encryption_scopes = EncryptionScopesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.blob_services = BlobServicesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.blob_containers = BlobContainersOperations( - self._client, self._config, self._serialize, self._deserialize) - self.file_services = FileServicesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.file_shares = FileSharesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.queue_services = QueueServicesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.queue = QueueOperations( - self._client, self._config, self._serialize, self._deserialize) - self.table_services = TableServicesOperations( - self._client, self._config, self._serialize, self._deserialize) - self.table = TableOperations( - self._client, self._config, self._serialize, self._deserialize) - - async def close(self) -> None: - await self._client.close() - - async def __aenter__(self) -> "StorageManagementClient": - await self._client.__aenter__() - return self - - async def __aexit__(self, *exc_details) -> None: - await self._client.__aexit__(*exc_details) diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/__init__.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/__init__.py deleted file mode 100644 index bddcf8c8cb3..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/__init__.py +++ /dev/null @@ -1,49 +0,0 @@ -# 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 ._operations import Operations -from ._skus_operations import SkusOperations -from ._storage_accounts_operations import StorageAccountsOperations -from ._deleted_accounts_operations import DeletedAccountsOperations -from ._usages_operations import UsagesOperations -from ._management_policies_operations import ManagementPoliciesOperations -from ._blob_inventory_policies_operations import BlobInventoryPoliciesOperations -from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations -from ._private_link_resources_operations import PrivateLinkResourcesOperations -from ._object_replication_policies_operations import ObjectReplicationPoliciesOperations -from ._encryption_scopes_operations import EncryptionScopesOperations -from ._blob_services_operations import BlobServicesOperations -from ._blob_containers_operations import BlobContainersOperations -from ._file_services_operations import FileServicesOperations -from ._file_shares_operations import FileSharesOperations -from ._queue_services_operations import QueueServicesOperations -from ._queue_operations import QueueOperations -from ._table_services_operations import TableServicesOperations -from ._table_operations import TableOperations - -__all__ = [ - 'Operations', - 'SkusOperations', - 'StorageAccountsOperations', - 'DeletedAccountsOperations', - 'UsagesOperations', - 'ManagementPoliciesOperations', - 'BlobInventoryPoliciesOperations', - 'PrivateEndpointConnectionsOperations', - 'PrivateLinkResourcesOperations', - 'ObjectReplicationPoliciesOperations', - 'EncryptionScopesOperations', - 'BlobServicesOperations', - 'BlobContainersOperations', - 'FileServicesOperations', - 'FileSharesOperations', - 'QueueServicesOperations', - 'QueueOperations', - 'TableServicesOperations', - 'TableOperations', -] diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_containers_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_containers_operations.py deleted file mode 100644 index 2e647f18140..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_containers_operations.py +++ /dev/null @@ -1,1082 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class BlobContainersOperations: - """BlobContainersOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name: str, - account_name: str, - maxpagesize: Optional[str] = None, - filter: Optional[str] = None, - include: Optional[Union[str, "_models.ListContainersInclude"]] = None, - **kwargs - ) -> AsyncIterable["_models.ListContainerItems"]: - """Lists all containers and does not support a prefix like data plane. Also SRP today does not - return continuation token. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param maxpagesize: Optional. Specified maximum number of containers that can be included in - the list. - :type maxpagesize: str - :param filter: Optional. When specified, only container names starting with the filter will be - listed. - :type filter: str - :param include: Optional, used to include the properties for soft deleted blob containers. - :type include: str or ~azure.mgmt.storage.v2021_01_01.models.ListContainersInclude - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ListContainerItems or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListContainerItems] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListContainerItems"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if maxpagesize is not None: - query_parameters['$maxpagesize'] = self._serialize.query("maxpagesize", maxpagesize, 'str') - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') - if include is not None: - query_parameters['$include'] = self._serialize.query("include", include, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ListContainerItems', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers'} # type: ignore - - async def create( - self, - resource_group_name: str, - account_name: str, - container_name: str, - blob_container: "_models.BlobContainer", - **kwargs - ) -> "_models.BlobContainer": - """Creates a new container under the specified account as described by request body. The container - resource includes metadata and properties for that container. It does not include a list of the - blobs contained by the container. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param blob_container: Properties of the blob container to create. - :type blob_container: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobContainer, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobContainer"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(blob_container, 'BlobContainer') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('BlobContainer', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('BlobContainer', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - account_name: str, - container_name: str, - blob_container: "_models.BlobContainer", - **kwargs - ) -> "_models.BlobContainer": - """Updates container properties as specified in request body. Properties not mentioned in the - request will be unchanged. Update fails if the specified container doesn't already exist. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param blob_container: Properties to update for the blob container. - :type blob_container: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobContainer, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobContainer"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(blob_container, 'BlobContainer') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobContainer', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - account_name: str, - container_name: str, - **kwargs - ) -> "_models.BlobContainer": - """Gets properties of a specified container. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobContainer, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobContainer"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobContainer', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - container_name: str, - **kwargs - ) -> None: - """Deletes specified container under its account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} # type: ignore - - async def set_legal_hold( - self, - resource_group_name: str, - account_name: str, - container_name: str, - legal_hold: "_models.LegalHold", - **kwargs - ) -> "_models.LegalHold": - """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold - follows an append pattern and does not clear out the existing tags that are not specified in - the request. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param legal_hold: The LegalHold property that will be set to a blob container. - :type legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHold - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LegalHold, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.LegalHold"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_legal_hold.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(legal_hold, 'LegalHold') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('LegalHold', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_legal_hold.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold'} # type: ignore - - async def clear_legal_hold( - self, - resource_group_name: str, - account_name: str, - container_name: str, - legal_hold: "_models.LegalHold", - **kwargs - ) -> "_models.LegalHold": - """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent - operation. ClearLegalHold clears out only the specified tags in the request. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param legal_hold: The LegalHold property that will be clear from a blob container. - :type legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHold - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LegalHold, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.LegalHold"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.clear_legal_hold.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(legal_hold, 'LegalHold') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('LegalHold', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - clear_legal_hold.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold'} # type: ignore - - async def create_or_update_immutability_policy( - self, - resource_group_name: str, - account_name: str, - container_name: str, - if_match: Optional[str] = None, - parameters: Optional["_models.ImmutabilityPolicy"] = None, - **kwargs - ) -> "_models.ImmutabilityPolicy": - """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but - not required for this operation. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob - container. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - immutability_policy_name = "default" - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'immutabilityPolicyName': self._serialize.url("immutability_policy_name", immutability_policy_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if parameters is not None: - body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - create_or_update_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} # type: ignore - - async def get_immutability_policy( - self, - resource_group_name: str, - account_name: str, - container_name: str, - if_match: Optional[str] = None, - **kwargs - ) -> "_models.ImmutabilityPolicy": - """Gets the existing immutability policy along with the corresponding ETag in response headers and - body. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - immutability_policy_name = "default" - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'immutabilityPolicyName': self._serialize.url("immutability_policy_name", immutability_policy_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - get_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} # type: ignore - - async def delete_immutability_policy( - self, - resource_group_name: str, - account_name: str, - container_name: str, - if_match: str, - **kwargs - ) -> "_models.ImmutabilityPolicy": - """Aborts an unlocked immutability policy. The response of delete has - immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this - operation. Deleting a locked immutability policy is not allowed, the only way is to delete the - container after deleting all expired blobs inside the policy locked container. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - immutability_policy_name = "default" - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'immutabilityPolicyName': self._serialize.url("immutability_policy_name", immutability_policy_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - delete_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} # type: ignore - - async def lock_immutability_policy( - self, - resource_group_name: str, - account_name: str, - container_name: str, - if_match: str, - **kwargs - ) -> "_models.ImmutabilityPolicy": - """Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is - ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.lock_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - lock_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock'} # type: ignore - - async def extend_immutability_policy( - self, - resource_group_name: str, - account_name: str, - container_name: str, - if_match: str, - parameters: Optional["_models.ImmutabilityPolicy"] = None, - **kwargs - ) -> "_models.ImmutabilityPolicy": - """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only - action allowed on a Locked policy will be this action. ETag in If-Match is required for this - operation. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob - container. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.extend_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if parameters is not None: - body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - extend_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend'} # type: ignore - - async def lease( - self, - resource_group_name: str, - account_name: str, - container_name: str, - parameters: Optional["_models.LeaseContainerRequest"] = None, - **kwargs - ) -> "_models.LeaseContainerResponse": - """The Lease Container operation establishes and manages a lock on a container for delete - operations. The lock duration can be 15 to 60 seconds, or can be infinite. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param parameters: Lease Container request body. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerRequest - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LeaseContainerResponse, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.LeaseContainerResponse"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.lease.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if parameters is not None: - body_content = self._serialize.body(parameters, 'LeaseContainerRequest') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('LeaseContainerResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - lease.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py deleted file mode 100644 index da7ba0c4336..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +++ /dev/null @@ -1,326 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class BlobInventoryPoliciesOperations: - """BlobInventoryPoliciesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def get( - self, - resource_group_name: str, - account_name: str, - blob_inventory_policy_name: Union[str, "_models.BlobInventoryPolicyName"], - **kwargs - ) -> "_models.BlobInventoryPolicy": - """Gets the blob inventory policy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It - should always be 'default'. - :type blob_inventory_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobInventoryPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobInventoryPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'blobInventoryPolicyName': self._serialize.url("blob_inventory_policy_name", blob_inventory_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobInventoryPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - account_name: str, - blob_inventory_policy_name: Union[str, "_models.BlobInventoryPolicyName"], - properties: "_models.BlobInventoryPolicy", - **kwargs - ) -> "_models.BlobInventoryPolicy": - """Sets the blob inventory policy to the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It - should always be 'default'. - :type blob_inventory_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyName - :param properties: The blob inventory policy set to a storage account. - :type properties: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobInventoryPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobInventoryPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'blobInventoryPolicyName': self._serialize.url("blob_inventory_policy_name", blob_inventory_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'BlobInventoryPolicy') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobInventoryPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - blob_inventory_policy_name: Union[str, "_models.BlobInventoryPolicyName"], - **kwargs - ) -> None: - """Deletes the blob inventory policy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It - should always be 'default'. - :type blob_inventory_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'blobInventoryPolicyName': self._serialize.url("blob_inventory_policy_name", blob_inventory_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}'} # type: ignore - - def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> AsyncIterable["_models.ListBlobInventoryPolicy"]: - """Gets the blob inventory policy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListBlobInventoryPolicy] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListBlobInventoryPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ListBlobInventoryPolicy', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_services_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_services_operations.py deleted file mode 100644 index 9d8b964c310..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_blob_services_operations.py +++ /dev/null @@ -1,256 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class BlobServicesOperations: - """BlobServicesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> AsyncIterable["_models.BlobServiceItems"]: - """List blob services of storage account. It returns a collection of one object named default. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either BlobServiceItems or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.BlobServiceItems] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobServiceItems"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('BlobServiceItems', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices'} # type: ignore - - async def set_service_properties( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.BlobServiceProperties", - **kwargs - ) -> "_models.BlobServiceProperties": - """Sets the properties of a storage account’s Blob service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The properties of a storage account’s Blob service, including properties for - Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.BlobServiceProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - blob_services_name = "default" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'BlobServicesName': self._serialize.url("blob_services_name", blob_services_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'BlobServiceProperties') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}'} # type: ignore - - async def get_service_properties( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> "_models.BlobServiceProperties": - """Gets the properties of a storage account’s Blob service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - blob_services_name = "default" - accept = "application/json" - - # Construct URL - url = self.get_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'BlobServicesName': self._serialize.url("blob_services_name", blob_services_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py deleted file mode 100644 index 12111f153b3..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +++ /dev/null @@ -1,168 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class DeletedAccountsOperations: - """DeletedAccountsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs - ) -> AsyncIterable["_models.DeletedAccountListResult"]: - """Lists deleted accounts under the subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DeletedAccountListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.DeletedAccountListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.DeletedAccountListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('DeletedAccountListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts'} # type: ignore - - async def get( - self, - deleted_account_name: str, - location: str, - **kwargs - ) -> "_models.DeletedAccount": - """Get properties of specified deleted account resource. - - :param deleted_account_name: Name of the deleted storage account. - :type deleted_account_name: str - :param location: The location of the deleted storage account. - :type location: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DeletedAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.DeletedAccount - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.DeletedAccount"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'deletedAccountName': self._serialize.url("deleted_account_name", deleted_account_name, 'str', max_length=24, min_length=3), - 'location': self._serialize.url("location", location, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DeletedAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py deleted file mode 100644 index d8076d5550a..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +++ /dev/null @@ -1,349 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class EncryptionScopesOperations: - """EncryptionScopesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def put( - self, - resource_group_name: str, - account_name: str, - encryption_scope_name: str, - encryption_scope: "_models.EncryptionScope", - **kwargs - ) -> "_models.EncryptionScope": - """Synchronously creates or updates an encryption scope under the specified storage account. If an - encryption scope is already created and a subsequent request is issued with different - properties, the encryption scope properties will be updated per the specified request. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param encryption_scope_name: The name of the encryption scope within the specified storage - account. Encryption scope names must be between 3 and 63 characters in length and use numbers, - lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and - followed by a letter or number. - :type encryption_scope_name: str - :param encryption_scope: Encryption scope properties to be used for the create or update. - :type encryption_scope: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :keyword callable cls: A custom type or function that will be passed the direct response - :return: EncryptionScope, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.EncryptionScope"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.put.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'encryptionScopeName': self._serialize.url("encryption_scope_name", encryption_scope_name, 'str', max_length=63, min_length=3), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(encryption_scope, 'EncryptionScope') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('EncryptionScope', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('EncryptionScope', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - put.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}'} # type: ignore - - async def patch( - self, - resource_group_name: str, - account_name: str, - encryption_scope_name: str, - encryption_scope: "_models.EncryptionScope", - **kwargs - ) -> "_models.EncryptionScope": - """Update encryption scope properties as specified in the request body. Update fails if the - specified encryption scope does not already exist. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param encryption_scope_name: The name of the encryption scope within the specified storage - account. Encryption scope names must be between 3 and 63 characters in length and use numbers, - lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and - followed by a letter or number. - :type encryption_scope_name: str - :param encryption_scope: Encryption scope properties to be used for the update. - :type encryption_scope: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :keyword callable cls: A custom type or function that will be passed the direct response - :return: EncryptionScope, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.EncryptionScope"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.patch.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'encryptionScopeName': self._serialize.url("encryption_scope_name", encryption_scope_name, 'str', max_length=63, min_length=3), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(encryption_scope, 'EncryptionScope') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('EncryptionScope', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - patch.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - account_name: str, - encryption_scope_name: str, - **kwargs - ) -> "_models.EncryptionScope": - """Returns the properties for the specified encryption scope. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param encryption_scope_name: The name of the encryption scope within the specified storage - account. Encryption scope names must be between 3 and 63 characters in length and use numbers, - lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and - followed by a letter or number. - :type encryption_scope_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: EncryptionScope, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.EncryptionScope"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'encryptionScopeName': self._serialize.url("encryption_scope_name", encryption_scope_name, 'str', max_length=63, min_length=3), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('EncryptionScope', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}'} # type: ignore - - def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> AsyncIterable["_models.EncryptionScopeListResult"]: - """Lists all the encryption scopes available under the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.EncryptionScopeListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.EncryptionScopeListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('EncryptionScopeListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_file_services_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_file_services_operations.py deleted file mode 100644 index 2dcce71cd68..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_file_services_operations.py +++ /dev/null @@ -1,239 +0,0 @@ -# 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 typing import Any, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class FileServicesOperations: - """FileServicesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> "_models.FileServiceItems": - """List all file services in storage accounts. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileServiceItems, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileServiceItems - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileServiceItems"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileServiceItems', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices'} # type: ignore - - async def set_service_properties( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.FileServiceProperties", - **kwargs - ) -> "_models.FileServiceProperties": - """Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource - Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - file_services_name = "default" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'FileServicesName': self._serialize.url("file_services_name", file_services_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'FileServiceProperties') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}'} # type: ignore - - async def get_service_properties( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> "_models.FileServiceProperties": - """Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource - Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - file_services_name = "default" - accept = "application/json" - - # Construct URL - url = self.get_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'FileServicesName': self._serialize.url("file_services_name", file_services_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_file_shares_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_file_shares_operations.py deleted file mode 100644 index cb73b8d3d7e..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_file_shares_operations.py +++ /dev/null @@ -1,521 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class FileSharesOperations: - """FileSharesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name: str, - account_name: str, - maxpagesize: Optional[str] = None, - filter: Optional[str] = None, - expand: Optional[Union[str, "_models.ListSharesExpand"]] = None, - **kwargs - ) -> AsyncIterable["_models.FileShareItems"]: - """Lists all shares. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param maxpagesize: Optional. Specified maximum number of shares that can be included in the - list. - :type maxpagesize: str - :param filter: Optional. When specified, only share names starting with the filter will be - listed. - :type filter: str - :param expand: Optional, used to expand the properties within share's properties. - :type expand: str or ~azure.mgmt.storage.v2021_01_01.models.ListSharesExpand - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FileShareItems or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.FileShareItems] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileShareItems"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if maxpagesize is not None: - query_parameters['$maxpagesize'] = self._serialize.query("maxpagesize", maxpagesize, 'str') - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('FileShareItems', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares'} # type: ignore - - async def create( - self, - resource_group_name: str, - account_name: str, - share_name: str, - file_share: "_models.FileShare", - expand: Optional[Union[str, "_models.PutSharesExpand"]] = None, - **kwargs - ) -> "_models.FileShare": - """Creates a new share under the specified account as described by request body. The share - resource includes metadata and properties for that share. It does not include a list of the - files contained by the share. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param file_share: Properties of the file share to create. - :type file_share: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :param expand: Optional, used to create a snapshot. - :type expand: str or ~azure.mgmt.storage.v2021_01_01.models.PutSharesExpand - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileShare, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileShare"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(file_share, 'FileShare') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('FileShare', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('FileShare', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - account_name: str, - share_name: str, - file_share: "_models.FileShare", - **kwargs - ) -> "_models.FileShare": - """Updates share properties as specified in request body. Properties not mentioned in the request - will not be changed. Update fails if the specified share does not already exist. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param file_share: Properties to update for the file share. - :type file_share: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileShare, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileShare"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(file_share, 'FileShare') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileShare', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - account_name: str, - share_name: str, - expand: Optional[str] = "stats", - x_ms_snapshot: Optional[str] = None, - **kwargs - ) -> "_models.FileShare": - """Gets properties of a specified share. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param expand: Optional, used to expand the properties within share's properties. - :type expand: str - :param x_ms_snapshot: Optional, used to retrieve properties of a snapshot. - :type x_ms_snapshot: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileShare, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileShare"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if x_ms_snapshot is not None: - header_parameters['x-ms-snapshot'] = self._serialize.header("x_ms_snapshot", x_ms_snapshot, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileShare', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - share_name: str, - x_ms_snapshot: Optional[str] = None, - **kwargs - ) -> None: - """Deletes specified share under its account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param x_ms_snapshot: Optional, used to delete a snapshot. - :type x_ms_snapshot: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if x_ms_snapshot is not None: - header_parameters['x-ms-snapshot'] = self._serialize.header("x_ms_snapshot", x_ms_snapshot, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}'} # type: ignore - - async def restore( - self, - resource_group_name: str, - account_name: str, - share_name: str, - deleted_share: "_models.DeletedShare", - **kwargs - ) -> None: - """Restore a file share within a valid retention days if share soft delete is enabled. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param deleted_share: - :type deleted_share: ~azure.mgmt.storage.v2021_01_01.models.DeletedShare - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.restore.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(deleted_share, 'DeletedShare') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - restore.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_management_policies_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_management_policies_operations.py deleted file mode 100644 index 689478a9dee..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_management_policies_operations.py +++ /dev/null @@ -1,242 +0,0 @@ -# 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 typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class ManagementPoliciesOperations: - """ManagementPoliciesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def get( - self, - resource_group_name: str, - account_name: str, - management_policy_name: Union[str, "_models.ManagementPolicyName"], - **kwargs - ) -> "_models.ManagementPolicy": - """Gets the managementpolicy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param management_policy_name: The name of the Storage Account Management Policy. It should - always be 'default'. - :type management_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagementPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagementPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'managementPolicyName': self._serialize.url("management_policy_name", management_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagementPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - account_name: str, - management_policy_name: Union[str, "_models.ManagementPolicyName"], - properties: "_models.ManagementPolicy", - **kwargs - ) -> "_models.ManagementPolicy": - """Sets the managementpolicy to the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param management_policy_name: The name of the Storage Account Management Policy. It should - always be 'default'. - :type management_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyName - :param properties: The ManagementPolicy set to a storage account. - :type properties: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagementPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagementPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'managementPolicyName': self._serialize.url("management_policy_name", management_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'ManagementPolicy') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagementPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - management_policy_name: Union[str, "_models.ManagementPolicyName"], - **kwargs - ) -> None: - """Deletes the managementpolicy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param management_policy_name: The name of the Storage Account Management Policy. It should - always be 'default'. - :type management_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'managementPolicyName': self._serialize.url("management_policy_name", management_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py deleted file mode 100644 index 337563a5c64..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +++ /dev/null @@ -1,327 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class ObjectReplicationPoliciesOperations: - """ObjectReplicationPoliciesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> AsyncIterable["_models.ObjectReplicationPolicies"]: - """List the object replication policies associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicies] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ObjectReplicationPolicies"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ObjectReplicationPolicies', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies'} # type: ignore - - async def get( - self, - resource_group_name: str, - account_name: str, - object_replication_policy_id: str, - **kwargs - ) -> "_models.ObjectReplicationPolicy": - """Get the object replication policy of the storage account by policy ID. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param object_replication_policy_id: The ID of object replication policy or 'default' if the - policy ID is unknown. - :type object_replication_policy_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ObjectReplicationPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ObjectReplicationPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'objectReplicationPolicyId': self._serialize.url("object_replication_policy_id", object_replication_policy_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ObjectReplicationPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}'} # type: ignore - - async def create_or_update( - self, - resource_group_name: str, - account_name: str, - object_replication_policy_id: str, - properties: "_models.ObjectReplicationPolicy", - **kwargs - ) -> "_models.ObjectReplicationPolicy": - """Create or update the object replication policy of the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param object_replication_policy_id: The ID of object replication policy or 'default' if the - policy ID is unknown. - :type object_replication_policy_id: str - :param properties: The object replication policy set to a storage account. A unique policy ID - will be created if absent. - :type properties: ~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ObjectReplicationPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ObjectReplicationPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'objectReplicationPolicyId': self._serialize.url("object_replication_policy_id", object_replication_policy_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'ObjectReplicationPolicy') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ObjectReplicationPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - object_replication_policy_id: str, - **kwargs - ) -> None: - """Deletes the object replication policy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param object_replication_policy_id: The ID of object replication policy or 'default' if the - policy ID is unknown. - :type object_replication_policy_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'objectReplicationPolicyId': self._serialize.url("object_replication_policy_id", object_replication_policy_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_operations.py deleted file mode 100644 index a530a43e9ab..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_operations.py +++ /dev/null @@ -1,104 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class Operations: - """Operations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs - ) -> AsyncIterable["_models.OperationListResult"]: - """Lists all of the available Storage Rest API operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.OperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('OperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/providers/Microsoft.Storage/operations'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py deleted file mode 100644 index c94fbfd146f..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +++ /dev/null @@ -1,325 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class PrivateEndpointConnectionsOperations: - """PrivateEndpointConnectionsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> AsyncIterable["_models.PrivateEndpointConnectionListResult"]: - """List all the private endpoint connections associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnectionListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('PrivateEndpointConnectionListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections'} # type: ignore - - async def get( - self, - resource_group_name: str, - account_name: str, - private_endpoint_connection_name: str, - **kwargs - ) -> "_models.PrivateEndpointConnection": - """Gets the specified private endpoint connection associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param private_endpoint_connection_name: The name of the private endpoint connection associated - with the Azure resource. - :type private_endpoint_connection_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore - - async def put( - self, - resource_group_name: str, - account_name: str, - private_endpoint_connection_name: str, - properties: "_models.PrivateEndpointConnection", - **kwargs - ) -> "_models.PrivateEndpointConnection": - """Update the state of specified private endpoint connection associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param private_endpoint_connection_name: The name of the private endpoint connection associated - with the Azure resource. - :type private_endpoint_connection_name: str - :param properties: The private endpoint connection properties. - :type properties: ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.put.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'PrivateEndpointConnection') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - put.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - private_endpoint_connection_name: str, - **kwargs - ) -> None: - """Deletes the specified private endpoint connection associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param private_endpoint_connection_name: The name of the private endpoint connection associated - with the Azure resource. - :type private_endpoint_connection_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_private_link_resources_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_private_link_resources_operations.py deleted file mode 100644 index 99e76782611..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +++ /dev/null @@ -1,102 +0,0 @@ -# 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 typing import Any, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class PrivateLinkResourcesOperations: - """PrivateLinkResourcesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def list_by_storage_account( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> "_models.PrivateLinkResourceListResult": - """Gets the private link resources that need to be created for a storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateLinkResourceListResult, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.PrivateLinkResourceListResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResourceListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list_by_storage_account.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PrivateLinkResourceListResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_queue_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_queue_operations.py deleted file mode 100644 index a2cea9e3e0b..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_queue_operations.py +++ /dev/null @@ -1,416 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class QueueOperations: - """QueueOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def create( - self, - resource_group_name: str, - account_name: str, - queue_name: str, - queue: "_models.StorageQueue", - **kwargs - ) -> "_models.StorageQueue": - """Creates a new queue with the specified queue name, under the specified account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param queue_name: A queue name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, - it should begin and end with an alphanumeric character and it cannot have two consecutive - dash(-) characters. - :type queue_name: str - :param queue: Queue properties and metadata to be created with. - :type queue: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageQueue, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageQueue"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', max_length=63, min_length=3, pattern=r'^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(queue, 'StorageQueue') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageQueue', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - account_name: str, - queue_name: str, - queue: "_models.StorageQueue", - **kwargs - ) -> "_models.StorageQueue": - """Creates a new queue with the specified queue name, under the specified account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param queue_name: A queue name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, - it should begin and end with an alphanumeric character and it cannot have two consecutive - dash(-) characters. - :type queue_name: str - :param queue: Queue properties and metadata to be created with. - :type queue: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageQueue, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageQueue"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', max_length=63, min_length=3, pattern=r'^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(queue, 'StorageQueue') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageQueue', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - account_name: str, - queue_name: str, - **kwargs - ) -> "_models.StorageQueue": - """Gets the queue with the specified queue name, under the specified account if it exists. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param queue_name: A queue name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, - it should begin and end with an alphanumeric character and it cannot have two consecutive - dash(-) characters. - :type queue_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageQueue, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageQueue"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', max_length=63, min_length=3, pattern=r'^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageQueue', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - queue_name: str, - **kwargs - ) -> None: - """Deletes the queue with the specified queue name, under the specified account if it exists. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param queue_name: A queue name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, - it should begin and end with an alphanumeric character and it cannot have two consecutive - dash(-) characters. - :type queue_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', max_length=63, min_length=3, pattern=r'^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}'} # type: ignore - - def list( - self, - resource_group_name: str, - account_name: str, - maxpagesize: Optional[str] = None, - filter: Optional[str] = None, - **kwargs - ) -> AsyncIterable["_models.ListQueueResource"]: - """Gets a list of all the queues under the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param maxpagesize: Optional, a maximum number of queues that should be included in a list - queue response. - :type maxpagesize: str - :param filter: Optional, When specified, only the queues with a name starting with the given - filter will be listed. - :type filter: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ListQueueResource or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListQueueResource] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListQueueResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if maxpagesize is not None: - query_parameters['$maxpagesize'] = self._serialize.query("maxpagesize", maxpagesize, 'str') - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ListQueueResource', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_queue_services_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_queue_services_operations.py deleted file mode 100644 index 305112fc9d9..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_queue_services_operations.py +++ /dev/null @@ -1,239 +0,0 @@ -# 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 typing import Any, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class QueueServicesOperations: - """QueueServicesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> "_models.ListQueueServices": - """List all queue services for the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListQueueServices, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ListQueueServices - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListQueueServices"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ListQueueServices', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices'} # type: ignore - - async def set_service_properties( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.QueueServiceProperties", - **kwargs - ) -> "_models.QueueServiceProperties": - """Sets the properties of a storage account’s Queue service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The properties of a storage account’s Queue service, only properties for - Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.QueueServiceProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: QueueServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.QueueServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.QueueServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - queue_service_name = "default" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueServiceName': self._serialize.url("queue_service_name", queue_service_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'QueueServiceProperties') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('QueueServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}'} # type: ignore - - async def get_service_properties( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> "_models.QueueServiceProperties": - """Gets the properties of a storage account’s Queue service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: QueueServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.QueueServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.QueueServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - queue_service_name = "default" - accept = "application/json" - - # Construct URL - url = self.get_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueServiceName': self._serialize.url("queue_service_name", queue_service_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('QueueServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_skus_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_skus_operations.py deleted file mode 100644 index 9b02b347875..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_skus_operations.py +++ /dev/null @@ -1,108 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class SkusOperations: - """SkusOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs - ) -> AsyncIterable["_models.StorageSkuListResult"]: - """Lists the available SKUs supported by Microsoft.Storage for given subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StorageSkuListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.StorageSkuListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageSkuListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('StorageSkuListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_storage_accounts_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_storage_accounts_operations.py deleted file mode 100644 index 552c72ffaf8..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +++ /dev/null @@ -1,1150 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class StorageAccountsOperations: - """StorageAccountsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def check_name_availability( - self, - account_name: "_models.StorageAccountCheckNameAvailabilityParameters", - **kwargs - ) -> "_models.CheckNameAvailabilityResult": - """Checks that the storage account name is valid and is not already in use. - - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountCheckNameAvailabilityParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CheckNameAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.CheckNameAvailabilityResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.CheckNameAvailabilityResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.check_name_availability.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CheckNameAvailabilityResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability'} # type: ignore - - async def _create_initial( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.StorageAccountCreateParameters", - **kwargs - ) -> Optional["_models.StorageAccount"]: - cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('StorageAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - async def begin_create( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.StorageAccountCreateParameters", - **kwargs - ) -> AsyncLROPoller["_models.StorageAccount"]: - """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide for the created account. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountCreateParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2021_01_01.models.StorageAccount] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._create_initial( - resource_group_name=resource_group_name, - account_name=account_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('StorageAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> None: - """Deletes a storage account in Microsoft Azure. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - async def get_properties( - self, - resource_group_name: str, - account_name: str, - expand: Optional[Union[str, "_models.StorageAccountExpand"]] = None, - **kwargs - ) -> "_models.StorageAccount": - """Returns the properties for the specified storage account including but not limited to name, SKU - name, location, and account status. The ListKeys operation should be used to retrieve storage - keys. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param expand: May be used to expand the properties within account's properties. By default, - data is not included when fetching properties. Currently we only support geoReplicationStats - and blobRestoreStatus. - :type expand: str or ~azure.mgmt.storage.v2021_01_01.models.StorageAccountExpand - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageAccount - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.StorageAccountUpdateParameters", - **kwargs - ) -> "_models.StorageAccount": - """The update operation can be used to update the SKU, encryption, access tier, or tags for a - storage account. It can also be used to map the account to a custom domain. Only one custom - domain is supported per storage account; the replacement/change of custom domain is not - supported. In order to replace an old custom domain, the old value must be cleared/unregistered - before a new value can be set. The update of multiple properties is supported. This call does - not change the storage keys for the account. If you want to change the storage account keys, - use the regenerate keys operation. The location and name of the storage account cannot be - changed after creation. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide for the updated account. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountUpdateParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageAccount - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - def list( - self, - **kwargs - ) -> AsyncIterable["_models.StorageAccountListResult"]: - """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.StorageAccountListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('StorageAccountListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs - ) -> AsyncIterable["_models.StorageAccountListResult"]: - """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.StorageAccountListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('StorageAccountListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts'} # type: ignore - - async def list_keys( - self, - resource_group_name: str, - account_name: str, - expand: Optional[str] = "kerb", - **kwargs - ) -> "_models.StorageAccountListKeysResult": - """Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage - account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param expand: Specifies type of the key to be listed. Possible value is kerb. - :type expand: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageAccountListKeysResult, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountListKeysResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountListKeysResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list_keys.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageAccountListKeysResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys'} # type: ignore - - async def regenerate_key( - self, - resource_group_name: str, - account_name: str, - regenerate_key: "_models.StorageAccountRegenerateKeyParameters", - **kwargs - ) -> "_models.StorageAccountListKeysResult": - """Regenerates one of the access keys or Kerberos keys for the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, - kerb1, kerb2. - :type regenerate_key: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountRegenerateKeyParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageAccountListKeysResult, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountListKeysResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountListKeysResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.regenerate_key.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageAccountListKeysResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - regenerate_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey'} # type: ignore - - async def list_account_sas( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.AccountSasParameters", - **kwargs - ) -> "_models.ListAccountSasResponse": - """List SAS credentials of a storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide to list SAS credentials for the storage account. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.AccountSasParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListAccountSasResponse, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ListAccountSasResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListAccountSasResponse"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.list_account_sas.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'AccountSasParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ListAccountSasResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_account_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas'} # type: ignore - - async def list_service_sas( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.ServiceSasParameters", - **kwargs - ) -> "_models.ListServiceSasResponse": - """List service SAS credentials of a specific resource. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide to list service SAS credentials. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ServiceSasParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListServiceSasResponse, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ListServiceSasResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListServiceSasResponse"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.list_service_sas.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'ServiceSasParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ListServiceSasResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_service_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas'} # type: ignore - - async def _failover_initial( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self._failover_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _failover_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover'} # type: ignore - - async def begin_failover( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> AsyncLROPoller[None]: - """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._failover_initial( - resource_group_name=resource_group_name, - account_name=account_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_failover.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover'} # type: ignore - - async def _restore_blob_ranges_initial( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.BlobRestoreParameters", - **kwargs - ) -> "_models.BlobRestoreStatus": - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobRestoreStatus"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._restore_blob_ranges_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'BlobRestoreParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('BlobRestoreStatus', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('BlobRestoreStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _restore_blob_ranges_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges'} # type: ignore - - async def begin_restore_blob_ranges( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.BlobRestoreParameters", - **kwargs - ) -> AsyncLROPoller["_models.BlobRestoreStatus"]: - """Restore blobs in the specified blob ranges. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide for restore blob ranges. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2021_01_01.models.BlobRestoreStatus] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobRestoreStatus"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._restore_blob_ranges_initial( - resource_group_name=resource_group_name, - account_name=account_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('BlobRestoreStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_restore_blob_ranges.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges'} # type: ignore - - async def revoke_user_delegation_keys( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> None: - """Revoke user delegation keys. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self.revoke_user_delegation_keys.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - revoke_user_delegation_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_table_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_table_operations.py deleted file mode 100644 index ed24fdc70bf..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_table_operations.py +++ /dev/null @@ -1,384 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class TableOperations: - """TableOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def create( - self, - resource_group_name: str, - account_name: str, - table_name: str, - **kwargs - ) -> "_models.Table": - """Creates a new table with the specified table name, under the specified account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param table_name: A table name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin - with a numeric character. - :type table_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Table, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.Table - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.Table"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableName': self._serialize.url("table_name", table_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z][A-Za-z0-9]{2,62}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.put(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Table', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}'} # type: ignore - - async def update( - self, - resource_group_name: str, - account_name: str, - table_name: str, - **kwargs - ) -> "_models.Table": - """Creates a new table with the specified table name, under the specified account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param table_name: A table name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin - with a numeric character. - :type table_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Table, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.Table - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.Table"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableName': self._serialize.url("table_name", table_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z][A-Za-z0-9]{2,62}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.patch(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Table', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}'} # type: ignore - - async def get( - self, - resource_group_name: str, - account_name: str, - table_name: str, - **kwargs - ) -> "_models.Table": - """Gets the table with the specified table name, under the specified account if it exists. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param table_name: A table name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin - with a numeric character. - :type table_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Table, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.Table - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.Table"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableName': self._serialize.url("table_name", table_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z][A-Za-z0-9]{2,62}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Table', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}'} # type: ignore - - async def delete( - self, - resource_group_name: str, - account_name: str, - table_name: str, - **kwargs - ) -> None: - """Deletes the table with the specified table name, under the specified account if it exists. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param table_name: A table name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin - with a numeric character. - :type table_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableName': self._serialize.url("table_name", table_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z][A-Za-z0-9]{2,62}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}'} # type: ignore - - def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> AsyncIterable["_models.ListTableResource"]: - """Gets a list of all the tables under the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ListTableResource or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListTableResource] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListTableResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ListTableResource', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_table_services_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_table_services_operations.py deleted file mode 100644 index 0e5ca20f9a9..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_table_services_operations.py +++ /dev/null @@ -1,239 +0,0 @@ -# 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 typing import Any, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class TableServicesOperations: - """TableServicesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - async def list( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> "_models.ListTableServices": - """List all table services for the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListTableServices, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ListTableServices - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListTableServices"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ListTableServices', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices'} # type: ignore - - async def set_service_properties( - self, - resource_group_name: str, - account_name: str, - parameters: "_models.TableServiceProperties", - **kwargs - ) -> "_models.TableServiceProperties": - """Sets the properties of a storage account’s Table service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The properties of a storage account’s Table service, only properties for - Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.TableServiceProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TableServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.TableServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.TableServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - table_service_name = "default" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableServiceName': self._serialize.url("table_service_name", table_service_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'TableServiceProperties') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TableServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}'} # type: ignore - - async def get_service_properties( - self, - resource_group_name: str, - account_name: str, - **kwargs - ) -> "_models.TableServiceProperties": - """Gets the properties of a storage account’s Table service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TableServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.TableServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.TableServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - table_service_name = "default" - accept = "application/json" - - # Construct URL - url = self.get_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableServiceName': self._serialize.url("table_service_name", table_service_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TableServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_usages_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_usages_operations.py deleted file mode 100644 index 4fb31d3652c..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_usages_operations.py +++ /dev/null @@ -1,113 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class UsagesOperations: - """UsagesOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_location( - self, - location: str, - **kwargs - ) -> AsyncIterable["_models.UsageListResult"]: - """Gets the current usage count and the limit for the resources of the location under the - subscription. - - :param location: The location of the Azure Storage resource. - :type location: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either UsageListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_01_01.models.UsageListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.UsageListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_location.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'location': self._serialize.url("location", location, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('UsageListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/__init__.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/__init__.py deleted file mode 100644 index 46749abf487..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/__init__.py +++ /dev/null @@ -1,506 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -try: - from ._models_py3 import AccountSasParameters - from ._models_py3 import ActiveDirectoryProperties - from ._models_py3 import AzureEntityResource - from ._models_py3 import AzureFilesIdentityBasedAuthentication - from ._models_py3 import BlobContainer - from ._models_py3 import BlobInventoryPolicy - from ._models_py3 import BlobInventoryPolicyDefinition - from ._models_py3 import BlobInventoryPolicyFilter - from ._models_py3 import BlobInventoryPolicyRule - from ._models_py3 import BlobInventoryPolicySchema - from ._models_py3 import BlobRestoreParameters - from ._models_py3 import BlobRestoreRange - from ._models_py3 import BlobRestoreStatus - from ._models_py3 import BlobServiceItems - from ._models_py3 import BlobServiceProperties - from ._models_py3 import ChangeFeed - from ._models_py3 import CheckNameAvailabilityResult - from ._models_py3 import CloudErrorBody - from ._models_py3 import CorsRule - from ._models_py3 import CorsRules - from ._models_py3 import CustomDomain - from ._models_py3 import DateAfterCreation - from ._models_py3 import DateAfterModification - from ._models_py3 import DeleteRetentionPolicy - from ._models_py3 import DeletedAccount - from ._models_py3 import DeletedAccountListResult - from ._models_py3 import DeletedShare - from ._models_py3 import Dimension - from ._models_py3 import Encryption - from ._models_py3 import EncryptionIdentity - from ._models_py3 import EncryptionScope - from ._models_py3 import EncryptionScopeKeyVaultProperties - from ._models_py3 import EncryptionScopeListResult - from ._models_py3 import EncryptionService - from ._models_py3 import EncryptionServices - from ._models_py3 import Endpoints - from ._models_py3 import ErrorResponse - from ._models_py3 import ErrorResponseBody - from ._models_py3 import ExtendedLocation - from ._models_py3 import FileServiceItems - from ._models_py3 import FileServiceProperties - from ._models_py3 import FileShare - from ._models_py3 import FileShareItem - from ._models_py3 import FileShareItems - from ._models_py3 import GeoReplicationStats - from ._models_py3 import IPRule - from ._models_py3 import Identity - from ._models_py3 import ImmutabilityPolicy - from ._models_py3 import ImmutabilityPolicyProperties - from ._models_py3 import KeyVaultProperties - from ._models_py3 import LastAccessTimeTrackingPolicy - from ._models_py3 import LeaseContainerRequest - from ._models_py3 import LeaseContainerResponse - from ._models_py3 import LegalHold - from ._models_py3 import LegalHoldProperties - from ._models_py3 import ListAccountSasResponse - from ._models_py3 import ListBlobInventoryPolicy - from ._models_py3 import ListContainerItem - from ._models_py3 import ListContainerItems - from ._models_py3 import ListQueue - from ._models_py3 import ListQueueResource - from ._models_py3 import ListQueueServices - from ._models_py3 import ListServiceSasResponse - from ._models_py3 import ListTableResource - from ._models_py3 import ListTableServices - from ._models_py3 import ManagementPolicy - from ._models_py3 import ManagementPolicyAction - from ._models_py3 import ManagementPolicyBaseBlob - from ._models_py3 import ManagementPolicyDefinition - from ._models_py3 import ManagementPolicyFilter - from ._models_py3 import ManagementPolicyRule - from ._models_py3 import ManagementPolicySchema - from ._models_py3 import ManagementPolicySnapShot - from ._models_py3 import ManagementPolicyVersion - from ._models_py3 import MetricSpecification - from ._models_py3 import Multichannel - from ._models_py3 import NetworkRuleSet - from ._models_py3 import ObjectReplicationPolicies - from ._models_py3 import ObjectReplicationPolicy - from ._models_py3 import ObjectReplicationPolicyFilter - from ._models_py3 import ObjectReplicationPolicyRule - from ._models_py3 import Operation - from ._models_py3 import OperationDisplay - from ._models_py3 import OperationListResult - from ._models_py3 import PrivateEndpoint - from ._models_py3 import PrivateEndpointConnection - from ._models_py3 import PrivateEndpointConnectionListResult - from ._models_py3 import PrivateLinkResource - from ._models_py3 import PrivateLinkResourceListResult - from ._models_py3 import PrivateLinkServiceConnectionState - from ._models_py3 import ProtocolSettings - from ._models_py3 import ProxyResource - from ._models_py3 import QueueServiceProperties - from ._models_py3 import Resource - from ._models_py3 import ResourceAccessRule - from ._models_py3 import RestorePolicyProperties - from ._models_py3 import Restriction - from ._models_py3 import RoutingPreference - from ._models_py3 import SKUCapability - from ._models_py3 import ServiceSasParameters - from ._models_py3 import ServiceSpecification - from ._models_py3 import Sku - from ._models_py3 import SkuInformation - from ._models_py3 import SmbSetting - from ._models_py3 import StorageAccount - from ._models_py3 import StorageAccountCheckNameAvailabilityParameters - from ._models_py3 import StorageAccountCreateParameters - from ._models_py3 import StorageAccountInternetEndpoints - from ._models_py3 import StorageAccountKey - from ._models_py3 import StorageAccountListKeysResult - from ._models_py3 import StorageAccountListResult - from ._models_py3 import StorageAccountMicrosoftEndpoints - from ._models_py3 import StorageAccountRegenerateKeyParameters - from ._models_py3 import StorageAccountUpdateParameters - from ._models_py3 import StorageQueue - from ._models_py3 import StorageSkuListResult - from ._models_py3 import SystemData - from ._models_py3 import Table - from ._models_py3 import TableServiceProperties - from ._models_py3 import TagFilter - from ._models_py3 import TagProperty - from ._models_py3 import TrackedResource - from ._models_py3 import UpdateHistoryProperty - from ._models_py3 import Usage - from ._models_py3 import UsageListResult - from ._models_py3 import UsageName - from ._models_py3 import UserAssignedIdentity - from ._models_py3 import VirtualNetworkRule -except (SyntaxError, ImportError): - from ._models import AccountSasParameters # type: ignore - from ._models import ActiveDirectoryProperties # type: ignore - from ._models import AzureEntityResource # type: ignore - from ._models import AzureFilesIdentityBasedAuthentication # type: ignore - from ._models import BlobContainer # type: ignore - from ._models import BlobInventoryPolicy # type: ignore - from ._models import BlobInventoryPolicyDefinition # type: ignore - from ._models import BlobInventoryPolicyFilter # type: ignore - from ._models import BlobInventoryPolicyRule # type: ignore - from ._models import BlobInventoryPolicySchema # type: ignore - from ._models import BlobRestoreParameters # type: ignore - from ._models import BlobRestoreRange # type: ignore - from ._models import BlobRestoreStatus # type: ignore - from ._models import BlobServiceItems # type: ignore - from ._models import BlobServiceProperties # type: ignore - from ._models import ChangeFeed # type: ignore - from ._models import CheckNameAvailabilityResult # type: ignore - from ._models import CloudErrorBody # type: ignore - from ._models import CorsRule # type: ignore - from ._models import CorsRules # type: ignore - from ._models import CustomDomain # type: ignore - from ._models import DateAfterCreation # type: ignore - from ._models import DateAfterModification # type: ignore - from ._models import DeleteRetentionPolicy # type: ignore - from ._models import DeletedAccount # type: ignore - from ._models import DeletedAccountListResult # type: ignore - from ._models import DeletedShare # type: ignore - from ._models import Dimension # type: ignore - from ._models import Encryption # type: ignore - from ._models import EncryptionIdentity # type: ignore - from ._models import EncryptionScope # type: ignore - from ._models import EncryptionScopeKeyVaultProperties # type: ignore - from ._models import EncryptionScopeListResult # type: ignore - from ._models import EncryptionService # type: ignore - from ._models import EncryptionServices # type: ignore - from ._models import Endpoints # type: ignore - from ._models import ErrorResponse # type: ignore - from ._models import ErrorResponseBody # type: ignore - from ._models import ExtendedLocation # type: ignore - from ._models import FileServiceItems # type: ignore - from ._models import FileServiceProperties # type: ignore - from ._models import FileShare # type: ignore - from ._models import FileShareItem # type: ignore - from ._models import FileShareItems # type: ignore - from ._models import GeoReplicationStats # type: ignore - from ._models import IPRule # type: ignore - from ._models import Identity # type: ignore - from ._models import ImmutabilityPolicy # type: ignore - from ._models import ImmutabilityPolicyProperties # type: ignore - from ._models import KeyVaultProperties # type: ignore - from ._models import LastAccessTimeTrackingPolicy # type: ignore - from ._models import LeaseContainerRequest # type: ignore - from ._models import LeaseContainerResponse # type: ignore - from ._models import LegalHold # type: ignore - from ._models import LegalHoldProperties # type: ignore - from ._models import ListAccountSasResponse # type: ignore - from ._models import ListBlobInventoryPolicy # type: ignore - from ._models import ListContainerItem # type: ignore - from ._models import ListContainerItems # type: ignore - from ._models import ListQueue # type: ignore - from ._models import ListQueueResource # type: ignore - from ._models import ListQueueServices # type: ignore - from ._models import ListServiceSasResponse # type: ignore - from ._models import ListTableResource # type: ignore - from ._models import ListTableServices # type: ignore - from ._models import ManagementPolicy # type: ignore - from ._models import ManagementPolicyAction # type: ignore - from ._models import ManagementPolicyBaseBlob # type: ignore - from ._models import ManagementPolicyDefinition # type: ignore - from ._models import ManagementPolicyFilter # type: ignore - from ._models import ManagementPolicyRule # type: ignore - from ._models import ManagementPolicySchema # type: ignore - from ._models import ManagementPolicySnapShot # type: ignore - from ._models import ManagementPolicyVersion # type: ignore - from ._models import MetricSpecification # type: ignore - from ._models import Multichannel # type: ignore - from ._models import NetworkRuleSet # type: ignore - from ._models import ObjectReplicationPolicies # type: ignore - from ._models import ObjectReplicationPolicy # type: ignore - from ._models import ObjectReplicationPolicyFilter # type: ignore - from ._models import ObjectReplicationPolicyRule # type: ignore - from ._models import Operation # type: ignore - from ._models import OperationDisplay # type: ignore - from ._models import OperationListResult # type: ignore - from ._models import PrivateEndpoint # type: ignore - from ._models import PrivateEndpointConnection # type: ignore - from ._models import PrivateEndpointConnectionListResult # type: ignore - from ._models import PrivateLinkResource # type: ignore - from ._models import PrivateLinkResourceListResult # type: ignore - from ._models import PrivateLinkServiceConnectionState # type: ignore - from ._models import ProtocolSettings # type: ignore - from ._models import ProxyResource # type: ignore - from ._models import QueueServiceProperties # type: ignore - from ._models import Resource # type: ignore - from ._models import ResourceAccessRule # type: ignore - from ._models import RestorePolicyProperties # type: ignore - from ._models import Restriction # type: ignore - from ._models import RoutingPreference # type: ignore - from ._models import SKUCapability # type: ignore - from ._models import ServiceSasParameters # type: ignore - from ._models import ServiceSpecification # type: ignore - from ._models import Sku # type: ignore - from ._models import SkuInformation # type: ignore - from ._models import SmbSetting # type: ignore - from ._models import StorageAccount # type: ignore - from ._models import StorageAccountCheckNameAvailabilityParameters # type: ignore - from ._models import StorageAccountCreateParameters # type: ignore - from ._models import StorageAccountInternetEndpoints # type: ignore - from ._models import StorageAccountKey # type: ignore - from ._models import StorageAccountListKeysResult # type: ignore - from ._models import StorageAccountListResult # type: ignore - from ._models import StorageAccountMicrosoftEndpoints # type: ignore - from ._models import StorageAccountRegenerateKeyParameters # type: ignore - from ._models import StorageAccountUpdateParameters # type: ignore - from ._models import StorageQueue # type: ignore - from ._models import StorageSkuListResult # type: ignore - from ._models import SystemData # type: ignore - from ._models import Table # type: ignore - from ._models import TableServiceProperties # type: ignore - from ._models import TagFilter # type: ignore - from ._models import TagProperty # type: ignore - from ._models import TrackedResource # type: ignore - from ._models import UpdateHistoryProperty # type: ignore - from ._models import Usage # type: ignore - from ._models import UsageListResult # type: ignore - from ._models import UsageName # type: ignore - from ._models import UserAssignedIdentity # type: ignore - from ._models import VirtualNetworkRule # type: ignore - -from ._storage_management_client_enums import ( - AccessTier, - AccountStatus, - BlobInventoryPolicyName, - BlobRestoreProgressStatus, - Bypass, - CorsRuleAllowedMethodsItem, - CreatedByType, - DefaultAction, - DirectoryServiceOptions, - EnabledProtocols, - EncryptionScopeSource, - EncryptionScopeState, - ExtendedLocationTypes, - GeoReplicationStatus, - HttpProtocol, - IdentityType, - ImmutabilityPolicyState, - ImmutabilityPolicyUpdateType, - InventoryRuleType, - KeyPermission, - KeySource, - KeyType, - Kind, - LargeFileSharesState, - LeaseContainerRequestAction, - LeaseDuration, - LeaseState, - LeaseStatus, - ListContainersInclude, - ListSharesExpand, - ManagementPolicyName, - MinimumTlsVersion, - Name, - Permissions, - PrivateEndpointConnectionProvisioningState, - PrivateEndpointServiceConnectionStatus, - ProvisioningState, - PublicAccess, - PutSharesExpand, - Reason, - ReasonCode, - RootSquashType, - RoutingChoice, - RuleType, - Services, - ShareAccessTier, - SignedResource, - SignedResourceTypes, - SkuName, - SkuTier, - State, - StorageAccountExpand, - UsageUnit, -) - -__all__ = [ - 'AccountSasParameters', - 'ActiveDirectoryProperties', - 'AzureEntityResource', - 'AzureFilesIdentityBasedAuthentication', - 'BlobContainer', - 'BlobInventoryPolicy', - 'BlobInventoryPolicyDefinition', - 'BlobInventoryPolicyFilter', - 'BlobInventoryPolicyRule', - 'BlobInventoryPolicySchema', - 'BlobRestoreParameters', - 'BlobRestoreRange', - 'BlobRestoreStatus', - 'BlobServiceItems', - 'BlobServiceProperties', - 'ChangeFeed', - 'CheckNameAvailabilityResult', - 'CloudErrorBody', - 'CorsRule', - 'CorsRules', - 'CustomDomain', - 'DateAfterCreation', - 'DateAfterModification', - 'DeleteRetentionPolicy', - 'DeletedAccount', - 'DeletedAccountListResult', - 'DeletedShare', - 'Dimension', - 'Encryption', - 'EncryptionIdentity', - 'EncryptionScope', - 'EncryptionScopeKeyVaultProperties', - 'EncryptionScopeListResult', - 'EncryptionService', - 'EncryptionServices', - 'Endpoints', - 'ErrorResponse', - 'ErrorResponseBody', - 'ExtendedLocation', - 'FileServiceItems', - 'FileServiceProperties', - 'FileShare', - 'FileShareItem', - 'FileShareItems', - 'GeoReplicationStats', - 'IPRule', - 'Identity', - 'ImmutabilityPolicy', - 'ImmutabilityPolicyProperties', - 'KeyVaultProperties', - 'LastAccessTimeTrackingPolicy', - 'LeaseContainerRequest', - 'LeaseContainerResponse', - 'LegalHold', - 'LegalHoldProperties', - 'ListAccountSasResponse', - 'ListBlobInventoryPolicy', - 'ListContainerItem', - 'ListContainerItems', - 'ListQueue', - 'ListQueueResource', - 'ListQueueServices', - 'ListServiceSasResponse', - 'ListTableResource', - 'ListTableServices', - 'ManagementPolicy', - 'ManagementPolicyAction', - 'ManagementPolicyBaseBlob', - 'ManagementPolicyDefinition', - 'ManagementPolicyFilter', - 'ManagementPolicyRule', - 'ManagementPolicySchema', - 'ManagementPolicySnapShot', - 'ManagementPolicyVersion', - 'MetricSpecification', - 'Multichannel', - 'NetworkRuleSet', - 'ObjectReplicationPolicies', - 'ObjectReplicationPolicy', - 'ObjectReplicationPolicyFilter', - 'ObjectReplicationPolicyRule', - 'Operation', - 'OperationDisplay', - 'OperationListResult', - 'PrivateEndpoint', - 'PrivateEndpointConnection', - 'PrivateEndpointConnectionListResult', - 'PrivateLinkResource', - 'PrivateLinkResourceListResult', - 'PrivateLinkServiceConnectionState', - 'ProtocolSettings', - 'ProxyResource', - 'QueueServiceProperties', - 'Resource', - 'ResourceAccessRule', - 'RestorePolicyProperties', - 'Restriction', - 'RoutingPreference', - 'SKUCapability', - 'ServiceSasParameters', - 'ServiceSpecification', - 'Sku', - 'SkuInformation', - 'SmbSetting', - 'StorageAccount', - 'StorageAccountCheckNameAvailabilityParameters', - 'StorageAccountCreateParameters', - 'StorageAccountInternetEndpoints', - 'StorageAccountKey', - 'StorageAccountListKeysResult', - 'StorageAccountListResult', - 'StorageAccountMicrosoftEndpoints', - 'StorageAccountRegenerateKeyParameters', - 'StorageAccountUpdateParameters', - 'StorageQueue', - 'StorageSkuListResult', - 'SystemData', - 'Table', - 'TableServiceProperties', - 'TagFilter', - 'TagProperty', - 'TrackedResource', - 'UpdateHistoryProperty', - 'Usage', - 'UsageListResult', - 'UsageName', - 'UserAssignedIdentity', - 'VirtualNetworkRule', - 'AccessTier', - 'AccountStatus', - 'BlobInventoryPolicyName', - 'BlobRestoreProgressStatus', - 'Bypass', - 'CorsRuleAllowedMethodsItem', - 'CreatedByType', - 'DefaultAction', - 'DirectoryServiceOptions', - 'EnabledProtocols', - 'EncryptionScopeSource', - 'EncryptionScopeState', - 'ExtendedLocationTypes', - 'GeoReplicationStatus', - 'HttpProtocol', - 'IdentityType', - 'ImmutabilityPolicyState', - 'ImmutabilityPolicyUpdateType', - 'InventoryRuleType', - 'KeyPermission', - 'KeySource', - 'KeyType', - 'Kind', - 'LargeFileSharesState', - 'LeaseContainerRequestAction', - 'LeaseDuration', - 'LeaseState', - 'LeaseStatus', - 'ListContainersInclude', - 'ListSharesExpand', - 'ManagementPolicyName', - 'MinimumTlsVersion', - 'Name', - 'Permissions', - 'PrivateEndpointConnectionProvisioningState', - 'PrivateEndpointServiceConnectionStatus', - 'ProvisioningState', - 'PublicAccess', - 'PutSharesExpand', - 'Reason', - 'ReasonCode', - 'RootSquashType', - 'RoutingChoice', - 'RuleType', - 'Services', - 'ShareAccessTier', - 'SignedResource', - 'SignedResourceTypes', - 'SkuName', - 'SkuTier', - 'State', - 'StorageAccountExpand', - 'UsageUnit', -] diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_models.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_models.py deleted file mode 100644 index e3b8123185e..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_models.py +++ /dev/null @@ -1,5295 +0,0 @@ -# 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 azure.core.exceptions import HttpResponseError -import msrest.serialization - - -class AccountSasParameters(msrest.serialization.Model): - """The parameters to list SAS credentials of a storage account. - - All required parameters must be populated in order to send to Azure. - - :param services: Required. The signed services accessible with the account SAS. Possible values - include: Blob (b), Queue (q), Table (t), File (f). Possible values include: "b", "q", "t", "f". - :type services: str or ~azure.mgmt.storage.v2021_01_01.models.Services - :param resource_types: Required. The signed resource types that are accessible with the account - SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; - Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. - Possible values include: "s", "c", "o". - :type resource_types: str or ~azure.mgmt.storage.v2021_01_01.models.SignedResourceTypes - :param permissions: Required. The signed permissions for the account SAS. Possible values - include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process - (p). Possible values include: "r", "d", "w", "l", "a", "c", "u", "p". - :type permissions: str or ~azure.mgmt.storage.v2021_01_01.models.Permissions - :param ip_address_or_range: An IP address or a range of IP addresses from which to accept - requests. - :type ip_address_or_range: str - :param protocols: The protocol permitted for a request made with the account SAS. Possible - values include: "https,http", "https". - :type protocols: str or ~azure.mgmt.storage.v2021_01_01.models.HttpProtocol - :param shared_access_start_time: The time at which the SAS becomes valid. - :type shared_access_start_time: ~datetime.datetime - :param shared_access_expiry_time: Required. The time at which the shared access signature - becomes invalid. - :type shared_access_expiry_time: ~datetime.datetime - :param key_to_sign: The key to sign the account SAS token with. - :type key_to_sign: str - """ - - _validation = { - 'services': {'required': True}, - 'resource_types': {'required': True}, - 'permissions': {'required': True}, - 'shared_access_expiry_time': {'required': True}, - } - - _attribute_map = { - 'services': {'key': 'signedServices', 'type': 'str'}, - 'resource_types': {'key': 'signedResourceTypes', 'type': 'str'}, - 'permissions': {'key': 'signedPermission', 'type': 'str'}, - 'ip_address_or_range': {'key': 'signedIp', 'type': 'str'}, - 'protocols': {'key': 'signedProtocol', 'type': 'str'}, - 'shared_access_start_time': {'key': 'signedStart', 'type': 'iso-8601'}, - 'shared_access_expiry_time': {'key': 'signedExpiry', 'type': 'iso-8601'}, - 'key_to_sign': {'key': 'keyToSign', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(AccountSasParameters, self).__init__(**kwargs) - self.services = kwargs['services'] - self.resource_types = kwargs['resource_types'] - self.permissions = kwargs['permissions'] - self.ip_address_or_range = kwargs.get('ip_address_or_range', None) - self.protocols = kwargs.get('protocols', None) - self.shared_access_start_time = kwargs.get('shared_access_start_time', None) - self.shared_access_expiry_time = kwargs['shared_access_expiry_time'] - self.key_to_sign = kwargs.get('key_to_sign', None) - - -class ActiveDirectoryProperties(msrest.serialization.Model): - """Settings properties for Active Directory (AD). - - All required parameters must be populated in order to send to Azure. - - :param domain_name: Required. Specifies the primary domain that the AD DNS server is - authoritative for. - :type domain_name: str - :param net_bios_domain_name: Required. Specifies the NetBIOS domain name. - :type net_bios_domain_name: str - :param forest_name: Required. Specifies the Active Directory forest to get. - :type forest_name: str - :param domain_guid: Required. Specifies the domain GUID. - :type domain_guid: str - :param domain_sid: Required. Specifies the security identifier (SID). - :type domain_sid: str - :param azure_storage_sid: Required. Specifies the security identifier (SID) for Azure Storage. - :type azure_storage_sid: str - """ - - _validation = { - 'domain_name': {'required': True}, - 'net_bios_domain_name': {'required': True}, - 'forest_name': {'required': True}, - 'domain_guid': {'required': True}, - 'domain_sid': {'required': True}, - 'azure_storage_sid': {'required': True}, - } - - _attribute_map = { - 'domain_name': {'key': 'domainName', 'type': 'str'}, - 'net_bios_domain_name': {'key': 'netBiosDomainName', 'type': 'str'}, - 'forest_name': {'key': 'forestName', 'type': 'str'}, - 'domain_guid': {'key': 'domainGuid', 'type': 'str'}, - 'domain_sid': {'key': 'domainSid', 'type': 'str'}, - 'azure_storage_sid': {'key': 'azureStorageSid', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ActiveDirectoryProperties, self).__init__(**kwargs) - self.domain_name = kwargs['domain_name'] - self.net_bios_domain_name = kwargs['net_bios_domain_name'] - self.forest_name = kwargs['forest_name'] - self.domain_guid = kwargs['domain_guid'] - self.domain_sid = kwargs['domain_sid'] - self.azure_storage_sid = kwargs['azure_storage_sid'] - - -class Resource(msrest.serialization.Model): - """Common fields that are returned in the response for all Azure Resource Manager resources. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class AzureEntityResource(Resource): - """The resource model definition for an Azure Resource Manager resource with an etag. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(AzureEntityResource, self).__init__(**kwargs) - self.etag = None - - -class AzureFilesIdentityBasedAuthentication(msrest.serialization.Model): - """Settings for Azure Files identity based authentication. - - All required parameters must be populated in order to send to Azure. - - :param directory_service_options: Required. Indicates the directory service used. Possible - values include: "None", "AADDS", "AD". - :type directory_service_options: str or - ~azure.mgmt.storage.v2021_01_01.models.DirectoryServiceOptions - :param active_directory_properties: Required if choose AD. - :type active_directory_properties: - ~azure.mgmt.storage.v2021_01_01.models.ActiveDirectoryProperties - """ - - _validation = { - 'directory_service_options': {'required': True}, - } - - _attribute_map = { - 'directory_service_options': {'key': 'directoryServiceOptions', 'type': 'str'}, - 'active_directory_properties': {'key': 'activeDirectoryProperties', 'type': 'ActiveDirectoryProperties'}, - } - - def __init__( - self, - **kwargs - ): - super(AzureFilesIdentityBasedAuthentication, self).__init__(**kwargs) - self.directory_service_options = kwargs['directory_service_options'] - self.active_directory_properties = kwargs.get('active_directory_properties', None) - - -class BlobContainer(AzureEntityResource): - """Properties of the blob container, including Id, resource name, resource type, Etag. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :ivar version: The version of the deleted blob container. - :vartype version: str - :ivar deleted: Indicates whether the blob container was deleted. - :vartype deleted: bool - :ivar deleted_time: Blob container deletion time. - :vartype deleted_time: ~datetime.datetime - :ivar remaining_retention_days: Remaining retention days for soft deleted blob container. - :vartype remaining_retention_days: int - :param default_encryption_scope: Default the container to use specified encryption scope for - all writes. - :type default_encryption_scope: str - :param deny_encryption_scope_override: Block override of encryption scope from the container - default. - :type deny_encryption_scope_override: bool - :param public_access: Specifies whether data in the container may be accessed publicly and the - level of access. Possible values include: "Container", "Blob", "None". - :type public_access: str or ~azure.mgmt.storage.v2021_01_01.models.PublicAccess - :ivar last_modified_time: Returns the date and time the container was last modified. - :vartype last_modified_time: ~datetime.datetime - :ivar lease_status: The lease status of the container. Possible values include: "Locked", - "Unlocked". - :vartype lease_status: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseStatus - :ivar lease_state: Lease state of the container. Possible values include: "Available", - "Leased", "Expired", "Breaking", "Broken". - :vartype lease_state: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseState - :ivar lease_duration: Specifies whether the lease on a container is of infinite or fixed - duration, only when the container is leased. Possible values include: "Infinite", "Fixed". - :vartype lease_duration: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseDuration - :param metadata: A name-value pair to associate with the container as metadata. - :type metadata: dict[str, str] - :ivar immutability_policy: The ImmutabilityPolicy property of the container. - :vartype immutability_policy: - ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyProperties - :ivar legal_hold: The LegalHold property of the container. - :vartype legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHoldProperties - :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at - least one existing tag. The hasLegalHold public property is set to false by SRP if all existing - legal hold tags are cleared out. There can be a maximum of 1000 blob containers with - hasLegalHold=true for a given account. - :vartype has_legal_hold: bool - :ivar has_immutability_policy: The hasImmutabilityPolicy public property is set to true by SRP - if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public - property is set to false by SRP if ImmutabilityPolicy has not been created for this container. - :vartype has_immutability_policy: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'version': {'readonly': True}, - 'deleted': {'readonly': True}, - 'deleted_time': {'readonly': True}, - 'remaining_retention_days': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - 'lease_status': {'readonly': True}, - 'lease_state': {'readonly': True}, - 'lease_duration': {'readonly': True}, - 'immutability_policy': {'readonly': True}, - 'legal_hold': {'readonly': True}, - 'has_legal_hold': {'readonly': True}, - 'has_immutability_policy': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'deleted': {'key': 'properties.deleted', 'type': 'bool'}, - 'deleted_time': {'key': 'properties.deletedTime', 'type': 'iso-8601'}, - 'remaining_retention_days': {'key': 'properties.remainingRetentionDays', 'type': 'int'}, - 'default_encryption_scope': {'key': 'properties.defaultEncryptionScope', 'type': 'str'}, - 'deny_encryption_scope_override': {'key': 'properties.denyEncryptionScopeOverride', 'type': 'bool'}, - 'public_access': {'key': 'properties.publicAccess', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'lease_status': {'key': 'properties.leaseStatus', 'type': 'str'}, - 'lease_state': {'key': 'properties.leaseState', 'type': 'str'}, - 'lease_duration': {'key': 'properties.leaseDuration', 'type': 'str'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'immutability_policy': {'key': 'properties.immutabilityPolicy', 'type': 'ImmutabilityPolicyProperties'}, - 'legal_hold': {'key': 'properties.legalHold', 'type': 'LegalHoldProperties'}, - 'has_legal_hold': {'key': 'properties.hasLegalHold', 'type': 'bool'}, - 'has_immutability_policy': {'key': 'properties.hasImmutabilityPolicy', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobContainer, self).__init__(**kwargs) - self.version = None - self.deleted = None - self.deleted_time = None - self.remaining_retention_days = None - self.default_encryption_scope = kwargs.get('default_encryption_scope', None) - self.deny_encryption_scope_override = kwargs.get('deny_encryption_scope_override', None) - self.public_access = kwargs.get('public_access', None) - self.last_modified_time = None - self.lease_status = None - self.lease_state = None - self.lease_duration = None - self.metadata = kwargs.get('metadata', None) - self.immutability_policy = None - self.legal_hold = None - self.has_legal_hold = None - self.has_immutability_policy = None - - -class BlobInventoryPolicy(Resource): - """The storage account blob inventory policy. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.storage.v2021_01_01.models.SystemData - :ivar last_modified_time: Returns the last modified date and time of the blob inventory policy. - :vartype last_modified_time: ~datetime.datetime - :param policy: The storage account blob inventory policy object. It is composed of policy - rules. - :type policy: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicySchema - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'policy': {'key': 'properties.policy', 'type': 'BlobInventoryPolicySchema'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobInventoryPolicy, self).__init__(**kwargs) - self.system_data = None - self.last_modified_time = None - self.policy = kwargs.get('policy', None) - - -class BlobInventoryPolicyDefinition(msrest.serialization.Model): - """An object that defines the blob inventory rule. Each definition consists of a set of filters. - - All required parameters must be populated in order to send to Azure. - - :param filters: Required. An object that defines the filter set. - :type filters: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyFilter - """ - - _validation = { - 'filters': {'required': True}, - } - - _attribute_map = { - 'filters': {'key': 'filters', 'type': 'BlobInventoryPolicyFilter'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobInventoryPolicyDefinition, self).__init__(**kwargs) - self.filters = kwargs['filters'] - - -class BlobInventoryPolicyFilter(msrest.serialization.Model): - """An object that defines the blob inventory rule filter conditions. - - All required parameters must be populated in order to send to Azure. - - :param prefix_match: An array of strings for blob prefixes to be matched. - :type prefix_match: list[str] - :param blob_types: Required. An array of predefined enum values. Valid values include - blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. - :type blob_types: list[str] - :param include_blob_versions: Includes blob versions in blob inventory when value set to true. - :type include_blob_versions: bool - :param include_snapshots: Includes blob snapshots in blob inventory when value set to true. - :type include_snapshots: bool - """ - - _validation = { - 'blob_types': {'required': True}, - } - - _attribute_map = { - 'prefix_match': {'key': 'prefixMatch', 'type': '[str]'}, - 'blob_types': {'key': 'blobTypes', 'type': '[str]'}, - 'include_blob_versions': {'key': 'includeBlobVersions', 'type': 'bool'}, - 'include_snapshots': {'key': 'includeSnapshots', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobInventoryPolicyFilter, self).__init__(**kwargs) - self.prefix_match = kwargs.get('prefix_match', None) - self.blob_types = kwargs['blob_types'] - self.include_blob_versions = kwargs.get('include_blob_versions', None) - self.include_snapshots = kwargs.get('include_snapshots', None) - - -class BlobInventoryPolicyRule(msrest.serialization.Model): - """An object that wraps the blob inventory rule. Each rule is uniquely defined by name. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Rule is enabled when set to true. - :type enabled: bool - :param name: Required. A rule name can contain any combination of alpha numeric characters. - Rule name is case-sensitive. It must be unique within a policy. - :type name: str - :param definition: Required. An object that defines the blob inventory policy rule. - :type definition: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyDefinition - """ - - _validation = { - 'enabled': {'required': True}, - 'name': {'required': True}, - 'definition': {'required': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'name': {'key': 'name', 'type': 'str'}, - 'definition': {'key': 'definition', 'type': 'BlobInventoryPolicyDefinition'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobInventoryPolicyRule, self).__init__(**kwargs) - self.enabled = kwargs['enabled'] - self.name = kwargs['name'] - self.definition = kwargs['definition'] - - -class BlobInventoryPolicySchema(msrest.serialization.Model): - """The storage account blob inventory policy rules. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Policy is enabled if set to true. - :type enabled: bool - :param destination: Required. Container name where blob inventory files are stored. Must be - pre-created. - :type destination: str - :param type: Required. The valid value is Inventory. Possible values include: "Inventory". - :type type: str or ~azure.mgmt.storage.v2021_01_01.models.InventoryRuleType - :param rules: Required. The storage account blob inventory policy rules. The rule is applied - when it is enabled. - :type rules: list[~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyRule] - """ - - _validation = { - 'enabled': {'required': True}, - 'destination': {'required': True}, - 'type': {'required': True}, - 'rules': {'required': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'destination': {'key': 'destination', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'rules': {'key': 'rules', 'type': '[BlobInventoryPolicyRule]'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobInventoryPolicySchema, self).__init__(**kwargs) - self.enabled = kwargs['enabled'] - self.destination = kwargs['destination'] - self.type = kwargs['type'] - self.rules = kwargs['rules'] - - -class BlobRestoreParameters(msrest.serialization.Model): - """Blob restore parameters. - - All required parameters must be populated in order to send to Azure. - - :param time_to_restore: Required. Restore blob to the specified time. - :type time_to_restore: ~datetime.datetime - :param blob_ranges: Required. Blob ranges to restore. - :type blob_ranges: list[~azure.mgmt.storage.v2021_01_01.models.BlobRestoreRange] - """ - - _validation = { - 'time_to_restore': {'required': True}, - 'blob_ranges': {'required': True}, - } - - _attribute_map = { - 'time_to_restore': {'key': 'timeToRestore', 'type': 'iso-8601'}, - 'blob_ranges': {'key': 'blobRanges', 'type': '[BlobRestoreRange]'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobRestoreParameters, self).__init__(**kwargs) - self.time_to_restore = kwargs['time_to_restore'] - self.blob_ranges = kwargs['blob_ranges'] - - -class BlobRestoreRange(msrest.serialization.Model): - """Blob range. - - All required parameters must be populated in order to send to Azure. - - :param start_range: Required. Blob start range. This is inclusive. Empty means account start. - :type start_range: str - :param end_range: Required. Blob end range. This is exclusive. Empty means account end. - :type end_range: str - """ - - _validation = { - 'start_range': {'required': True}, - 'end_range': {'required': True}, - } - - _attribute_map = { - 'start_range': {'key': 'startRange', 'type': 'str'}, - 'end_range': {'key': 'endRange', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobRestoreRange, self).__init__(**kwargs) - self.start_range = kwargs['start_range'] - self.end_range = kwargs['end_range'] - - -class BlobRestoreStatus(msrest.serialization.Model): - """Blob restore status. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar status: The status of blob restore progress. Possible values are: - InProgress: Indicates - that blob restore is ongoing. - Complete: Indicates that blob restore has been completed - successfully. - Failed: Indicates that blob restore is failed. Possible values include: - "InProgress", "Complete", "Failed". - :vartype status: str or ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreProgressStatus - :ivar failure_reason: Failure reason when blob restore is failed. - :vartype failure_reason: str - :ivar restore_id: Id for tracking blob restore request. - :vartype restore_id: str - :ivar parameters: Blob restore request parameters. - :vartype parameters: ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreParameters - """ - - _validation = { - 'status': {'readonly': True}, - 'failure_reason': {'readonly': True}, - 'restore_id': {'readonly': True}, - 'parameters': {'readonly': True}, - } - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - 'failure_reason': {'key': 'failureReason', 'type': 'str'}, - 'restore_id': {'key': 'restoreId', 'type': 'str'}, - 'parameters': {'key': 'parameters', 'type': 'BlobRestoreParameters'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobRestoreStatus, self).__init__(**kwargs) - self.status = None - self.failure_reason = None - self.restore_id = None - self.parameters = None - - -class BlobServiceItems(msrest.serialization.Model): - """BlobServiceItems. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of blob services returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.BlobServiceProperties] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[BlobServiceProperties]'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobServiceItems, self).__init__(**kwargs) - self.value = None - - -class BlobServiceProperties(Resource): - """The properties of a storage account’s Blob service. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar sku: Sku name and tier. - :vartype sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :param cors: Specifies CORS rules for the Blob service. You can include up to five CorsRule - elements in the request. If no CorsRule elements are included in the request body, all CORS - rules will be deleted, and CORS will be disabled for the Blob service. - :type cors: ~azure.mgmt.storage.v2021_01_01.models.CorsRules - :param default_service_version: DefaultServiceVersion indicates the default version to use for - requests to the Blob service if an incoming request’s version is not specified. Possible values - include version 2008-10-27 and all more recent versions. - :type default_service_version: str - :param delete_retention_policy: The blob service properties for blob soft delete. - :type delete_retention_policy: ~azure.mgmt.storage.v2021_01_01.models.DeleteRetentionPolicy - :param is_versioning_enabled: Versioning is enabled if set to true. - :type is_versioning_enabled: bool - :param automatic_snapshot_policy_enabled: Deprecated in favor of isVersioningEnabled property. - :type automatic_snapshot_policy_enabled: bool - :param change_feed: The blob service properties for change feed events. - :type change_feed: ~azure.mgmt.storage.v2021_01_01.models.ChangeFeed - :param restore_policy: The blob service properties for blob restore policy. - :type restore_policy: ~azure.mgmt.storage.v2021_01_01.models.RestorePolicyProperties - :param container_delete_retention_policy: The blob service properties for container soft - delete. - :type container_delete_retention_policy: - ~azure.mgmt.storage.v2021_01_01.models.DeleteRetentionPolicy - :param last_access_time_tracking_policy: The blob service property to configure last access - time based tracking policy. - :type last_access_time_tracking_policy: - ~azure.mgmt.storage.v2021_01_01.models.LastAccessTimeTrackingPolicy - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'sku': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'cors': {'key': 'properties.cors', 'type': 'CorsRules'}, - 'default_service_version': {'key': 'properties.defaultServiceVersion', 'type': 'str'}, - 'delete_retention_policy': {'key': 'properties.deleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, - 'is_versioning_enabled': {'key': 'properties.isVersioningEnabled', 'type': 'bool'}, - 'automatic_snapshot_policy_enabled': {'key': 'properties.automaticSnapshotPolicyEnabled', 'type': 'bool'}, - 'change_feed': {'key': 'properties.changeFeed', 'type': 'ChangeFeed'}, - 'restore_policy': {'key': 'properties.restorePolicy', 'type': 'RestorePolicyProperties'}, - 'container_delete_retention_policy': {'key': 'properties.containerDeleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, - 'last_access_time_tracking_policy': {'key': 'properties.lastAccessTimeTrackingPolicy', 'type': 'LastAccessTimeTrackingPolicy'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobServiceProperties, self).__init__(**kwargs) - self.sku = None - self.cors = kwargs.get('cors', None) - self.default_service_version = kwargs.get('default_service_version', None) - self.delete_retention_policy = kwargs.get('delete_retention_policy', None) - self.is_versioning_enabled = kwargs.get('is_versioning_enabled', None) - self.automatic_snapshot_policy_enabled = kwargs.get('automatic_snapshot_policy_enabled', None) - self.change_feed = kwargs.get('change_feed', None) - self.restore_policy = kwargs.get('restore_policy', None) - self.container_delete_retention_policy = kwargs.get('container_delete_retention_policy', None) - self.last_access_time_tracking_policy = kwargs.get('last_access_time_tracking_policy', None) - - -class ChangeFeed(msrest.serialization.Model): - """The blob service properties for change feed events. - - :param enabled: Indicates whether change feed event logging is enabled for the Blob service. - :type enabled: bool - :param retention_in_days: Indicates the duration of changeFeed retention in days. Minimum value - is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite - retention of the change feed. - :type retention_in_days: int - """ - - _validation = { - 'retention_in_days': {'maximum': 146000, 'minimum': 1}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'retention_in_days': {'key': 'retentionInDays', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(ChangeFeed, self).__init__(**kwargs) - self.enabled = kwargs.get('enabled', None) - self.retention_in_days = kwargs.get('retention_in_days', None) - - -class CheckNameAvailabilityResult(msrest.serialization.Model): - """The CheckNameAvailability operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name_available: Gets a boolean value that indicates whether the name is available for you - to use. If true, the name is available. If false, the name has already been taken or is invalid - and cannot be used. - :vartype name_available: bool - :ivar reason: Gets the reason that a storage account name could not be used. The Reason element - is only returned if NameAvailable is false. Possible values include: "AccountNameInvalid", - "AlreadyExists". - :vartype reason: str or ~azure.mgmt.storage.v2021_01_01.models.Reason - :ivar message: Gets an error message explaining the Reason value in more detail. - :vartype message: str - """ - - _validation = { - 'name_available': {'readonly': True}, - 'reason': {'readonly': True}, - 'message': {'readonly': True}, - } - - _attribute_map = { - 'name_available': {'key': 'nameAvailable', 'type': 'bool'}, - 'reason': {'key': 'reason', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(CheckNameAvailabilityResult, self).__init__(**kwargs) - self.name_available = None - self.reason = None - self.message = None - - -class CloudErrorBody(msrest.serialization.Model): - """An error response from the Storage service. - - :param code: An identifier for the error. Codes are invariant and are intended to be consumed - programmatically. - :type code: str - :param message: A message describing the error, intended to be suitable for display in a user - interface. - :type message: str - :param target: The target of the particular error. For example, the name of the property in - error. - :type target: str - :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.storage.v2021_01_01.models.CloudErrorBody] - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, - } - - def __init__( - self, - **kwargs - ): - super(CloudErrorBody, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) - self.target = kwargs.get('target', None) - self.details = kwargs.get('details', None) - - -class CorsRule(msrest.serialization.Model): - """Specifies a CORS rule for the Blob service. - - All required parameters must be populated in order to send to Azure. - - :param allowed_origins: Required. Required if CorsRule element is present. A list of origin - domains that will be allowed via CORS, or "*" to allow all domains. - :type allowed_origins: list[str] - :param allowed_methods: Required. Required if CorsRule element is present. A list of HTTP - methods that are allowed to be executed by the origin. - :type allowed_methods: list[str or - ~azure.mgmt.storage.v2021_01_01.models.CorsRuleAllowedMethodsItem] - :param max_age_in_seconds: Required. Required if CorsRule element is present. The number of - seconds that the client/browser should cache a preflight response. - :type max_age_in_seconds: int - :param exposed_headers: Required. Required if CorsRule element is present. A list of response - headers to expose to CORS clients. - :type exposed_headers: list[str] - :param allowed_headers: Required. Required if CorsRule element is present. A list of headers - allowed to be part of the cross-origin request. - :type allowed_headers: list[str] - """ - - _validation = { - 'allowed_origins': {'required': True}, - 'allowed_methods': {'required': True}, - 'max_age_in_seconds': {'required': True}, - 'exposed_headers': {'required': True}, - 'allowed_headers': {'required': True}, - } - - _attribute_map = { - 'allowed_origins': {'key': 'allowedOrigins', 'type': '[str]'}, - 'allowed_methods': {'key': 'allowedMethods', 'type': '[str]'}, - 'max_age_in_seconds': {'key': 'maxAgeInSeconds', 'type': 'int'}, - 'exposed_headers': {'key': 'exposedHeaders', 'type': '[str]'}, - 'allowed_headers': {'key': 'allowedHeaders', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(CorsRule, self).__init__(**kwargs) - self.allowed_origins = kwargs['allowed_origins'] - self.allowed_methods = kwargs['allowed_methods'] - self.max_age_in_seconds = kwargs['max_age_in_seconds'] - self.exposed_headers = kwargs['exposed_headers'] - self.allowed_headers = kwargs['allowed_headers'] - - -class CorsRules(msrest.serialization.Model): - """Sets the CORS rules. You can include up to five CorsRule elements in the request. - - :param cors_rules: The List of CORS rules. You can include up to five CorsRule elements in the - request. - :type cors_rules: list[~azure.mgmt.storage.v2021_01_01.models.CorsRule] - """ - - _attribute_map = { - 'cors_rules': {'key': 'corsRules', 'type': '[CorsRule]'}, - } - - def __init__( - self, - **kwargs - ): - super(CorsRules, self).__init__(**kwargs) - self.cors_rules = kwargs.get('cors_rules', None) - - -class CustomDomain(msrest.serialization.Model): - """The custom domain assigned to this storage account. This can be set via Update. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Gets or sets the custom domain name assigned to the storage account. - Name is the CNAME source. - :type name: str - :param use_sub_domain_name: Indicates whether indirect CName validation is enabled. Default - value is false. This should only be set on updates. - :type use_sub_domain_name: bool - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'use_sub_domain_name': {'key': 'useSubDomainName', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(CustomDomain, self).__init__(**kwargs) - self.name = kwargs['name'] - self.use_sub_domain_name = kwargs.get('use_sub_domain_name', None) - - -class DateAfterCreation(msrest.serialization.Model): - """Object to define the number of days after creation. - - All required parameters must be populated in order to send to Azure. - - :param days_after_creation_greater_than: Required. Value indicating the age in days after - creation. - :type days_after_creation_greater_than: float - """ - - _validation = { - 'days_after_creation_greater_than': {'required': True, 'minimum': 0, 'multiple': 1}, - } - - _attribute_map = { - 'days_after_creation_greater_than': {'key': 'daysAfterCreationGreaterThan', 'type': 'float'}, - } - - def __init__( - self, - **kwargs - ): - super(DateAfterCreation, self).__init__(**kwargs) - self.days_after_creation_greater_than = kwargs['days_after_creation_greater_than'] - - -class DateAfterModification(msrest.serialization.Model): - """Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive. - - :param days_after_modification_greater_than: Value indicating the age in days after last - modification. - :type days_after_modification_greater_than: float - :param days_after_last_access_time_greater_than: Value indicating the age in days after last - blob access. This property can only be used in conjunction with last access time tracking - policy. - :type days_after_last_access_time_greater_than: float - """ - - _validation = { - 'days_after_modification_greater_than': {'minimum': 0, 'multiple': 1}, - 'days_after_last_access_time_greater_than': {'minimum': 0, 'multiple': 1}, - } - - _attribute_map = { - 'days_after_modification_greater_than': {'key': 'daysAfterModificationGreaterThan', 'type': 'float'}, - 'days_after_last_access_time_greater_than': {'key': 'daysAfterLastAccessTimeGreaterThan', 'type': 'float'}, - } - - def __init__( - self, - **kwargs - ): - super(DateAfterModification, self).__init__(**kwargs) - self.days_after_modification_greater_than = kwargs.get('days_after_modification_greater_than', None) - self.days_after_last_access_time_greater_than = kwargs.get('days_after_last_access_time_greater_than', None) - - -class DeletedAccount(Resource): - """Deleted storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar storage_account_resource_id: Full resource id of the original storage account. - :vartype storage_account_resource_id: str - :ivar location: Location of the deleted account. - :vartype location: str - :ivar restore_reference: Can be used to attempt recovering this deleted account via - PutStorageAccount API. - :vartype restore_reference: str - :ivar creation_time: Creation time of the deleted account. - :vartype creation_time: str - :ivar deletion_time: Deletion time of the deleted account. - :vartype deletion_time: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'storage_account_resource_id': {'readonly': True}, - 'location': {'readonly': True}, - 'restore_reference': {'readonly': True}, - 'creation_time': {'readonly': True}, - 'deletion_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'storage_account_resource_id': {'key': 'properties.storageAccountResourceId', 'type': 'str'}, - 'location': {'key': 'properties.location', 'type': 'str'}, - 'restore_reference': {'key': 'properties.restoreReference', 'type': 'str'}, - 'creation_time': {'key': 'properties.creationTime', 'type': 'str'}, - 'deletion_time': {'key': 'properties.deletionTime', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DeletedAccount, self).__init__(**kwargs) - self.storage_account_resource_id = None - self.location = None - self.restore_reference = None - self.creation_time = None - self.deletion_time = None - - -class DeletedAccountListResult(msrest.serialization.Model): - """The response from the List Deleted Accounts operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Gets the list of deleted accounts and their properties. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.DeletedAccount] - :ivar next_link: Request URL that can be used to query next page of deleted accounts. Returned - when total number of requested deleted accounts exceed maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DeletedAccount]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DeletedAccountListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class DeletedShare(msrest.serialization.Model): - """The deleted share to be restored. - - All required parameters must be populated in order to send to Azure. - - :param deleted_share_name: Required. Required. Identify the name of the deleted share that will - be restored. - :type deleted_share_name: str - :param deleted_share_version: Required. Required. Identify the version of the deleted share - that will be restored. - :type deleted_share_version: str - """ - - _validation = { - 'deleted_share_name': {'required': True}, - 'deleted_share_version': {'required': True}, - } - - _attribute_map = { - 'deleted_share_name': {'key': 'deletedShareName', 'type': 'str'}, - 'deleted_share_version': {'key': 'deletedShareVersion', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DeletedShare, self).__init__(**kwargs) - self.deleted_share_name = kwargs['deleted_share_name'] - self.deleted_share_version = kwargs['deleted_share_version'] - - -class DeleteRetentionPolicy(msrest.serialization.Model): - """The service properties for soft delete. - - :param enabled: Indicates whether DeleteRetentionPolicy is enabled. - :type enabled: bool - :param days: Indicates the number of days that the deleted item should be retained. The minimum - specified value can be 1 and the maximum value can be 365. - :type days: int - """ - - _validation = { - 'days': {'maximum': 365, 'minimum': 1}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'days': {'key': 'days', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(DeleteRetentionPolicy, self).__init__(**kwargs) - self.enabled = kwargs.get('enabled', None) - self.days = kwargs.get('days', None) - - -class Dimension(msrest.serialization.Model): - """Dimension of blobs, possibly be blob type or access tier. - - :param name: Display name of dimension. - :type name: str - :param display_name: Display name of dimension. - :type display_name: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Dimension, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.display_name = kwargs.get('display_name', None) - - -class Encryption(msrest.serialization.Model): - """The encryption settings on the storage account. - - All required parameters must be populated in order to send to Azure. - - :param services: List of services which support encryption. - :type services: ~azure.mgmt.storage.v2021_01_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: - "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". - :type key_source: str or ~azure.mgmt.storage.v2021_01_01.models.KeySource - :param require_infrastructure_encryption: A boolean indicating whether or not the service - applies a secondary layer of encryption with platform managed keys for data at rest. - :type require_infrastructure_encryption: bool - :param key_vault_properties: Properties provided by key vault. - :type key_vault_properties: ~azure.mgmt.storage.v2021_01_01.models.KeyVaultProperties - :param encryption_identity: The identity to be used with service-side encryption at rest. - :type encryption_identity: ~azure.mgmt.storage.v2021_01_01.models.EncryptionIdentity - """ - - _validation = { - 'key_source': {'required': True}, - } - - _attribute_map = { - 'services': {'key': 'services', 'type': 'EncryptionServices'}, - 'key_source': {'key': 'keySource', 'type': 'str'}, - 'require_infrastructure_encryption': {'key': 'requireInfrastructureEncryption', 'type': 'bool'}, - 'key_vault_properties': {'key': 'keyvaultproperties', 'type': 'KeyVaultProperties'}, - 'encryption_identity': {'key': 'identity', 'type': 'EncryptionIdentity'}, - } - - def __init__( - self, - **kwargs - ): - super(Encryption, self).__init__(**kwargs) - self.services = kwargs.get('services', None) - self.key_source = kwargs.get('key_source', "Microsoft.Storage") - self.require_infrastructure_encryption = kwargs.get('require_infrastructure_encryption', None) - self.key_vault_properties = kwargs.get('key_vault_properties', None) - self.encryption_identity = kwargs.get('encryption_identity', None) - - -class EncryptionIdentity(msrest.serialization.Model): - """Encryption identity for the storage account. - - :param encryption_user_assigned_identity: Resource identifier of the UserAssigned identity to - be associated with server-side encryption on the storage account. - :type encryption_user_assigned_identity: str - """ - - _attribute_map = { - 'encryption_user_assigned_identity': {'key': 'userAssignedIdentity', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(EncryptionIdentity, self).__init__(**kwargs) - self.encryption_user_assigned_identity = kwargs.get('encryption_user_assigned_identity', None) - - -class EncryptionScope(Resource): - """The Encryption Scope resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param source: The provider for the encryption scope. Possible values (case-insensitive): - Microsoft.Storage, Microsoft.KeyVault. Possible values include: "Microsoft.Storage", - "Microsoft.KeyVault". - :type source: str or ~azure.mgmt.storage.v2021_01_01.models.EncryptionScopeSource - :param state: The state of the encryption scope. Possible values (case-insensitive): Enabled, - Disabled. Possible values include: "Enabled", "Disabled". - :type state: str or ~azure.mgmt.storage.v2021_01_01.models.EncryptionScopeState - :ivar creation_time: Gets the creation date and time of the encryption scope in UTC. - :vartype creation_time: ~datetime.datetime - :ivar last_modified_time: Gets the last modification date and time of the encryption scope in - UTC. - :vartype last_modified_time: ~datetime.datetime - :param key_vault_properties: The key vault properties for the encryption scope. This is a - required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. - :type key_vault_properties: - ~azure.mgmt.storage.v2021_01_01.models.EncryptionScopeKeyVaultProperties - :param require_infrastructure_encryption: A boolean indicating whether or not the service - applies a secondary layer of encryption with platform managed keys for data at rest. - :type require_infrastructure_encryption: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'creation_time': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'source': {'key': 'properties.source', 'type': 'str'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'key_vault_properties': {'key': 'properties.keyVaultProperties', 'type': 'EncryptionScopeKeyVaultProperties'}, - 'require_infrastructure_encryption': {'key': 'properties.requireInfrastructureEncryption', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(EncryptionScope, self).__init__(**kwargs) - self.source = kwargs.get('source', None) - self.state = kwargs.get('state', None) - self.creation_time = None - self.last_modified_time = None - self.key_vault_properties = kwargs.get('key_vault_properties', None) - self.require_infrastructure_encryption = kwargs.get('require_infrastructure_encryption', None) - - -class EncryptionScopeKeyVaultProperties(msrest.serialization.Model): - """The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param key_uri: The object identifier for a key vault key object. When applied, the encryption - scope will use the key referenced by the identifier to enable customer-managed key support on - this encryption scope. - :type key_uri: str - :ivar current_versioned_key_identifier: The object identifier of the current versioned Key - Vault Key in use. - :vartype current_versioned_key_identifier: str - :ivar last_key_rotation_timestamp: Timestamp of last rotation of the Key Vault Key. - :vartype last_key_rotation_timestamp: ~datetime.datetime - """ - - _validation = { - 'current_versioned_key_identifier': {'readonly': True}, - 'last_key_rotation_timestamp': {'readonly': True}, - } - - _attribute_map = { - 'key_uri': {'key': 'keyUri', 'type': 'str'}, - 'current_versioned_key_identifier': {'key': 'currentVersionedKeyIdentifier', 'type': 'str'}, - 'last_key_rotation_timestamp': {'key': 'lastKeyRotationTimestamp', 'type': 'iso-8601'}, - } - - def __init__( - self, - **kwargs - ): - super(EncryptionScopeKeyVaultProperties, self).__init__(**kwargs) - self.key_uri = kwargs.get('key_uri', None) - self.current_versioned_key_identifier = None - self.last_key_rotation_timestamp = None - - -class EncryptionScopeListResult(msrest.serialization.Model): - """List of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of encryption scopes requested. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.EncryptionScope] - :ivar next_link: Request URL that can be used to query next page of encryption scopes. Returned - when total number of requested encryption scopes exceeds the maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[EncryptionScope]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(EncryptionScopeListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class EncryptionService(msrest.serialization.Model): - """A service that allows server-side encryption to be used. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param enabled: A boolean indicating whether or not the service encrypts the data as it is - stored. - :type enabled: bool - :ivar last_enabled_time: Gets a rough estimate of the date/time when the encryption was last - enabled by the user. Only returned when encryption is enabled. There might be some unencrypted - blobs which were written after this time, as it is just a rough estimate. - :vartype last_enabled_time: ~datetime.datetime - :param key_type: Encryption key type to be used for the encryption service. 'Account' key type - implies that an account-scoped encryption key will be used. 'Service' key type implies that a - default service key is used. Possible values include: "Service", "Account". - :type key_type: str or ~azure.mgmt.storage.v2021_01_01.models.KeyType - """ - - _validation = { - 'last_enabled_time': {'readonly': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'last_enabled_time': {'key': 'lastEnabledTime', 'type': 'iso-8601'}, - 'key_type': {'key': 'keyType', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(EncryptionService, self).__init__(**kwargs) - self.enabled = kwargs.get('enabled', None) - self.last_enabled_time = None - self.key_type = kwargs.get('key_type', None) - - -class EncryptionServices(msrest.serialization.Model): - """A list of services that support encryption. - - :param blob: The encryption function of the blob storage service. - :type blob: ~azure.mgmt.storage.v2021_01_01.models.EncryptionService - :param file: The encryption function of the file storage service. - :type file: ~azure.mgmt.storage.v2021_01_01.models.EncryptionService - :param table: The encryption function of the table storage service. - :type table: ~azure.mgmt.storage.v2021_01_01.models.EncryptionService - :param queue: The encryption function of the queue storage service. - :type queue: ~azure.mgmt.storage.v2021_01_01.models.EncryptionService - """ - - _attribute_map = { - 'blob': {'key': 'blob', 'type': 'EncryptionService'}, - 'file': {'key': 'file', 'type': 'EncryptionService'}, - 'table': {'key': 'table', 'type': 'EncryptionService'}, - 'queue': {'key': 'queue', 'type': 'EncryptionService'}, - } - - def __init__( - self, - **kwargs - ): - super(EncryptionServices, self).__init__(**kwargs) - self.blob = kwargs.get('blob', None) - self.file = kwargs.get('file', None) - self.table = kwargs.get('table', None) - self.queue = kwargs.get('queue', None) - - -class Endpoints(msrest.serialization.Model): - """The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar blob: Gets the blob endpoint. - :vartype blob: str - :ivar queue: Gets the queue endpoint. - :vartype queue: str - :ivar table: Gets the table endpoint. - :vartype table: str - :ivar file: Gets the file endpoint. - :vartype file: str - :ivar web: Gets the web endpoint. - :vartype web: str - :ivar dfs: Gets the dfs endpoint. - :vartype dfs: str - :param microsoft_endpoints: Gets the microsoft routing storage endpoints. - :type microsoft_endpoints: - ~azure.mgmt.storage.v2021_01_01.models.StorageAccountMicrosoftEndpoints - :param internet_endpoints: Gets the internet routing storage endpoints. - :type internet_endpoints: - ~azure.mgmt.storage.v2021_01_01.models.StorageAccountInternetEndpoints - """ - - _validation = { - 'blob': {'readonly': True}, - 'queue': {'readonly': True}, - 'table': {'readonly': True}, - 'file': {'readonly': True}, - 'web': {'readonly': True}, - 'dfs': {'readonly': True}, - } - - _attribute_map = { - 'blob': {'key': 'blob', 'type': 'str'}, - 'queue': {'key': 'queue', 'type': 'str'}, - 'table': {'key': 'table', 'type': 'str'}, - 'file': {'key': 'file', 'type': 'str'}, - 'web': {'key': 'web', 'type': 'str'}, - 'dfs': {'key': 'dfs', 'type': 'str'}, - 'microsoft_endpoints': {'key': 'microsoftEndpoints', 'type': 'StorageAccountMicrosoftEndpoints'}, - 'internet_endpoints': {'key': 'internetEndpoints', 'type': 'StorageAccountInternetEndpoints'}, - } - - def __init__( - self, - **kwargs - ): - super(Endpoints, self).__init__(**kwargs) - self.blob = None - self.queue = None - self.table = None - self.file = None - self.web = None - self.dfs = None - self.microsoft_endpoints = kwargs.get('microsoft_endpoints', None) - self.internet_endpoints = kwargs.get('internet_endpoints', None) - - -class ErrorResponse(msrest.serialization.Model): - """An error response from the storage resource provider. - - :param error: Azure Storage Resource Provider error response body. - :type error: ~azure.mgmt.storage.v2021_01_01.models.ErrorResponseBody - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorResponseBody'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.error = kwargs.get('error', None) - - -class ErrorResponseBody(msrest.serialization.Model): - """Error response body contract. - - :param code: An identifier for the error. Codes are invariant and are intended to be consumed - programmatically. - :type code: str - :param message: A message describing the error, intended to be suitable for display in a user - interface. - :type message: str - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponseBody, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) - - -class ExtendedLocation(msrest.serialization.Model): - """The complex type of the extended location. - - :param name: The name of the extended location. - :type name: str - :param type: The type of the extended location. Possible values include: "EdgeZone". - :type type: str or ~azure.mgmt.storage.v2021_01_01.models.ExtendedLocationTypes - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ExtendedLocation, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.type = kwargs.get('type', None) - - -class FileServiceItems(msrest.serialization.Model): - """FileServiceItems. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of file services returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[FileServiceProperties]'}, - } - - def __init__( - self, - **kwargs - ): - super(FileServiceItems, self).__init__(**kwargs) - self.value = None - - -class FileServiceProperties(Resource): - """The properties of File services in storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar sku: Sku name and tier. - :vartype sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :param cors: Specifies CORS rules for the File service. You can include up to five CorsRule - elements in the request. If no CorsRule elements are included in the request body, all CORS - rules will be deleted, and CORS will be disabled for the File service. - :type cors: ~azure.mgmt.storage.v2021_01_01.models.CorsRules - :param share_delete_retention_policy: The file service properties for share soft delete. - :type share_delete_retention_policy: - ~azure.mgmt.storage.v2021_01_01.models.DeleteRetentionPolicy - :param protocol_settings: Protocol settings for file service. - :type protocol_settings: ~azure.mgmt.storage.v2021_01_01.models.ProtocolSettings - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'sku': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'cors': {'key': 'properties.cors', 'type': 'CorsRules'}, - 'share_delete_retention_policy': {'key': 'properties.shareDeleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, - 'protocol_settings': {'key': 'properties.protocolSettings', 'type': 'ProtocolSettings'}, - } - - def __init__( - self, - **kwargs - ): - super(FileServiceProperties, self).__init__(**kwargs) - self.sku = None - self.cors = kwargs.get('cors', None) - self.share_delete_retention_policy = kwargs.get('share_delete_retention_policy', None) - self.protocol_settings = kwargs.get('protocol_settings', None) - - -class FileShare(AzureEntityResource): - """Properties of the file share, including Id, resource name, resource type, Etag. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :ivar last_modified_time: Returns the date and time the share was last modified. - :vartype last_modified_time: ~datetime.datetime - :param metadata: A name-value pair to associate with the share as metadata. - :type metadata: dict[str, str] - :param share_quota: The maximum size of the share, in gigabytes. Must be greater than 0, and - less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. - :type share_quota: int - :param enabled_protocols: The authentication protocol that is used for the file share. Can only - be specified when creating a share. Possible values include: "SMB", "NFS". - :type enabled_protocols: str or ~azure.mgmt.storage.v2021_01_01.models.EnabledProtocols - :param root_squash: The property is for NFS share only. The default is NoRootSquash. Possible - values include: "NoRootSquash", "RootSquash", "AllSquash". - :type root_squash: str or ~azure.mgmt.storage.v2021_01_01.models.RootSquashType - :ivar version: The version of the share. - :vartype version: str - :ivar deleted: Indicates whether the share was deleted. - :vartype deleted: bool - :ivar deleted_time: The deleted time if the share was deleted. - :vartype deleted_time: ~datetime.datetime - :ivar remaining_retention_days: Remaining retention days for share that was soft deleted. - :vartype remaining_retention_days: int - :param access_tier: Access tier for specific share. GpV2 account can choose between - TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Possible - values include: "TransactionOptimized", "Hot", "Cool", "Premium". - :type access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.ShareAccessTier - :ivar access_tier_change_time: Indicates the last modification time for share access tier. - :vartype access_tier_change_time: ~datetime.datetime - :ivar access_tier_status: Indicates if there is a pending transition for access tier. - :vartype access_tier_status: str - :ivar share_usage_bytes: The approximate size of the data stored on the share. Note that this - value may not include all recently created or recently resized files. - :vartype share_usage_bytes: long - :ivar snapshot_time: Creation time of share snapshot returned in the response of list shares - with expand param "snapshots". - :vartype snapshot_time: ~datetime.datetime - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - 'share_quota': {'maximum': 102400, 'minimum': 1}, - 'version': {'readonly': True}, - 'deleted': {'readonly': True}, - 'deleted_time': {'readonly': True}, - 'remaining_retention_days': {'readonly': True}, - 'access_tier_change_time': {'readonly': True}, - 'access_tier_status': {'readonly': True}, - 'share_usage_bytes': {'readonly': True}, - 'snapshot_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'share_quota': {'key': 'properties.shareQuota', 'type': 'int'}, - 'enabled_protocols': {'key': 'properties.enabledProtocols', 'type': 'str'}, - 'root_squash': {'key': 'properties.rootSquash', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'deleted': {'key': 'properties.deleted', 'type': 'bool'}, - 'deleted_time': {'key': 'properties.deletedTime', 'type': 'iso-8601'}, - 'remaining_retention_days': {'key': 'properties.remainingRetentionDays', 'type': 'int'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'access_tier_change_time': {'key': 'properties.accessTierChangeTime', 'type': 'iso-8601'}, - 'access_tier_status': {'key': 'properties.accessTierStatus', 'type': 'str'}, - 'share_usage_bytes': {'key': 'properties.shareUsageBytes', 'type': 'long'}, - 'snapshot_time': {'key': 'properties.snapshotTime', 'type': 'iso-8601'}, - } - - def __init__( - self, - **kwargs - ): - super(FileShare, self).__init__(**kwargs) - self.last_modified_time = None - self.metadata = kwargs.get('metadata', None) - self.share_quota = kwargs.get('share_quota', None) - self.enabled_protocols = kwargs.get('enabled_protocols', None) - self.root_squash = kwargs.get('root_squash', None) - self.version = None - self.deleted = None - self.deleted_time = None - self.remaining_retention_days = None - self.access_tier = kwargs.get('access_tier', None) - self.access_tier_change_time = None - self.access_tier_status = None - self.share_usage_bytes = None - self.snapshot_time = None - - -class FileShareItem(AzureEntityResource): - """The file share properties be listed out. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :ivar last_modified_time: Returns the date and time the share was last modified. - :vartype last_modified_time: ~datetime.datetime - :param metadata: A name-value pair to associate with the share as metadata. - :type metadata: dict[str, str] - :param share_quota: The maximum size of the share, in gigabytes. Must be greater than 0, and - less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. - :type share_quota: int - :param enabled_protocols: The authentication protocol that is used for the file share. Can only - be specified when creating a share. Possible values include: "SMB", "NFS". - :type enabled_protocols: str or ~azure.mgmt.storage.v2021_01_01.models.EnabledProtocols - :param root_squash: The property is for NFS share only. The default is NoRootSquash. Possible - values include: "NoRootSquash", "RootSquash", "AllSquash". - :type root_squash: str or ~azure.mgmt.storage.v2021_01_01.models.RootSquashType - :ivar version: The version of the share. - :vartype version: str - :ivar deleted: Indicates whether the share was deleted. - :vartype deleted: bool - :ivar deleted_time: The deleted time if the share was deleted. - :vartype deleted_time: ~datetime.datetime - :ivar remaining_retention_days: Remaining retention days for share that was soft deleted. - :vartype remaining_retention_days: int - :param access_tier: Access tier for specific share. GpV2 account can choose between - TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Possible - values include: "TransactionOptimized", "Hot", "Cool", "Premium". - :type access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.ShareAccessTier - :ivar access_tier_change_time: Indicates the last modification time for share access tier. - :vartype access_tier_change_time: ~datetime.datetime - :ivar access_tier_status: Indicates if there is a pending transition for access tier. - :vartype access_tier_status: str - :ivar share_usage_bytes: The approximate size of the data stored on the share. Note that this - value may not include all recently created or recently resized files. - :vartype share_usage_bytes: long - :ivar snapshot_time: Creation time of share snapshot returned in the response of list shares - with expand param "snapshots". - :vartype snapshot_time: ~datetime.datetime - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - 'share_quota': {'maximum': 102400, 'minimum': 1}, - 'version': {'readonly': True}, - 'deleted': {'readonly': True}, - 'deleted_time': {'readonly': True}, - 'remaining_retention_days': {'readonly': True}, - 'access_tier_change_time': {'readonly': True}, - 'access_tier_status': {'readonly': True}, - 'share_usage_bytes': {'readonly': True}, - 'snapshot_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'share_quota': {'key': 'properties.shareQuota', 'type': 'int'}, - 'enabled_protocols': {'key': 'properties.enabledProtocols', 'type': 'str'}, - 'root_squash': {'key': 'properties.rootSquash', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'deleted': {'key': 'properties.deleted', 'type': 'bool'}, - 'deleted_time': {'key': 'properties.deletedTime', 'type': 'iso-8601'}, - 'remaining_retention_days': {'key': 'properties.remainingRetentionDays', 'type': 'int'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'access_tier_change_time': {'key': 'properties.accessTierChangeTime', 'type': 'iso-8601'}, - 'access_tier_status': {'key': 'properties.accessTierStatus', 'type': 'str'}, - 'share_usage_bytes': {'key': 'properties.shareUsageBytes', 'type': 'long'}, - 'snapshot_time': {'key': 'properties.snapshotTime', 'type': 'iso-8601'}, - } - - def __init__( - self, - **kwargs - ): - super(FileShareItem, self).__init__(**kwargs) - self.last_modified_time = None - self.metadata = kwargs.get('metadata', None) - self.share_quota = kwargs.get('share_quota', None) - self.enabled_protocols = kwargs.get('enabled_protocols', None) - self.root_squash = kwargs.get('root_squash', None) - self.version = None - self.deleted = None - self.deleted_time = None - self.remaining_retention_days = None - self.access_tier = kwargs.get('access_tier', None) - self.access_tier_change_time = None - self.access_tier_status = None - self.share_usage_bytes = None - self.snapshot_time = None - - -class FileShareItems(msrest.serialization.Model): - """Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of file shares returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.FileShareItem] - :ivar next_link: Request URL that can be used to query next page of shares. Returned when total - number of requested shares exceed maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[FileShareItem]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(FileShareItems, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class GeoReplicationStats(msrest.serialization.Model): - """Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar status: The status of the secondary location. Possible values are: - Live: Indicates that - the secondary location is active and operational. - Bootstrap: Indicates initial - synchronization from the primary location to the secondary location is in progress.This - typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary - location is temporarily unavailable. Possible values include: "Live", "Bootstrap", - "Unavailable". - :vartype status: str or ~azure.mgmt.storage.v2021_01_01.models.GeoReplicationStatus - :ivar last_sync_time: All primary writes preceding this UTC date/time value are guaranteed to - be available for read operations. Primary writes following this point in time may or may not be - available for reads. Element may be default value if value of LastSyncTime is not available, - this can happen if secondary is offline or we are in bootstrap. - :vartype last_sync_time: ~datetime.datetime - :ivar can_failover: A boolean flag which indicates whether or not account failover is supported - for the account. - :vartype can_failover: bool - """ - - _validation = { - 'status': {'readonly': True}, - 'last_sync_time': {'readonly': True}, - 'can_failover': {'readonly': True}, - } - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - 'last_sync_time': {'key': 'lastSyncTime', 'type': 'iso-8601'}, - 'can_failover': {'key': 'canFailover', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(GeoReplicationStats, self).__init__(**kwargs) - self.status = None - self.last_sync_time = None - self.can_failover = None - - -class Identity(msrest.serialization.Model): - """Identity for the resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar principal_id: The principal ID of resource identity. - :vartype principal_id: str - :ivar tenant_id: The tenant ID of resource. - :vartype tenant_id: str - :param type: Required. The identity type. Possible values include: "None", "SystemAssigned", - "UserAssigned", "SystemAssigned,UserAssigned". - :type type: str or ~azure.mgmt.storage.v2021_01_01.models.IdentityType - :param user_assigned_identities: Gets or sets a list of key value pairs that describe the set - of User Assigned identities that will be used with this storage account. The key is the ARM - resource identifier of the identity. Only 1 User Assigned identity is permitted here. - :type user_assigned_identities: dict[str, - ~azure.mgmt.storage.v2021_01_01.models.UserAssignedIdentity] - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'tenant_id': {'readonly': True}, - 'type': {'required': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{UserAssignedIdentity}'}, - } - - def __init__( - self, - **kwargs - ): - super(Identity, self).__init__(**kwargs) - self.principal_id = None - self.tenant_id = None - self.type = kwargs['type'] - self.user_assigned_identities = kwargs.get('user_assigned_identities', None) - - -class ImmutabilityPolicy(AzureEntityResource): - """The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :param immutability_period_since_creation_in_days: The immutability period for the blobs in the - container since the policy creation, in days. - :type immutability_period_since_creation_in_days: int - :ivar state: The ImmutabilityPolicy state of a blob container, possible values include: Locked - and Unlocked. Possible values include: "Locked", "Unlocked". - :vartype state: str or ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyState - :param allow_protected_append_writes: This property can only be changed for unlocked time-based - retention policies. When enabled, new blocks can be written to an append blob while maintaining - immutability protection and compliance. Only new blocks can be added and any existing blocks - cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy - API. - :type allow_protected_append_writes: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'immutability_period_since_creation_in_days': {'key': 'properties.immutabilityPeriodSinceCreationInDays', 'type': 'int'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'allow_protected_append_writes': {'key': 'properties.allowProtectedAppendWrites', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(ImmutabilityPolicy, self).__init__(**kwargs) - self.immutability_period_since_creation_in_days = kwargs.get('immutability_period_since_creation_in_days', None) - self.state = None - self.allow_protected_append_writes = kwargs.get('allow_protected_append_writes', None) - - -class ImmutabilityPolicyProperties(msrest.serialization.Model): - """The properties of an ImmutabilityPolicy of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar etag: ImmutabilityPolicy Etag. - :vartype etag: str - :ivar update_history: The ImmutabilityPolicy update history of the blob container. - :vartype update_history: list[~azure.mgmt.storage.v2021_01_01.models.UpdateHistoryProperty] - :param immutability_period_since_creation_in_days: The immutability period for the blobs in the - container since the policy creation, in days. - :type immutability_period_since_creation_in_days: int - :ivar state: The ImmutabilityPolicy state of a blob container, possible values include: Locked - and Unlocked. Possible values include: "Locked", "Unlocked". - :vartype state: str or ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyState - :param allow_protected_append_writes: This property can only be changed for unlocked time-based - retention policies. When enabled, new blocks can be written to an append blob while maintaining - immutability protection and compliance. Only new blocks can be added and any existing blocks - cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy - API. - :type allow_protected_append_writes: bool - """ - - _validation = { - 'etag': {'readonly': True}, - 'update_history': {'readonly': True}, - 'state': {'readonly': True}, - } - - _attribute_map = { - 'etag': {'key': 'etag', 'type': 'str'}, - 'update_history': {'key': 'updateHistory', 'type': '[UpdateHistoryProperty]'}, - 'immutability_period_since_creation_in_days': {'key': 'properties.immutabilityPeriodSinceCreationInDays', 'type': 'int'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'allow_protected_append_writes': {'key': 'properties.allowProtectedAppendWrites', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(ImmutabilityPolicyProperties, self).__init__(**kwargs) - self.etag = None - self.update_history = None - self.immutability_period_since_creation_in_days = kwargs.get('immutability_period_since_creation_in_days', None) - self.state = None - self.allow_protected_append_writes = kwargs.get('allow_protected_append_writes', None) - - -class IPRule(msrest.serialization.Model): - """IP rule with specific IP or IP range in CIDR format. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param ip_address_or_range: Required. Specifies the IP or IP range in CIDR format. Only IPV4 - address is allowed. - :type ip_address_or_range: str - :ivar action: The action of IP ACL rule. Default value: "Allow". - :vartype action: str - """ - - _validation = { - 'ip_address_or_range': {'required': True}, - 'action': {'constant': True}, - } - - _attribute_map = { - 'ip_address_or_range': {'key': 'value', 'type': 'str'}, - 'action': {'key': 'action', 'type': 'str'}, - } - - action = "Allow" - - def __init__( - self, - **kwargs - ): - super(IPRule, self).__init__(**kwargs) - self.ip_address_or_range = kwargs['ip_address_or_range'] - - -class KeyVaultProperties(msrest.serialization.Model): - """Properties of key vault. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param key_name: The name of KeyVault key. - :type key_name: str - :param key_version: The version of KeyVault key. - :type key_version: str - :param key_vault_uri: The Uri of KeyVault. - :type key_vault_uri: str - :ivar current_versioned_key_identifier: The object identifier of the current versioned Key - Vault Key in use. - :vartype current_versioned_key_identifier: str - :ivar last_key_rotation_timestamp: Timestamp of last rotation of the Key Vault Key. - :vartype last_key_rotation_timestamp: ~datetime.datetime - """ - - _validation = { - 'current_versioned_key_identifier': {'readonly': True}, - 'last_key_rotation_timestamp': {'readonly': True}, - } - - _attribute_map = { - 'key_name': {'key': 'keyname', 'type': 'str'}, - 'key_version': {'key': 'keyversion', 'type': 'str'}, - 'key_vault_uri': {'key': 'keyvaulturi', 'type': 'str'}, - 'current_versioned_key_identifier': {'key': 'currentVersionedKeyIdentifier', 'type': 'str'}, - 'last_key_rotation_timestamp': {'key': 'lastKeyRotationTimestamp', 'type': 'iso-8601'}, - } - - def __init__( - self, - **kwargs - ): - super(KeyVaultProperties, self).__init__(**kwargs) - self.key_name = kwargs.get('key_name', None) - self.key_version = kwargs.get('key_version', None) - self.key_vault_uri = kwargs.get('key_vault_uri', None) - self.current_versioned_key_identifier = None - self.last_key_rotation_timestamp = None - - -class LastAccessTimeTrackingPolicy(msrest.serialization.Model): - """The blob service properties for Last access time based tracking policy. - - All required parameters must be populated in order to send to Azure. - - :param enable: Required. When set to true last access time based tracking is enabled. - :type enable: bool - :param name: Name of the policy. The valid value is AccessTimeTracking. This field is currently - read only. Possible values include: "AccessTimeTracking". - :type name: str or ~azure.mgmt.storage.v2021_01_01.models.Name - :param tracking_granularity_in_days: The field specifies blob object tracking granularity in - days, typically how often the blob object should be tracked.This field is currently read only - with value as 1. - :type tracking_granularity_in_days: int - :param blob_type: An array of predefined supported blob types. Only blockBlob is the supported - value. This field is currently read only. - :type blob_type: list[str] - """ - - _validation = { - 'enable': {'required': True}, - } - - _attribute_map = { - 'enable': {'key': 'enable', 'type': 'bool'}, - 'name': {'key': 'name', 'type': 'str'}, - 'tracking_granularity_in_days': {'key': 'trackingGranularityInDays', 'type': 'int'}, - 'blob_type': {'key': 'blobType', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(LastAccessTimeTrackingPolicy, self).__init__(**kwargs) - self.enable = kwargs['enable'] - self.name = kwargs.get('name', None) - self.tracking_granularity_in_days = kwargs.get('tracking_granularity_in_days', None) - self.blob_type = kwargs.get('blob_type', None) - - -class LeaseContainerRequest(msrest.serialization.Model): - """Lease Container request schema. - - All required parameters must be populated in order to send to Azure. - - :param action: Required. Specifies the lease action. Can be one of the available actions. - Possible values include: "Acquire", "Renew", "Change", "Release", "Break". - :type action: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerRequestAction - :param lease_id: Identifies the lease. Can be specified in any valid GUID string format. - :type lease_id: str - :param break_period: Optional. For a break action, proposed duration the lease should continue - before it is broken, in seconds, between 0 and 60. - :type break_period: int - :param lease_duration: Required for acquire. Specifies the duration of the lease, in seconds, - or negative one (-1) for a lease that never expires. - :type lease_duration: int - :param proposed_lease_id: Optional for acquire, required for change. Proposed lease ID, in a - GUID string format. - :type proposed_lease_id: str - """ - - _validation = { - 'action': {'required': True}, - } - - _attribute_map = { - 'action': {'key': 'action', 'type': 'str'}, - 'lease_id': {'key': 'leaseId', 'type': 'str'}, - 'break_period': {'key': 'breakPeriod', 'type': 'int'}, - 'lease_duration': {'key': 'leaseDuration', 'type': 'int'}, - 'proposed_lease_id': {'key': 'proposedLeaseId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(LeaseContainerRequest, self).__init__(**kwargs) - self.action = kwargs['action'] - self.lease_id = kwargs.get('lease_id', None) - self.break_period = kwargs.get('break_period', None) - self.lease_duration = kwargs.get('lease_duration', None) - self.proposed_lease_id = kwargs.get('proposed_lease_id', None) - - -class LeaseContainerResponse(msrest.serialization.Model): - """Lease Container response schema. - - :param lease_id: Returned unique lease ID that must be included with any request to delete the - container, or to renew, change, or release the lease. - :type lease_id: str - :param lease_time_seconds: Approximate time remaining in the lease period, in seconds. - :type lease_time_seconds: str - """ - - _attribute_map = { - 'lease_id': {'key': 'leaseId', 'type': 'str'}, - 'lease_time_seconds': {'key': 'leaseTimeSeconds', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(LeaseContainerResponse, self).__init__(**kwargs) - self.lease_id = kwargs.get('lease_id', None) - self.lease_time_seconds = kwargs.get('lease_time_seconds', None) - - -class LegalHold(msrest.serialization.Model): - """The LegalHold property of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at - least one existing tag. The hasLegalHold public property is set to false by SRP if all existing - legal hold tags are cleared out. There can be a maximum of 1000 blob containers with - hasLegalHold=true for a given account. - :vartype has_legal_hold: bool - :param tags: Required. A set of tags. Each tag should be 3 to 23 alphanumeric characters and is - normalized to lower case at SRP. - :type tags: list[str] - """ - - _validation = { - 'has_legal_hold': {'readonly': True}, - 'tags': {'required': True}, - } - - _attribute_map = { - 'has_legal_hold': {'key': 'hasLegalHold', 'type': 'bool'}, - 'tags': {'key': 'tags', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(LegalHold, self).__init__(**kwargs) - self.has_legal_hold = None - self.tags = kwargs['tags'] - - -class LegalHoldProperties(msrest.serialization.Model): - """The LegalHold property of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at - least one existing tag. The hasLegalHold public property is set to false by SRP if all existing - legal hold tags are cleared out. There can be a maximum of 1000 blob containers with - hasLegalHold=true for a given account. - :vartype has_legal_hold: bool - :param tags: A set of tags. The list of LegalHold tags of a blob container. - :type tags: list[~azure.mgmt.storage.v2021_01_01.models.TagProperty] - """ - - _validation = { - 'has_legal_hold': {'readonly': True}, - } - - _attribute_map = { - 'has_legal_hold': {'key': 'hasLegalHold', 'type': 'bool'}, - 'tags': {'key': 'tags', 'type': '[TagProperty]'}, - } - - def __init__( - self, - **kwargs - ): - super(LegalHoldProperties, self).__init__(**kwargs) - self.has_legal_hold = None - self.tags = kwargs.get('tags', None) - - -class ListAccountSasResponse(msrest.serialization.Model): - """The List SAS credentials operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar account_sas_token: List SAS credentials of storage account. - :vartype account_sas_token: str - """ - - _validation = { - 'account_sas_token': {'readonly': True}, - } - - _attribute_map = { - 'account_sas_token': {'key': 'accountSasToken', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListAccountSasResponse, self).__init__(**kwargs) - self.account_sas_token = None - - -class ListBlobInventoryPolicy(msrest.serialization.Model): - """List of blob inventory policies returned. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of blob inventory policies. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicy] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[BlobInventoryPolicy]'}, - } - - def __init__( - self, - **kwargs - ): - super(ListBlobInventoryPolicy, self).__init__(**kwargs) - self.value = None - - -class ListContainerItem(AzureEntityResource): - """The blob container properties be listed out. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :ivar version: The version of the deleted blob container. - :vartype version: str - :ivar deleted: Indicates whether the blob container was deleted. - :vartype deleted: bool - :ivar deleted_time: Blob container deletion time. - :vartype deleted_time: ~datetime.datetime - :ivar remaining_retention_days: Remaining retention days for soft deleted blob container. - :vartype remaining_retention_days: int - :param default_encryption_scope: Default the container to use specified encryption scope for - all writes. - :type default_encryption_scope: str - :param deny_encryption_scope_override: Block override of encryption scope from the container - default. - :type deny_encryption_scope_override: bool - :param public_access: Specifies whether data in the container may be accessed publicly and the - level of access. Possible values include: "Container", "Blob", "None". - :type public_access: str or ~azure.mgmt.storage.v2021_01_01.models.PublicAccess - :ivar last_modified_time: Returns the date and time the container was last modified. - :vartype last_modified_time: ~datetime.datetime - :ivar lease_status: The lease status of the container. Possible values include: "Locked", - "Unlocked". - :vartype lease_status: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseStatus - :ivar lease_state: Lease state of the container. Possible values include: "Available", - "Leased", "Expired", "Breaking", "Broken". - :vartype lease_state: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseState - :ivar lease_duration: Specifies whether the lease on a container is of infinite or fixed - duration, only when the container is leased. Possible values include: "Infinite", "Fixed". - :vartype lease_duration: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseDuration - :param metadata: A name-value pair to associate with the container as metadata. - :type metadata: dict[str, str] - :ivar immutability_policy: The ImmutabilityPolicy property of the container. - :vartype immutability_policy: - ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyProperties - :ivar legal_hold: The LegalHold property of the container. - :vartype legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHoldProperties - :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at - least one existing tag. The hasLegalHold public property is set to false by SRP if all existing - legal hold tags are cleared out. There can be a maximum of 1000 blob containers with - hasLegalHold=true for a given account. - :vartype has_legal_hold: bool - :ivar has_immutability_policy: The hasImmutabilityPolicy public property is set to true by SRP - if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public - property is set to false by SRP if ImmutabilityPolicy has not been created for this container. - :vartype has_immutability_policy: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'version': {'readonly': True}, - 'deleted': {'readonly': True}, - 'deleted_time': {'readonly': True}, - 'remaining_retention_days': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - 'lease_status': {'readonly': True}, - 'lease_state': {'readonly': True}, - 'lease_duration': {'readonly': True}, - 'immutability_policy': {'readonly': True}, - 'legal_hold': {'readonly': True}, - 'has_legal_hold': {'readonly': True}, - 'has_immutability_policy': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'deleted': {'key': 'properties.deleted', 'type': 'bool'}, - 'deleted_time': {'key': 'properties.deletedTime', 'type': 'iso-8601'}, - 'remaining_retention_days': {'key': 'properties.remainingRetentionDays', 'type': 'int'}, - 'default_encryption_scope': {'key': 'properties.defaultEncryptionScope', 'type': 'str'}, - 'deny_encryption_scope_override': {'key': 'properties.denyEncryptionScopeOverride', 'type': 'bool'}, - 'public_access': {'key': 'properties.publicAccess', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'lease_status': {'key': 'properties.leaseStatus', 'type': 'str'}, - 'lease_state': {'key': 'properties.leaseState', 'type': 'str'}, - 'lease_duration': {'key': 'properties.leaseDuration', 'type': 'str'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'immutability_policy': {'key': 'properties.immutabilityPolicy', 'type': 'ImmutabilityPolicyProperties'}, - 'legal_hold': {'key': 'properties.legalHold', 'type': 'LegalHoldProperties'}, - 'has_legal_hold': {'key': 'properties.hasLegalHold', 'type': 'bool'}, - 'has_immutability_policy': {'key': 'properties.hasImmutabilityPolicy', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(ListContainerItem, self).__init__(**kwargs) - self.version = None - self.deleted = None - self.deleted_time = None - self.remaining_retention_days = None - self.default_encryption_scope = kwargs.get('default_encryption_scope', None) - self.deny_encryption_scope_override = kwargs.get('deny_encryption_scope_override', None) - self.public_access = kwargs.get('public_access', None) - self.last_modified_time = None - self.lease_status = None - self.lease_state = None - self.lease_duration = None - self.metadata = kwargs.get('metadata', None) - self.immutability_policy = None - self.legal_hold = None - self.has_legal_hold = None - self.has_immutability_policy = None - - -class ListContainerItems(msrest.serialization.Model): - """Response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of blobs containers returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.ListContainerItem] - :ivar next_link: Request URL that can be used to query next page of containers. Returned when - total number of requested containers exceed maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ListContainerItem]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListContainerItems, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class ListQueue(Resource): - """ListQueue. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param metadata: A name-value pair that represents queue metadata. - :type metadata: dict[str, str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - } - - def __init__( - self, - **kwargs - ): - super(ListQueue, self).__init__(**kwargs) - self.metadata = kwargs.get('metadata', None) - - -class ListQueueResource(msrest.serialization.Model): - """Response schema. Contains list of queues returned. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of queues returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.ListQueue] - :ivar next_link: Request URL that can be used to list next page of queues. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ListQueue]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListQueueResource, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class ListQueueServices(msrest.serialization.Model): - """ListQueueServices. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of queue services returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.QueueServiceProperties] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[QueueServiceProperties]'}, - } - - def __init__( - self, - **kwargs - ): - super(ListQueueServices, self).__init__(**kwargs) - self.value = None - - -class ListServiceSasResponse(msrest.serialization.Model): - """The List service SAS credentials operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar service_sas_token: List service SAS credentials of specific resource. - :vartype service_sas_token: str - """ - - _validation = { - 'service_sas_token': {'readonly': True}, - } - - _attribute_map = { - 'service_sas_token': {'key': 'serviceSasToken', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListServiceSasResponse, self).__init__(**kwargs) - self.service_sas_token = None - - -class ListTableResource(msrest.serialization.Model): - """Response schema. Contains list of tables returned. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of tables returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.Table] - :ivar next_link: Request URL that can be used to query next page of tables. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Table]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListTableResource, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class ListTableServices(msrest.serialization.Model): - """ListTableServices. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of table services returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.TableServiceProperties] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[TableServiceProperties]'}, - } - - def __init__( - self, - **kwargs - ): - super(ListTableServices, self).__init__(**kwargs) - self.value = None - - -class ManagementPolicy(Resource): - """The Get Storage Account ManagementPolicies operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar last_modified_time: Returns the date and time the ManagementPolicies was last modified. - :vartype last_modified_time: ~datetime.datetime - :param policy: The Storage Account ManagementPolicy, in JSON format. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - :type policy: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicySchema - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'policy': {'key': 'properties.policy', 'type': 'ManagementPolicySchema'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicy, self).__init__(**kwargs) - self.last_modified_time = None - self.policy = kwargs.get('policy', None) - - -class ManagementPolicyAction(msrest.serialization.Model): - """Actions are applied to the filtered blobs when the execution condition is met. - - :param base_blob: The management policy action for base blob. - :type base_blob: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyBaseBlob - :param snapshot: The management policy action for snapshot. - :type snapshot: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicySnapShot - :param version: The management policy action for version. - :type version: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyVersion - """ - - _attribute_map = { - 'base_blob': {'key': 'baseBlob', 'type': 'ManagementPolicyBaseBlob'}, - 'snapshot': {'key': 'snapshot', 'type': 'ManagementPolicySnapShot'}, - 'version': {'key': 'version', 'type': 'ManagementPolicyVersion'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicyAction, self).__init__(**kwargs) - self.base_blob = kwargs.get('base_blob', None) - self.snapshot = kwargs.get('snapshot', None) - self.version = kwargs.get('version', None) - - -class ManagementPolicyBaseBlob(msrest.serialization.Model): - """Management policy action for base blob. - - :param tier_to_cool: The function to tier blobs to cool storage. Support blobs currently at Hot - tier. - :type tier_to_cool: ~azure.mgmt.storage.v2021_01_01.models.DateAfterModification - :param tier_to_archive: The function to tier blobs to archive storage. Support blobs currently - at Hot or Cool tier. - :type tier_to_archive: ~azure.mgmt.storage.v2021_01_01.models.DateAfterModification - :param delete: The function to delete the blob. - :type delete: ~azure.mgmt.storage.v2021_01_01.models.DateAfterModification - :param enable_auto_tier_to_hot_from_cool: This property enables auto tiering of a blob from - cool to hot on a blob access. This property requires - tierToCool.daysAfterLastAccessTimeGreaterThan. - :type enable_auto_tier_to_hot_from_cool: bool - """ - - _attribute_map = { - 'tier_to_cool': {'key': 'tierToCool', 'type': 'DateAfterModification'}, - 'tier_to_archive': {'key': 'tierToArchive', 'type': 'DateAfterModification'}, - 'delete': {'key': 'delete', 'type': 'DateAfterModification'}, - 'enable_auto_tier_to_hot_from_cool': {'key': 'enableAutoTierToHotFromCool', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicyBaseBlob, self).__init__(**kwargs) - self.tier_to_cool = kwargs.get('tier_to_cool', None) - self.tier_to_archive = kwargs.get('tier_to_archive', None) - self.delete = kwargs.get('delete', None) - self.enable_auto_tier_to_hot_from_cool = kwargs.get('enable_auto_tier_to_hot_from_cool', None) - - -class ManagementPolicyDefinition(msrest.serialization.Model): - """An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set. - - All required parameters must be populated in order to send to Azure. - - :param actions: Required. An object that defines the action set. - :type actions: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyAction - :param filters: An object that defines the filter set. - :type filters: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyFilter - """ - - _validation = { - 'actions': {'required': True}, - } - - _attribute_map = { - 'actions': {'key': 'actions', 'type': 'ManagementPolicyAction'}, - 'filters': {'key': 'filters', 'type': 'ManagementPolicyFilter'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicyDefinition, self).__init__(**kwargs) - self.actions = kwargs['actions'] - self.filters = kwargs.get('filters', None) - - -class ManagementPolicyFilter(msrest.serialization.Model): - """Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. - - All required parameters must be populated in order to send to Azure. - - :param prefix_match: An array of strings for prefixes to be match. - :type prefix_match: list[str] - :param blob_types: Required. An array of predefined enum values. Currently blockBlob supports - all tiering and delete actions. Only delete actions are supported for appendBlob. - :type blob_types: list[str] - :param blob_index_match: An array of blob index tag based filters, there can be at most 10 tag - filters. - :type blob_index_match: list[~azure.mgmt.storage.v2021_01_01.models.TagFilter] - """ - - _validation = { - 'blob_types': {'required': True}, - } - - _attribute_map = { - 'prefix_match': {'key': 'prefixMatch', 'type': '[str]'}, - 'blob_types': {'key': 'blobTypes', 'type': '[str]'}, - 'blob_index_match': {'key': 'blobIndexMatch', 'type': '[TagFilter]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicyFilter, self).__init__(**kwargs) - self.prefix_match = kwargs.get('prefix_match', None) - self.blob_types = kwargs['blob_types'] - self.blob_index_match = kwargs.get('blob_index_match', None) - - -class ManagementPolicyRule(msrest.serialization.Model): - """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Rule is enabled if set to true. - :type enabled: bool - :param name: Required. A rule name can contain any combination of alpha numeric characters. - Rule name is case-sensitive. It must be unique within a policy. - :type name: str - :param type: Required. The valid value is Lifecycle. Possible values include: "Lifecycle". - :type type: str or ~azure.mgmt.storage.v2021_01_01.models.RuleType - :param definition: Required. An object that defines the Lifecycle rule. - :type definition: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyDefinition - """ - - _validation = { - 'name': {'required': True}, - 'type': {'required': True}, - 'definition': {'required': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'definition': {'key': 'definition', 'type': 'ManagementPolicyDefinition'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicyRule, self).__init__(**kwargs) - self.enabled = kwargs.get('enabled', None) - self.name = kwargs['name'] - self.type = kwargs['type'] - self.definition = kwargs['definition'] - - -class ManagementPolicySchema(msrest.serialization.Model): - """The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - - All required parameters must be populated in order to send to Azure. - - :param rules: Required. The Storage Account ManagementPolicies Rules. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - :type rules: list[~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyRule] - """ - - _validation = { - 'rules': {'required': True}, - } - - _attribute_map = { - 'rules': {'key': 'rules', 'type': '[ManagementPolicyRule]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicySchema, self).__init__(**kwargs) - self.rules = kwargs['rules'] - - -class ManagementPolicySnapShot(msrest.serialization.Model): - """Management policy action for snapshot. - - :param tier_to_cool: The function to tier blob snapshot to cool storage. Support blob snapshot - currently at Hot tier. - :type tier_to_cool: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - :param tier_to_archive: The function to tier blob snapshot to archive storage. Support blob - snapshot currently at Hot or Cool tier. - :type tier_to_archive: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - :param delete: The function to delete the blob snapshot. - :type delete: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - """ - - _attribute_map = { - 'tier_to_cool': {'key': 'tierToCool', 'type': 'DateAfterCreation'}, - 'tier_to_archive': {'key': 'tierToArchive', 'type': 'DateAfterCreation'}, - 'delete': {'key': 'delete', 'type': 'DateAfterCreation'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicySnapShot, self).__init__(**kwargs) - self.tier_to_cool = kwargs.get('tier_to_cool', None) - self.tier_to_archive = kwargs.get('tier_to_archive', None) - self.delete = kwargs.get('delete', None) - - -class ManagementPolicyVersion(msrest.serialization.Model): - """Management policy action for blob version. - - :param tier_to_cool: The function to tier blob version to cool storage. Support blob version - currently at Hot tier. - :type tier_to_cool: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - :param tier_to_archive: The function to tier blob version to archive storage. Support blob - version currently at Hot or Cool tier. - :type tier_to_archive: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - :param delete: The function to delete the blob version. - :type delete: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - """ - - _attribute_map = { - 'tier_to_cool': {'key': 'tierToCool', 'type': 'DateAfterCreation'}, - 'tier_to_archive': {'key': 'tierToArchive', 'type': 'DateAfterCreation'}, - 'delete': {'key': 'delete', 'type': 'DateAfterCreation'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagementPolicyVersion, self).__init__(**kwargs) - self.tier_to_cool = kwargs.get('tier_to_cool', None) - self.tier_to_archive = kwargs.get('tier_to_archive', None) - self.delete = kwargs.get('delete', None) - - -class MetricSpecification(msrest.serialization.Model): - """Metric specification of operation. - - :param name: Name of metric specification. - :type name: str - :param display_name: Display name of metric specification. - :type display_name: str - :param display_description: Display description of metric specification. - :type display_description: str - :param unit: Unit could be Bytes or Count. - :type unit: str - :param dimensions: Dimensions of blobs, including blob type and access tier. - :type dimensions: list[~azure.mgmt.storage.v2021_01_01.models.Dimension] - :param aggregation_type: Aggregation type could be Average. - :type aggregation_type: str - :param fill_gap_with_zero: The property to decide fill gap with zero or not. - :type fill_gap_with_zero: bool - :param category: The category this metric specification belong to, could be Capacity. - :type category: str - :param resource_id_dimension_name_override: Account Resource Id. - :type resource_id_dimension_name_override: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - 'display_description': {'key': 'displayDescription', 'type': 'str'}, - 'unit': {'key': 'unit', 'type': 'str'}, - 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, - 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, - 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, - 'category': {'key': 'category', 'type': 'str'}, - 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(MetricSpecification, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.display_name = kwargs.get('display_name', None) - self.display_description = kwargs.get('display_description', None) - self.unit = kwargs.get('unit', None) - self.dimensions = kwargs.get('dimensions', None) - self.aggregation_type = kwargs.get('aggregation_type', None) - self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) - self.category = kwargs.get('category', None) - self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) - - -class Multichannel(msrest.serialization.Model): - """Multichannel setting. Applies to Premium FileStorage only. - - :param enabled: Indicates whether multichannel is enabled. - :type enabled: bool - """ - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(Multichannel, self).__init__(**kwargs) - self.enabled = kwargs.get('enabled', None) - - -class NetworkRuleSet(msrest.serialization.Model): - """Network rule set. - - All required parameters must be populated in order to send to Azure. - - :param bypass: Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. - Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, - Metrics"), or None to bypass none of those traffics. Possible values include: "None", - "Logging", "Metrics", "AzureServices". Default value: "AzureServices". - :type bypass: str or ~azure.mgmt.storage.v2021_01_01.models.Bypass - :param resource_access_rules: Sets the resource access rules. - :type resource_access_rules: list[~azure.mgmt.storage.v2021_01_01.models.ResourceAccessRule] - :param virtual_network_rules: Sets the virtual network rules. - :type virtual_network_rules: list[~azure.mgmt.storage.v2021_01_01.models.VirtualNetworkRule] - :param ip_rules: Sets the IP ACL rules. - :type ip_rules: list[~azure.mgmt.storage.v2021_01_01.models.IPRule] - :param default_action: Required. Specifies the default action of allow or deny when no other - rules match. Possible values include: "Allow", "Deny". Default value: "Allow". - :type default_action: str or ~azure.mgmt.storage.v2021_01_01.models.DefaultAction - """ - - _validation = { - 'default_action': {'required': True}, - } - - _attribute_map = { - 'bypass': {'key': 'bypass', 'type': 'str'}, - 'resource_access_rules': {'key': 'resourceAccessRules', 'type': '[ResourceAccessRule]'}, - 'virtual_network_rules': {'key': 'virtualNetworkRules', 'type': '[VirtualNetworkRule]'}, - 'ip_rules': {'key': 'ipRules', 'type': '[IPRule]'}, - 'default_action': {'key': 'defaultAction', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(NetworkRuleSet, self).__init__(**kwargs) - self.bypass = kwargs.get('bypass', "AzureServices") - self.resource_access_rules = kwargs.get('resource_access_rules', None) - self.virtual_network_rules = kwargs.get('virtual_network_rules', None) - self.ip_rules = kwargs.get('ip_rules', None) - self.default_action = kwargs.get('default_action', "Allow") - - -class ObjectReplicationPolicies(msrest.serialization.Model): - """List storage account object replication policies. - - :param value: The replication policy between two storage accounts. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicy] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ObjectReplicationPolicy]'}, - } - - def __init__( - self, - **kwargs - ): - super(ObjectReplicationPolicies, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - -class ObjectReplicationPolicy(Resource): - """The replication policy between two storage accounts. Multiple rules can be defined in one policy. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar policy_id: A unique id for object replication policy. - :vartype policy_id: str - :ivar enabled_time: Indicates when the policy is enabled on the source account. - :vartype enabled_time: ~datetime.datetime - :param source_account: Required. Source account name. - :type source_account: str - :param destination_account: Required. Destination account name. - :type destination_account: str - :param rules: The storage account object replication rules. - :type rules: list[~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicyRule] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'policy_id': {'readonly': True}, - 'enabled_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'policy_id': {'key': 'properties.policyId', 'type': 'str'}, - 'enabled_time': {'key': 'properties.enabledTime', 'type': 'iso-8601'}, - 'source_account': {'key': 'properties.sourceAccount', 'type': 'str'}, - 'destination_account': {'key': 'properties.destinationAccount', 'type': 'str'}, - 'rules': {'key': 'properties.rules', 'type': '[ObjectReplicationPolicyRule]'}, - } - - def __init__( - self, - **kwargs - ): - super(ObjectReplicationPolicy, self).__init__(**kwargs) - self.policy_id = None - self.enabled_time = None - self.source_account = kwargs.get('source_account', None) - self.destination_account = kwargs.get('destination_account', None) - self.rules = kwargs.get('rules', None) - - -class ObjectReplicationPolicyFilter(msrest.serialization.Model): - """Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters. - - :param prefix_match: Optional. Filters the results to replicate only blobs whose names begin - with the specified prefix. - :type prefix_match: list[str] - :param min_creation_time: Blobs created after the time will be replicated to the destination. - It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z. - :type min_creation_time: str - """ - - _attribute_map = { - 'prefix_match': {'key': 'prefixMatch', 'type': '[str]'}, - 'min_creation_time': {'key': 'minCreationTime', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ObjectReplicationPolicyFilter, self).__init__(**kwargs) - self.prefix_match = kwargs.get('prefix_match', None) - self.min_creation_time = kwargs.get('min_creation_time', None) - - -class ObjectReplicationPolicyRule(msrest.serialization.Model): - """The replication policy rule between two containers. - - All required parameters must be populated in order to send to Azure. - - :param rule_id: Rule Id is auto-generated for each new rule on destination account. It is - required for put policy on source account. - :type rule_id: str - :param source_container: Required. Required. Source container name. - :type source_container: str - :param destination_container: Required. Required. Destination container name. - :type destination_container: str - :param filters: Optional. An object that defines the filter set. - :type filters: ~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicyFilter - """ - - _validation = { - 'source_container': {'required': True}, - 'destination_container': {'required': True}, - } - - _attribute_map = { - 'rule_id': {'key': 'ruleId', 'type': 'str'}, - 'source_container': {'key': 'sourceContainer', 'type': 'str'}, - 'destination_container': {'key': 'destinationContainer', 'type': 'str'}, - 'filters': {'key': 'filters', 'type': 'ObjectReplicationPolicyFilter'}, - } - - def __init__( - self, - **kwargs - ): - super(ObjectReplicationPolicyRule, self).__init__(**kwargs) - self.rule_id = kwargs.get('rule_id', None) - self.source_container = kwargs['source_container'] - self.destination_container = kwargs['destination_container'] - self.filters = kwargs.get('filters', None) - - -class Operation(msrest.serialization.Model): - """Storage REST API operation definition. - - :param name: Operation name: {provider}/{resource}/{operation}. - :type name: str - :param display: Display metadata associated with the operation. - :type display: ~azure.mgmt.storage.v2021_01_01.models.OperationDisplay - :param origin: The origin of operations. - :type origin: str - :param service_specification: One property of operation, include metric specifications. - :type service_specification: ~azure.mgmt.storage.v2021_01_01.models.ServiceSpecification - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, - } - - def __init__( - self, - **kwargs - ): - super(Operation, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.display = kwargs.get('display', None) - self.origin = kwargs.get('origin', None) - self.service_specification = kwargs.get('service_specification', None) - - -class OperationDisplay(msrest.serialization.Model): - """Display metadata associated with the operation. - - :param provider: Service provider: Microsoft Storage. - :type provider: str - :param resource: Resource on which the operation is performed etc. - :type resource: str - :param operation: Type of operation: get, read, delete, etc. - :type operation: str - :param description: Description of the operation. - :type description: str - """ - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationDisplay, self).__init__(**kwargs) - self.provider = kwargs.get('provider', None) - self.resource = kwargs.get('resource', None) - self.operation = kwargs.get('operation', None) - self.description = kwargs.get('description', None) - - -class OperationListResult(msrest.serialization.Model): - """Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. - - :param value: List of Storage operations supported by the Storage resource provider. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.Operation] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Operation]'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationListResult, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - -class PrivateEndpoint(msrest.serialization.Model): - """The Private Endpoint resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The ARM identifier for Private Endpoint. - :vartype id: str - """ - - _validation = { - 'id': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(PrivateEndpoint, self).__init__(**kwargs) - self.id = None - - -class PrivateEndpointConnection(Resource): - """The Private Endpoint Connection resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param private_endpoint: The resource of private end point. - :type private_endpoint: ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpoint - :param private_link_service_connection_state: A collection of information about the state of - the connection between service consumer and provider. - :type private_link_service_connection_state: - ~azure.mgmt.storage.v2021_01_01.models.PrivateLinkServiceConnectionState - :ivar provisioning_state: The provisioning state of the private endpoint connection resource. - Possible values include: "Succeeded", "Creating", "Deleting", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnectionProvisioningState - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, - 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(PrivateEndpointConnection, self).__init__(**kwargs) - self.private_endpoint = kwargs.get('private_endpoint', None) - self.private_link_service_connection_state = kwargs.get('private_link_service_connection_state', None) - self.provisioning_state = None - - -class PrivateEndpointConnectionListResult(msrest.serialization.Model): - """List of private endpoint connection associated with the specified storage account. - - :param value: Array of private endpoint connections. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[PrivateEndpointConnection]'}, - } - - def __init__( - self, - **kwargs - ): - super(PrivateEndpointConnectionListResult, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - -class PrivateLinkResource(Resource): - """A private link resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar group_id: The private link resource group id. - :vartype group_id: str - :ivar required_members: The private link resource required member names. - :vartype required_members: list[str] - :param required_zone_names: The private link resource Private link DNS zone name. - :type required_zone_names: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'group_id': {'readonly': True}, - 'required_members': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'group_id': {'key': 'properties.groupId', 'type': 'str'}, - 'required_members': {'key': 'properties.requiredMembers', 'type': '[str]'}, - 'required_zone_names': {'key': 'properties.requiredZoneNames', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(PrivateLinkResource, self).__init__(**kwargs) - self.group_id = None - self.required_members = None - self.required_zone_names = kwargs.get('required_zone_names', None) - - -class PrivateLinkResourceListResult(msrest.serialization.Model): - """A list of private link resources. - - :param value: Array of private link resources. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.PrivateLinkResource] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[PrivateLinkResource]'}, - } - - def __init__( - self, - **kwargs - ): - super(PrivateLinkResourceListResult, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - -class PrivateLinkServiceConnectionState(msrest.serialization.Model): - """A collection of information about the state of the connection between service consumer and provider. - - :param status: Indicates whether the connection has been Approved/Rejected/Removed by the owner - of the service. Possible values include: "Pending", "Approved", "Rejected". - :type status: str or - ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointServiceConnectionStatus - :param description: The reason for approval/rejection of the connection. - :type description: str - :param action_required: A message indicating if changes on the service provider require any - updates on the consumer. - :type action_required: str - """ - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - 'action_required': {'key': 'actionRequired', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) - self.status = kwargs.get('status', None) - self.description = kwargs.get('description', None) - self.action_required = kwargs.get('action_required', None) - - -class ProtocolSettings(msrest.serialization.Model): - """Protocol settings for file service. - - :param smb: Setting for SMB protocol. - :type smb: ~azure.mgmt.storage.v2021_01_01.models.SmbSetting - """ - - _attribute_map = { - 'smb': {'key': 'smb', 'type': 'SmbSetting'}, - } - - def __init__( - self, - **kwargs - ): - super(ProtocolSettings, self).__init__(**kwargs) - self.smb = kwargs.get('smb', None) - - -class ProxyResource(Resource): - """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class QueueServiceProperties(Resource): - """The properties of a storage account’s Queue service. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param cors: Specifies CORS rules for the Queue service. You can include up to five CorsRule - elements in the request. If no CorsRule elements are included in the request body, all CORS - rules will be deleted, and CORS will be disabled for the Queue service. - :type cors: ~azure.mgmt.storage.v2021_01_01.models.CorsRules - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'cors': {'key': 'properties.cors', 'type': 'CorsRules'}, - } - - def __init__( - self, - **kwargs - ): - super(QueueServiceProperties, self).__init__(**kwargs) - self.cors = kwargs.get('cors', None) - - -class ResourceAccessRule(msrest.serialization.Model): - """Resource Access Rule. - - :param tenant_id: Tenant Id. - :type tenant_id: str - :param resource_id: Resource Id. - :type resource_id: str - """ - - _attribute_map = { - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'resource_id': {'key': 'resourceId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ResourceAccessRule, self).__init__(**kwargs) - self.tenant_id = kwargs.get('tenant_id', None) - self.resource_id = kwargs.get('resource_id', None) - - -class RestorePolicyProperties(msrest.serialization.Model): - """The blob service properties for blob restore policy. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Blob restore is enabled if set to true. - :type enabled: bool - :param days: how long this blob can be restored. It should be great than zero and less than - DeleteRetentionPolicy.days. - :type days: int - :ivar last_enabled_time: Deprecated in favor of minRestoreTime property. - :vartype last_enabled_time: ~datetime.datetime - :ivar min_restore_time: Returns the minimum date and time that the restore can be started. - :vartype min_restore_time: ~datetime.datetime - """ - - _validation = { - 'enabled': {'required': True}, - 'days': {'maximum': 365, 'minimum': 1}, - 'last_enabled_time': {'readonly': True}, - 'min_restore_time': {'readonly': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'days': {'key': 'days', 'type': 'int'}, - 'last_enabled_time': {'key': 'lastEnabledTime', 'type': 'iso-8601'}, - 'min_restore_time': {'key': 'minRestoreTime', 'type': 'iso-8601'}, - } - - def __init__( - self, - **kwargs - ): - super(RestorePolicyProperties, self).__init__(**kwargs) - self.enabled = kwargs['enabled'] - self.days = kwargs.get('days', None) - self.last_enabled_time = None - self.min_restore_time = None - - -class Restriction(msrest.serialization.Model): - """The restriction because of which SKU cannot be used. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The type of restrictions. As of now only possible value for this is location. - :vartype type: str - :ivar values: The value of restrictions. If the restriction type is set to location. This would - be different locations where the SKU is restricted. - :vartype values: list[str] - :param reason_code: The reason for the restriction. As of now this can be "QuotaId" or - "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the - subscription does not belong to that quota. The "NotAvailableForSubscription" is related to - capacity at DC. Possible values include: "QuotaId", "NotAvailableForSubscription". - :type reason_code: str or ~azure.mgmt.storage.v2021_01_01.models.ReasonCode - """ - - _validation = { - 'type': {'readonly': True}, - 'values': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'values': {'key': 'values', 'type': '[str]'}, - 'reason_code': {'key': 'reasonCode', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Restriction, self).__init__(**kwargs) - self.type = None - self.values = None - self.reason_code = kwargs.get('reason_code', None) - - -class RoutingPreference(msrest.serialization.Model): - """Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing. - - :param routing_choice: Routing Choice defines the kind of network routing opted by the user. - Possible values include: "MicrosoftRouting", "InternetRouting". - :type routing_choice: str or ~azure.mgmt.storage.v2021_01_01.models.RoutingChoice - :param publish_microsoft_endpoints: A boolean flag which indicates whether microsoft routing - storage endpoints are to be published. - :type publish_microsoft_endpoints: bool - :param publish_internet_endpoints: A boolean flag which indicates whether internet routing - storage endpoints are to be published. - :type publish_internet_endpoints: bool - """ - - _attribute_map = { - 'routing_choice': {'key': 'routingChoice', 'type': 'str'}, - 'publish_microsoft_endpoints': {'key': 'publishMicrosoftEndpoints', 'type': 'bool'}, - 'publish_internet_endpoints': {'key': 'publishInternetEndpoints', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(RoutingPreference, self).__init__(**kwargs) - self.routing_choice = kwargs.get('routing_choice', None) - self.publish_microsoft_endpoints = kwargs.get('publish_microsoft_endpoints', None) - self.publish_internet_endpoints = kwargs.get('publish_internet_endpoints', None) - - -class ServiceSasParameters(msrest.serialization.Model): - """The parameters to list service SAS credentials of a specific resource. - - All required parameters must be populated in order to send to Azure. - - :param canonicalized_resource: Required. The canonical path to the signed resource. - :type canonicalized_resource: str - :param resource: The signed services accessible with the service SAS. Possible values include: - Blob (b), Container (c), File (f), Share (s). Possible values include: "b", "c", "f", "s". - :type resource: str or ~azure.mgmt.storage.v2021_01_01.models.SignedResource - :param permissions: The signed permissions for the service SAS. Possible values include: Read - (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible - values include: "r", "d", "w", "l", "a", "c", "u", "p". - :type permissions: str or ~azure.mgmt.storage.v2021_01_01.models.Permissions - :param ip_address_or_range: An IP address or a range of IP addresses from which to accept - requests. - :type ip_address_or_range: str - :param protocols: The protocol permitted for a request made with the account SAS. Possible - values include: "https,http", "https". - :type protocols: str or ~azure.mgmt.storage.v2021_01_01.models.HttpProtocol - :param shared_access_start_time: The time at which the SAS becomes valid. - :type shared_access_start_time: ~datetime.datetime - :param shared_access_expiry_time: The time at which the shared access signature becomes - invalid. - :type shared_access_expiry_time: ~datetime.datetime - :param identifier: A unique value up to 64 characters in length that correlates to an access - policy specified for the container, queue, or table. - :type identifier: str - :param partition_key_start: The start of partition key. - :type partition_key_start: str - :param partition_key_end: The end of partition key. - :type partition_key_end: str - :param row_key_start: The start of row key. - :type row_key_start: str - :param row_key_end: The end of row key. - :type row_key_end: str - :param key_to_sign: The key to sign the account SAS token with. - :type key_to_sign: str - :param cache_control: The response header override for cache control. - :type cache_control: str - :param content_disposition: The response header override for content disposition. - :type content_disposition: str - :param content_encoding: The response header override for content encoding. - :type content_encoding: str - :param content_language: The response header override for content language. - :type content_language: str - :param content_type: The response header override for content type. - :type content_type: str - """ - - _validation = { - 'canonicalized_resource': {'required': True}, - 'identifier': {'max_length': 64, 'min_length': 0}, - } - - _attribute_map = { - 'canonicalized_resource': {'key': 'canonicalizedResource', 'type': 'str'}, - 'resource': {'key': 'signedResource', 'type': 'str'}, - 'permissions': {'key': 'signedPermission', 'type': 'str'}, - 'ip_address_or_range': {'key': 'signedIp', 'type': 'str'}, - 'protocols': {'key': 'signedProtocol', 'type': 'str'}, - 'shared_access_start_time': {'key': 'signedStart', 'type': 'iso-8601'}, - 'shared_access_expiry_time': {'key': 'signedExpiry', 'type': 'iso-8601'}, - 'identifier': {'key': 'signedIdentifier', 'type': 'str'}, - 'partition_key_start': {'key': 'startPk', 'type': 'str'}, - 'partition_key_end': {'key': 'endPk', 'type': 'str'}, - 'row_key_start': {'key': 'startRk', 'type': 'str'}, - 'row_key_end': {'key': 'endRk', 'type': 'str'}, - 'key_to_sign': {'key': 'keyToSign', 'type': 'str'}, - 'cache_control': {'key': 'rscc', 'type': 'str'}, - 'content_disposition': {'key': 'rscd', 'type': 'str'}, - 'content_encoding': {'key': 'rsce', 'type': 'str'}, - 'content_language': {'key': 'rscl', 'type': 'str'}, - 'content_type': {'key': 'rsct', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ServiceSasParameters, self).__init__(**kwargs) - self.canonicalized_resource = kwargs['canonicalized_resource'] - self.resource = kwargs.get('resource', None) - self.permissions = kwargs.get('permissions', None) - self.ip_address_or_range = kwargs.get('ip_address_or_range', None) - self.protocols = kwargs.get('protocols', None) - self.shared_access_start_time = kwargs.get('shared_access_start_time', None) - self.shared_access_expiry_time = kwargs.get('shared_access_expiry_time', None) - self.identifier = kwargs.get('identifier', None) - self.partition_key_start = kwargs.get('partition_key_start', None) - self.partition_key_end = kwargs.get('partition_key_end', None) - self.row_key_start = kwargs.get('row_key_start', None) - self.row_key_end = kwargs.get('row_key_end', None) - self.key_to_sign = kwargs.get('key_to_sign', None) - self.cache_control = kwargs.get('cache_control', None) - self.content_disposition = kwargs.get('content_disposition', None) - self.content_encoding = kwargs.get('content_encoding', None) - self.content_language = kwargs.get('content_language', None) - self.content_type = kwargs.get('content_type', None) - - -class ServiceSpecification(msrest.serialization.Model): - """One property of operation, include metric specifications. - - :param metric_specifications: Metric specifications of operation. - :type metric_specifications: list[~azure.mgmt.storage.v2021_01_01.models.MetricSpecification] - """ - - _attribute_map = { - 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, - } - - def __init__( - self, - **kwargs - ): - super(ServiceSpecification, self).__init__(**kwargs) - self.metric_specifications = kwargs.get('metric_specifications', None) - - -class Sku(msrest.serialization.Model): - """The SKU of the storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The SKU name. Required for account creation; optional for update. Note - that in older versions, SKU name was called accountType. Possible values include: - "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", - "Standard_GZRS", "Standard_RAGZRS". - :type name: str or ~azure.mgmt.storage.v2021_01_01.models.SkuName - :ivar tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard", - "Premium". - :vartype tier: str or ~azure.mgmt.storage.v2021_01_01.models.SkuTier - """ - - _validation = { - 'name': {'required': True}, - 'tier': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Sku, self).__init__(**kwargs) - self.name = kwargs['name'] - self.tier = None - - -class SKUCapability(msrest.serialization.Model): - """The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: The name of capability, The capability information in the specified SKU, including - file encryption, network ACLs, change notification, etc. - :vartype name: str - :ivar value: A string value to indicate states of given capability. Possibly 'true' or 'false'. - :vartype value: str - """ - - _validation = { - 'name': {'readonly': True}, - 'value': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SKUCapability, self).__init__(**kwargs) - self.name = None - self.value = None - - -class SkuInformation(msrest.serialization.Model): - """Storage SKU and its properties. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The SKU name. Required for account creation; optional for update. Note - that in older versions, SKU name was called accountType. Possible values include: - "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", - "Standard_GZRS", "Standard_RAGZRS". - :type name: str or ~azure.mgmt.storage.v2021_01_01.models.SkuName - :ivar tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard", - "Premium". - :vartype tier: str or ~azure.mgmt.storage.v2021_01_01.models.SkuTier - :ivar resource_type: The type of the resource, usually it is 'storageAccounts'. - :vartype resource_type: str - :ivar kind: Indicates the type of storage account. Possible values include: "Storage", - "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage". - :vartype kind: str or ~azure.mgmt.storage.v2021_01_01.models.Kind - :ivar locations: The set of locations that the SKU is available. This will be supported and - registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). - :vartype locations: list[str] - :ivar capabilities: The capability information in the specified SKU, including file encryption, - network ACLs, change notification, etc. - :vartype capabilities: list[~azure.mgmt.storage.v2021_01_01.models.SKUCapability] - :param restrictions: The restrictions because of which SKU cannot be used. This is empty if - there are no restrictions. - :type restrictions: list[~azure.mgmt.storage.v2021_01_01.models.Restriction] - """ - - _validation = { - 'name': {'required': True}, - 'tier': {'readonly': True}, - 'resource_type': {'readonly': True}, - 'kind': {'readonly': True}, - 'locations': {'readonly': True}, - 'capabilities': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - 'resource_type': {'key': 'resourceType', 'type': 'str'}, - 'kind': {'key': 'kind', 'type': 'str'}, - 'locations': {'key': 'locations', 'type': '[str]'}, - 'capabilities': {'key': 'capabilities', 'type': '[SKUCapability]'}, - 'restrictions': {'key': 'restrictions', 'type': '[Restriction]'}, - } - - def __init__( - self, - **kwargs - ): - super(SkuInformation, self).__init__(**kwargs) - self.name = kwargs['name'] - self.tier = None - self.resource_type = None - self.kind = None - self.locations = None - self.capabilities = None - self.restrictions = kwargs.get('restrictions', None) - - -class SmbSetting(msrest.serialization.Model): - """Setting for SMB protocol. - - :param multichannel: Multichannel setting. Applies to Premium FileStorage only. - :type multichannel: ~azure.mgmt.storage.v2021_01_01.models.Multichannel - :param versions: SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, - SMB3.1.1. Should be passed as a string with delimiter ';'. - :type versions: str - :param authentication_methods: SMB authentication methods supported by server. Valid values are - NTLMv2, Kerberos. Should be passed as a string with delimiter ';'. - :type authentication_methods: str - :param kerberos_ticket_encryption: Kerberos ticket encryption supported by server. Valid values - are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'. - :type kerberos_ticket_encryption: str - :param channel_encryption: SMB channel encryption supported by server. Valid values are - AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'. - :type channel_encryption: str - """ - - _attribute_map = { - 'multichannel': {'key': 'multichannel', 'type': 'Multichannel'}, - 'versions': {'key': 'versions', 'type': 'str'}, - 'authentication_methods': {'key': 'authenticationMethods', 'type': 'str'}, - 'kerberos_ticket_encryption': {'key': 'kerberosTicketEncryption', 'type': 'str'}, - 'channel_encryption': {'key': 'channelEncryption', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SmbSetting, self).__init__(**kwargs) - self.multichannel = kwargs.get('multichannel', None) - self.versions = kwargs.get('versions', None) - self.authentication_methods = kwargs.get('authentication_methods', None) - self.kerberos_ticket_encryption = kwargs.get('kerberos_ticket_encryption', None) - self.channel_encryption = kwargs.get('channel_encryption', None) - - -class TrackedResource(Resource): - """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.location = kwargs['location'] - - -class StorageAccount(TrackedResource): - """The storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :ivar sku: Gets the SKU. - :vartype sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :ivar kind: Gets the Kind. Possible values include: "Storage", "StorageV2", "BlobStorage", - "FileStorage", "BlockBlobStorage". - :vartype kind: str or ~azure.mgmt.storage.v2021_01_01.models.Kind - :param identity: The identity of the resource. - :type identity: ~azure.mgmt.storage.v2021_01_01.models.Identity - :param extended_location: The extendedLocation of the resource. - :type extended_location: ~azure.mgmt.storage.v2021_01_01.models.ExtendedLocation - :ivar provisioning_state: Gets the status of the storage account at the time the operation was - called. Possible values include: "Creating", "ResolvingDNS", "Succeeded". - :vartype provisioning_state: str or ~azure.mgmt.storage.v2021_01_01.models.ProvisioningState - :ivar primary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, - queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob - endpoint. - :vartype primary_endpoints: ~azure.mgmt.storage.v2021_01_01.models.Endpoints - :ivar primary_location: Gets the location of the primary data center for the storage account. - :vartype primary_location: str - :ivar status_of_primary: Gets the status indicating whether the primary location of the storage - account is available or unavailable. Possible values include: "available", "unavailable". - :vartype status_of_primary: str or ~azure.mgmt.storage.v2021_01_01.models.AccountStatus - :ivar last_geo_failover_time: Gets the timestamp of the most recent instance of a failover to - the secondary location. Only the most recent timestamp is retained. This element is not - returned if there has never been a failover instance. Only available if the accountType is - Standard_GRS or Standard_RAGRS. - :vartype last_geo_failover_time: ~datetime.datetime - :ivar secondary_location: Gets the location of the geo-replicated secondary for the storage - account. Only available if the accountType is Standard_GRS or Standard_RAGRS. - :vartype secondary_location: str - :ivar status_of_secondary: Gets the status indicating whether the secondary location of the - storage account is available or unavailable. Only available if the SKU name is Standard_GRS or - Standard_RAGRS. Possible values include: "available", "unavailable". - :vartype status_of_secondary: str or ~azure.mgmt.storage.v2021_01_01.models.AccountStatus - :ivar creation_time: Gets the creation date and time of the storage account in UTC. - :vartype creation_time: ~datetime.datetime - :ivar custom_domain: Gets the custom domain the user assigned to this storage account. - :vartype custom_domain: ~azure.mgmt.storage.v2021_01_01.models.CustomDomain - :ivar secondary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, - queue, or table object from the secondary location of the storage account. Only available if - the SKU name is Standard_RAGRS. - :vartype secondary_endpoints: ~azure.mgmt.storage.v2021_01_01.models.Endpoints - :ivar encryption: Gets the encryption settings on the account. If unspecified, the account is - unencrypted. - :vartype encryption: ~azure.mgmt.storage.v2021_01_01.models.Encryption - :ivar access_tier: Required for storage accounts where kind = BlobStorage. The access tier used - for billing. Possible values include: "Hot", "Cool". - :vartype access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.AccessTier - :param azure_files_identity_based_authentication: Provides the identity based authentication - settings for Azure Files. - :type azure_files_identity_based_authentication: - ~azure.mgmt.storage.v2021_01_01.models.AzureFilesIdentityBasedAuthentication - :param enable_https_traffic_only: Allows https traffic only to storage service if sets to true. - :type enable_https_traffic_only: bool - :ivar network_rule_set: Network rule set. - :vartype network_rule_set: ~azure.mgmt.storage.v2021_01_01.models.NetworkRuleSet - :param is_hns_enabled: Account HierarchicalNamespace enabled if sets to true. - :type is_hns_enabled: bool - :ivar geo_replication_stats: Geo Replication Stats. - :vartype geo_replication_stats: ~azure.mgmt.storage.v2021_01_01.models.GeoReplicationStats - :ivar failover_in_progress: If the failover is in progress, the value will be true, otherwise, - it will be null. - :vartype failover_in_progress: bool - :param large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be - disabled once it is enabled. Possible values include: "Disabled", "Enabled". - :type large_file_shares_state: str or - ~azure.mgmt.storage.v2021_01_01.models.LargeFileSharesState - :ivar private_endpoint_connections: List of private endpoint connection associated with the - specified storage account. - :vartype private_endpoint_connections: - list[~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection] - :param routing_preference: Maintains information about the network routing choice opted by the - user for data transfer. - :type routing_preference: ~azure.mgmt.storage.v2021_01_01.models.RoutingPreference - :ivar blob_restore_status: Blob restore status. - :vartype blob_restore_status: ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreStatus - :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in - the storage account. The default interpretation is true for this property. - :type allow_blob_public_access: bool - :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. - The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", - "TLS1_1", "TLS1_2". - :type minimum_tls_version: str or ~azure.mgmt.storage.v2021_01_01.models.MinimumTlsVersion - :param allow_shared_key_access: Indicates whether the storage account permits requests to be - authorized with the account access key via Shared Key. If false, then all requests, including - shared access signatures, must be authorized with Azure Active Directory (Azure AD). The - default value is null, which is equivalent to true. - :type allow_shared_key_access: bool - :param enable_nfs_v3: NFS 3.0 protocol support enabled if set to true. - :type enable_nfs_v3: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'sku': {'readonly': True}, - 'kind': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'primary_endpoints': {'readonly': True}, - 'primary_location': {'readonly': True}, - 'status_of_primary': {'readonly': True}, - 'last_geo_failover_time': {'readonly': True}, - 'secondary_location': {'readonly': True}, - 'status_of_secondary': {'readonly': True}, - 'creation_time': {'readonly': True}, - 'custom_domain': {'readonly': True}, - 'secondary_endpoints': {'readonly': True}, - 'encryption': {'readonly': True}, - 'access_tier': {'readonly': True}, - 'network_rule_set': {'readonly': True}, - 'geo_replication_stats': {'readonly': True}, - 'failover_in_progress': {'readonly': True}, - 'private_endpoint_connections': {'readonly': True}, - 'blob_restore_status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'kind': {'key': 'kind', 'type': 'str'}, - 'identity': {'key': 'identity', 'type': 'Identity'}, - 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'primary_endpoints': {'key': 'properties.primaryEndpoints', 'type': 'Endpoints'}, - 'primary_location': {'key': 'properties.primaryLocation', 'type': 'str'}, - 'status_of_primary': {'key': 'properties.statusOfPrimary', 'type': 'str'}, - 'last_geo_failover_time': {'key': 'properties.lastGeoFailoverTime', 'type': 'iso-8601'}, - 'secondary_location': {'key': 'properties.secondaryLocation', 'type': 'str'}, - 'status_of_secondary': {'key': 'properties.statusOfSecondary', 'type': 'str'}, - 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, - 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, - 'secondary_endpoints': {'key': 'properties.secondaryEndpoints', 'type': 'Endpoints'}, - 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'}, - 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, - 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, - 'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'}, - 'geo_replication_stats': {'key': 'properties.geoReplicationStats', 'type': 'GeoReplicationStats'}, - 'failover_in_progress': {'key': 'properties.failoverInProgress', 'type': 'bool'}, - 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, - 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, - 'blob_restore_status': {'key': 'properties.blobRestoreStatus', 'type': 'BlobRestoreStatus'}, - 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, - 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, - 'allow_shared_key_access': {'key': 'properties.allowSharedKeyAccess', 'type': 'bool'}, - 'enable_nfs_v3': {'key': 'properties.isNfsV3Enabled', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccount, self).__init__(**kwargs) - self.sku = None - self.kind = None - self.identity = kwargs.get('identity', None) - self.extended_location = kwargs.get('extended_location', None) - self.provisioning_state = None - self.primary_endpoints = None - self.primary_location = None - self.status_of_primary = None - self.last_geo_failover_time = None - self.secondary_location = None - self.status_of_secondary = None - self.creation_time = None - self.custom_domain = None - self.secondary_endpoints = None - self.encryption = None - self.access_tier = None - self.azure_files_identity_based_authentication = kwargs.get('azure_files_identity_based_authentication', None) - self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None) - self.network_rule_set = None - self.is_hns_enabled = kwargs.get('is_hns_enabled', None) - self.geo_replication_stats = None - self.failover_in_progress = None - self.large_file_shares_state = kwargs.get('large_file_shares_state', None) - self.private_endpoint_connections = None - self.routing_preference = kwargs.get('routing_preference', None) - self.blob_restore_status = None - self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) - self.minimum_tls_version = kwargs.get('minimum_tls_version', None) - self.allow_shared_key_access = kwargs.get('allow_shared_key_access', None) - self.enable_nfs_v3 = kwargs.get('enable_nfs_v3', None) - - -class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model): - """The parameters used to check the availability of the storage account name. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The storage account name. - :type name: str - :ivar type: Required. The type of resource, Microsoft.Storage/storageAccounts. Default value: - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'name': {'required': True}, - 'type': {'required': True, 'constant': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - type = "Microsoft.Storage/storageAccounts" - - def __init__( - self, - **kwargs - ): - super(StorageAccountCheckNameAvailabilityParameters, self).__init__(**kwargs) - self.name = kwargs['name'] - - -class StorageAccountCreateParameters(msrest.serialization.Model): - """The parameters used when creating a storage account. - - All required parameters must be populated in order to send to Azure. - - :param sku: Required. Required. Gets or sets the SKU name. - :type sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :param kind: Required. Required. Indicates the type of storage account. Possible values - include: "Storage", "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage". - :type kind: str or ~azure.mgmt.storage.v2021_01_01.models.Kind - :param location: Required. Required. Gets or sets the location of the resource. This will be - one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, - etc.). The geo region of a resource cannot be changed once it is created, but if an identical - geo region is specified on update, the request will succeed. - :type location: str - :param extended_location: Optional. Set the extended location of the resource. If not set, the - storage account will be created in Azure main region. Otherwise it will be created in the - specified extended location. - :type extended_location: ~azure.mgmt.storage.v2021_01_01.models.ExtendedLocation - :param tags: A set of tags. Gets or sets a list of key value pairs that describe the resource. - These tags can be used for viewing and grouping this resource (across resource groups). A - maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no - greater than 128 characters and a value with a length no greater than 256 characters. - :type tags: dict[str, str] - :param identity: The identity of the resource. - :type identity: ~azure.mgmt.storage.v2021_01_01.models.Identity - :param custom_domain: User domain assigned to the storage account. Name is the CNAME source. - Only one custom domain is supported per storage account at this time. To clear the existing - custom domain, use an empty string for the custom domain name property. - :type custom_domain: ~azure.mgmt.storage.v2021_01_01.models.CustomDomain - :param encryption: Not applicable. Azure Storage encryption is enabled for all storage accounts - and cannot be disabled. - :type encryption: ~azure.mgmt.storage.v2021_01_01.models.Encryption - :param network_rule_set: Network rule set. - :type network_rule_set: ~azure.mgmt.storage.v2021_01_01.models.NetworkRuleSet - :param access_tier: Required for storage accounts where kind = BlobStorage. The access tier - used for billing. Possible values include: "Hot", "Cool". - :type access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.AccessTier - :param azure_files_identity_based_authentication: Provides the identity based authentication - settings for Azure Files. - :type azure_files_identity_based_authentication: - ~azure.mgmt.storage.v2021_01_01.models.AzureFilesIdentityBasedAuthentication - :param enable_https_traffic_only: Allows https traffic only to storage service if sets to true. - The default value is true since API version 2019-04-01. - :type enable_https_traffic_only: bool - :param is_hns_enabled: Account HierarchicalNamespace enabled if sets to true. - :type is_hns_enabled: bool - :param large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be - disabled once it is enabled. Possible values include: "Disabled", "Enabled". - :type large_file_shares_state: str or - ~azure.mgmt.storage.v2021_01_01.models.LargeFileSharesState - :param routing_preference: Maintains information about the network routing choice opted by the - user for data transfer. - :type routing_preference: ~azure.mgmt.storage.v2021_01_01.models.RoutingPreference - :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in - the storage account. The default interpretation is true for this property. - :type allow_blob_public_access: bool - :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. - The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", - "TLS1_1", "TLS1_2". - :type minimum_tls_version: str or ~azure.mgmt.storage.v2021_01_01.models.MinimumTlsVersion - :param allow_shared_key_access: Indicates whether the storage account permits requests to be - authorized with the account access key via Shared Key. If false, then all requests, including - shared access signatures, must be authorized with Azure Active Directory (Azure AD). The - default value is null, which is equivalent to true. - :type allow_shared_key_access: bool - :param enable_nfs_v3: NFS 3.0 protocol support enabled if set to true. - :type enable_nfs_v3: bool - """ - - _validation = { - 'sku': {'required': True}, - 'kind': {'required': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'kind': {'key': 'kind', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'identity': {'key': 'identity', 'type': 'Identity'}, - 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, - 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, - 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'}, - 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, - 'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'}, - 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, - 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, - 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, - 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, - 'allow_shared_key_access': {'key': 'properties.allowSharedKeyAccess', 'type': 'bool'}, - 'enable_nfs_v3': {'key': 'properties.isNfsV3Enabled', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountCreateParameters, self).__init__(**kwargs) - self.sku = kwargs['sku'] - self.kind = kwargs['kind'] - self.location = kwargs['location'] - self.extended_location = kwargs.get('extended_location', None) - self.tags = kwargs.get('tags', None) - self.identity = kwargs.get('identity', None) - self.custom_domain = kwargs.get('custom_domain', None) - self.encryption = kwargs.get('encryption', None) - self.network_rule_set = kwargs.get('network_rule_set', None) - self.access_tier = kwargs.get('access_tier', None) - self.azure_files_identity_based_authentication = kwargs.get('azure_files_identity_based_authentication', None) - self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None) - self.is_hns_enabled = kwargs.get('is_hns_enabled', None) - self.large_file_shares_state = kwargs.get('large_file_shares_state', None) - self.routing_preference = kwargs.get('routing_preference', None) - self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) - self.minimum_tls_version = kwargs.get('minimum_tls_version', None) - self.allow_shared_key_access = kwargs.get('allow_shared_key_access', None) - self.enable_nfs_v3 = kwargs.get('enable_nfs_v3', None) - - -class StorageAccountInternetEndpoints(msrest.serialization.Model): - """The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar blob: Gets the blob endpoint. - :vartype blob: str - :ivar file: Gets the file endpoint. - :vartype file: str - :ivar web: Gets the web endpoint. - :vartype web: str - :ivar dfs: Gets the dfs endpoint. - :vartype dfs: str - """ - - _validation = { - 'blob': {'readonly': True}, - 'file': {'readonly': True}, - 'web': {'readonly': True}, - 'dfs': {'readonly': True}, - } - - _attribute_map = { - 'blob': {'key': 'blob', 'type': 'str'}, - 'file': {'key': 'file', 'type': 'str'}, - 'web': {'key': 'web', 'type': 'str'}, - 'dfs': {'key': 'dfs', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountInternetEndpoints, self).__init__(**kwargs) - self.blob = None - self.file = None - self.web = None - self.dfs = None - - -class StorageAccountKey(msrest.serialization.Model): - """An access key for the storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar key_name: Name of the key. - :vartype key_name: str - :ivar value: Base 64-encoded value of the key. - :vartype value: str - :ivar permissions: Permissions for the key -- read-only or full permissions. Possible values - include: "Read", "Full". - :vartype permissions: str or ~azure.mgmt.storage.v2021_01_01.models.KeyPermission - """ - - _validation = { - 'key_name': {'readonly': True}, - 'value': {'readonly': True}, - 'permissions': {'readonly': True}, - } - - _attribute_map = { - 'key_name': {'key': 'keyName', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - 'permissions': {'key': 'permissions', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountKey, self).__init__(**kwargs) - self.key_name = None - self.value = None - self.permissions = None - - -class StorageAccountListKeysResult(msrest.serialization.Model): - """The response from the ListKeys operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar keys: Gets the list of storage account keys and their properties for the specified - storage account. - :vartype keys: list[~azure.mgmt.storage.v2021_01_01.models.StorageAccountKey] - """ - - _validation = { - 'keys': {'readonly': True}, - } - - _attribute_map = { - 'keys': {'key': 'keys', 'type': '[StorageAccountKey]'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountListKeysResult, self).__init__(**kwargs) - self.keys = None - - -class StorageAccountListResult(msrest.serialization.Model): - """The response from the List Storage Accounts operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Gets the list of storage accounts and their properties. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.StorageAccount] - :ivar next_link: Request URL that can be used to query next page of storage accounts. Returned - when total number of requested storage accounts exceed maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[StorageAccount]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class StorageAccountMicrosoftEndpoints(msrest.serialization.Model): - """The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar blob: Gets the blob endpoint. - :vartype blob: str - :ivar queue: Gets the queue endpoint. - :vartype queue: str - :ivar table: Gets the table endpoint. - :vartype table: str - :ivar file: Gets the file endpoint. - :vartype file: str - :ivar web: Gets the web endpoint. - :vartype web: str - :ivar dfs: Gets the dfs endpoint. - :vartype dfs: str - """ - - _validation = { - 'blob': {'readonly': True}, - 'queue': {'readonly': True}, - 'table': {'readonly': True}, - 'file': {'readonly': True}, - 'web': {'readonly': True}, - 'dfs': {'readonly': True}, - } - - _attribute_map = { - 'blob': {'key': 'blob', 'type': 'str'}, - 'queue': {'key': 'queue', 'type': 'str'}, - 'table': {'key': 'table', 'type': 'str'}, - 'file': {'key': 'file', 'type': 'str'}, - 'web': {'key': 'web', 'type': 'str'}, - 'dfs': {'key': 'dfs', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountMicrosoftEndpoints, self).__init__(**kwargs) - self.blob = None - self.queue = None - self.table = None - self.file = None - self.web = None - self.dfs = None - - -class StorageAccountRegenerateKeyParameters(msrest.serialization.Model): - """The parameters used to regenerate the storage account key. - - All required parameters must be populated in order to send to Azure. - - :param key_name: Required. The name of storage keys that want to be regenerated, possible - values are key1, key2, kerb1, kerb2. - :type key_name: str - """ - - _validation = { - 'key_name': {'required': True}, - } - - _attribute_map = { - 'key_name': {'key': 'keyName', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountRegenerateKeyParameters, self).__init__(**kwargs) - self.key_name = kwargs['key_name'] - - -class StorageAccountUpdateParameters(msrest.serialization.Model): - """The parameters that can be provided when updating the storage account properties. - - :param sku: Gets or sets the SKU name. Note that the SKU name cannot be updated to - Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any - other value. - :type sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :param tags: A set of tags. Gets or sets a list of key value pairs that describe the resource. - These tags can be used in viewing and grouping this resource (across resource groups). A - maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in - length than 128 characters and a value no greater in length than 256 characters. - :type tags: dict[str, str] - :param identity: The identity of the resource. - :type identity: ~azure.mgmt.storage.v2021_01_01.models.Identity - :param kind: Optional. Indicates the type of storage account. Currently only StorageV2 value - supported by server. Possible values include: "Storage", "StorageV2", "BlobStorage", - "FileStorage", "BlockBlobStorage". - :type kind: str or ~azure.mgmt.storage.v2021_01_01.models.Kind - :param custom_domain: Custom domain assigned to the storage account by the user. Name is the - CNAME source. Only one custom domain is supported per storage account at this time. To clear - the existing custom domain, use an empty string for the custom domain name property. - :type custom_domain: ~azure.mgmt.storage.v2021_01_01.models.CustomDomain - :param encryption: Provides the encryption settings on the account. The default setting is - unencrypted. - :type encryption: ~azure.mgmt.storage.v2021_01_01.models.Encryption - :param access_tier: Required for storage accounts where kind = BlobStorage. The access tier - used for billing. Possible values include: "Hot", "Cool". - :type access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.AccessTier - :param azure_files_identity_based_authentication: Provides the identity based authentication - settings for Azure Files. - :type azure_files_identity_based_authentication: - ~azure.mgmt.storage.v2021_01_01.models.AzureFilesIdentityBasedAuthentication - :param enable_https_traffic_only: Allows https traffic only to storage service if sets to true. - :type enable_https_traffic_only: bool - :param network_rule_set: Network rule set. - :type network_rule_set: ~azure.mgmt.storage.v2021_01_01.models.NetworkRuleSet - :param large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be - disabled once it is enabled. Possible values include: "Disabled", "Enabled". - :type large_file_shares_state: str or - ~azure.mgmt.storage.v2021_01_01.models.LargeFileSharesState - :param routing_preference: Maintains information about the network routing choice opted by the - user for data transfer. - :type routing_preference: ~azure.mgmt.storage.v2021_01_01.models.RoutingPreference - :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in - the storage account. The default interpretation is true for this property. - :type allow_blob_public_access: bool - :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. - The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", - "TLS1_1", "TLS1_2". - :type minimum_tls_version: str or ~azure.mgmt.storage.v2021_01_01.models.MinimumTlsVersion - :param allow_shared_key_access: Indicates whether the storage account permits requests to be - authorized with the account access key via Shared Key. If false, then all requests, including - shared access signatures, must be authorized with Azure Active Directory (Azure AD). The - default value is null, which is equivalent to true. - :type allow_shared_key_access: bool - """ - - _attribute_map = { - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'identity': {'key': 'identity', 'type': 'Identity'}, - 'kind': {'key': 'kind', 'type': 'str'}, - 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, - 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'}, - 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, - 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, - 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, - 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, - 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, - 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, - 'allow_shared_key_access': {'key': 'properties.allowSharedKeyAccess', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountUpdateParameters, self).__init__(**kwargs) - self.sku = kwargs.get('sku', None) - self.tags = kwargs.get('tags', None) - self.identity = kwargs.get('identity', None) - self.kind = kwargs.get('kind', None) - self.custom_domain = kwargs.get('custom_domain', None) - self.encryption = kwargs.get('encryption', None) - self.access_tier = kwargs.get('access_tier', None) - self.azure_files_identity_based_authentication = kwargs.get('azure_files_identity_based_authentication', None) - self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None) - self.network_rule_set = kwargs.get('network_rule_set', None) - self.large_file_shares_state = kwargs.get('large_file_shares_state', None) - self.routing_preference = kwargs.get('routing_preference', None) - self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) - self.minimum_tls_version = kwargs.get('minimum_tls_version', None) - self.allow_shared_key_access = kwargs.get('allow_shared_key_access', None) - - -class StorageQueue(Resource): - """StorageQueue. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param metadata: A name-value pair that represents queue metadata. - :type metadata: dict[str, str] - :ivar approximate_message_count: Integer indicating an approximate number of messages in the - queue. This number is not lower than the actual number of messages in the queue, but could be - higher. - :vartype approximate_message_count: int - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'approximate_message_count': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'approximate_message_count': {'key': 'properties.approximateMessageCount', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageQueue, self).__init__(**kwargs) - self.metadata = kwargs.get('metadata', None) - self.approximate_message_count = None - - -class StorageSkuListResult(msrest.serialization.Model): - """The response from the List Storage SKUs operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Get the list result of storage SKUs and their properties. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.SkuInformation] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[SkuInformation]'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageSkuListResult, self).__init__(**kwargs) - self.value = None - - -class SystemData(msrest.serialization.Model): - """Metadata pertaining to creation and last modification of the resource. - - :param created_by: The identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource. Possible values - include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.storage.v2021_01_01.models.CreatedByType - :param created_at: The timestamp of resource creation (UTC). - :type created_at: ~datetime.datetime - :param last_modified_by: The identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource. Possible - values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.storage.v2021_01_01.models.CreatedByType - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: ~datetime.datetime - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, - } - - def __init__( - self, - **kwargs - ): - super(SystemData, self).__init__(**kwargs) - self.created_by = kwargs.get('created_by', None) - self.created_by_type = kwargs.get('created_by_type', None) - self.created_at = kwargs.get('created_at', None) - self.last_modified_by = kwargs.get('last_modified_by', None) - self.last_modified_by_type = kwargs.get('last_modified_by_type', None) - self.last_modified_at = kwargs.get('last_modified_at', None) - - -class Table(Resource): - """Properties of the table, including Id, resource name, resource type. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar table_name: Table name under the specified account. - :vartype table_name: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'table_name': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'table_name': {'key': 'properties.tableName', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Table, self).__init__(**kwargs) - self.table_name = None - - -class TableServiceProperties(Resource): - """The properties of a storage account’s Table service. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param cors: Specifies CORS rules for the Table service. You can include up to five CorsRule - elements in the request. If no CorsRule elements are included in the request body, all CORS - rules will be deleted, and CORS will be disabled for the Table service. - :type cors: ~azure.mgmt.storage.v2021_01_01.models.CorsRules - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'cors': {'key': 'properties.cors', 'type': 'CorsRules'}, - } - - def __init__( - self, - **kwargs - ): - super(TableServiceProperties, self).__init__(**kwargs) - self.cors = kwargs.get('cors', None) - - -class TagFilter(msrest.serialization.Model): - """Blob index tag based filtering for blob objects. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. This is the filter tag name, it can have 1 - 128 characters. - :type name: str - :param op: Required. This is the comparison operator which is used for object comparison and - filtering. Only == (equality operator) is currently supported. - :type op: str - :param value: Required. This is the filter tag value field used for tag based filtering, it can - have 0 - 256 characters. - :type value: str - """ - - _validation = { - 'name': {'required': True, 'max_length': 128, 'min_length': 1}, - 'op': {'required': True}, - 'value': {'required': True, 'max_length': 256, 'min_length': 0}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'op': {'key': 'op', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TagFilter, self).__init__(**kwargs) - self.name = kwargs['name'] - self.op = kwargs['op'] - self.value = kwargs['value'] - - -class TagProperty(msrest.serialization.Model): - """A tag of the LegalHold of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar tag: The tag value. - :vartype tag: str - :ivar timestamp: Returns the date and time the tag was added. - :vartype timestamp: ~datetime.datetime - :ivar object_identifier: Returns the Object ID of the user who added the tag. - :vartype object_identifier: str - :ivar tenant_id: Returns the Tenant ID that issued the token for the user who added the tag. - :vartype tenant_id: str - :ivar upn: Returns the User Principal Name of the user who added the tag. - :vartype upn: str - """ - - _validation = { - 'tag': {'readonly': True}, - 'timestamp': {'readonly': True}, - 'object_identifier': {'readonly': True}, - 'tenant_id': {'readonly': True}, - 'upn': {'readonly': True}, - } - - _attribute_map = { - 'tag': {'key': 'tag', 'type': 'str'}, - 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, - 'object_identifier': {'key': 'objectIdentifier', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'upn': {'key': 'upn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TagProperty, self).__init__(**kwargs) - self.tag = None - self.timestamp = None - self.object_identifier = None - self.tenant_id = None - self.upn = None - - -class UpdateHistoryProperty(msrest.serialization.Model): - """An update history of the ImmutabilityPolicy of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar update: The ImmutabilityPolicy update type of a blob container, possible values include: - put, lock and extend. Possible values include: "put", "lock", "extend". - :vartype update: str or ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyUpdateType - :ivar immutability_period_since_creation_in_days: The immutability period for the blobs in the - container since the policy creation, in days. - :vartype immutability_period_since_creation_in_days: int - :ivar timestamp: Returns the date and time the ImmutabilityPolicy was updated. - :vartype timestamp: ~datetime.datetime - :ivar object_identifier: Returns the Object ID of the user who updated the ImmutabilityPolicy. - :vartype object_identifier: str - :ivar tenant_id: Returns the Tenant ID that issued the token for the user who updated the - ImmutabilityPolicy. - :vartype tenant_id: str - :ivar upn: Returns the User Principal Name of the user who updated the ImmutabilityPolicy. - :vartype upn: str - """ - - _validation = { - 'update': {'readonly': True}, - 'immutability_period_since_creation_in_days': {'readonly': True}, - 'timestamp': {'readonly': True}, - 'object_identifier': {'readonly': True}, - 'tenant_id': {'readonly': True}, - 'upn': {'readonly': True}, - } - - _attribute_map = { - 'update': {'key': 'update', 'type': 'str'}, - 'immutability_period_since_creation_in_days': {'key': 'immutabilityPeriodSinceCreationInDays', 'type': 'int'}, - 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, - 'object_identifier': {'key': 'objectIdentifier', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'upn': {'key': 'upn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(UpdateHistoryProperty, self).__init__(**kwargs) - self.update = None - self.immutability_period_since_creation_in_days = None - self.timestamp = None - self.object_identifier = None - self.tenant_id = None - self.upn = None - - -class Usage(msrest.serialization.Model): - """Describes Storage Resource Usage. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar unit: Gets the unit of measurement. Possible values include: "Count", "Bytes", "Seconds", - "Percent", "CountsPerSecond", "BytesPerSecond". - :vartype unit: str or ~azure.mgmt.storage.v2021_01_01.models.UsageUnit - :ivar current_value: Gets the current count of the allocated resources in the subscription. - :vartype current_value: int - :ivar limit: Gets the maximum count of the resources that can be allocated in the subscription. - :vartype limit: int - :ivar name: Gets the name of the type of usage. - :vartype name: ~azure.mgmt.storage.v2021_01_01.models.UsageName - """ - - _validation = { - 'unit': {'readonly': True}, - 'current_value': {'readonly': True}, - 'limit': {'readonly': True}, - 'name': {'readonly': True}, - } - - _attribute_map = { - 'unit': {'key': 'unit', 'type': 'str'}, - 'current_value': {'key': 'currentValue', 'type': 'int'}, - 'limit': {'key': 'limit', 'type': 'int'}, - 'name': {'key': 'name', 'type': 'UsageName'}, - } - - def __init__( - self, - **kwargs - ): - super(Usage, self).__init__(**kwargs) - self.unit = None - self.current_value = None - self.limit = None - self.name = None - - -class UsageListResult(msrest.serialization.Model): - """The response from the List Usages operation. - - :param value: Gets or sets the list of Storage Resource Usages. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.Usage] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Usage]'}, - } - - def __init__( - self, - **kwargs - ): - super(UsageListResult, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - - -class UsageName(msrest.serialization.Model): - """The usage names that can be used; currently limited to StorageAccount. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Gets a string describing the resource name. - :vartype value: str - :ivar localized_value: Gets a localized string describing the resource name. - :vartype localized_value: str - """ - - _validation = { - 'value': {'readonly': True}, - 'localized_value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': 'str'}, - 'localized_value': {'key': 'localizedValue', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(UsageName, self).__init__(**kwargs) - self.value = None - self.localized_value = None - - -class UserAssignedIdentity(msrest.serialization.Model): - """UserAssignedIdentity for the resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The principal ID of the identity. - :vartype principal_id: str - :ivar client_id: The client ID of the identity. - :vartype client_id: str - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'client_id': {'readonly': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(UserAssignedIdentity, self).__init__(**kwargs) - self.principal_id = None - self.client_id = None - - -class VirtualNetworkRule(msrest.serialization.Model): - """Virtual Network rule. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param virtual_network_resource_id: Required. Resource ID of a subnet, for example: - /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. - :type virtual_network_resource_id: str - :ivar action: The action of virtual network rule. Default value: "Allow". - :vartype action: str - :param state: Gets the state of virtual network rule. Possible values include: "provisioning", - "deprovisioning", "succeeded", "failed", "networkSourceDeleted". - :type state: str or ~azure.mgmt.storage.v2021_01_01.models.State - """ - - _validation = { - 'virtual_network_resource_id': {'required': True}, - 'action': {'constant': True}, - } - - _attribute_map = { - 'virtual_network_resource_id': {'key': 'id', 'type': 'str'}, - 'action': {'key': 'action', 'type': 'str'}, - 'state': {'key': 'state', 'type': 'str'}, - } - - action = "Allow" - - def __init__( - self, - **kwargs - ): - super(VirtualNetworkRule, self).__init__(**kwargs) - self.virtual_network_resource_id = kwargs['virtual_network_resource_id'] - self.state = kwargs.get('state', None) diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_models_py3.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_models_py3.py deleted file mode 100644 index 4889b42a22d..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_models_py3.py +++ /dev/null @@ -1,5696 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -import datetime -from typing import Dict, List, Optional, Union - -from azure.core.exceptions import HttpResponseError -import msrest.serialization - -from ._storage_management_client_enums import * - - -class AccountSasParameters(msrest.serialization.Model): - """The parameters to list SAS credentials of a storage account. - - All required parameters must be populated in order to send to Azure. - - :param services: Required. The signed services accessible with the account SAS. Possible values - include: Blob (b), Queue (q), Table (t), File (f). Possible values include: "b", "q", "t", "f". - :type services: str or ~azure.mgmt.storage.v2021_01_01.models.Services - :param resource_types: Required. The signed resource types that are accessible with the account - SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; - Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. - Possible values include: "s", "c", "o". - :type resource_types: str or ~azure.mgmt.storage.v2021_01_01.models.SignedResourceTypes - :param permissions: Required. The signed permissions for the account SAS. Possible values - include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process - (p). Possible values include: "r", "d", "w", "l", "a", "c", "u", "p". - :type permissions: str or ~azure.mgmt.storage.v2021_01_01.models.Permissions - :param ip_address_or_range: An IP address or a range of IP addresses from which to accept - requests. - :type ip_address_or_range: str - :param protocols: The protocol permitted for a request made with the account SAS. Possible - values include: "https,http", "https". - :type protocols: str or ~azure.mgmt.storage.v2021_01_01.models.HttpProtocol - :param shared_access_start_time: The time at which the SAS becomes valid. - :type shared_access_start_time: ~datetime.datetime - :param shared_access_expiry_time: Required. The time at which the shared access signature - becomes invalid. - :type shared_access_expiry_time: ~datetime.datetime - :param key_to_sign: The key to sign the account SAS token with. - :type key_to_sign: str - """ - - _validation = { - 'services': {'required': True}, - 'resource_types': {'required': True}, - 'permissions': {'required': True}, - 'shared_access_expiry_time': {'required': True}, - } - - _attribute_map = { - 'services': {'key': 'signedServices', 'type': 'str'}, - 'resource_types': {'key': 'signedResourceTypes', 'type': 'str'}, - 'permissions': {'key': 'signedPermission', 'type': 'str'}, - 'ip_address_or_range': {'key': 'signedIp', 'type': 'str'}, - 'protocols': {'key': 'signedProtocol', 'type': 'str'}, - 'shared_access_start_time': {'key': 'signedStart', 'type': 'iso-8601'}, - 'shared_access_expiry_time': {'key': 'signedExpiry', 'type': 'iso-8601'}, - 'key_to_sign': {'key': 'keyToSign', 'type': 'str'}, - } - - def __init__( - self, - *, - services: Union[str, "Services"], - resource_types: Union[str, "SignedResourceTypes"], - permissions: Union[str, "Permissions"], - shared_access_expiry_time: datetime.datetime, - ip_address_or_range: Optional[str] = None, - protocols: Optional[Union[str, "HttpProtocol"]] = None, - shared_access_start_time: Optional[datetime.datetime] = None, - key_to_sign: Optional[str] = None, - **kwargs - ): - super(AccountSasParameters, self).__init__(**kwargs) - self.services = services - self.resource_types = resource_types - self.permissions = permissions - self.ip_address_or_range = ip_address_or_range - self.protocols = protocols - self.shared_access_start_time = shared_access_start_time - self.shared_access_expiry_time = shared_access_expiry_time - self.key_to_sign = key_to_sign - - -class ActiveDirectoryProperties(msrest.serialization.Model): - """Settings properties for Active Directory (AD). - - All required parameters must be populated in order to send to Azure. - - :param domain_name: Required. Specifies the primary domain that the AD DNS server is - authoritative for. - :type domain_name: str - :param net_bios_domain_name: Required. Specifies the NetBIOS domain name. - :type net_bios_domain_name: str - :param forest_name: Required. Specifies the Active Directory forest to get. - :type forest_name: str - :param domain_guid: Required. Specifies the domain GUID. - :type domain_guid: str - :param domain_sid: Required. Specifies the security identifier (SID). - :type domain_sid: str - :param azure_storage_sid: Required. Specifies the security identifier (SID) for Azure Storage. - :type azure_storage_sid: str - """ - - _validation = { - 'domain_name': {'required': True}, - 'net_bios_domain_name': {'required': True}, - 'forest_name': {'required': True}, - 'domain_guid': {'required': True}, - 'domain_sid': {'required': True}, - 'azure_storage_sid': {'required': True}, - } - - _attribute_map = { - 'domain_name': {'key': 'domainName', 'type': 'str'}, - 'net_bios_domain_name': {'key': 'netBiosDomainName', 'type': 'str'}, - 'forest_name': {'key': 'forestName', 'type': 'str'}, - 'domain_guid': {'key': 'domainGuid', 'type': 'str'}, - 'domain_sid': {'key': 'domainSid', 'type': 'str'}, - 'azure_storage_sid': {'key': 'azureStorageSid', 'type': 'str'}, - } - - def __init__( - self, - *, - domain_name: str, - net_bios_domain_name: str, - forest_name: str, - domain_guid: str, - domain_sid: str, - azure_storage_sid: str, - **kwargs - ): - super(ActiveDirectoryProperties, self).__init__(**kwargs) - self.domain_name = domain_name - self.net_bios_domain_name = net_bios_domain_name - self.forest_name = forest_name - self.domain_guid = domain_guid - self.domain_sid = domain_sid - self.azure_storage_sid = azure_storage_sid - - -class Resource(msrest.serialization.Model): - """Common fields that are returned in the response for all Azure Resource Manager resources. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class AzureEntityResource(Resource): - """The resource model definition for an Azure Resource Manager resource with an etag. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(AzureEntityResource, self).__init__(**kwargs) - self.etag = None - - -class AzureFilesIdentityBasedAuthentication(msrest.serialization.Model): - """Settings for Azure Files identity based authentication. - - All required parameters must be populated in order to send to Azure. - - :param directory_service_options: Required. Indicates the directory service used. Possible - values include: "None", "AADDS", "AD". - :type directory_service_options: str or - ~azure.mgmt.storage.v2021_01_01.models.DirectoryServiceOptions - :param active_directory_properties: Required if choose AD. - :type active_directory_properties: - ~azure.mgmt.storage.v2021_01_01.models.ActiveDirectoryProperties - """ - - _validation = { - 'directory_service_options': {'required': True}, - } - - _attribute_map = { - 'directory_service_options': {'key': 'directoryServiceOptions', 'type': 'str'}, - 'active_directory_properties': {'key': 'activeDirectoryProperties', 'type': 'ActiveDirectoryProperties'}, - } - - def __init__( - self, - *, - directory_service_options: Union[str, "DirectoryServiceOptions"], - active_directory_properties: Optional["ActiveDirectoryProperties"] = None, - **kwargs - ): - super(AzureFilesIdentityBasedAuthentication, self).__init__(**kwargs) - self.directory_service_options = directory_service_options - self.active_directory_properties = active_directory_properties - - -class BlobContainer(AzureEntityResource): - """Properties of the blob container, including Id, resource name, resource type, Etag. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :ivar version: The version of the deleted blob container. - :vartype version: str - :ivar deleted: Indicates whether the blob container was deleted. - :vartype deleted: bool - :ivar deleted_time: Blob container deletion time. - :vartype deleted_time: ~datetime.datetime - :ivar remaining_retention_days: Remaining retention days for soft deleted blob container. - :vartype remaining_retention_days: int - :param default_encryption_scope: Default the container to use specified encryption scope for - all writes. - :type default_encryption_scope: str - :param deny_encryption_scope_override: Block override of encryption scope from the container - default. - :type deny_encryption_scope_override: bool - :param public_access: Specifies whether data in the container may be accessed publicly and the - level of access. Possible values include: "Container", "Blob", "None". - :type public_access: str or ~azure.mgmt.storage.v2021_01_01.models.PublicAccess - :ivar last_modified_time: Returns the date and time the container was last modified. - :vartype last_modified_time: ~datetime.datetime - :ivar lease_status: The lease status of the container. Possible values include: "Locked", - "Unlocked". - :vartype lease_status: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseStatus - :ivar lease_state: Lease state of the container. Possible values include: "Available", - "Leased", "Expired", "Breaking", "Broken". - :vartype lease_state: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseState - :ivar lease_duration: Specifies whether the lease on a container is of infinite or fixed - duration, only when the container is leased. Possible values include: "Infinite", "Fixed". - :vartype lease_duration: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseDuration - :param metadata: A name-value pair to associate with the container as metadata. - :type metadata: dict[str, str] - :ivar immutability_policy: The ImmutabilityPolicy property of the container. - :vartype immutability_policy: - ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyProperties - :ivar legal_hold: The LegalHold property of the container. - :vartype legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHoldProperties - :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at - least one existing tag. The hasLegalHold public property is set to false by SRP if all existing - legal hold tags are cleared out. There can be a maximum of 1000 blob containers with - hasLegalHold=true for a given account. - :vartype has_legal_hold: bool - :ivar has_immutability_policy: The hasImmutabilityPolicy public property is set to true by SRP - if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public - property is set to false by SRP if ImmutabilityPolicy has not been created for this container. - :vartype has_immutability_policy: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'version': {'readonly': True}, - 'deleted': {'readonly': True}, - 'deleted_time': {'readonly': True}, - 'remaining_retention_days': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - 'lease_status': {'readonly': True}, - 'lease_state': {'readonly': True}, - 'lease_duration': {'readonly': True}, - 'immutability_policy': {'readonly': True}, - 'legal_hold': {'readonly': True}, - 'has_legal_hold': {'readonly': True}, - 'has_immutability_policy': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'deleted': {'key': 'properties.deleted', 'type': 'bool'}, - 'deleted_time': {'key': 'properties.deletedTime', 'type': 'iso-8601'}, - 'remaining_retention_days': {'key': 'properties.remainingRetentionDays', 'type': 'int'}, - 'default_encryption_scope': {'key': 'properties.defaultEncryptionScope', 'type': 'str'}, - 'deny_encryption_scope_override': {'key': 'properties.denyEncryptionScopeOverride', 'type': 'bool'}, - 'public_access': {'key': 'properties.publicAccess', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'lease_status': {'key': 'properties.leaseStatus', 'type': 'str'}, - 'lease_state': {'key': 'properties.leaseState', 'type': 'str'}, - 'lease_duration': {'key': 'properties.leaseDuration', 'type': 'str'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'immutability_policy': {'key': 'properties.immutabilityPolicy', 'type': 'ImmutabilityPolicyProperties'}, - 'legal_hold': {'key': 'properties.legalHold', 'type': 'LegalHoldProperties'}, - 'has_legal_hold': {'key': 'properties.hasLegalHold', 'type': 'bool'}, - 'has_immutability_policy': {'key': 'properties.hasImmutabilityPolicy', 'type': 'bool'}, - } - - def __init__( - self, - *, - default_encryption_scope: Optional[str] = None, - deny_encryption_scope_override: Optional[bool] = None, - public_access: Optional[Union[str, "PublicAccess"]] = None, - metadata: Optional[Dict[str, str]] = None, - **kwargs - ): - super(BlobContainer, self).__init__(**kwargs) - self.version = None - self.deleted = None - self.deleted_time = None - self.remaining_retention_days = None - self.default_encryption_scope = default_encryption_scope - self.deny_encryption_scope_override = deny_encryption_scope_override - self.public_access = public_access - self.last_modified_time = None - self.lease_status = None - self.lease_state = None - self.lease_duration = None - self.metadata = metadata - self.immutability_policy = None - self.legal_hold = None - self.has_legal_hold = None - self.has_immutability_policy = None - - -class BlobInventoryPolicy(Resource): - """The storage account blob inventory policy. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.storage.v2021_01_01.models.SystemData - :ivar last_modified_time: Returns the last modified date and time of the blob inventory policy. - :vartype last_modified_time: ~datetime.datetime - :param policy: The storage account blob inventory policy object. It is composed of policy - rules. - :type policy: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicySchema - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'policy': {'key': 'properties.policy', 'type': 'BlobInventoryPolicySchema'}, - } - - def __init__( - self, - *, - policy: Optional["BlobInventoryPolicySchema"] = None, - **kwargs - ): - super(BlobInventoryPolicy, self).__init__(**kwargs) - self.system_data = None - self.last_modified_time = None - self.policy = policy - - -class BlobInventoryPolicyDefinition(msrest.serialization.Model): - """An object that defines the blob inventory rule. Each definition consists of a set of filters. - - All required parameters must be populated in order to send to Azure. - - :param filters: Required. An object that defines the filter set. - :type filters: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyFilter - """ - - _validation = { - 'filters': {'required': True}, - } - - _attribute_map = { - 'filters': {'key': 'filters', 'type': 'BlobInventoryPolicyFilter'}, - } - - def __init__( - self, - *, - filters: "BlobInventoryPolicyFilter", - **kwargs - ): - super(BlobInventoryPolicyDefinition, self).__init__(**kwargs) - self.filters = filters - - -class BlobInventoryPolicyFilter(msrest.serialization.Model): - """An object that defines the blob inventory rule filter conditions. - - All required parameters must be populated in order to send to Azure. - - :param prefix_match: An array of strings for blob prefixes to be matched. - :type prefix_match: list[str] - :param blob_types: Required. An array of predefined enum values. Valid values include - blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. - :type blob_types: list[str] - :param include_blob_versions: Includes blob versions in blob inventory when value set to true. - :type include_blob_versions: bool - :param include_snapshots: Includes blob snapshots in blob inventory when value set to true. - :type include_snapshots: bool - """ - - _validation = { - 'blob_types': {'required': True}, - } - - _attribute_map = { - 'prefix_match': {'key': 'prefixMatch', 'type': '[str]'}, - 'blob_types': {'key': 'blobTypes', 'type': '[str]'}, - 'include_blob_versions': {'key': 'includeBlobVersions', 'type': 'bool'}, - 'include_snapshots': {'key': 'includeSnapshots', 'type': 'bool'}, - } - - def __init__( - self, - *, - blob_types: List[str], - prefix_match: Optional[List[str]] = None, - include_blob_versions: Optional[bool] = None, - include_snapshots: Optional[bool] = None, - **kwargs - ): - super(BlobInventoryPolicyFilter, self).__init__(**kwargs) - self.prefix_match = prefix_match - self.blob_types = blob_types - self.include_blob_versions = include_blob_versions - self.include_snapshots = include_snapshots - - -class BlobInventoryPolicyRule(msrest.serialization.Model): - """An object that wraps the blob inventory rule. Each rule is uniquely defined by name. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Rule is enabled when set to true. - :type enabled: bool - :param name: Required. A rule name can contain any combination of alpha numeric characters. - Rule name is case-sensitive. It must be unique within a policy. - :type name: str - :param definition: Required. An object that defines the blob inventory policy rule. - :type definition: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyDefinition - """ - - _validation = { - 'enabled': {'required': True}, - 'name': {'required': True}, - 'definition': {'required': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'name': {'key': 'name', 'type': 'str'}, - 'definition': {'key': 'definition', 'type': 'BlobInventoryPolicyDefinition'}, - } - - def __init__( - self, - *, - enabled: bool, - name: str, - definition: "BlobInventoryPolicyDefinition", - **kwargs - ): - super(BlobInventoryPolicyRule, self).__init__(**kwargs) - self.enabled = enabled - self.name = name - self.definition = definition - - -class BlobInventoryPolicySchema(msrest.serialization.Model): - """The storage account blob inventory policy rules. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Policy is enabled if set to true. - :type enabled: bool - :param destination: Required. Container name where blob inventory files are stored. Must be - pre-created. - :type destination: str - :param type: Required. The valid value is Inventory. Possible values include: "Inventory". - :type type: str or ~azure.mgmt.storage.v2021_01_01.models.InventoryRuleType - :param rules: Required. The storage account blob inventory policy rules. The rule is applied - when it is enabled. - :type rules: list[~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyRule] - """ - - _validation = { - 'enabled': {'required': True}, - 'destination': {'required': True}, - 'type': {'required': True}, - 'rules': {'required': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'destination': {'key': 'destination', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'rules': {'key': 'rules', 'type': '[BlobInventoryPolicyRule]'}, - } - - def __init__( - self, - *, - enabled: bool, - destination: str, - type: Union[str, "InventoryRuleType"], - rules: List["BlobInventoryPolicyRule"], - **kwargs - ): - super(BlobInventoryPolicySchema, self).__init__(**kwargs) - self.enabled = enabled - self.destination = destination - self.type = type - self.rules = rules - - -class BlobRestoreParameters(msrest.serialization.Model): - """Blob restore parameters. - - All required parameters must be populated in order to send to Azure. - - :param time_to_restore: Required. Restore blob to the specified time. - :type time_to_restore: ~datetime.datetime - :param blob_ranges: Required. Blob ranges to restore. - :type blob_ranges: list[~azure.mgmt.storage.v2021_01_01.models.BlobRestoreRange] - """ - - _validation = { - 'time_to_restore': {'required': True}, - 'blob_ranges': {'required': True}, - } - - _attribute_map = { - 'time_to_restore': {'key': 'timeToRestore', 'type': 'iso-8601'}, - 'blob_ranges': {'key': 'blobRanges', 'type': '[BlobRestoreRange]'}, - } - - def __init__( - self, - *, - time_to_restore: datetime.datetime, - blob_ranges: List["BlobRestoreRange"], - **kwargs - ): - super(BlobRestoreParameters, self).__init__(**kwargs) - self.time_to_restore = time_to_restore - self.blob_ranges = blob_ranges - - -class BlobRestoreRange(msrest.serialization.Model): - """Blob range. - - All required parameters must be populated in order to send to Azure. - - :param start_range: Required. Blob start range. This is inclusive. Empty means account start. - :type start_range: str - :param end_range: Required. Blob end range. This is exclusive. Empty means account end. - :type end_range: str - """ - - _validation = { - 'start_range': {'required': True}, - 'end_range': {'required': True}, - } - - _attribute_map = { - 'start_range': {'key': 'startRange', 'type': 'str'}, - 'end_range': {'key': 'endRange', 'type': 'str'}, - } - - def __init__( - self, - *, - start_range: str, - end_range: str, - **kwargs - ): - super(BlobRestoreRange, self).__init__(**kwargs) - self.start_range = start_range - self.end_range = end_range - - -class BlobRestoreStatus(msrest.serialization.Model): - """Blob restore status. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar status: The status of blob restore progress. Possible values are: - InProgress: Indicates - that blob restore is ongoing. - Complete: Indicates that blob restore has been completed - successfully. - Failed: Indicates that blob restore is failed. Possible values include: - "InProgress", "Complete", "Failed". - :vartype status: str or ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreProgressStatus - :ivar failure_reason: Failure reason when blob restore is failed. - :vartype failure_reason: str - :ivar restore_id: Id for tracking blob restore request. - :vartype restore_id: str - :ivar parameters: Blob restore request parameters. - :vartype parameters: ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreParameters - """ - - _validation = { - 'status': {'readonly': True}, - 'failure_reason': {'readonly': True}, - 'restore_id': {'readonly': True}, - 'parameters': {'readonly': True}, - } - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - 'failure_reason': {'key': 'failureReason', 'type': 'str'}, - 'restore_id': {'key': 'restoreId', 'type': 'str'}, - 'parameters': {'key': 'parameters', 'type': 'BlobRestoreParameters'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobRestoreStatus, self).__init__(**kwargs) - self.status = None - self.failure_reason = None - self.restore_id = None - self.parameters = None - - -class BlobServiceItems(msrest.serialization.Model): - """BlobServiceItems. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of blob services returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.BlobServiceProperties] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[BlobServiceProperties]'}, - } - - def __init__( - self, - **kwargs - ): - super(BlobServiceItems, self).__init__(**kwargs) - self.value = None - - -class BlobServiceProperties(Resource): - """The properties of a storage account’s Blob service. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar sku: Sku name and tier. - :vartype sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :param cors: Specifies CORS rules for the Blob service. You can include up to five CorsRule - elements in the request. If no CorsRule elements are included in the request body, all CORS - rules will be deleted, and CORS will be disabled for the Blob service. - :type cors: ~azure.mgmt.storage.v2021_01_01.models.CorsRules - :param default_service_version: DefaultServiceVersion indicates the default version to use for - requests to the Blob service if an incoming request’s version is not specified. Possible values - include version 2008-10-27 and all more recent versions. - :type default_service_version: str - :param delete_retention_policy: The blob service properties for blob soft delete. - :type delete_retention_policy: ~azure.mgmt.storage.v2021_01_01.models.DeleteRetentionPolicy - :param is_versioning_enabled: Versioning is enabled if set to true. - :type is_versioning_enabled: bool - :param automatic_snapshot_policy_enabled: Deprecated in favor of isVersioningEnabled property. - :type automatic_snapshot_policy_enabled: bool - :param change_feed: The blob service properties for change feed events. - :type change_feed: ~azure.mgmt.storage.v2021_01_01.models.ChangeFeed - :param restore_policy: The blob service properties for blob restore policy. - :type restore_policy: ~azure.mgmt.storage.v2021_01_01.models.RestorePolicyProperties - :param container_delete_retention_policy: The blob service properties for container soft - delete. - :type container_delete_retention_policy: - ~azure.mgmt.storage.v2021_01_01.models.DeleteRetentionPolicy - :param last_access_time_tracking_policy: The blob service property to configure last access - time based tracking policy. - :type last_access_time_tracking_policy: - ~azure.mgmt.storage.v2021_01_01.models.LastAccessTimeTrackingPolicy - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'sku': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'cors': {'key': 'properties.cors', 'type': 'CorsRules'}, - 'default_service_version': {'key': 'properties.defaultServiceVersion', 'type': 'str'}, - 'delete_retention_policy': {'key': 'properties.deleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, - 'is_versioning_enabled': {'key': 'properties.isVersioningEnabled', 'type': 'bool'}, - 'automatic_snapshot_policy_enabled': {'key': 'properties.automaticSnapshotPolicyEnabled', 'type': 'bool'}, - 'change_feed': {'key': 'properties.changeFeed', 'type': 'ChangeFeed'}, - 'restore_policy': {'key': 'properties.restorePolicy', 'type': 'RestorePolicyProperties'}, - 'container_delete_retention_policy': {'key': 'properties.containerDeleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, - 'last_access_time_tracking_policy': {'key': 'properties.lastAccessTimeTrackingPolicy', 'type': 'LastAccessTimeTrackingPolicy'}, - } - - def __init__( - self, - *, - cors: Optional["CorsRules"] = None, - default_service_version: Optional[str] = None, - delete_retention_policy: Optional["DeleteRetentionPolicy"] = None, - is_versioning_enabled: Optional[bool] = None, - automatic_snapshot_policy_enabled: Optional[bool] = None, - change_feed: Optional["ChangeFeed"] = None, - restore_policy: Optional["RestorePolicyProperties"] = None, - container_delete_retention_policy: Optional["DeleteRetentionPolicy"] = None, - last_access_time_tracking_policy: Optional["LastAccessTimeTrackingPolicy"] = None, - **kwargs - ): - super(BlobServiceProperties, self).__init__(**kwargs) - self.sku = None - self.cors = cors - self.default_service_version = default_service_version - self.delete_retention_policy = delete_retention_policy - self.is_versioning_enabled = is_versioning_enabled - self.automatic_snapshot_policy_enabled = automatic_snapshot_policy_enabled - self.change_feed = change_feed - self.restore_policy = restore_policy - self.container_delete_retention_policy = container_delete_retention_policy - self.last_access_time_tracking_policy = last_access_time_tracking_policy - - -class ChangeFeed(msrest.serialization.Model): - """The blob service properties for change feed events. - - :param enabled: Indicates whether change feed event logging is enabled for the Blob service. - :type enabled: bool - :param retention_in_days: Indicates the duration of changeFeed retention in days. Minimum value - is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite - retention of the change feed. - :type retention_in_days: int - """ - - _validation = { - 'retention_in_days': {'maximum': 146000, 'minimum': 1}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'retention_in_days': {'key': 'retentionInDays', 'type': 'int'}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - retention_in_days: Optional[int] = None, - **kwargs - ): - super(ChangeFeed, self).__init__(**kwargs) - self.enabled = enabled - self.retention_in_days = retention_in_days - - -class CheckNameAvailabilityResult(msrest.serialization.Model): - """The CheckNameAvailability operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name_available: Gets a boolean value that indicates whether the name is available for you - to use. If true, the name is available. If false, the name has already been taken or is invalid - and cannot be used. - :vartype name_available: bool - :ivar reason: Gets the reason that a storage account name could not be used. The Reason element - is only returned if NameAvailable is false. Possible values include: "AccountNameInvalid", - "AlreadyExists". - :vartype reason: str or ~azure.mgmt.storage.v2021_01_01.models.Reason - :ivar message: Gets an error message explaining the Reason value in more detail. - :vartype message: str - """ - - _validation = { - 'name_available': {'readonly': True}, - 'reason': {'readonly': True}, - 'message': {'readonly': True}, - } - - _attribute_map = { - 'name_available': {'key': 'nameAvailable', 'type': 'bool'}, - 'reason': {'key': 'reason', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(CheckNameAvailabilityResult, self).__init__(**kwargs) - self.name_available = None - self.reason = None - self.message = None - - -class CloudErrorBody(msrest.serialization.Model): - """An error response from the Storage service. - - :param code: An identifier for the error. Codes are invariant and are intended to be consumed - programmatically. - :type code: str - :param message: A message describing the error, intended to be suitable for display in a user - interface. - :type message: str - :param target: The target of the particular error. For example, the name of the property in - error. - :type target: str - :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.storage.v2021_01_01.models.CloudErrorBody] - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, - } - - def __init__( - self, - *, - code: Optional[str] = None, - message: Optional[str] = None, - target: Optional[str] = None, - details: Optional[List["CloudErrorBody"]] = None, - **kwargs - ): - super(CloudErrorBody, self).__init__(**kwargs) - self.code = code - self.message = message - self.target = target - self.details = details - - -class CorsRule(msrest.serialization.Model): - """Specifies a CORS rule for the Blob service. - - All required parameters must be populated in order to send to Azure. - - :param allowed_origins: Required. Required if CorsRule element is present. A list of origin - domains that will be allowed via CORS, or "*" to allow all domains. - :type allowed_origins: list[str] - :param allowed_methods: Required. Required if CorsRule element is present. A list of HTTP - methods that are allowed to be executed by the origin. - :type allowed_methods: list[str or - ~azure.mgmt.storage.v2021_01_01.models.CorsRuleAllowedMethodsItem] - :param max_age_in_seconds: Required. Required if CorsRule element is present. The number of - seconds that the client/browser should cache a preflight response. - :type max_age_in_seconds: int - :param exposed_headers: Required. Required if CorsRule element is present. A list of response - headers to expose to CORS clients. - :type exposed_headers: list[str] - :param allowed_headers: Required. Required if CorsRule element is present. A list of headers - allowed to be part of the cross-origin request. - :type allowed_headers: list[str] - """ - - _validation = { - 'allowed_origins': {'required': True}, - 'allowed_methods': {'required': True}, - 'max_age_in_seconds': {'required': True}, - 'exposed_headers': {'required': True}, - 'allowed_headers': {'required': True}, - } - - _attribute_map = { - 'allowed_origins': {'key': 'allowedOrigins', 'type': '[str]'}, - 'allowed_methods': {'key': 'allowedMethods', 'type': '[str]'}, - 'max_age_in_seconds': {'key': 'maxAgeInSeconds', 'type': 'int'}, - 'exposed_headers': {'key': 'exposedHeaders', 'type': '[str]'}, - 'allowed_headers': {'key': 'allowedHeaders', 'type': '[str]'}, - } - - def __init__( - self, - *, - allowed_origins: List[str], - allowed_methods: List[Union[str, "CorsRuleAllowedMethodsItem"]], - max_age_in_seconds: int, - exposed_headers: List[str], - allowed_headers: List[str], - **kwargs - ): - super(CorsRule, self).__init__(**kwargs) - self.allowed_origins = allowed_origins - self.allowed_methods = allowed_methods - self.max_age_in_seconds = max_age_in_seconds - self.exposed_headers = exposed_headers - self.allowed_headers = allowed_headers - - -class CorsRules(msrest.serialization.Model): - """Sets the CORS rules. You can include up to five CorsRule elements in the request. - - :param cors_rules: The List of CORS rules. You can include up to five CorsRule elements in the - request. - :type cors_rules: list[~azure.mgmt.storage.v2021_01_01.models.CorsRule] - """ - - _attribute_map = { - 'cors_rules': {'key': 'corsRules', 'type': '[CorsRule]'}, - } - - def __init__( - self, - *, - cors_rules: Optional[List["CorsRule"]] = None, - **kwargs - ): - super(CorsRules, self).__init__(**kwargs) - self.cors_rules = cors_rules - - -class CustomDomain(msrest.serialization.Model): - """The custom domain assigned to this storage account. This can be set via Update. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. Gets or sets the custom domain name assigned to the storage account. - Name is the CNAME source. - :type name: str - :param use_sub_domain_name: Indicates whether indirect CName validation is enabled. Default - value is false. This should only be set on updates. - :type use_sub_domain_name: bool - """ - - _validation = { - 'name': {'required': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'use_sub_domain_name': {'key': 'useSubDomainName', 'type': 'bool'}, - } - - def __init__( - self, - *, - name: str, - use_sub_domain_name: Optional[bool] = None, - **kwargs - ): - super(CustomDomain, self).__init__(**kwargs) - self.name = name - self.use_sub_domain_name = use_sub_domain_name - - -class DateAfterCreation(msrest.serialization.Model): - """Object to define the number of days after creation. - - All required parameters must be populated in order to send to Azure. - - :param days_after_creation_greater_than: Required. Value indicating the age in days after - creation. - :type days_after_creation_greater_than: float - """ - - _validation = { - 'days_after_creation_greater_than': {'required': True, 'minimum': 0, 'multiple': 1}, - } - - _attribute_map = { - 'days_after_creation_greater_than': {'key': 'daysAfterCreationGreaterThan', 'type': 'float'}, - } - - def __init__( - self, - *, - days_after_creation_greater_than: float, - **kwargs - ): - super(DateAfterCreation, self).__init__(**kwargs) - self.days_after_creation_greater_than = days_after_creation_greater_than - - -class DateAfterModification(msrest.serialization.Model): - """Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive. - - :param days_after_modification_greater_than: Value indicating the age in days after last - modification. - :type days_after_modification_greater_than: float - :param days_after_last_access_time_greater_than: Value indicating the age in days after last - blob access. This property can only be used in conjunction with last access time tracking - policy. - :type days_after_last_access_time_greater_than: float - """ - - _validation = { - 'days_after_modification_greater_than': {'minimum': 0, 'multiple': 1}, - 'days_after_last_access_time_greater_than': {'minimum': 0, 'multiple': 1}, - } - - _attribute_map = { - 'days_after_modification_greater_than': {'key': 'daysAfterModificationGreaterThan', 'type': 'float'}, - 'days_after_last_access_time_greater_than': {'key': 'daysAfterLastAccessTimeGreaterThan', 'type': 'float'}, - } - - def __init__( - self, - *, - days_after_modification_greater_than: Optional[float] = None, - days_after_last_access_time_greater_than: Optional[float] = None, - **kwargs - ): - super(DateAfterModification, self).__init__(**kwargs) - self.days_after_modification_greater_than = days_after_modification_greater_than - self.days_after_last_access_time_greater_than = days_after_last_access_time_greater_than - - -class DeletedAccount(Resource): - """Deleted storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar storage_account_resource_id: Full resource id of the original storage account. - :vartype storage_account_resource_id: str - :ivar location: Location of the deleted account. - :vartype location: str - :ivar restore_reference: Can be used to attempt recovering this deleted account via - PutStorageAccount API. - :vartype restore_reference: str - :ivar creation_time: Creation time of the deleted account. - :vartype creation_time: str - :ivar deletion_time: Deletion time of the deleted account. - :vartype deletion_time: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'storage_account_resource_id': {'readonly': True}, - 'location': {'readonly': True}, - 'restore_reference': {'readonly': True}, - 'creation_time': {'readonly': True}, - 'deletion_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'storage_account_resource_id': {'key': 'properties.storageAccountResourceId', 'type': 'str'}, - 'location': {'key': 'properties.location', 'type': 'str'}, - 'restore_reference': {'key': 'properties.restoreReference', 'type': 'str'}, - 'creation_time': {'key': 'properties.creationTime', 'type': 'str'}, - 'deletion_time': {'key': 'properties.deletionTime', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DeletedAccount, self).__init__(**kwargs) - self.storage_account_resource_id = None - self.location = None - self.restore_reference = None - self.creation_time = None - self.deletion_time = None - - -class DeletedAccountListResult(msrest.serialization.Model): - """The response from the List Deleted Accounts operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Gets the list of deleted accounts and their properties. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.DeletedAccount] - :ivar next_link: Request URL that can be used to query next page of deleted accounts. Returned - when total number of requested deleted accounts exceed maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[DeletedAccount]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(DeletedAccountListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class DeletedShare(msrest.serialization.Model): - """The deleted share to be restored. - - All required parameters must be populated in order to send to Azure. - - :param deleted_share_name: Required. Required. Identify the name of the deleted share that will - be restored. - :type deleted_share_name: str - :param deleted_share_version: Required. Required. Identify the version of the deleted share - that will be restored. - :type deleted_share_version: str - """ - - _validation = { - 'deleted_share_name': {'required': True}, - 'deleted_share_version': {'required': True}, - } - - _attribute_map = { - 'deleted_share_name': {'key': 'deletedShareName', 'type': 'str'}, - 'deleted_share_version': {'key': 'deletedShareVersion', 'type': 'str'}, - } - - def __init__( - self, - *, - deleted_share_name: str, - deleted_share_version: str, - **kwargs - ): - super(DeletedShare, self).__init__(**kwargs) - self.deleted_share_name = deleted_share_name - self.deleted_share_version = deleted_share_version - - -class DeleteRetentionPolicy(msrest.serialization.Model): - """The service properties for soft delete. - - :param enabled: Indicates whether DeleteRetentionPolicy is enabled. - :type enabled: bool - :param days: Indicates the number of days that the deleted item should be retained. The minimum - specified value can be 1 and the maximum value can be 365. - :type days: int - """ - - _validation = { - 'days': {'maximum': 365, 'minimum': 1}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'days': {'key': 'days', 'type': 'int'}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - days: Optional[int] = None, - **kwargs - ): - super(DeleteRetentionPolicy, self).__init__(**kwargs) - self.enabled = enabled - self.days = days - - -class Dimension(msrest.serialization.Model): - """Dimension of blobs, possibly be blob type or access tier. - - :param name: Display name of dimension. - :type name: str - :param display_name: Display name of dimension. - :type display_name: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - display_name: Optional[str] = None, - **kwargs - ): - super(Dimension, self).__init__(**kwargs) - self.name = name - self.display_name = display_name - - -class Encryption(msrest.serialization.Model): - """The encryption settings on the storage account. - - All required parameters must be populated in order to send to Azure. - - :param services: List of services which support encryption. - :type services: ~azure.mgmt.storage.v2021_01_01.models.EncryptionServices - :param key_source: Required. The encryption keySource (provider). Possible values (case- - insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: - "Microsoft.Storage", "Microsoft.Keyvault". Default value: "Microsoft.Storage". - :type key_source: str or ~azure.mgmt.storage.v2021_01_01.models.KeySource - :param require_infrastructure_encryption: A boolean indicating whether or not the service - applies a secondary layer of encryption with platform managed keys for data at rest. - :type require_infrastructure_encryption: bool - :param key_vault_properties: Properties provided by key vault. - :type key_vault_properties: ~azure.mgmt.storage.v2021_01_01.models.KeyVaultProperties - :param encryption_identity: The identity to be used with service-side encryption at rest. - :type encryption_identity: ~azure.mgmt.storage.v2021_01_01.models.EncryptionIdentity - """ - - _validation = { - 'key_source': {'required': True}, - } - - _attribute_map = { - 'services': {'key': 'services', 'type': 'EncryptionServices'}, - 'key_source': {'key': 'keySource', 'type': 'str'}, - 'require_infrastructure_encryption': {'key': 'requireInfrastructureEncryption', 'type': 'bool'}, - 'key_vault_properties': {'key': 'keyvaultproperties', 'type': 'KeyVaultProperties'}, - 'encryption_identity': {'key': 'identity', 'type': 'EncryptionIdentity'}, - } - - def __init__( - self, - *, - key_source: Union[str, "KeySource"] = "Microsoft.Storage", - services: Optional["EncryptionServices"] = None, - require_infrastructure_encryption: Optional[bool] = None, - key_vault_properties: Optional["KeyVaultProperties"] = None, - encryption_identity: Optional["EncryptionIdentity"] = None, - **kwargs - ): - super(Encryption, self).__init__(**kwargs) - self.services = services - self.key_source = key_source - self.require_infrastructure_encryption = require_infrastructure_encryption - self.key_vault_properties = key_vault_properties - self.encryption_identity = encryption_identity - - -class EncryptionIdentity(msrest.serialization.Model): - """Encryption identity for the storage account. - - :param encryption_user_assigned_identity: Resource identifier of the UserAssigned identity to - be associated with server-side encryption on the storage account. - :type encryption_user_assigned_identity: str - """ - - _attribute_map = { - 'encryption_user_assigned_identity': {'key': 'userAssignedIdentity', 'type': 'str'}, - } - - def __init__( - self, - *, - encryption_user_assigned_identity: Optional[str] = None, - **kwargs - ): - super(EncryptionIdentity, self).__init__(**kwargs) - self.encryption_user_assigned_identity = encryption_user_assigned_identity - - -class EncryptionScope(Resource): - """The Encryption Scope resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param source: The provider for the encryption scope. Possible values (case-insensitive): - Microsoft.Storage, Microsoft.KeyVault. Possible values include: "Microsoft.Storage", - "Microsoft.KeyVault". - :type source: str or ~azure.mgmt.storage.v2021_01_01.models.EncryptionScopeSource - :param state: The state of the encryption scope. Possible values (case-insensitive): Enabled, - Disabled. Possible values include: "Enabled", "Disabled". - :type state: str or ~azure.mgmt.storage.v2021_01_01.models.EncryptionScopeState - :ivar creation_time: Gets the creation date and time of the encryption scope in UTC. - :vartype creation_time: ~datetime.datetime - :ivar last_modified_time: Gets the last modification date and time of the encryption scope in - UTC. - :vartype last_modified_time: ~datetime.datetime - :param key_vault_properties: The key vault properties for the encryption scope. This is a - required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. - :type key_vault_properties: - ~azure.mgmt.storage.v2021_01_01.models.EncryptionScopeKeyVaultProperties - :param require_infrastructure_encryption: A boolean indicating whether or not the service - applies a secondary layer of encryption with platform managed keys for data at rest. - :type require_infrastructure_encryption: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'creation_time': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'source': {'key': 'properties.source', 'type': 'str'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'key_vault_properties': {'key': 'properties.keyVaultProperties', 'type': 'EncryptionScopeKeyVaultProperties'}, - 'require_infrastructure_encryption': {'key': 'properties.requireInfrastructureEncryption', 'type': 'bool'}, - } - - def __init__( - self, - *, - source: Optional[Union[str, "EncryptionScopeSource"]] = None, - state: Optional[Union[str, "EncryptionScopeState"]] = None, - key_vault_properties: Optional["EncryptionScopeKeyVaultProperties"] = None, - require_infrastructure_encryption: Optional[bool] = None, - **kwargs - ): - super(EncryptionScope, self).__init__(**kwargs) - self.source = source - self.state = state - self.creation_time = None - self.last_modified_time = None - self.key_vault_properties = key_vault_properties - self.require_infrastructure_encryption = require_infrastructure_encryption - - -class EncryptionScopeKeyVaultProperties(msrest.serialization.Model): - """The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param key_uri: The object identifier for a key vault key object. When applied, the encryption - scope will use the key referenced by the identifier to enable customer-managed key support on - this encryption scope. - :type key_uri: str - :ivar current_versioned_key_identifier: The object identifier of the current versioned Key - Vault Key in use. - :vartype current_versioned_key_identifier: str - :ivar last_key_rotation_timestamp: Timestamp of last rotation of the Key Vault Key. - :vartype last_key_rotation_timestamp: ~datetime.datetime - """ - - _validation = { - 'current_versioned_key_identifier': {'readonly': True}, - 'last_key_rotation_timestamp': {'readonly': True}, - } - - _attribute_map = { - 'key_uri': {'key': 'keyUri', 'type': 'str'}, - 'current_versioned_key_identifier': {'key': 'currentVersionedKeyIdentifier', 'type': 'str'}, - 'last_key_rotation_timestamp': {'key': 'lastKeyRotationTimestamp', 'type': 'iso-8601'}, - } - - def __init__( - self, - *, - key_uri: Optional[str] = None, - **kwargs - ): - super(EncryptionScopeKeyVaultProperties, self).__init__(**kwargs) - self.key_uri = key_uri - self.current_versioned_key_identifier = None - self.last_key_rotation_timestamp = None - - -class EncryptionScopeListResult(msrest.serialization.Model): - """List of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of encryption scopes requested. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.EncryptionScope] - :ivar next_link: Request URL that can be used to query next page of encryption scopes. Returned - when total number of requested encryption scopes exceeds the maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[EncryptionScope]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(EncryptionScopeListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class EncryptionService(msrest.serialization.Model): - """A service that allows server-side encryption to be used. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param enabled: A boolean indicating whether or not the service encrypts the data as it is - stored. - :type enabled: bool - :ivar last_enabled_time: Gets a rough estimate of the date/time when the encryption was last - enabled by the user. Only returned when encryption is enabled. There might be some unencrypted - blobs which were written after this time, as it is just a rough estimate. - :vartype last_enabled_time: ~datetime.datetime - :param key_type: Encryption key type to be used for the encryption service. 'Account' key type - implies that an account-scoped encryption key will be used. 'Service' key type implies that a - default service key is used. Possible values include: "Service", "Account". - :type key_type: str or ~azure.mgmt.storage.v2021_01_01.models.KeyType - """ - - _validation = { - 'last_enabled_time': {'readonly': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'last_enabled_time': {'key': 'lastEnabledTime', 'type': 'iso-8601'}, - 'key_type': {'key': 'keyType', 'type': 'str'}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - key_type: Optional[Union[str, "KeyType"]] = None, - **kwargs - ): - super(EncryptionService, self).__init__(**kwargs) - self.enabled = enabled - self.last_enabled_time = None - self.key_type = key_type - - -class EncryptionServices(msrest.serialization.Model): - """A list of services that support encryption. - - :param blob: The encryption function of the blob storage service. - :type blob: ~azure.mgmt.storage.v2021_01_01.models.EncryptionService - :param file: The encryption function of the file storage service. - :type file: ~azure.mgmt.storage.v2021_01_01.models.EncryptionService - :param table: The encryption function of the table storage service. - :type table: ~azure.mgmt.storage.v2021_01_01.models.EncryptionService - :param queue: The encryption function of the queue storage service. - :type queue: ~azure.mgmt.storage.v2021_01_01.models.EncryptionService - """ - - _attribute_map = { - 'blob': {'key': 'blob', 'type': 'EncryptionService'}, - 'file': {'key': 'file', 'type': 'EncryptionService'}, - 'table': {'key': 'table', 'type': 'EncryptionService'}, - 'queue': {'key': 'queue', 'type': 'EncryptionService'}, - } - - def __init__( - self, - *, - blob: Optional["EncryptionService"] = None, - file: Optional["EncryptionService"] = None, - table: Optional["EncryptionService"] = None, - queue: Optional["EncryptionService"] = None, - **kwargs - ): - super(EncryptionServices, self).__init__(**kwargs) - self.blob = blob - self.file = file - self.table = table - self.queue = queue - - -class Endpoints(msrest.serialization.Model): - """The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar blob: Gets the blob endpoint. - :vartype blob: str - :ivar queue: Gets the queue endpoint. - :vartype queue: str - :ivar table: Gets the table endpoint. - :vartype table: str - :ivar file: Gets the file endpoint. - :vartype file: str - :ivar web: Gets the web endpoint. - :vartype web: str - :ivar dfs: Gets the dfs endpoint. - :vartype dfs: str - :param microsoft_endpoints: Gets the microsoft routing storage endpoints. - :type microsoft_endpoints: - ~azure.mgmt.storage.v2021_01_01.models.StorageAccountMicrosoftEndpoints - :param internet_endpoints: Gets the internet routing storage endpoints. - :type internet_endpoints: - ~azure.mgmt.storage.v2021_01_01.models.StorageAccountInternetEndpoints - """ - - _validation = { - 'blob': {'readonly': True}, - 'queue': {'readonly': True}, - 'table': {'readonly': True}, - 'file': {'readonly': True}, - 'web': {'readonly': True}, - 'dfs': {'readonly': True}, - } - - _attribute_map = { - 'blob': {'key': 'blob', 'type': 'str'}, - 'queue': {'key': 'queue', 'type': 'str'}, - 'table': {'key': 'table', 'type': 'str'}, - 'file': {'key': 'file', 'type': 'str'}, - 'web': {'key': 'web', 'type': 'str'}, - 'dfs': {'key': 'dfs', 'type': 'str'}, - 'microsoft_endpoints': {'key': 'microsoftEndpoints', 'type': 'StorageAccountMicrosoftEndpoints'}, - 'internet_endpoints': {'key': 'internetEndpoints', 'type': 'StorageAccountInternetEndpoints'}, - } - - def __init__( - self, - *, - microsoft_endpoints: Optional["StorageAccountMicrosoftEndpoints"] = None, - internet_endpoints: Optional["StorageAccountInternetEndpoints"] = None, - **kwargs - ): - super(Endpoints, self).__init__(**kwargs) - self.blob = None - self.queue = None - self.table = None - self.file = None - self.web = None - self.dfs = None - self.microsoft_endpoints = microsoft_endpoints - self.internet_endpoints = internet_endpoints - - -class ErrorResponse(msrest.serialization.Model): - """An error response from the storage resource provider. - - :param error: Azure Storage Resource Provider error response body. - :type error: ~azure.mgmt.storage.v2021_01_01.models.ErrorResponseBody - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorResponseBody'}, - } - - def __init__( - self, - *, - error: Optional["ErrorResponseBody"] = None, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.error = error - - -class ErrorResponseBody(msrest.serialization.Model): - """Error response body contract. - - :param code: An identifier for the error. Codes are invariant and are intended to be consumed - programmatically. - :type code: str - :param message: A message describing the error, intended to be suitable for display in a user - interface. - :type message: str - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__( - self, - *, - code: Optional[str] = None, - message: Optional[str] = None, - **kwargs - ): - super(ErrorResponseBody, self).__init__(**kwargs) - self.code = code - self.message = message - - -class ExtendedLocation(msrest.serialization.Model): - """The complex type of the extended location. - - :param name: The name of the extended location. - :type name: str - :param type: The type of the extended location. Possible values include: "EdgeZone". - :type type: str or ~azure.mgmt.storage.v2021_01_01.models.ExtendedLocationTypes - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - type: Optional[Union[str, "ExtendedLocationTypes"]] = None, - **kwargs - ): - super(ExtendedLocation, self).__init__(**kwargs) - self.name = name - self.type = type - - -class FileServiceItems(msrest.serialization.Model): - """FileServiceItems. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of file services returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[FileServiceProperties]'}, - } - - def __init__( - self, - **kwargs - ): - super(FileServiceItems, self).__init__(**kwargs) - self.value = None - - -class FileServiceProperties(Resource): - """The properties of File services in storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar sku: Sku name and tier. - :vartype sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :param cors: Specifies CORS rules for the File service. You can include up to five CorsRule - elements in the request. If no CorsRule elements are included in the request body, all CORS - rules will be deleted, and CORS will be disabled for the File service. - :type cors: ~azure.mgmt.storage.v2021_01_01.models.CorsRules - :param share_delete_retention_policy: The file service properties for share soft delete. - :type share_delete_retention_policy: - ~azure.mgmt.storage.v2021_01_01.models.DeleteRetentionPolicy - :param protocol_settings: Protocol settings for file service. - :type protocol_settings: ~azure.mgmt.storage.v2021_01_01.models.ProtocolSettings - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'sku': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'cors': {'key': 'properties.cors', 'type': 'CorsRules'}, - 'share_delete_retention_policy': {'key': 'properties.shareDeleteRetentionPolicy', 'type': 'DeleteRetentionPolicy'}, - 'protocol_settings': {'key': 'properties.protocolSettings', 'type': 'ProtocolSettings'}, - } - - def __init__( - self, - *, - cors: Optional["CorsRules"] = None, - share_delete_retention_policy: Optional["DeleteRetentionPolicy"] = None, - protocol_settings: Optional["ProtocolSettings"] = None, - **kwargs - ): - super(FileServiceProperties, self).__init__(**kwargs) - self.sku = None - self.cors = cors - self.share_delete_retention_policy = share_delete_retention_policy - self.protocol_settings = protocol_settings - - -class FileShare(AzureEntityResource): - """Properties of the file share, including Id, resource name, resource type, Etag. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :ivar last_modified_time: Returns the date and time the share was last modified. - :vartype last_modified_time: ~datetime.datetime - :param metadata: A name-value pair to associate with the share as metadata. - :type metadata: dict[str, str] - :param share_quota: The maximum size of the share, in gigabytes. Must be greater than 0, and - less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. - :type share_quota: int - :param enabled_protocols: The authentication protocol that is used for the file share. Can only - be specified when creating a share. Possible values include: "SMB", "NFS". - :type enabled_protocols: str or ~azure.mgmt.storage.v2021_01_01.models.EnabledProtocols - :param root_squash: The property is for NFS share only. The default is NoRootSquash. Possible - values include: "NoRootSquash", "RootSquash", "AllSquash". - :type root_squash: str or ~azure.mgmt.storage.v2021_01_01.models.RootSquashType - :ivar version: The version of the share. - :vartype version: str - :ivar deleted: Indicates whether the share was deleted. - :vartype deleted: bool - :ivar deleted_time: The deleted time if the share was deleted. - :vartype deleted_time: ~datetime.datetime - :ivar remaining_retention_days: Remaining retention days for share that was soft deleted. - :vartype remaining_retention_days: int - :param access_tier: Access tier for specific share. GpV2 account can choose between - TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Possible - values include: "TransactionOptimized", "Hot", "Cool", "Premium". - :type access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.ShareAccessTier - :ivar access_tier_change_time: Indicates the last modification time for share access tier. - :vartype access_tier_change_time: ~datetime.datetime - :ivar access_tier_status: Indicates if there is a pending transition for access tier. - :vartype access_tier_status: str - :ivar share_usage_bytes: The approximate size of the data stored on the share. Note that this - value may not include all recently created or recently resized files. - :vartype share_usage_bytes: long - :ivar snapshot_time: Creation time of share snapshot returned in the response of list shares - with expand param "snapshots". - :vartype snapshot_time: ~datetime.datetime - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - 'share_quota': {'maximum': 102400, 'minimum': 1}, - 'version': {'readonly': True}, - 'deleted': {'readonly': True}, - 'deleted_time': {'readonly': True}, - 'remaining_retention_days': {'readonly': True}, - 'access_tier_change_time': {'readonly': True}, - 'access_tier_status': {'readonly': True}, - 'share_usage_bytes': {'readonly': True}, - 'snapshot_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'share_quota': {'key': 'properties.shareQuota', 'type': 'int'}, - 'enabled_protocols': {'key': 'properties.enabledProtocols', 'type': 'str'}, - 'root_squash': {'key': 'properties.rootSquash', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'deleted': {'key': 'properties.deleted', 'type': 'bool'}, - 'deleted_time': {'key': 'properties.deletedTime', 'type': 'iso-8601'}, - 'remaining_retention_days': {'key': 'properties.remainingRetentionDays', 'type': 'int'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'access_tier_change_time': {'key': 'properties.accessTierChangeTime', 'type': 'iso-8601'}, - 'access_tier_status': {'key': 'properties.accessTierStatus', 'type': 'str'}, - 'share_usage_bytes': {'key': 'properties.shareUsageBytes', 'type': 'long'}, - 'snapshot_time': {'key': 'properties.snapshotTime', 'type': 'iso-8601'}, - } - - def __init__( - self, - *, - metadata: Optional[Dict[str, str]] = None, - share_quota: Optional[int] = None, - enabled_protocols: Optional[Union[str, "EnabledProtocols"]] = None, - root_squash: Optional[Union[str, "RootSquashType"]] = None, - access_tier: Optional[Union[str, "ShareAccessTier"]] = None, - **kwargs - ): - super(FileShare, self).__init__(**kwargs) - self.last_modified_time = None - self.metadata = metadata - self.share_quota = share_quota - self.enabled_protocols = enabled_protocols - self.root_squash = root_squash - self.version = None - self.deleted = None - self.deleted_time = None - self.remaining_retention_days = None - self.access_tier = access_tier - self.access_tier_change_time = None - self.access_tier_status = None - self.share_usage_bytes = None - self.snapshot_time = None - - -class FileShareItem(AzureEntityResource): - """The file share properties be listed out. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :ivar last_modified_time: Returns the date and time the share was last modified. - :vartype last_modified_time: ~datetime.datetime - :param metadata: A name-value pair to associate with the share as metadata. - :type metadata: dict[str, str] - :param share_quota: The maximum size of the share, in gigabytes. Must be greater than 0, and - less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. - :type share_quota: int - :param enabled_protocols: The authentication protocol that is used for the file share. Can only - be specified when creating a share. Possible values include: "SMB", "NFS". - :type enabled_protocols: str or ~azure.mgmt.storage.v2021_01_01.models.EnabledProtocols - :param root_squash: The property is for NFS share only. The default is NoRootSquash. Possible - values include: "NoRootSquash", "RootSquash", "AllSquash". - :type root_squash: str or ~azure.mgmt.storage.v2021_01_01.models.RootSquashType - :ivar version: The version of the share. - :vartype version: str - :ivar deleted: Indicates whether the share was deleted. - :vartype deleted: bool - :ivar deleted_time: The deleted time if the share was deleted. - :vartype deleted_time: ~datetime.datetime - :ivar remaining_retention_days: Remaining retention days for share that was soft deleted. - :vartype remaining_retention_days: int - :param access_tier: Access tier for specific share. GpV2 account can choose between - TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Possible - values include: "TransactionOptimized", "Hot", "Cool", "Premium". - :type access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.ShareAccessTier - :ivar access_tier_change_time: Indicates the last modification time for share access tier. - :vartype access_tier_change_time: ~datetime.datetime - :ivar access_tier_status: Indicates if there is a pending transition for access tier. - :vartype access_tier_status: str - :ivar share_usage_bytes: The approximate size of the data stored on the share. Note that this - value may not include all recently created or recently resized files. - :vartype share_usage_bytes: long - :ivar snapshot_time: Creation time of share snapshot returned in the response of list shares - with expand param "snapshots". - :vartype snapshot_time: ~datetime.datetime - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - 'share_quota': {'maximum': 102400, 'minimum': 1}, - 'version': {'readonly': True}, - 'deleted': {'readonly': True}, - 'deleted_time': {'readonly': True}, - 'remaining_retention_days': {'readonly': True}, - 'access_tier_change_time': {'readonly': True}, - 'access_tier_status': {'readonly': True}, - 'share_usage_bytes': {'readonly': True}, - 'snapshot_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'share_quota': {'key': 'properties.shareQuota', 'type': 'int'}, - 'enabled_protocols': {'key': 'properties.enabledProtocols', 'type': 'str'}, - 'root_squash': {'key': 'properties.rootSquash', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'deleted': {'key': 'properties.deleted', 'type': 'bool'}, - 'deleted_time': {'key': 'properties.deletedTime', 'type': 'iso-8601'}, - 'remaining_retention_days': {'key': 'properties.remainingRetentionDays', 'type': 'int'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'access_tier_change_time': {'key': 'properties.accessTierChangeTime', 'type': 'iso-8601'}, - 'access_tier_status': {'key': 'properties.accessTierStatus', 'type': 'str'}, - 'share_usage_bytes': {'key': 'properties.shareUsageBytes', 'type': 'long'}, - 'snapshot_time': {'key': 'properties.snapshotTime', 'type': 'iso-8601'}, - } - - def __init__( - self, - *, - metadata: Optional[Dict[str, str]] = None, - share_quota: Optional[int] = None, - enabled_protocols: Optional[Union[str, "EnabledProtocols"]] = None, - root_squash: Optional[Union[str, "RootSquashType"]] = None, - access_tier: Optional[Union[str, "ShareAccessTier"]] = None, - **kwargs - ): - super(FileShareItem, self).__init__(**kwargs) - self.last_modified_time = None - self.metadata = metadata - self.share_quota = share_quota - self.enabled_protocols = enabled_protocols - self.root_squash = root_squash - self.version = None - self.deleted = None - self.deleted_time = None - self.remaining_retention_days = None - self.access_tier = access_tier - self.access_tier_change_time = None - self.access_tier_status = None - self.share_usage_bytes = None - self.snapshot_time = None - - -class FileShareItems(msrest.serialization.Model): - """Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of file shares returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.FileShareItem] - :ivar next_link: Request URL that can be used to query next page of shares. Returned when total - number of requested shares exceed maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[FileShareItem]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(FileShareItems, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class GeoReplicationStats(msrest.serialization.Model): - """Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar status: The status of the secondary location. Possible values are: - Live: Indicates that - the secondary location is active and operational. - Bootstrap: Indicates initial - synchronization from the primary location to the secondary location is in progress.This - typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary - location is temporarily unavailable. Possible values include: "Live", "Bootstrap", - "Unavailable". - :vartype status: str or ~azure.mgmt.storage.v2021_01_01.models.GeoReplicationStatus - :ivar last_sync_time: All primary writes preceding this UTC date/time value are guaranteed to - be available for read operations. Primary writes following this point in time may or may not be - available for reads. Element may be default value if value of LastSyncTime is not available, - this can happen if secondary is offline or we are in bootstrap. - :vartype last_sync_time: ~datetime.datetime - :ivar can_failover: A boolean flag which indicates whether or not account failover is supported - for the account. - :vartype can_failover: bool - """ - - _validation = { - 'status': {'readonly': True}, - 'last_sync_time': {'readonly': True}, - 'can_failover': {'readonly': True}, - } - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - 'last_sync_time': {'key': 'lastSyncTime', 'type': 'iso-8601'}, - 'can_failover': {'key': 'canFailover', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(GeoReplicationStats, self).__init__(**kwargs) - self.status = None - self.last_sync_time = None - self.can_failover = None - - -class Identity(msrest.serialization.Model): - """Identity for the resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar principal_id: The principal ID of resource identity. - :vartype principal_id: str - :ivar tenant_id: The tenant ID of resource. - :vartype tenant_id: str - :param type: Required. The identity type. Possible values include: "None", "SystemAssigned", - "UserAssigned", "SystemAssigned,UserAssigned". - :type type: str or ~azure.mgmt.storage.v2021_01_01.models.IdentityType - :param user_assigned_identities: Gets or sets a list of key value pairs that describe the set - of User Assigned identities that will be used with this storage account. The key is the ARM - resource identifier of the identity. Only 1 User Assigned identity is permitted here. - :type user_assigned_identities: dict[str, - ~azure.mgmt.storage.v2021_01_01.models.UserAssignedIdentity] - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'tenant_id': {'readonly': True}, - 'type': {'required': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{UserAssignedIdentity}'}, - } - - def __init__( - self, - *, - type: Union[str, "IdentityType"], - user_assigned_identities: Optional[Dict[str, "UserAssignedIdentity"]] = None, - **kwargs - ): - super(Identity, self).__init__(**kwargs) - self.principal_id = None - self.tenant_id = None - self.type = type - self.user_assigned_identities = user_assigned_identities - - -class ImmutabilityPolicy(AzureEntityResource): - """The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :param immutability_period_since_creation_in_days: The immutability period for the blobs in the - container since the policy creation, in days. - :type immutability_period_since_creation_in_days: int - :ivar state: The ImmutabilityPolicy state of a blob container, possible values include: Locked - and Unlocked. Possible values include: "Locked", "Unlocked". - :vartype state: str or ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyState - :param allow_protected_append_writes: This property can only be changed for unlocked time-based - retention policies. When enabled, new blocks can be written to an append blob while maintaining - immutability protection and compliance. Only new blocks can be added and any existing blocks - cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy - API. - :type allow_protected_append_writes: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'immutability_period_since_creation_in_days': {'key': 'properties.immutabilityPeriodSinceCreationInDays', 'type': 'int'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'allow_protected_append_writes': {'key': 'properties.allowProtectedAppendWrites', 'type': 'bool'}, - } - - def __init__( - self, - *, - immutability_period_since_creation_in_days: Optional[int] = None, - allow_protected_append_writes: Optional[bool] = None, - **kwargs - ): - super(ImmutabilityPolicy, self).__init__(**kwargs) - self.immutability_period_since_creation_in_days = immutability_period_since_creation_in_days - self.state = None - self.allow_protected_append_writes = allow_protected_append_writes - - -class ImmutabilityPolicyProperties(msrest.serialization.Model): - """The properties of an ImmutabilityPolicy of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar etag: ImmutabilityPolicy Etag. - :vartype etag: str - :ivar update_history: The ImmutabilityPolicy update history of the blob container. - :vartype update_history: list[~azure.mgmt.storage.v2021_01_01.models.UpdateHistoryProperty] - :param immutability_period_since_creation_in_days: The immutability period for the blobs in the - container since the policy creation, in days. - :type immutability_period_since_creation_in_days: int - :ivar state: The ImmutabilityPolicy state of a blob container, possible values include: Locked - and Unlocked. Possible values include: "Locked", "Unlocked". - :vartype state: str or ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyState - :param allow_protected_append_writes: This property can only be changed for unlocked time-based - retention policies. When enabled, new blocks can be written to an append blob while maintaining - immutability protection and compliance. Only new blocks can be added and any existing blocks - cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy - API. - :type allow_protected_append_writes: bool - """ - - _validation = { - 'etag': {'readonly': True}, - 'update_history': {'readonly': True}, - 'state': {'readonly': True}, - } - - _attribute_map = { - 'etag': {'key': 'etag', 'type': 'str'}, - 'update_history': {'key': 'updateHistory', 'type': '[UpdateHistoryProperty]'}, - 'immutability_period_since_creation_in_days': {'key': 'properties.immutabilityPeriodSinceCreationInDays', 'type': 'int'}, - 'state': {'key': 'properties.state', 'type': 'str'}, - 'allow_protected_append_writes': {'key': 'properties.allowProtectedAppendWrites', 'type': 'bool'}, - } - - def __init__( - self, - *, - immutability_period_since_creation_in_days: Optional[int] = None, - allow_protected_append_writes: Optional[bool] = None, - **kwargs - ): - super(ImmutabilityPolicyProperties, self).__init__(**kwargs) - self.etag = None - self.update_history = None - self.immutability_period_since_creation_in_days = immutability_period_since_creation_in_days - self.state = None - self.allow_protected_append_writes = allow_protected_append_writes - - -class IPRule(msrest.serialization.Model): - """IP rule with specific IP or IP range in CIDR format. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param ip_address_or_range: Required. Specifies the IP or IP range in CIDR format. Only IPV4 - address is allowed. - :type ip_address_or_range: str - :ivar action: The action of IP ACL rule. Default value: "Allow". - :vartype action: str - """ - - _validation = { - 'ip_address_or_range': {'required': True}, - 'action': {'constant': True}, - } - - _attribute_map = { - 'ip_address_or_range': {'key': 'value', 'type': 'str'}, - 'action': {'key': 'action', 'type': 'str'}, - } - - action = "Allow" - - def __init__( - self, - *, - ip_address_or_range: str, - **kwargs - ): - super(IPRule, self).__init__(**kwargs) - self.ip_address_or_range = ip_address_or_range - - -class KeyVaultProperties(msrest.serialization.Model): - """Properties of key vault. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param key_name: The name of KeyVault key. - :type key_name: str - :param key_version: The version of KeyVault key. - :type key_version: str - :param key_vault_uri: The Uri of KeyVault. - :type key_vault_uri: str - :ivar current_versioned_key_identifier: The object identifier of the current versioned Key - Vault Key in use. - :vartype current_versioned_key_identifier: str - :ivar last_key_rotation_timestamp: Timestamp of last rotation of the Key Vault Key. - :vartype last_key_rotation_timestamp: ~datetime.datetime - """ - - _validation = { - 'current_versioned_key_identifier': {'readonly': True}, - 'last_key_rotation_timestamp': {'readonly': True}, - } - - _attribute_map = { - 'key_name': {'key': 'keyname', 'type': 'str'}, - 'key_version': {'key': 'keyversion', 'type': 'str'}, - 'key_vault_uri': {'key': 'keyvaulturi', 'type': 'str'}, - 'current_versioned_key_identifier': {'key': 'currentVersionedKeyIdentifier', 'type': 'str'}, - 'last_key_rotation_timestamp': {'key': 'lastKeyRotationTimestamp', 'type': 'iso-8601'}, - } - - def __init__( - self, - *, - key_name: Optional[str] = None, - key_version: Optional[str] = None, - key_vault_uri: Optional[str] = None, - **kwargs - ): - super(KeyVaultProperties, self).__init__(**kwargs) - self.key_name = key_name - self.key_version = key_version - self.key_vault_uri = key_vault_uri - self.current_versioned_key_identifier = None - self.last_key_rotation_timestamp = None - - -class LastAccessTimeTrackingPolicy(msrest.serialization.Model): - """The blob service properties for Last access time based tracking policy. - - All required parameters must be populated in order to send to Azure. - - :param enable: Required. When set to true last access time based tracking is enabled. - :type enable: bool - :param name: Name of the policy. The valid value is AccessTimeTracking. This field is currently - read only. Possible values include: "AccessTimeTracking". - :type name: str or ~azure.mgmt.storage.v2021_01_01.models.Name - :param tracking_granularity_in_days: The field specifies blob object tracking granularity in - days, typically how often the blob object should be tracked.This field is currently read only - with value as 1. - :type tracking_granularity_in_days: int - :param blob_type: An array of predefined supported blob types. Only blockBlob is the supported - value. This field is currently read only. - :type blob_type: list[str] - """ - - _validation = { - 'enable': {'required': True}, - } - - _attribute_map = { - 'enable': {'key': 'enable', 'type': 'bool'}, - 'name': {'key': 'name', 'type': 'str'}, - 'tracking_granularity_in_days': {'key': 'trackingGranularityInDays', 'type': 'int'}, - 'blob_type': {'key': 'blobType', 'type': '[str]'}, - } - - def __init__( - self, - *, - enable: bool, - name: Optional[Union[str, "Name"]] = None, - tracking_granularity_in_days: Optional[int] = None, - blob_type: Optional[List[str]] = None, - **kwargs - ): - super(LastAccessTimeTrackingPolicy, self).__init__(**kwargs) - self.enable = enable - self.name = name - self.tracking_granularity_in_days = tracking_granularity_in_days - self.blob_type = blob_type - - -class LeaseContainerRequest(msrest.serialization.Model): - """Lease Container request schema. - - All required parameters must be populated in order to send to Azure. - - :param action: Required. Specifies the lease action. Can be one of the available actions. - Possible values include: "Acquire", "Renew", "Change", "Release", "Break". - :type action: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerRequestAction - :param lease_id: Identifies the lease. Can be specified in any valid GUID string format. - :type lease_id: str - :param break_period: Optional. For a break action, proposed duration the lease should continue - before it is broken, in seconds, between 0 and 60. - :type break_period: int - :param lease_duration: Required for acquire. Specifies the duration of the lease, in seconds, - or negative one (-1) for a lease that never expires. - :type lease_duration: int - :param proposed_lease_id: Optional for acquire, required for change. Proposed lease ID, in a - GUID string format. - :type proposed_lease_id: str - """ - - _validation = { - 'action': {'required': True}, - } - - _attribute_map = { - 'action': {'key': 'action', 'type': 'str'}, - 'lease_id': {'key': 'leaseId', 'type': 'str'}, - 'break_period': {'key': 'breakPeriod', 'type': 'int'}, - 'lease_duration': {'key': 'leaseDuration', 'type': 'int'}, - 'proposed_lease_id': {'key': 'proposedLeaseId', 'type': 'str'}, - } - - def __init__( - self, - *, - action: Union[str, "LeaseContainerRequestAction"], - lease_id: Optional[str] = None, - break_period: Optional[int] = None, - lease_duration: Optional[int] = None, - proposed_lease_id: Optional[str] = None, - **kwargs - ): - super(LeaseContainerRequest, self).__init__(**kwargs) - self.action = action - self.lease_id = lease_id - self.break_period = break_period - self.lease_duration = lease_duration - self.proposed_lease_id = proposed_lease_id - - -class LeaseContainerResponse(msrest.serialization.Model): - """Lease Container response schema. - - :param lease_id: Returned unique lease ID that must be included with any request to delete the - container, or to renew, change, or release the lease. - :type lease_id: str - :param lease_time_seconds: Approximate time remaining in the lease period, in seconds. - :type lease_time_seconds: str - """ - - _attribute_map = { - 'lease_id': {'key': 'leaseId', 'type': 'str'}, - 'lease_time_seconds': {'key': 'leaseTimeSeconds', 'type': 'str'}, - } - - def __init__( - self, - *, - lease_id: Optional[str] = None, - lease_time_seconds: Optional[str] = None, - **kwargs - ): - super(LeaseContainerResponse, self).__init__(**kwargs) - self.lease_id = lease_id - self.lease_time_seconds = lease_time_seconds - - -class LegalHold(msrest.serialization.Model): - """The LegalHold property of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at - least one existing tag. The hasLegalHold public property is set to false by SRP if all existing - legal hold tags are cleared out. There can be a maximum of 1000 blob containers with - hasLegalHold=true for a given account. - :vartype has_legal_hold: bool - :param tags: Required. A set of tags. Each tag should be 3 to 23 alphanumeric characters and is - normalized to lower case at SRP. - :type tags: list[str] - """ - - _validation = { - 'has_legal_hold': {'readonly': True}, - 'tags': {'required': True}, - } - - _attribute_map = { - 'has_legal_hold': {'key': 'hasLegalHold', 'type': 'bool'}, - 'tags': {'key': 'tags', 'type': '[str]'}, - } - - def __init__( - self, - *, - tags: List[str], - **kwargs - ): - super(LegalHold, self).__init__(**kwargs) - self.has_legal_hold = None - self.tags = tags - - -class LegalHoldProperties(msrest.serialization.Model): - """The LegalHold property of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at - least one existing tag. The hasLegalHold public property is set to false by SRP if all existing - legal hold tags are cleared out. There can be a maximum of 1000 blob containers with - hasLegalHold=true for a given account. - :vartype has_legal_hold: bool - :param tags: A set of tags. The list of LegalHold tags of a blob container. - :type tags: list[~azure.mgmt.storage.v2021_01_01.models.TagProperty] - """ - - _validation = { - 'has_legal_hold': {'readonly': True}, - } - - _attribute_map = { - 'has_legal_hold': {'key': 'hasLegalHold', 'type': 'bool'}, - 'tags': {'key': 'tags', 'type': '[TagProperty]'}, - } - - def __init__( - self, - *, - tags: Optional[List["TagProperty"]] = None, - **kwargs - ): - super(LegalHoldProperties, self).__init__(**kwargs) - self.has_legal_hold = None - self.tags = tags - - -class ListAccountSasResponse(msrest.serialization.Model): - """The List SAS credentials operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar account_sas_token: List SAS credentials of storage account. - :vartype account_sas_token: str - """ - - _validation = { - 'account_sas_token': {'readonly': True}, - } - - _attribute_map = { - 'account_sas_token': {'key': 'accountSasToken', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListAccountSasResponse, self).__init__(**kwargs) - self.account_sas_token = None - - -class ListBlobInventoryPolicy(msrest.serialization.Model): - """List of blob inventory policies returned. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of blob inventory policies. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicy] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[BlobInventoryPolicy]'}, - } - - def __init__( - self, - **kwargs - ): - super(ListBlobInventoryPolicy, self).__init__(**kwargs) - self.value = None - - -class ListContainerItem(AzureEntityResource): - """The blob container properties be listed out. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar etag: Resource Etag. - :vartype etag: str - :ivar version: The version of the deleted blob container. - :vartype version: str - :ivar deleted: Indicates whether the blob container was deleted. - :vartype deleted: bool - :ivar deleted_time: Blob container deletion time. - :vartype deleted_time: ~datetime.datetime - :ivar remaining_retention_days: Remaining retention days for soft deleted blob container. - :vartype remaining_retention_days: int - :param default_encryption_scope: Default the container to use specified encryption scope for - all writes. - :type default_encryption_scope: str - :param deny_encryption_scope_override: Block override of encryption scope from the container - default. - :type deny_encryption_scope_override: bool - :param public_access: Specifies whether data in the container may be accessed publicly and the - level of access. Possible values include: "Container", "Blob", "None". - :type public_access: str or ~azure.mgmt.storage.v2021_01_01.models.PublicAccess - :ivar last_modified_time: Returns the date and time the container was last modified. - :vartype last_modified_time: ~datetime.datetime - :ivar lease_status: The lease status of the container. Possible values include: "Locked", - "Unlocked". - :vartype lease_status: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseStatus - :ivar lease_state: Lease state of the container. Possible values include: "Available", - "Leased", "Expired", "Breaking", "Broken". - :vartype lease_state: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseState - :ivar lease_duration: Specifies whether the lease on a container is of infinite or fixed - duration, only when the container is leased. Possible values include: "Infinite", "Fixed". - :vartype lease_duration: str or ~azure.mgmt.storage.v2021_01_01.models.LeaseDuration - :param metadata: A name-value pair to associate with the container as metadata. - :type metadata: dict[str, str] - :ivar immutability_policy: The ImmutabilityPolicy property of the container. - :vartype immutability_policy: - ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyProperties - :ivar legal_hold: The LegalHold property of the container. - :vartype legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHoldProperties - :ivar has_legal_hold: The hasLegalHold public property is set to true by SRP if there are at - least one existing tag. The hasLegalHold public property is set to false by SRP if all existing - legal hold tags are cleared out. There can be a maximum of 1000 blob containers with - hasLegalHold=true for a given account. - :vartype has_legal_hold: bool - :ivar has_immutability_policy: The hasImmutabilityPolicy public property is set to true by SRP - if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public - property is set to false by SRP if ImmutabilityPolicy has not been created for this container. - :vartype has_immutability_policy: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'etag': {'readonly': True}, - 'version': {'readonly': True}, - 'deleted': {'readonly': True}, - 'deleted_time': {'readonly': True}, - 'remaining_retention_days': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - 'lease_status': {'readonly': True}, - 'lease_state': {'readonly': True}, - 'lease_duration': {'readonly': True}, - 'immutability_policy': {'readonly': True}, - 'legal_hold': {'readonly': True}, - 'has_legal_hold': {'readonly': True}, - 'has_immutability_policy': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - 'version': {'key': 'properties.version', 'type': 'str'}, - 'deleted': {'key': 'properties.deleted', 'type': 'bool'}, - 'deleted_time': {'key': 'properties.deletedTime', 'type': 'iso-8601'}, - 'remaining_retention_days': {'key': 'properties.remainingRetentionDays', 'type': 'int'}, - 'default_encryption_scope': {'key': 'properties.defaultEncryptionScope', 'type': 'str'}, - 'deny_encryption_scope_override': {'key': 'properties.denyEncryptionScopeOverride', 'type': 'bool'}, - 'public_access': {'key': 'properties.publicAccess', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'lease_status': {'key': 'properties.leaseStatus', 'type': 'str'}, - 'lease_state': {'key': 'properties.leaseState', 'type': 'str'}, - 'lease_duration': {'key': 'properties.leaseDuration', 'type': 'str'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'immutability_policy': {'key': 'properties.immutabilityPolicy', 'type': 'ImmutabilityPolicyProperties'}, - 'legal_hold': {'key': 'properties.legalHold', 'type': 'LegalHoldProperties'}, - 'has_legal_hold': {'key': 'properties.hasLegalHold', 'type': 'bool'}, - 'has_immutability_policy': {'key': 'properties.hasImmutabilityPolicy', 'type': 'bool'}, - } - - def __init__( - self, - *, - default_encryption_scope: Optional[str] = None, - deny_encryption_scope_override: Optional[bool] = None, - public_access: Optional[Union[str, "PublicAccess"]] = None, - metadata: Optional[Dict[str, str]] = None, - **kwargs - ): - super(ListContainerItem, self).__init__(**kwargs) - self.version = None - self.deleted = None - self.deleted_time = None - self.remaining_retention_days = None - self.default_encryption_scope = default_encryption_scope - self.deny_encryption_scope_override = deny_encryption_scope_override - self.public_access = public_access - self.last_modified_time = None - self.lease_status = None - self.lease_state = None - self.lease_duration = None - self.metadata = metadata - self.immutability_policy = None - self.legal_hold = None - self.has_legal_hold = None - self.has_immutability_policy = None - - -class ListContainerItems(msrest.serialization.Model): - """Response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of blobs containers returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.ListContainerItem] - :ivar next_link: Request URL that can be used to query next page of containers. Returned when - total number of requested containers exceed maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ListContainerItem]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListContainerItems, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class ListQueue(Resource): - """ListQueue. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param metadata: A name-value pair that represents queue metadata. - :type metadata: dict[str, str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - } - - def __init__( - self, - *, - metadata: Optional[Dict[str, str]] = None, - **kwargs - ): - super(ListQueue, self).__init__(**kwargs) - self.metadata = metadata - - -class ListQueueResource(msrest.serialization.Model): - """Response schema. Contains list of queues returned. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of queues returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.ListQueue] - :ivar next_link: Request URL that can be used to list next page of queues. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ListQueue]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListQueueResource, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class ListQueueServices(msrest.serialization.Model): - """ListQueueServices. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of queue services returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.QueueServiceProperties] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[QueueServiceProperties]'}, - } - - def __init__( - self, - **kwargs - ): - super(ListQueueServices, self).__init__(**kwargs) - self.value = None - - -class ListServiceSasResponse(msrest.serialization.Model): - """The List service SAS credentials operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar service_sas_token: List service SAS credentials of specific resource. - :vartype service_sas_token: str - """ - - _validation = { - 'service_sas_token': {'readonly': True}, - } - - _attribute_map = { - 'service_sas_token': {'key': 'serviceSasToken', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListServiceSasResponse, self).__init__(**kwargs) - self.service_sas_token = None - - -class ListTableResource(msrest.serialization.Model): - """Response schema. Contains list of tables returned. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of tables returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.Table] - :ivar next_link: Request URL that can be used to query next page of tables. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Table]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ListTableResource, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class ListTableServices(msrest.serialization.Model): - """ListTableServices. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of table services returned. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.TableServiceProperties] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[TableServiceProperties]'}, - } - - def __init__( - self, - **kwargs - ): - super(ListTableServices, self).__init__(**kwargs) - self.value = None - - -class ManagementPolicy(Resource): - """The Get Storage Account ManagementPolicies operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar last_modified_time: Returns the date and time the ManagementPolicies was last modified. - :vartype last_modified_time: ~datetime.datetime - :param policy: The Storage Account ManagementPolicy, in JSON format. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - :type policy: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicySchema - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'last_modified_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, - 'policy': {'key': 'properties.policy', 'type': 'ManagementPolicySchema'}, - } - - def __init__( - self, - *, - policy: Optional["ManagementPolicySchema"] = None, - **kwargs - ): - super(ManagementPolicy, self).__init__(**kwargs) - self.last_modified_time = None - self.policy = policy - - -class ManagementPolicyAction(msrest.serialization.Model): - """Actions are applied to the filtered blobs when the execution condition is met. - - :param base_blob: The management policy action for base blob. - :type base_blob: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyBaseBlob - :param snapshot: The management policy action for snapshot. - :type snapshot: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicySnapShot - :param version: The management policy action for version. - :type version: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyVersion - """ - - _attribute_map = { - 'base_blob': {'key': 'baseBlob', 'type': 'ManagementPolicyBaseBlob'}, - 'snapshot': {'key': 'snapshot', 'type': 'ManagementPolicySnapShot'}, - 'version': {'key': 'version', 'type': 'ManagementPolicyVersion'}, - } - - def __init__( - self, - *, - base_blob: Optional["ManagementPolicyBaseBlob"] = None, - snapshot: Optional["ManagementPolicySnapShot"] = None, - version: Optional["ManagementPolicyVersion"] = None, - **kwargs - ): - super(ManagementPolicyAction, self).__init__(**kwargs) - self.base_blob = base_blob - self.snapshot = snapshot - self.version = version - - -class ManagementPolicyBaseBlob(msrest.serialization.Model): - """Management policy action for base blob. - - :param tier_to_cool: The function to tier blobs to cool storage. Support blobs currently at Hot - tier. - :type tier_to_cool: ~azure.mgmt.storage.v2021_01_01.models.DateAfterModification - :param tier_to_archive: The function to tier blobs to archive storage. Support blobs currently - at Hot or Cool tier. - :type tier_to_archive: ~azure.mgmt.storage.v2021_01_01.models.DateAfterModification - :param delete: The function to delete the blob. - :type delete: ~azure.mgmt.storage.v2021_01_01.models.DateAfterModification - :param enable_auto_tier_to_hot_from_cool: This property enables auto tiering of a blob from - cool to hot on a blob access. This property requires - tierToCool.daysAfterLastAccessTimeGreaterThan. - :type enable_auto_tier_to_hot_from_cool: bool - """ - - _attribute_map = { - 'tier_to_cool': {'key': 'tierToCool', 'type': 'DateAfterModification'}, - 'tier_to_archive': {'key': 'tierToArchive', 'type': 'DateAfterModification'}, - 'delete': {'key': 'delete', 'type': 'DateAfterModification'}, - 'enable_auto_tier_to_hot_from_cool': {'key': 'enableAutoTierToHotFromCool', 'type': 'bool'}, - } - - def __init__( - self, - *, - tier_to_cool: Optional["DateAfterModification"] = None, - tier_to_archive: Optional["DateAfterModification"] = None, - delete: Optional["DateAfterModification"] = None, - enable_auto_tier_to_hot_from_cool: Optional[bool] = None, - **kwargs - ): - super(ManagementPolicyBaseBlob, self).__init__(**kwargs) - self.tier_to_cool = tier_to_cool - self.tier_to_archive = tier_to_archive - self.delete = delete - self.enable_auto_tier_to_hot_from_cool = enable_auto_tier_to_hot_from_cool - - -class ManagementPolicyDefinition(msrest.serialization.Model): - """An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set. - - All required parameters must be populated in order to send to Azure. - - :param actions: Required. An object that defines the action set. - :type actions: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyAction - :param filters: An object that defines the filter set. - :type filters: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyFilter - """ - - _validation = { - 'actions': {'required': True}, - } - - _attribute_map = { - 'actions': {'key': 'actions', 'type': 'ManagementPolicyAction'}, - 'filters': {'key': 'filters', 'type': 'ManagementPolicyFilter'}, - } - - def __init__( - self, - *, - actions: "ManagementPolicyAction", - filters: Optional["ManagementPolicyFilter"] = None, - **kwargs - ): - super(ManagementPolicyDefinition, self).__init__(**kwargs) - self.actions = actions - self.filters = filters - - -class ManagementPolicyFilter(msrest.serialization.Model): - """Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. - - All required parameters must be populated in order to send to Azure. - - :param prefix_match: An array of strings for prefixes to be match. - :type prefix_match: list[str] - :param blob_types: Required. An array of predefined enum values. Currently blockBlob supports - all tiering and delete actions. Only delete actions are supported for appendBlob. - :type blob_types: list[str] - :param blob_index_match: An array of blob index tag based filters, there can be at most 10 tag - filters. - :type blob_index_match: list[~azure.mgmt.storage.v2021_01_01.models.TagFilter] - """ - - _validation = { - 'blob_types': {'required': True}, - } - - _attribute_map = { - 'prefix_match': {'key': 'prefixMatch', 'type': '[str]'}, - 'blob_types': {'key': 'blobTypes', 'type': '[str]'}, - 'blob_index_match': {'key': 'blobIndexMatch', 'type': '[TagFilter]'}, - } - - def __init__( - self, - *, - blob_types: List[str], - prefix_match: Optional[List[str]] = None, - blob_index_match: Optional[List["TagFilter"]] = None, - **kwargs - ): - super(ManagementPolicyFilter, self).__init__(**kwargs) - self.prefix_match = prefix_match - self.blob_types = blob_types - self.blob_index_match = blob_index_match - - -class ManagementPolicyRule(msrest.serialization.Model): - """An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Rule is enabled if set to true. - :type enabled: bool - :param name: Required. A rule name can contain any combination of alpha numeric characters. - Rule name is case-sensitive. It must be unique within a policy. - :type name: str - :param type: Required. The valid value is Lifecycle. Possible values include: "Lifecycle". - :type type: str or ~azure.mgmt.storage.v2021_01_01.models.RuleType - :param definition: Required. An object that defines the Lifecycle rule. - :type definition: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyDefinition - """ - - _validation = { - 'name': {'required': True}, - 'type': {'required': True}, - 'definition': {'required': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'definition': {'key': 'definition', 'type': 'ManagementPolicyDefinition'}, - } - - def __init__( - self, - *, - name: str, - type: Union[str, "RuleType"], - definition: "ManagementPolicyDefinition", - enabled: Optional[bool] = None, - **kwargs - ): - super(ManagementPolicyRule, self).__init__(**kwargs) - self.enabled = enabled - self.name = name - self.type = type - self.definition = definition - - -class ManagementPolicySchema(msrest.serialization.Model): - """The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - - All required parameters must be populated in order to send to Azure. - - :param rules: Required. The Storage Account ManagementPolicies Rules. See more details in: - https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - :type rules: list[~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyRule] - """ - - _validation = { - 'rules': {'required': True}, - } - - _attribute_map = { - 'rules': {'key': 'rules', 'type': '[ManagementPolicyRule]'}, - } - - def __init__( - self, - *, - rules: List["ManagementPolicyRule"], - **kwargs - ): - super(ManagementPolicySchema, self).__init__(**kwargs) - self.rules = rules - - -class ManagementPolicySnapShot(msrest.serialization.Model): - """Management policy action for snapshot. - - :param tier_to_cool: The function to tier blob snapshot to cool storage. Support blob snapshot - currently at Hot tier. - :type tier_to_cool: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - :param tier_to_archive: The function to tier blob snapshot to archive storage. Support blob - snapshot currently at Hot or Cool tier. - :type tier_to_archive: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - :param delete: The function to delete the blob snapshot. - :type delete: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - """ - - _attribute_map = { - 'tier_to_cool': {'key': 'tierToCool', 'type': 'DateAfterCreation'}, - 'tier_to_archive': {'key': 'tierToArchive', 'type': 'DateAfterCreation'}, - 'delete': {'key': 'delete', 'type': 'DateAfterCreation'}, - } - - def __init__( - self, - *, - tier_to_cool: Optional["DateAfterCreation"] = None, - tier_to_archive: Optional["DateAfterCreation"] = None, - delete: Optional["DateAfterCreation"] = None, - **kwargs - ): - super(ManagementPolicySnapShot, self).__init__(**kwargs) - self.tier_to_cool = tier_to_cool - self.tier_to_archive = tier_to_archive - self.delete = delete - - -class ManagementPolicyVersion(msrest.serialization.Model): - """Management policy action for blob version. - - :param tier_to_cool: The function to tier blob version to cool storage. Support blob version - currently at Hot tier. - :type tier_to_cool: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - :param tier_to_archive: The function to tier blob version to archive storage. Support blob - version currently at Hot or Cool tier. - :type tier_to_archive: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - :param delete: The function to delete the blob version. - :type delete: ~azure.mgmt.storage.v2021_01_01.models.DateAfterCreation - """ - - _attribute_map = { - 'tier_to_cool': {'key': 'tierToCool', 'type': 'DateAfterCreation'}, - 'tier_to_archive': {'key': 'tierToArchive', 'type': 'DateAfterCreation'}, - 'delete': {'key': 'delete', 'type': 'DateAfterCreation'}, - } - - def __init__( - self, - *, - tier_to_cool: Optional["DateAfterCreation"] = None, - tier_to_archive: Optional["DateAfterCreation"] = None, - delete: Optional["DateAfterCreation"] = None, - **kwargs - ): - super(ManagementPolicyVersion, self).__init__(**kwargs) - self.tier_to_cool = tier_to_cool - self.tier_to_archive = tier_to_archive - self.delete = delete - - -class MetricSpecification(msrest.serialization.Model): - """Metric specification of operation. - - :param name: Name of metric specification. - :type name: str - :param display_name: Display name of metric specification. - :type display_name: str - :param display_description: Display description of metric specification. - :type display_description: str - :param unit: Unit could be Bytes or Count. - :type unit: str - :param dimensions: Dimensions of blobs, including blob type and access tier. - :type dimensions: list[~azure.mgmt.storage.v2021_01_01.models.Dimension] - :param aggregation_type: Aggregation type could be Average. - :type aggregation_type: str - :param fill_gap_with_zero: The property to decide fill gap with zero or not. - :type fill_gap_with_zero: bool - :param category: The category this metric specification belong to, could be Capacity. - :type category: str - :param resource_id_dimension_name_override: Account Resource Id. - :type resource_id_dimension_name_override: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - 'display_description': {'key': 'displayDescription', 'type': 'str'}, - 'unit': {'key': 'unit', 'type': 'str'}, - 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, - 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, - 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, - 'category': {'key': 'category', 'type': 'str'}, - 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - display_name: Optional[str] = None, - display_description: Optional[str] = None, - unit: Optional[str] = None, - dimensions: Optional[List["Dimension"]] = None, - aggregation_type: Optional[str] = None, - fill_gap_with_zero: Optional[bool] = None, - category: Optional[str] = None, - resource_id_dimension_name_override: Optional[str] = None, - **kwargs - ): - super(MetricSpecification, self).__init__(**kwargs) - self.name = name - self.display_name = display_name - self.display_description = display_description - self.unit = unit - self.dimensions = dimensions - self.aggregation_type = aggregation_type - self.fill_gap_with_zero = fill_gap_with_zero - self.category = category - self.resource_id_dimension_name_override = resource_id_dimension_name_override - - -class Multichannel(msrest.serialization.Model): - """Multichannel setting. Applies to Premium FileStorage only. - - :param enabled: Indicates whether multichannel is enabled. - :type enabled: bool - """ - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - } - - def __init__( - self, - *, - enabled: Optional[bool] = None, - **kwargs - ): - super(Multichannel, self).__init__(**kwargs) - self.enabled = enabled - - -class NetworkRuleSet(msrest.serialization.Model): - """Network rule set. - - All required parameters must be populated in order to send to Azure. - - :param bypass: Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. - Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, - Metrics"), or None to bypass none of those traffics. Possible values include: "None", - "Logging", "Metrics", "AzureServices". Default value: "AzureServices". - :type bypass: str or ~azure.mgmt.storage.v2021_01_01.models.Bypass - :param resource_access_rules: Sets the resource access rules. - :type resource_access_rules: list[~azure.mgmt.storage.v2021_01_01.models.ResourceAccessRule] - :param virtual_network_rules: Sets the virtual network rules. - :type virtual_network_rules: list[~azure.mgmt.storage.v2021_01_01.models.VirtualNetworkRule] - :param ip_rules: Sets the IP ACL rules. - :type ip_rules: list[~azure.mgmt.storage.v2021_01_01.models.IPRule] - :param default_action: Required. Specifies the default action of allow or deny when no other - rules match. Possible values include: "Allow", "Deny". Default value: "Allow". - :type default_action: str or ~azure.mgmt.storage.v2021_01_01.models.DefaultAction - """ - - _validation = { - 'default_action': {'required': True}, - } - - _attribute_map = { - 'bypass': {'key': 'bypass', 'type': 'str'}, - 'resource_access_rules': {'key': 'resourceAccessRules', 'type': '[ResourceAccessRule]'}, - 'virtual_network_rules': {'key': 'virtualNetworkRules', 'type': '[VirtualNetworkRule]'}, - 'ip_rules': {'key': 'ipRules', 'type': '[IPRule]'}, - 'default_action': {'key': 'defaultAction', 'type': 'str'}, - } - - def __init__( - self, - *, - default_action: Union[str, "DefaultAction"] = "Allow", - bypass: Optional[Union[str, "Bypass"]] = "AzureServices", - resource_access_rules: Optional[List["ResourceAccessRule"]] = None, - virtual_network_rules: Optional[List["VirtualNetworkRule"]] = None, - ip_rules: Optional[List["IPRule"]] = None, - **kwargs - ): - super(NetworkRuleSet, self).__init__(**kwargs) - self.bypass = bypass - self.resource_access_rules = resource_access_rules - self.virtual_network_rules = virtual_network_rules - self.ip_rules = ip_rules - self.default_action = default_action - - -class ObjectReplicationPolicies(msrest.serialization.Model): - """List storage account object replication policies. - - :param value: The replication policy between two storage accounts. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicy] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ObjectReplicationPolicy]'}, - } - - def __init__( - self, - *, - value: Optional[List["ObjectReplicationPolicy"]] = None, - **kwargs - ): - super(ObjectReplicationPolicies, self).__init__(**kwargs) - self.value = value - - -class ObjectReplicationPolicy(Resource): - """The replication policy between two storage accounts. Multiple rules can be defined in one policy. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar policy_id: A unique id for object replication policy. - :vartype policy_id: str - :ivar enabled_time: Indicates when the policy is enabled on the source account. - :vartype enabled_time: ~datetime.datetime - :param source_account: Required. Source account name. - :type source_account: str - :param destination_account: Required. Destination account name. - :type destination_account: str - :param rules: The storage account object replication rules. - :type rules: list[~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicyRule] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'policy_id': {'readonly': True}, - 'enabled_time': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'policy_id': {'key': 'properties.policyId', 'type': 'str'}, - 'enabled_time': {'key': 'properties.enabledTime', 'type': 'iso-8601'}, - 'source_account': {'key': 'properties.sourceAccount', 'type': 'str'}, - 'destination_account': {'key': 'properties.destinationAccount', 'type': 'str'}, - 'rules': {'key': 'properties.rules', 'type': '[ObjectReplicationPolicyRule]'}, - } - - def __init__( - self, - *, - source_account: Optional[str] = None, - destination_account: Optional[str] = None, - rules: Optional[List["ObjectReplicationPolicyRule"]] = None, - **kwargs - ): - super(ObjectReplicationPolicy, self).__init__(**kwargs) - self.policy_id = None - self.enabled_time = None - self.source_account = source_account - self.destination_account = destination_account - self.rules = rules - - -class ObjectReplicationPolicyFilter(msrest.serialization.Model): - """Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters. - - :param prefix_match: Optional. Filters the results to replicate only blobs whose names begin - with the specified prefix. - :type prefix_match: list[str] - :param min_creation_time: Blobs created after the time will be replicated to the destination. - It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z. - :type min_creation_time: str - """ - - _attribute_map = { - 'prefix_match': {'key': 'prefixMatch', 'type': '[str]'}, - 'min_creation_time': {'key': 'minCreationTime', 'type': 'str'}, - } - - def __init__( - self, - *, - prefix_match: Optional[List[str]] = None, - min_creation_time: Optional[str] = None, - **kwargs - ): - super(ObjectReplicationPolicyFilter, self).__init__(**kwargs) - self.prefix_match = prefix_match - self.min_creation_time = min_creation_time - - -class ObjectReplicationPolicyRule(msrest.serialization.Model): - """The replication policy rule between two containers. - - All required parameters must be populated in order to send to Azure. - - :param rule_id: Rule Id is auto-generated for each new rule on destination account. It is - required for put policy on source account. - :type rule_id: str - :param source_container: Required. Required. Source container name. - :type source_container: str - :param destination_container: Required. Required. Destination container name. - :type destination_container: str - :param filters: Optional. An object that defines the filter set. - :type filters: ~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicyFilter - """ - - _validation = { - 'source_container': {'required': True}, - 'destination_container': {'required': True}, - } - - _attribute_map = { - 'rule_id': {'key': 'ruleId', 'type': 'str'}, - 'source_container': {'key': 'sourceContainer', 'type': 'str'}, - 'destination_container': {'key': 'destinationContainer', 'type': 'str'}, - 'filters': {'key': 'filters', 'type': 'ObjectReplicationPolicyFilter'}, - } - - def __init__( - self, - *, - source_container: str, - destination_container: str, - rule_id: Optional[str] = None, - filters: Optional["ObjectReplicationPolicyFilter"] = None, - **kwargs - ): - super(ObjectReplicationPolicyRule, self).__init__(**kwargs) - self.rule_id = rule_id - self.source_container = source_container - self.destination_container = destination_container - self.filters = filters - - -class Operation(msrest.serialization.Model): - """Storage REST API operation definition. - - :param name: Operation name: {provider}/{resource}/{operation}. - :type name: str - :param display: Display metadata associated with the operation. - :type display: ~azure.mgmt.storage.v2021_01_01.models.OperationDisplay - :param origin: The origin of operations. - :type origin: str - :param service_specification: One property of operation, include metric specifications. - :type service_specification: ~azure.mgmt.storage.v2021_01_01.models.ServiceSpecification - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, - } - - def __init__( - self, - *, - name: Optional[str] = None, - display: Optional["OperationDisplay"] = None, - origin: Optional[str] = None, - service_specification: Optional["ServiceSpecification"] = None, - **kwargs - ): - super(Operation, self).__init__(**kwargs) - self.name = name - self.display = display - self.origin = origin - self.service_specification = service_specification - - -class OperationDisplay(msrest.serialization.Model): - """Display metadata associated with the operation. - - :param provider: Service provider: Microsoft Storage. - :type provider: str - :param resource: Resource on which the operation is performed etc. - :type resource: str - :param operation: Type of operation: get, read, delete, etc. - :type operation: str - :param description: Description of the operation. - :type description: str - """ - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - *, - provider: Optional[str] = None, - resource: Optional[str] = None, - operation: Optional[str] = None, - description: Optional[str] = None, - **kwargs - ): - super(OperationDisplay, self).__init__(**kwargs) - self.provider = provider - self.resource = resource - self.operation = operation - self.description = description - - -class OperationListResult(msrest.serialization.Model): - """Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. - - :param value: List of Storage operations supported by the Storage resource provider. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.Operation] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Operation]'}, - } - - def __init__( - self, - *, - value: Optional[List["Operation"]] = None, - **kwargs - ): - super(OperationListResult, self).__init__(**kwargs) - self.value = value - - -class PrivateEndpoint(msrest.serialization.Model): - """The Private Endpoint resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The ARM identifier for Private Endpoint. - :vartype id: str - """ - - _validation = { - 'id': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(PrivateEndpoint, self).__init__(**kwargs) - self.id = None - - -class PrivateEndpointConnection(Resource): - """The Private Endpoint Connection resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param private_endpoint: The resource of private end point. - :type private_endpoint: ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpoint - :param private_link_service_connection_state: A collection of information about the state of - the connection between service consumer and provider. - :type private_link_service_connection_state: - ~azure.mgmt.storage.v2021_01_01.models.PrivateLinkServiceConnectionState - :ivar provisioning_state: The provisioning state of the private endpoint connection resource. - Possible values include: "Succeeded", "Creating", "Deleting", "Failed". - :vartype provisioning_state: str or - ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnectionProvisioningState - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, - 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__( - self, - *, - private_endpoint: Optional["PrivateEndpoint"] = None, - private_link_service_connection_state: Optional["PrivateLinkServiceConnectionState"] = None, - **kwargs - ): - super(PrivateEndpointConnection, self).__init__(**kwargs) - self.private_endpoint = private_endpoint - self.private_link_service_connection_state = private_link_service_connection_state - self.provisioning_state = None - - -class PrivateEndpointConnectionListResult(msrest.serialization.Model): - """List of private endpoint connection associated with the specified storage account. - - :param value: Array of private endpoint connections. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[PrivateEndpointConnection]'}, - } - - def __init__( - self, - *, - value: Optional[List["PrivateEndpointConnection"]] = None, - **kwargs - ): - super(PrivateEndpointConnectionListResult, self).__init__(**kwargs) - self.value = value - - -class PrivateLinkResource(Resource): - """A private link resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar group_id: The private link resource group id. - :vartype group_id: str - :ivar required_members: The private link resource required member names. - :vartype required_members: list[str] - :param required_zone_names: The private link resource Private link DNS zone name. - :type required_zone_names: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'group_id': {'readonly': True}, - 'required_members': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'group_id': {'key': 'properties.groupId', 'type': 'str'}, - 'required_members': {'key': 'properties.requiredMembers', 'type': '[str]'}, - 'required_zone_names': {'key': 'properties.requiredZoneNames', 'type': '[str]'}, - } - - def __init__( - self, - *, - required_zone_names: Optional[List[str]] = None, - **kwargs - ): - super(PrivateLinkResource, self).__init__(**kwargs) - self.group_id = None - self.required_members = None - self.required_zone_names = required_zone_names - - -class PrivateLinkResourceListResult(msrest.serialization.Model): - """A list of private link resources. - - :param value: Array of private link resources. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.PrivateLinkResource] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[PrivateLinkResource]'}, - } - - def __init__( - self, - *, - value: Optional[List["PrivateLinkResource"]] = None, - **kwargs - ): - super(PrivateLinkResourceListResult, self).__init__(**kwargs) - self.value = value - - -class PrivateLinkServiceConnectionState(msrest.serialization.Model): - """A collection of information about the state of the connection between service consumer and provider. - - :param status: Indicates whether the connection has been Approved/Rejected/Removed by the owner - of the service. Possible values include: "Pending", "Approved", "Rejected". - :type status: str or - ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointServiceConnectionStatus - :param description: The reason for approval/rejection of the connection. - :type description: str - :param action_required: A message indicating if changes on the service provider require any - updates on the consumer. - :type action_required: str - """ - - _attribute_map = { - 'status': {'key': 'status', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - 'action_required': {'key': 'actionRequired', 'type': 'str'}, - } - - def __init__( - self, - *, - status: Optional[Union[str, "PrivateEndpointServiceConnectionStatus"]] = None, - description: Optional[str] = None, - action_required: Optional[str] = None, - **kwargs - ): - super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) - self.status = status - self.description = description - self.action_required = action_required - - -class ProtocolSettings(msrest.serialization.Model): - """Protocol settings for file service. - - :param smb: Setting for SMB protocol. - :type smb: ~azure.mgmt.storage.v2021_01_01.models.SmbSetting - """ - - _attribute_map = { - 'smb': {'key': 'smb', 'type': 'SmbSetting'}, - } - - def __init__( - self, - *, - smb: Optional["SmbSetting"] = None, - **kwargs - ): - super(ProtocolSettings, self).__init__(**kwargs) - self.smb = smb - - -class ProxyResource(Resource): - """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class QueueServiceProperties(Resource): - """The properties of a storage account’s Queue service. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param cors: Specifies CORS rules for the Queue service. You can include up to five CorsRule - elements in the request. If no CorsRule elements are included in the request body, all CORS - rules will be deleted, and CORS will be disabled for the Queue service. - :type cors: ~azure.mgmt.storage.v2021_01_01.models.CorsRules - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'cors': {'key': 'properties.cors', 'type': 'CorsRules'}, - } - - def __init__( - self, - *, - cors: Optional["CorsRules"] = None, - **kwargs - ): - super(QueueServiceProperties, self).__init__(**kwargs) - self.cors = cors - - -class ResourceAccessRule(msrest.serialization.Model): - """Resource Access Rule. - - :param tenant_id: Tenant Id. - :type tenant_id: str - :param resource_id: Resource Id. - :type resource_id: str - """ - - _attribute_map = { - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'resource_id': {'key': 'resourceId', 'type': 'str'}, - } - - def __init__( - self, - *, - tenant_id: Optional[str] = None, - resource_id: Optional[str] = None, - **kwargs - ): - super(ResourceAccessRule, self).__init__(**kwargs) - self.tenant_id = tenant_id - self.resource_id = resource_id - - -class RestorePolicyProperties(msrest.serialization.Model): - """The blob service properties for blob restore policy. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Blob restore is enabled if set to true. - :type enabled: bool - :param days: how long this blob can be restored. It should be great than zero and less than - DeleteRetentionPolicy.days. - :type days: int - :ivar last_enabled_time: Deprecated in favor of minRestoreTime property. - :vartype last_enabled_time: ~datetime.datetime - :ivar min_restore_time: Returns the minimum date and time that the restore can be started. - :vartype min_restore_time: ~datetime.datetime - """ - - _validation = { - 'enabled': {'required': True}, - 'days': {'maximum': 365, 'minimum': 1}, - 'last_enabled_time': {'readonly': True}, - 'min_restore_time': {'readonly': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'days': {'key': 'days', 'type': 'int'}, - 'last_enabled_time': {'key': 'lastEnabledTime', 'type': 'iso-8601'}, - 'min_restore_time': {'key': 'minRestoreTime', 'type': 'iso-8601'}, - } - - def __init__( - self, - *, - enabled: bool, - days: Optional[int] = None, - **kwargs - ): - super(RestorePolicyProperties, self).__init__(**kwargs) - self.enabled = enabled - self.days = days - self.last_enabled_time = None - self.min_restore_time = None - - -class Restriction(msrest.serialization.Model): - """The restriction because of which SKU cannot be used. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The type of restrictions. As of now only possible value for this is location. - :vartype type: str - :ivar values: The value of restrictions. If the restriction type is set to location. This would - be different locations where the SKU is restricted. - :vartype values: list[str] - :param reason_code: The reason for the restriction. As of now this can be "QuotaId" or - "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the - subscription does not belong to that quota. The "NotAvailableForSubscription" is related to - capacity at DC. Possible values include: "QuotaId", "NotAvailableForSubscription". - :type reason_code: str or ~azure.mgmt.storage.v2021_01_01.models.ReasonCode - """ - - _validation = { - 'type': {'readonly': True}, - 'values': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'values': {'key': 'values', 'type': '[str]'}, - 'reason_code': {'key': 'reasonCode', 'type': 'str'}, - } - - def __init__( - self, - *, - reason_code: Optional[Union[str, "ReasonCode"]] = None, - **kwargs - ): - super(Restriction, self).__init__(**kwargs) - self.type = None - self.values = None - self.reason_code = reason_code - - -class RoutingPreference(msrest.serialization.Model): - """Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing. - - :param routing_choice: Routing Choice defines the kind of network routing opted by the user. - Possible values include: "MicrosoftRouting", "InternetRouting". - :type routing_choice: str or ~azure.mgmt.storage.v2021_01_01.models.RoutingChoice - :param publish_microsoft_endpoints: A boolean flag which indicates whether microsoft routing - storage endpoints are to be published. - :type publish_microsoft_endpoints: bool - :param publish_internet_endpoints: A boolean flag which indicates whether internet routing - storage endpoints are to be published. - :type publish_internet_endpoints: bool - """ - - _attribute_map = { - 'routing_choice': {'key': 'routingChoice', 'type': 'str'}, - 'publish_microsoft_endpoints': {'key': 'publishMicrosoftEndpoints', 'type': 'bool'}, - 'publish_internet_endpoints': {'key': 'publishInternetEndpoints', 'type': 'bool'}, - } - - def __init__( - self, - *, - routing_choice: Optional[Union[str, "RoutingChoice"]] = None, - publish_microsoft_endpoints: Optional[bool] = None, - publish_internet_endpoints: Optional[bool] = None, - **kwargs - ): - super(RoutingPreference, self).__init__(**kwargs) - self.routing_choice = routing_choice - self.publish_microsoft_endpoints = publish_microsoft_endpoints - self.publish_internet_endpoints = publish_internet_endpoints - - -class ServiceSasParameters(msrest.serialization.Model): - """The parameters to list service SAS credentials of a specific resource. - - All required parameters must be populated in order to send to Azure. - - :param canonicalized_resource: Required. The canonical path to the signed resource. - :type canonicalized_resource: str - :param resource: The signed services accessible with the service SAS. Possible values include: - Blob (b), Container (c), File (f), Share (s). Possible values include: "b", "c", "f", "s". - :type resource: str or ~azure.mgmt.storage.v2021_01_01.models.SignedResource - :param permissions: The signed permissions for the service SAS. Possible values include: Read - (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible - values include: "r", "d", "w", "l", "a", "c", "u", "p". - :type permissions: str or ~azure.mgmt.storage.v2021_01_01.models.Permissions - :param ip_address_or_range: An IP address or a range of IP addresses from which to accept - requests. - :type ip_address_or_range: str - :param protocols: The protocol permitted for a request made with the account SAS. Possible - values include: "https,http", "https". - :type protocols: str or ~azure.mgmt.storage.v2021_01_01.models.HttpProtocol - :param shared_access_start_time: The time at which the SAS becomes valid. - :type shared_access_start_time: ~datetime.datetime - :param shared_access_expiry_time: The time at which the shared access signature becomes - invalid. - :type shared_access_expiry_time: ~datetime.datetime - :param identifier: A unique value up to 64 characters in length that correlates to an access - policy specified for the container, queue, or table. - :type identifier: str - :param partition_key_start: The start of partition key. - :type partition_key_start: str - :param partition_key_end: The end of partition key. - :type partition_key_end: str - :param row_key_start: The start of row key. - :type row_key_start: str - :param row_key_end: The end of row key. - :type row_key_end: str - :param key_to_sign: The key to sign the account SAS token with. - :type key_to_sign: str - :param cache_control: The response header override for cache control. - :type cache_control: str - :param content_disposition: The response header override for content disposition. - :type content_disposition: str - :param content_encoding: The response header override for content encoding. - :type content_encoding: str - :param content_language: The response header override for content language. - :type content_language: str - :param content_type: The response header override for content type. - :type content_type: str - """ - - _validation = { - 'canonicalized_resource': {'required': True}, - 'identifier': {'max_length': 64, 'min_length': 0}, - } - - _attribute_map = { - 'canonicalized_resource': {'key': 'canonicalizedResource', 'type': 'str'}, - 'resource': {'key': 'signedResource', 'type': 'str'}, - 'permissions': {'key': 'signedPermission', 'type': 'str'}, - 'ip_address_or_range': {'key': 'signedIp', 'type': 'str'}, - 'protocols': {'key': 'signedProtocol', 'type': 'str'}, - 'shared_access_start_time': {'key': 'signedStart', 'type': 'iso-8601'}, - 'shared_access_expiry_time': {'key': 'signedExpiry', 'type': 'iso-8601'}, - 'identifier': {'key': 'signedIdentifier', 'type': 'str'}, - 'partition_key_start': {'key': 'startPk', 'type': 'str'}, - 'partition_key_end': {'key': 'endPk', 'type': 'str'}, - 'row_key_start': {'key': 'startRk', 'type': 'str'}, - 'row_key_end': {'key': 'endRk', 'type': 'str'}, - 'key_to_sign': {'key': 'keyToSign', 'type': 'str'}, - 'cache_control': {'key': 'rscc', 'type': 'str'}, - 'content_disposition': {'key': 'rscd', 'type': 'str'}, - 'content_encoding': {'key': 'rsce', 'type': 'str'}, - 'content_language': {'key': 'rscl', 'type': 'str'}, - 'content_type': {'key': 'rsct', 'type': 'str'}, - } - - def __init__( - self, - *, - canonicalized_resource: str, - resource: Optional[Union[str, "SignedResource"]] = None, - permissions: Optional[Union[str, "Permissions"]] = None, - ip_address_or_range: Optional[str] = None, - protocols: Optional[Union[str, "HttpProtocol"]] = None, - shared_access_start_time: Optional[datetime.datetime] = None, - shared_access_expiry_time: Optional[datetime.datetime] = None, - identifier: Optional[str] = None, - partition_key_start: Optional[str] = None, - partition_key_end: Optional[str] = None, - row_key_start: Optional[str] = None, - row_key_end: Optional[str] = None, - key_to_sign: Optional[str] = None, - cache_control: Optional[str] = None, - content_disposition: Optional[str] = None, - content_encoding: Optional[str] = None, - content_language: Optional[str] = None, - content_type: Optional[str] = None, - **kwargs - ): - super(ServiceSasParameters, self).__init__(**kwargs) - self.canonicalized_resource = canonicalized_resource - self.resource = resource - self.permissions = permissions - self.ip_address_or_range = ip_address_or_range - self.protocols = protocols - self.shared_access_start_time = shared_access_start_time - self.shared_access_expiry_time = shared_access_expiry_time - self.identifier = identifier - self.partition_key_start = partition_key_start - self.partition_key_end = partition_key_end - self.row_key_start = row_key_start - self.row_key_end = row_key_end - self.key_to_sign = key_to_sign - self.cache_control = cache_control - self.content_disposition = content_disposition - self.content_encoding = content_encoding - self.content_language = content_language - self.content_type = content_type - - -class ServiceSpecification(msrest.serialization.Model): - """One property of operation, include metric specifications. - - :param metric_specifications: Metric specifications of operation. - :type metric_specifications: list[~azure.mgmt.storage.v2021_01_01.models.MetricSpecification] - """ - - _attribute_map = { - 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, - } - - def __init__( - self, - *, - metric_specifications: Optional[List["MetricSpecification"]] = None, - **kwargs - ): - super(ServiceSpecification, self).__init__(**kwargs) - self.metric_specifications = metric_specifications - - -class Sku(msrest.serialization.Model): - """The SKU of the storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The SKU name. Required for account creation; optional for update. Note - that in older versions, SKU name was called accountType. Possible values include: - "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", - "Standard_GZRS", "Standard_RAGZRS". - :type name: str or ~azure.mgmt.storage.v2021_01_01.models.SkuName - :ivar tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard", - "Premium". - :vartype tier: str or ~azure.mgmt.storage.v2021_01_01.models.SkuTier - """ - - _validation = { - 'name': {'required': True}, - 'tier': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - } - - def __init__( - self, - *, - name: Union[str, "SkuName"], - **kwargs - ): - super(Sku, self).__init__(**kwargs) - self.name = name - self.tier = None - - -class SKUCapability(msrest.serialization.Model): - """The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: The name of capability, The capability information in the specified SKU, including - file encryption, network ACLs, change notification, etc. - :vartype name: str - :ivar value: A string value to indicate states of given capability. Possibly 'true' or 'false'. - :vartype value: str - """ - - _validation = { - 'name': {'readonly': True}, - 'value': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SKUCapability, self).__init__(**kwargs) - self.name = None - self.value = None - - -class SkuInformation(msrest.serialization.Model): - """Storage SKU and its properties. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The SKU name. Required for account creation; optional for update. Note - that in older versions, SKU name was called accountType. Possible values include: - "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS", "Premium_ZRS", - "Standard_GZRS", "Standard_RAGZRS". - :type name: str or ~azure.mgmt.storage.v2021_01_01.models.SkuName - :ivar tier: The SKU tier. This is based on the SKU name. Possible values include: "Standard", - "Premium". - :vartype tier: str or ~azure.mgmt.storage.v2021_01_01.models.SkuTier - :ivar resource_type: The type of the resource, usually it is 'storageAccounts'. - :vartype resource_type: str - :ivar kind: Indicates the type of storage account. Possible values include: "Storage", - "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage". - :vartype kind: str or ~azure.mgmt.storage.v2021_01_01.models.Kind - :ivar locations: The set of locations that the SKU is available. This will be supported and - registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). - :vartype locations: list[str] - :ivar capabilities: The capability information in the specified SKU, including file encryption, - network ACLs, change notification, etc. - :vartype capabilities: list[~azure.mgmt.storage.v2021_01_01.models.SKUCapability] - :param restrictions: The restrictions because of which SKU cannot be used. This is empty if - there are no restrictions. - :type restrictions: list[~azure.mgmt.storage.v2021_01_01.models.Restriction] - """ - - _validation = { - 'name': {'required': True}, - 'tier': {'readonly': True}, - 'resource_type': {'readonly': True}, - 'kind': {'readonly': True}, - 'locations': {'readonly': True}, - 'capabilities': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'str'}, - 'resource_type': {'key': 'resourceType', 'type': 'str'}, - 'kind': {'key': 'kind', 'type': 'str'}, - 'locations': {'key': 'locations', 'type': '[str]'}, - 'capabilities': {'key': 'capabilities', 'type': '[SKUCapability]'}, - 'restrictions': {'key': 'restrictions', 'type': '[Restriction]'}, - } - - def __init__( - self, - *, - name: Union[str, "SkuName"], - restrictions: Optional[List["Restriction"]] = None, - **kwargs - ): - super(SkuInformation, self).__init__(**kwargs) - self.name = name - self.tier = None - self.resource_type = None - self.kind = None - self.locations = None - self.capabilities = None - self.restrictions = restrictions - - -class SmbSetting(msrest.serialization.Model): - """Setting for SMB protocol. - - :param multichannel: Multichannel setting. Applies to Premium FileStorage only. - :type multichannel: ~azure.mgmt.storage.v2021_01_01.models.Multichannel - :param versions: SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, - SMB3.1.1. Should be passed as a string with delimiter ';'. - :type versions: str - :param authentication_methods: SMB authentication methods supported by server. Valid values are - NTLMv2, Kerberos. Should be passed as a string with delimiter ';'. - :type authentication_methods: str - :param kerberos_ticket_encryption: Kerberos ticket encryption supported by server. Valid values - are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'. - :type kerberos_ticket_encryption: str - :param channel_encryption: SMB channel encryption supported by server. Valid values are - AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'. - :type channel_encryption: str - """ - - _attribute_map = { - 'multichannel': {'key': 'multichannel', 'type': 'Multichannel'}, - 'versions': {'key': 'versions', 'type': 'str'}, - 'authentication_methods': {'key': 'authenticationMethods', 'type': 'str'}, - 'kerberos_ticket_encryption': {'key': 'kerberosTicketEncryption', 'type': 'str'}, - 'channel_encryption': {'key': 'channelEncryption', 'type': 'str'}, - } - - def __init__( - self, - *, - multichannel: Optional["Multichannel"] = None, - versions: Optional[str] = None, - authentication_methods: Optional[str] = None, - kerberos_ticket_encryption: Optional[str] = None, - channel_encryption: Optional[str] = None, - **kwargs - ): - super(SmbSetting, self).__init__(**kwargs) - self.multichannel = multichannel - self.versions = versions - self.authentication_methods = authentication_methods - self.kerberos_ticket_encryption = kerberos_ticket_encryption - self.channel_encryption = channel_encryption - - -class TrackedResource(Resource): - """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = tags - self.location = location - - -class StorageAccount(TrackedResource): - """The storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :ivar sku: Gets the SKU. - :vartype sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :ivar kind: Gets the Kind. Possible values include: "Storage", "StorageV2", "BlobStorage", - "FileStorage", "BlockBlobStorage". - :vartype kind: str or ~azure.mgmt.storage.v2021_01_01.models.Kind - :param identity: The identity of the resource. - :type identity: ~azure.mgmt.storage.v2021_01_01.models.Identity - :param extended_location: The extendedLocation of the resource. - :type extended_location: ~azure.mgmt.storage.v2021_01_01.models.ExtendedLocation - :ivar provisioning_state: Gets the status of the storage account at the time the operation was - called. Possible values include: "Creating", "ResolvingDNS", "Succeeded". - :vartype provisioning_state: str or ~azure.mgmt.storage.v2021_01_01.models.ProvisioningState - :ivar primary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, - queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob - endpoint. - :vartype primary_endpoints: ~azure.mgmt.storage.v2021_01_01.models.Endpoints - :ivar primary_location: Gets the location of the primary data center for the storage account. - :vartype primary_location: str - :ivar status_of_primary: Gets the status indicating whether the primary location of the storage - account is available or unavailable. Possible values include: "available", "unavailable". - :vartype status_of_primary: str or ~azure.mgmt.storage.v2021_01_01.models.AccountStatus - :ivar last_geo_failover_time: Gets the timestamp of the most recent instance of a failover to - the secondary location. Only the most recent timestamp is retained. This element is not - returned if there has never been a failover instance. Only available if the accountType is - Standard_GRS or Standard_RAGRS. - :vartype last_geo_failover_time: ~datetime.datetime - :ivar secondary_location: Gets the location of the geo-replicated secondary for the storage - account. Only available if the accountType is Standard_GRS or Standard_RAGRS. - :vartype secondary_location: str - :ivar status_of_secondary: Gets the status indicating whether the secondary location of the - storage account is available or unavailable. Only available if the SKU name is Standard_GRS or - Standard_RAGRS. Possible values include: "available", "unavailable". - :vartype status_of_secondary: str or ~azure.mgmt.storage.v2021_01_01.models.AccountStatus - :ivar creation_time: Gets the creation date and time of the storage account in UTC. - :vartype creation_time: ~datetime.datetime - :ivar custom_domain: Gets the custom domain the user assigned to this storage account. - :vartype custom_domain: ~azure.mgmt.storage.v2021_01_01.models.CustomDomain - :ivar secondary_endpoints: Gets the URLs that are used to perform a retrieval of a public blob, - queue, or table object from the secondary location of the storage account. Only available if - the SKU name is Standard_RAGRS. - :vartype secondary_endpoints: ~azure.mgmt.storage.v2021_01_01.models.Endpoints - :ivar encryption: Gets the encryption settings on the account. If unspecified, the account is - unencrypted. - :vartype encryption: ~azure.mgmt.storage.v2021_01_01.models.Encryption - :ivar access_tier: Required for storage accounts where kind = BlobStorage. The access tier used - for billing. Possible values include: "Hot", "Cool". - :vartype access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.AccessTier - :param azure_files_identity_based_authentication: Provides the identity based authentication - settings for Azure Files. - :type azure_files_identity_based_authentication: - ~azure.mgmt.storage.v2021_01_01.models.AzureFilesIdentityBasedAuthentication - :param enable_https_traffic_only: Allows https traffic only to storage service if sets to true. - :type enable_https_traffic_only: bool - :ivar network_rule_set: Network rule set. - :vartype network_rule_set: ~azure.mgmt.storage.v2021_01_01.models.NetworkRuleSet - :param is_hns_enabled: Account HierarchicalNamespace enabled if sets to true. - :type is_hns_enabled: bool - :ivar geo_replication_stats: Geo Replication Stats. - :vartype geo_replication_stats: ~azure.mgmt.storage.v2021_01_01.models.GeoReplicationStats - :ivar failover_in_progress: If the failover is in progress, the value will be true, otherwise, - it will be null. - :vartype failover_in_progress: bool - :param large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be - disabled once it is enabled. Possible values include: "Disabled", "Enabled". - :type large_file_shares_state: str or - ~azure.mgmt.storage.v2021_01_01.models.LargeFileSharesState - :ivar private_endpoint_connections: List of private endpoint connection associated with the - specified storage account. - :vartype private_endpoint_connections: - list[~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection] - :param routing_preference: Maintains information about the network routing choice opted by the - user for data transfer. - :type routing_preference: ~azure.mgmt.storage.v2021_01_01.models.RoutingPreference - :ivar blob_restore_status: Blob restore status. - :vartype blob_restore_status: ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreStatus - :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in - the storage account. The default interpretation is true for this property. - :type allow_blob_public_access: bool - :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. - The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", - "TLS1_1", "TLS1_2". - :type minimum_tls_version: str or ~azure.mgmt.storage.v2021_01_01.models.MinimumTlsVersion - :param allow_shared_key_access: Indicates whether the storage account permits requests to be - authorized with the account access key via Shared Key. If false, then all requests, including - shared access signatures, must be authorized with Azure Active Directory (Azure AD). The - default value is null, which is equivalent to true. - :type allow_shared_key_access: bool - :param enable_nfs_v3: NFS 3.0 protocol support enabled if set to true. - :type enable_nfs_v3: bool - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'sku': {'readonly': True}, - 'kind': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - 'primary_endpoints': {'readonly': True}, - 'primary_location': {'readonly': True}, - 'status_of_primary': {'readonly': True}, - 'last_geo_failover_time': {'readonly': True}, - 'secondary_location': {'readonly': True}, - 'status_of_secondary': {'readonly': True}, - 'creation_time': {'readonly': True}, - 'custom_domain': {'readonly': True}, - 'secondary_endpoints': {'readonly': True}, - 'encryption': {'readonly': True}, - 'access_tier': {'readonly': True}, - 'network_rule_set': {'readonly': True}, - 'geo_replication_stats': {'readonly': True}, - 'failover_in_progress': {'readonly': True}, - 'private_endpoint_connections': {'readonly': True}, - 'blob_restore_status': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'kind': {'key': 'kind', 'type': 'str'}, - 'identity': {'key': 'identity', 'type': 'Identity'}, - 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'primary_endpoints': {'key': 'properties.primaryEndpoints', 'type': 'Endpoints'}, - 'primary_location': {'key': 'properties.primaryLocation', 'type': 'str'}, - 'status_of_primary': {'key': 'properties.statusOfPrimary', 'type': 'str'}, - 'last_geo_failover_time': {'key': 'properties.lastGeoFailoverTime', 'type': 'iso-8601'}, - 'secondary_location': {'key': 'properties.secondaryLocation', 'type': 'str'}, - 'status_of_secondary': {'key': 'properties.statusOfSecondary', 'type': 'str'}, - 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, - 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, - 'secondary_endpoints': {'key': 'properties.secondaryEndpoints', 'type': 'Endpoints'}, - 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'}, - 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, - 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, - 'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'}, - 'geo_replication_stats': {'key': 'properties.geoReplicationStats', 'type': 'GeoReplicationStats'}, - 'failover_in_progress': {'key': 'properties.failoverInProgress', 'type': 'bool'}, - 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, - 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, - 'blob_restore_status': {'key': 'properties.blobRestoreStatus', 'type': 'BlobRestoreStatus'}, - 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, - 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, - 'allow_shared_key_access': {'key': 'properties.allowSharedKeyAccess', 'type': 'bool'}, - 'enable_nfs_v3': {'key': 'properties.isNfsV3Enabled', 'type': 'bool'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - identity: Optional["Identity"] = None, - extended_location: Optional["ExtendedLocation"] = None, - azure_files_identity_based_authentication: Optional["AzureFilesIdentityBasedAuthentication"] = None, - enable_https_traffic_only: Optional[bool] = None, - is_hns_enabled: Optional[bool] = None, - large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, - routing_preference: Optional["RoutingPreference"] = None, - allow_blob_public_access: Optional[bool] = None, - minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, - allow_shared_key_access: Optional[bool] = None, - enable_nfs_v3: Optional[bool] = None, - **kwargs - ): - super(StorageAccount, self).__init__(tags=tags, location=location, **kwargs) - self.sku = None - self.kind = None - self.identity = identity - self.extended_location = extended_location - self.provisioning_state = None - self.primary_endpoints = None - self.primary_location = None - self.status_of_primary = None - self.last_geo_failover_time = None - self.secondary_location = None - self.status_of_secondary = None - self.creation_time = None - self.custom_domain = None - self.secondary_endpoints = None - self.encryption = None - self.access_tier = None - self.azure_files_identity_based_authentication = azure_files_identity_based_authentication - self.enable_https_traffic_only = enable_https_traffic_only - self.network_rule_set = None - self.is_hns_enabled = is_hns_enabled - self.geo_replication_stats = None - self.failover_in_progress = None - self.large_file_shares_state = large_file_shares_state - self.private_endpoint_connections = None - self.routing_preference = routing_preference - self.blob_restore_status = None - self.allow_blob_public_access = allow_blob_public_access - self.minimum_tls_version = minimum_tls_version - self.allow_shared_key_access = allow_shared_key_access - self.enable_nfs_v3 = enable_nfs_v3 - - -class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model): - """The parameters used to check the availability of the storage account name. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. The storage account name. - :type name: str - :ivar type: Required. The type of resource, Microsoft.Storage/storageAccounts. Default value: - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'name': {'required': True}, - 'type': {'required': True, 'constant': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - type = "Microsoft.Storage/storageAccounts" - - def __init__( - self, - *, - name: str, - **kwargs - ): - super(StorageAccountCheckNameAvailabilityParameters, self).__init__(**kwargs) - self.name = name - - -class StorageAccountCreateParameters(msrest.serialization.Model): - """The parameters used when creating a storage account. - - All required parameters must be populated in order to send to Azure. - - :param sku: Required. Required. Gets or sets the SKU name. - :type sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :param kind: Required. Required. Indicates the type of storage account. Possible values - include: "Storage", "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage". - :type kind: str or ~azure.mgmt.storage.v2021_01_01.models.Kind - :param location: Required. Required. Gets or sets the location of the resource. This will be - one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, - etc.). The geo region of a resource cannot be changed once it is created, but if an identical - geo region is specified on update, the request will succeed. - :type location: str - :param extended_location: Optional. Set the extended location of the resource. If not set, the - storage account will be created in Azure main region. Otherwise it will be created in the - specified extended location. - :type extended_location: ~azure.mgmt.storage.v2021_01_01.models.ExtendedLocation - :param tags: A set of tags. Gets or sets a list of key value pairs that describe the resource. - These tags can be used for viewing and grouping this resource (across resource groups). A - maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no - greater than 128 characters and a value with a length no greater than 256 characters. - :type tags: dict[str, str] - :param identity: The identity of the resource. - :type identity: ~azure.mgmt.storage.v2021_01_01.models.Identity - :param custom_domain: User domain assigned to the storage account. Name is the CNAME source. - Only one custom domain is supported per storage account at this time. To clear the existing - custom domain, use an empty string for the custom domain name property. - :type custom_domain: ~azure.mgmt.storage.v2021_01_01.models.CustomDomain - :param encryption: Not applicable. Azure Storage encryption is enabled for all storage accounts - and cannot be disabled. - :type encryption: ~azure.mgmt.storage.v2021_01_01.models.Encryption - :param network_rule_set: Network rule set. - :type network_rule_set: ~azure.mgmt.storage.v2021_01_01.models.NetworkRuleSet - :param access_tier: Required for storage accounts where kind = BlobStorage. The access tier - used for billing. Possible values include: "Hot", "Cool". - :type access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.AccessTier - :param azure_files_identity_based_authentication: Provides the identity based authentication - settings for Azure Files. - :type azure_files_identity_based_authentication: - ~azure.mgmt.storage.v2021_01_01.models.AzureFilesIdentityBasedAuthentication - :param enable_https_traffic_only: Allows https traffic only to storage service if sets to true. - The default value is true since API version 2019-04-01. - :type enable_https_traffic_only: bool - :param is_hns_enabled: Account HierarchicalNamespace enabled if sets to true. - :type is_hns_enabled: bool - :param large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be - disabled once it is enabled. Possible values include: "Disabled", "Enabled". - :type large_file_shares_state: str or - ~azure.mgmt.storage.v2021_01_01.models.LargeFileSharesState - :param routing_preference: Maintains information about the network routing choice opted by the - user for data transfer. - :type routing_preference: ~azure.mgmt.storage.v2021_01_01.models.RoutingPreference - :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in - the storage account. The default interpretation is true for this property. - :type allow_blob_public_access: bool - :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. - The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", - "TLS1_1", "TLS1_2". - :type minimum_tls_version: str or ~azure.mgmt.storage.v2021_01_01.models.MinimumTlsVersion - :param allow_shared_key_access: Indicates whether the storage account permits requests to be - authorized with the account access key via Shared Key. If false, then all requests, including - shared access signatures, must be authorized with Azure Active Directory (Azure AD). The - default value is null, which is equivalent to true. - :type allow_shared_key_access: bool - :param enable_nfs_v3: NFS 3.0 protocol support enabled if set to true. - :type enable_nfs_v3: bool - """ - - _validation = { - 'sku': {'required': True}, - 'kind': {'required': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'kind': {'key': 'kind', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'identity': {'key': 'identity', 'type': 'Identity'}, - 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, - 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, - 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'}, - 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, - 'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'}, - 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, - 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, - 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, - 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, - 'allow_shared_key_access': {'key': 'properties.allowSharedKeyAccess', 'type': 'bool'}, - 'enable_nfs_v3': {'key': 'properties.isNfsV3Enabled', 'type': 'bool'}, - } - - def __init__( - self, - *, - sku: "Sku", - kind: Union[str, "Kind"], - location: str, - extended_location: Optional["ExtendedLocation"] = None, - tags: Optional[Dict[str, str]] = None, - identity: Optional["Identity"] = None, - custom_domain: Optional["CustomDomain"] = None, - encryption: Optional["Encryption"] = None, - network_rule_set: Optional["NetworkRuleSet"] = None, - access_tier: Optional[Union[str, "AccessTier"]] = None, - azure_files_identity_based_authentication: Optional["AzureFilesIdentityBasedAuthentication"] = None, - enable_https_traffic_only: Optional[bool] = None, - is_hns_enabled: Optional[bool] = None, - large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, - routing_preference: Optional["RoutingPreference"] = None, - allow_blob_public_access: Optional[bool] = None, - minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, - allow_shared_key_access: Optional[bool] = None, - enable_nfs_v3: Optional[bool] = None, - **kwargs - ): - super(StorageAccountCreateParameters, self).__init__(**kwargs) - self.sku = sku - self.kind = kind - self.location = location - self.extended_location = extended_location - self.tags = tags - self.identity = identity - self.custom_domain = custom_domain - self.encryption = encryption - self.network_rule_set = network_rule_set - self.access_tier = access_tier - self.azure_files_identity_based_authentication = azure_files_identity_based_authentication - self.enable_https_traffic_only = enable_https_traffic_only - self.is_hns_enabled = is_hns_enabled - self.large_file_shares_state = large_file_shares_state - self.routing_preference = routing_preference - self.allow_blob_public_access = allow_blob_public_access - self.minimum_tls_version = minimum_tls_version - self.allow_shared_key_access = allow_shared_key_access - self.enable_nfs_v3 = enable_nfs_v3 - - -class StorageAccountInternetEndpoints(msrest.serialization.Model): - """The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar blob: Gets the blob endpoint. - :vartype blob: str - :ivar file: Gets the file endpoint. - :vartype file: str - :ivar web: Gets the web endpoint. - :vartype web: str - :ivar dfs: Gets the dfs endpoint. - :vartype dfs: str - """ - - _validation = { - 'blob': {'readonly': True}, - 'file': {'readonly': True}, - 'web': {'readonly': True}, - 'dfs': {'readonly': True}, - } - - _attribute_map = { - 'blob': {'key': 'blob', 'type': 'str'}, - 'file': {'key': 'file', 'type': 'str'}, - 'web': {'key': 'web', 'type': 'str'}, - 'dfs': {'key': 'dfs', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountInternetEndpoints, self).__init__(**kwargs) - self.blob = None - self.file = None - self.web = None - self.dfs = None - - -class StorageAccountKey(msrest.serialization.Model): - """An access key for the storage account. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar key_name: Name of the key. - :vartype key_name: str - :ivar value: Base 64-encoded value of the key. - :vartype value: str - :ivar permissions: Permissions for the key -- read-only or full permissions. Possible values - include: "Read", "Full". - :vartype permissions: str or ~azure.mgmt.storage.v2021_01_01.models.KeyPermission - """ - - _validation = { - 'key_name': {'readonly': True}, - 'value': {'readonly': True}, - 'permissions': {'readonly': True}, - } - - _attribute_map = { - 'key_name': {'key': 'keyName', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - 'permissions': {'key': 'permissions', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountKey, self).__init__(**kwargs) - self.key_name = None - self.value = None - self.permissions = None - - -class StorageAccountListKeysResult(msrest.serialization.Model): - """The response from the ListKeys operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar keys: Gets the list of storage account keys and their properties for the specified - storage account. - :vartype keys: list[~azure.mgmt.storage.v2021_01_01.models.StorageAccountKey] - """ - - _validation = { - 'keys': {'readonly': True}, - } - - _attribute_map = { - 'keys': {'key': 'keys', 'type': '[StorageAccountKey]'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountListKeysResult, self).__init__(**kwargs) - self.keys = None - - -class StorageAccountListResult(msrest.serialization.Model): - """The response from the List Storage Accounts operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Gets the list of storage accounts and their properties. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.StorageAccount] - :ivar next_link: Request URL that can be used to query next page of storage accounts. Returned - when total number of requested storage accounts exceed maximum page size. - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[StorageAccount]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class StorageAccountMicrosoftEndpoints(msrest.serialization.Model): - """The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar blob: Gets the blob endpoint. - :vartype blob: str - :ivar queue: Gets the queue endpoint. - :vartype queue: str - :ivar table: Gets the table endpoint. - :vartype table: str - :ivar file: Gets the file endpoint. - :vartype file: str - :ivar web: Gets the web endpoint. - :vartype web: str - :ivar dfs: Gets the dfs endpoint. - :vartype dfs: str - """ - - _validation = { - 'blob': {'readonly': True}, - 'queue': {'readonly': True}, - 'table': {'readonly': True}, - 'file': {'readonly': True}, - 'web': {'readonly': True}, - 'dfs': {'readonly': True}, - } - - _attribute_map = { - 'blob': {'key': 'blob', 'type': 'str'}, - 'queue': {'key': 'queue', 'type': 'str'}, - 'table': {'key': 'table', 'type': 'str'}, - 'file': {'key': 'file', 'type': 'str'}, - 'web': {'key': 'web', 'type': 'str'}, - 'dfs': {'key': 'dfs', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageAccountMicrosoftEndpoints, self).__init__(**kwargs) - self.blob = None - self.queue = None - self.table = None - self.file = None - self.web = None - self.dfs = None - - -class StorageAccountRegenerateKeyParameters(msrest.serialization.Model): - """The parameters used to regenerate the storage account key. - - All required parameters must be populated in order to send to Azure. - - :param key_name: Required. The name of storage keys that want to be regenerated, possible - values are key1, key2, kerb1, kerb2. - :type key_name: str - """ - - _validation = { - 'key_name': {'required': True}, - } - - _attribute_map = { - 'key_name': {'key': 'keyName', 'type': 'str'}, - } - - def __init__( - self, - *, - key_name: str, - **kwargs - ): - super(StorageAccountRegenerateKeyParameters, self).__init__(**kwargs) - self.key_name = key_name - - -class StorageAccountUpdateParameters(msrest.serialization.Model): - """The parameters that can be provided when updating the storage account properties. - - :param sku: Gets or sets the SKU name. Note that the SKU name cannot be updated to - Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any - other value. - :type sku: ~azure.mgmt.storage.v2021_01_01.models.Sku - :param tags: A set of tags. Gets or sets a list of key value pairs that describe the resource. - These tags can be used in viewing and grouping this resource (across resource groups). A - maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in - length than 128 characters and a value no greater in length than 256 characters. - :type tags: dict[str, str] - :param identity: The identity of the resource. - :type identity: ~azure.mgmt.storage.v2021_01_01.models.Identity - :param kind: Optional. Indicates the type of storage account. Currently only StorageV2 value - supported by server. Possible values include: "Storage", "StorageV2", "BlobStorage", - "FileStorage", "BlockBlobStorage". - :type kind: str or ~azure.mgmt.storage.v2021_01_01.models.Kind - :param custom_domain: Custom domain assigned to the storage account by the user. Name is the - CNAME source. Only one custom domain is supported per storage account at this time. To clear - the existing custom domain, use an empty string for the custom domain name property. - :type custom_domain: ~azure.mgmt.storage.v2021_01_01.models.CustomDomain - :param encryption: Provides the encryption settings on the account. The default setting is - unencrypted. - :type encryption: ~azure.mgmt.storage.v2021_01_01.models.Encryption - :param access_tier: Required for storage accounts where kind = BlobStorage. The access tier - used for billing. Possible values include: "Hot", "Cool". - :type access_tier: str or ~azure.mgmt.storage.v2021_01_01.models.AccessTier - :param azure_files_identity_based_authentication: Provides the identity based authentication - settings for Azure Files. - :type azure_files_identity_based_authentication: - ~azure.mgmt.storage.v2021_01_01.models.AzureFilesIdentityBasedAuthentication - :param enable_https_traffic_only: Allows https traffic only to storage service if sets to true. - :type enable_https_traffic_only: bool - :param network_rule_set: Network rule set. - :type network_rule_set: ~azure.mgmt.storage.v2021_01_01.models.NetworkRuleSet - :param large_file_shares_state: Allow large file shares if sets to Enabled. It cannot be - disabled once it is enabled. Possible values include: "Disabled", "Enabled". - :type large_file_shares_state: str or - ~azure.mgmt.storage.v2021_01_01.models.LargeFileSharesState - :param routing_preference: Maintains information about the network routing choice opted by the - user for data transfer. - :type routing_preference: ~azure.mgmt.storage.v2021_01_01.models.RoutingPreference - :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in - the storage account. The default interpretation is true for this property. - :type allow_blob_public_access: bool - :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. - The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", - "TLS1_1", "TLS1_2". - :type minimum_tls_version: str or ~azure.mgmt.storage.v2021_01_01.models.MinimumTlsVersion - :param allow_shared_key_access: Indicates whether the storage account permits requests to be - authorized with the account access key via Shared Key. If false, then all requests, including - shared access signatures, must be authorized with Azure Active Directory (Azure AD). The - default value is null, which is equivalent to true. - :type allow_shared_key_access: bool - """ - - _attribute_map = { - 'sku': {'key': 'sku', 'type': 'Sku'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'identity': {'key': 'identity', 'type': 'Identity'}, - 'kind': {'key': 'kind', 'type': 'str'}, - 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, - 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, - 'access_tier': {'key': 'properties.accessTier', 'type': 'str'}, - 'azure_files_identity_based_authentication': {'key': 'properties.azureFilesIdentityBasedAuthentication', 'type': 'AzureFilesIdentityBasedAuthentication'}, - 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, - 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, - 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, - 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, - 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, - 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, - 'allow_shared_key_access': {'key': 'properties.allowSharedKeyAccess', 'type': 'bool'}, - } - - def __init__( - self, - *, - sku: Optional["Sku"] = None, - tags: Optional[Dict[str, str]] = None, - identity: Optional["Identity"] = None, - kind: Optional[Union[str, "Kind"]] = None, - custom_domain: Optional["CustomDomain"] = None, - encryption: Optional["Encryption"] = None, - access_tier: Optional[Union[str, "AccessTier"]] = None, - azure_files_identity_based_authentication: Optional["AzureFilesIdentityBasedAuthentication"] = None, - enable_https_traffic_only: Optional[bool] = None, - network_rule_set: Optional["NetworkRuleSet"] = None, - large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, - routing_preference: Optional["RoutingPreference"] = None, - allow_blob_public_access: Optional[bool] = None, - minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, - allow_shared_key_access: Optional[bool] = None, - **kwargs - ): - super(StorageAccountUpdateParameters, self).__init__(**kwargs) - self.sku = sku - self.tags = tags - self.identity = identity - self.kind = kind - self.custom_domain = custom_domain - self.encryption = encryption - self.access_tier = access_tier - self.azure_files_identity_based_authentication = azure_files_identity_based_authentication - self.enable_https_traffic_only = enable_https_traffic_only - self.network_rule_set = network_rule_set - self.large_file_shares_state = large_file_shares_state - self.routing_preference = routing_preference - self.allow_blob_public_access = allow_blob_public_access - self.minimum_tls_version = minimum_tls_version - self.allow_shared_key_access = allow_shared_key_access - - -class StorageQueue(Resource): - """StorageQueue. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param metadata: A name-value pair that represents queue metadata. - :type metadata: dict[str, str] - :ivar approximate_message_count: Integer indicating an approximate number of messages in the - queue. This number is not lower than the actual number of messages in the queue, but could be - higher. - :vartype approximate_message_count: int - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'approximate_message_count': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, - 'approximate_message_count': {'key': 'properties.approximateMessageCount', 'type': 'int'}, - } - - def __init__( - self, - *, - metadata: Optional[Dict[str, str]] = None, - **kwargs - ): - super(StorageQueue, self).__init__(**kwargs) - self.metadata = metadata - self.approximate_message_count = None - - -class StorageSkuListResult(msrest.serialization.Model): - """The response from the List Storage SKUs operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Get the list result of storage SKUs and their properties. - :vartype value: list[~azure.mgmt.storage.v2021_01_01.models.SkuInformation] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[SkuInformation]'}, - } - - def __init__( - self, - **kwargs - ): - super(StorageSkuListResult, self).__init__(**kwargs) - self.value = None - - -class SystemData(msrest.serialization.Model): - """Metadata pertaining to creation and last modification of the resource. - - :param created_by: The identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource. Possible values - include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.storage.v2021_01_01.models.CreatedByType - :param created_at: The timestamp of resource creation (UTC). - :type created_at: ~datetime.datetime - :param last_modified_by: The identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource. Possible - values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.storage.v2021_01_01.models.CreatedByType - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: ~datetime.datetime - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, - } - - def __init__( - self, - *, - created_by: Optional[str] = None, - created_by_type: Optional[Union[str, "CreatedByType"]] = None, - created_at: Optional[datetime.datetime] = None, - last_modified_by: Optional[str] = None, - last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, - last_modified_at: Optional[datetime.datetime] = None, - **kwargs - ): - super(SystemData, self).__init__(**kwargs) - self.created_by = created_by - self.created_by_type = created_by_type - self.created_at = created_at - self.last_modified_by = last_modified_by - self.last_modified_by_type = last_modified_by_type - self.last_modified_at = last_modified_at - - -class Table(Resource): - """Properties of the table, including Id, resource name, resource type. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar table_name: Table name under the specified account. - :vartype table_name: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'table_name': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'table_name': {'key': 'properties.tableName', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Table, self).__init__(**kwargs) - self.table_name = None - - -class TableServiceProperties(Resource): - """The properties of a storage account’s Table service. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param cors: Specifies CORS rules for the Table service. You can include up to five CorsRule - elements in the request. If no CorsRule elements are included in the request body, all CORS - rules will be deleted, and CORS will be disabled for the Table service. - :type cors: ~azure.mgmt.storage.v2021_01_01.models.CorsRules - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'cors': {'key': 'properties.cors', 'type': 'CorsRules'}, - } - - def __init__( - self, - *, - cors: Optional["CorsRules"] = None, - **kwargs - ): - super(TableServiceProperties, self).__init__(**kwargs) - self.cors = cors - - -class TagFilter(msrest.serialization.Model): - """Blob index tag based filtering for blob objects. - - All required parameters must be populated in order to send to Azure. - - :param name: Required. This is the filter tag name, it can have 1 - 128 characters. - :type name: str - :param op: Required. This is the comparison operator which is used for object comparison and - filtering. Only == (equality operator) is currently supported. - :type op: str - :param value: Required. This is the filter tag value field used for tag based filtering, it can - have 0 - 256 characters. - :type value: str - """ - - _validation = { - 'name': {'required': True, 'max_length': 128, 'min_length': 1}, - 'op': {'required': True}, - 'value': {'required': True, 'max_length': 256, 'min_length': 0}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'op': {'key': 'op', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - } - - def __init__( - self, - *, - name: str, - op: str, - value: str, - **kwargs - ): - super(TagFilter, self).__init__(**kwargs) - self.name = name - self.op = op - self.value = value - - -class TagProperty(msrest.serialization.Model): - """A tag of the LegalHold of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar tag: The tag value. - :vartype tag: str - :ivar timestamp: Returns the date and time the tag was added. - :vartype timestamp: ~datetime.datetime - :ivar object_identifier: Returns the Object ID of the user who added the tag. - :vartype object_identifier: str - :ivar tenant_id: Returns the Tenant ID that issued the token for the user who added the tag. - :vartype tenant_id: str - :ivar upn: Returns the User Principal Name of the user who added the tag. - :vartype upn: str - """ - - _validation = { - 'tag': {'readonly': True}, - 'timestamp': {'readonly': True}, - 'object_identifier': {'readonly': True}, - 'tenant_id': {'readonly': True}, - 'upn': {'readonly': True}, - } - - _attribute_map = { - 'tag': {'key': 'tag', 'type': 'str'}, - 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, - 'object_identifier': {'key': 'objectIdentifier', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'upn': {'key': 'upn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TagProperty, self).__init__(**kwargs) - self.tag = None - self.timestamp = None - self.object_identifier = None - self.tenant_id = None - self.upn = None - - -class UpdateHistoryProperty(msrest.serialization.Model): - """An update history of the ImmutabilityPolicy of a blob container. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar update: The ImmutabilityPolicy update type of a blob container, possible values include: - put, lock and extend. Possible values include: "put", "lock", "extend". - :vartype update: str or ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicyUpdateType - :ivar immutability_period_since_creation_in_days: The immutability period for the blobs in the - container since the policy creation, in days. - :vartype immutability_period_since_creation_in_days: int - :ivar timestamp: Returns the date and time the ImmutabilityPolicy was updated. - :vartype timestamp: ~datetime.datetime - :ivar object_identifier: Returns the Object ID of the user who updated the ImmutabilityPolicy. - :vartype object_identifier: str - :ivar tenant_id: Returns the Tenant ID that issued the token for the user who updated the - ImmutabilityPolicy. - :vartype tenant_id: str - :ivar upn: Returns the User Principal Name of the user who updated the ImmutabilityPolicy. - :vartype upn: str - """ - - _validation = { - 'update': {'readonly': True}, - 'immutability_period_since_creation_in_days': {'readonly': True}, - 'timestamp': {'readonly': True}, - 'object_identifier': {'readonly': True}, - 'tenant_id': {'readonly': True}, - 'upn': {'readonly': True}, - } - - _attribute_map = { - 'update': {'key': 'update', 'type': 'str'}, - 'immutability_period_since_creation_in_days': {'key': 'immutabilityPeriodSinceCreationInDays', 'type': 'int'}, - 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, - 'object_identifier': {'key': 'objectIdentifier', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'upn': {'key': 'upn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(UpdateHistoryProperty, self).__init__(**kwargs) - self.update = None - self.immutability_period_since_creation_in_days = None - self.timestamp = None - self.object_identifier = None - self.tenant_id = None - self.upn = None - - -class Usage(msrest.serialization.Model): - """Describes Storage Resource Usage. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar unit: Gets the unit of measurement. Possible values include: "Count", "Bytes", "Seconds", - "Percent", "CountsPerSecond", "BytesPerSecond". - :vartype unit: str or ~azure.mgmt.storage.v2021_01_01.models.UsageUnit - :ivar current_value: Gets the current count of the allocated resources in the subscription. - :vartype current_value: int - :ivar limit: Gets the maximum count of the resources that can be allocated in the subscription. - :vartype limit: int - :ivar name: Gets the name of the type of usage. - :vartype name: ~azure.mgmt.storage.v2021_01_01.models.UsageName - """ - - _validation = { - 'unit': {'readonly': True}, - 'current_value': {'readonly': True}, - 'limit': {'readonly': True}, - 'name': {'readonly': True}, - } - - _attribute_map = { - 'unit': {'key': 'unit', 'type': 'str'}, - 'current_value': {'key': 'currentValue', 'type': 'int'}, - 'limit': {'key': 'limit', 'type': 'int'}, - 'name': {'key': 'name', 'type': 'UsageName'}, - } - - def __init__( - self, - **kwargs - ): - super(Usage, self).__init__(**kwargs) - self.unit = None - self.current_value = None - self.limit = None - self.name = None - - -class UsageListResult(msrest.serialization.Model): - """The response from the List Usages operation. - - :param value: Gets or sets the list of Storage Resource Usages. - :type value: list[~azure.mgmt.storage.v2021_01_01.models.Usage] - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Usage]'}, - } - - def __init__( - self, - *, - value: Optional[List["Usage"]] = None, - **kwargs - ): - super(UsageListResult, self).__init__(**kwargs) - self.value = value - - -class UsageName(msrest.serialization.Model): - """The usage names that can be used; currently limited to StorageAccount. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: Gets a string describing the resource name. - :vartype value: str - :ivar localized_value: Gets a localized string describing the resource name. - :vartype localized_value: str - """ - - _validation = { - 'value': {'readonly': True}, - 'localized_value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': 'str'}, - 'localized_value': {'key': 'localizedValue', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(UsageName, self).__init__(**kwargs) - self.value = None - self.localized_value = None - - -class UserAssignedIdentity(msrest.serialization.Model): - """UserAssignedIdentity for the resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The principal ID of the identity. - :vartype principal_id: str - :ivar client_id: The client ID of the identity. - :vartype client_id: str - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'client_id': {'readonly': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(UserAssignedIdentity, self).__init__(**kwargs) - self.principal_id = None - self.client_id = None - - -class VirtualNetworkRule(msrest.serialization.Model): - """Virtual Network rule. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param virtual_network_resource_id: Required. Resource ID of a subnet, for example: - /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. - :type virtual_network_resource_id: str - :ivar action: The action of virtual network rule. Default value: "Allow". - :vartype action: str - :param state: Gets the state of virtual network rule. Possible values include: "provisioning", - "deprovisioning", "succeeded", "failed", "networkSourceDeleted". - :type state: str or ~azure.mgmt.storage.v2021_01_01.models.State - """ - - _validation = { - 'virtual_network_resource_id': {'required': True}, - 'action': {'constant': True}, - } - - _attribute_map = { - 'virtual_network_resource_id': {'key': 'id', 'type': 'str'}, - 'action': {'key': 'action', 'type': 'str'}, - 'state': {'key': 'state', 'type': 'str'}, - } - - action = "Allow" - - def __init__( - self, - *, - virtual_network_resource_id: str, - state: Optional[Union[str, "State"]] = None, - **kwargs - ): - super(VirtualNetworkRule, self).__init__(**kwargs) - self.virtual_network_resource_id = virtual_network_resource_id - self.state = state diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_storage_management_client_enums.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_storage_management_client_enums.py deleted file mode 100644 index bccc88e90fb..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/models/_storage_management_client_enums.py +++ /dev/null @@ -1,461 +0,0 @@ -# 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 enum import Enum, EnumMeta -from six import with_metaclass - -class _CaseInsensitiveEnumMeta(EnumMeta): - def __getitem__(self, name): - return super().__getitem__(name.upper()) - - def __getattr__(cls, name): - """Return the enum member matching `name` - We use __getattr__ instead of descriptors or inserting into the enum - class' __dict__ in order to support `name` and `value` being both - properties for enum members (which live in the class' __dict__) and - enum members themselves. - """ - try: - return cls._member_map_[name.upper()] - except KeyError: - raise AttributeError(name) - - -class AccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Required for storage accounts where kind = BlobStorage. The access tier used for billing. - """ - - HOT = "Hot" - COOL = "Cool" - -class AccountStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Gets the status indicating whether the primary location of the storage account is available or - unavailable. - """ - - AVAILABLE = "available" - UNAVAILABLE = "unavailable" - -class BlobInventoryPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - - DEFAULT = "default" - -class BlobRestoreProgressStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The status of blob restore progress. Possible values are: - InProgress: Indicates that blob - restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - - Failed: Indicates that blob restore is failed. - """ - - IN_PROGRESS = "InProgress" - COMPLETE = "Complete" - FAILED = "Failed" - -class Bypass(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are - any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to - bypass none of those traffics. - """ - - NONE = "None" - LOGGING = "Logging" - METRICS = "Metrics" - AZURE_SERVICES = "AzureServices" - -class CorsRuleAllowedMethodsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - - DELETE = "DELETE" - GET = "GET" - HEAD = "HEAD" - MERGE = "MERGE" - POST = "POST" - OPTIONS = "OPTIONS" - PUT = "PUT" - -class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The type of identity that created the resource. - """ - - USER = "User" - APPLICATION = "Application" - MANAGED_IDENTITY = "ManagedIdentity" - KEY = "Key" - -class DefaultAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Specifies the default action of allow or deny when no other rules match. - """ - - ALLOW = "Allow" - DENY = "Deny" - -class DirectoryServiceOptions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Indicates the directory service used. - """ - - NONE = "None" - AADDS = "AADDS" - AD = "AD" - -class EnabledProtocols(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The authentication protocol that is used for the file share. Can only be specified when - creating a share. - """ - - SMB = "SMB" - NFS = "NFS" - -class EncryptionScopeSource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, - Microsoft.KeyVault. - """ - - MICROSOFT_STORAGE = "Microsoft.Storage" - MICROSOFT_KEY_VAULT = "Microsoft.KeyVault" - -class EncryptionScopeState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. - """ - - ENABLED = "Enabled" - DISABLED = "Disabled" - -class ExtendedLocationTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The type of extendedLocation. - """ - - EDGE_ZONE = "EdgeZone" - -class GeoReplicationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The status of the secondary location. Possible values are: - Live: Indicates that the secondary - location is active and operational. - Bootstrap: Indicates initial synchronization from the - primary location to the secondary location is in progress.This typically occurs when - replication is first enabled. - Unavailable: Indicates that the secondary location is - temporarily unavailable. - """ - - LIVE = "Live" - BOOTSTRAP = "Bootstrap" - UNAVAILABLE = "Unavailable" - -class HttpProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The protocol permitted for a request made with the account SAS. - """ - - HTTPS_HTTP = "https,http" - HTTPS = "https" - -class IdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The identity type. - """ - - NONE = "None" - SYSTEM_ASSIGNED = "SystemAssigned" - USER_ASSIGNED = "UserAssigned" - SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned" - -class ImmutabilityPolicyState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. - """ - - LOCKED = "Locked" - UNLOCKED = "Unlocked" - -class ImmutabilityPolicyUpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and - extend. - """ - - PUT = "put" - LOCK = "lock" - EXTEND = "extend" - -class InventoryRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The valid value is Inventory - """ - - INVENTORY = "Inventory" - -class KeyPermission(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Permissions for the key -- read-only or full permissions. - """ - - READ = "Read" - FULL = "Full" - -class KeySource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, - Microsoft.Keyvault - """ - - MICROSOFT_STORAGE = "Microsoft.Storage" - MICROSOFT_KEYVAULT = "Microsoft.Keyvault" - -class KeyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Encryption key type to be used for the encryption service. 'Account' key type implies that an - account-scoped encryption key will be used. 'Service' key type implies that a default service - key is used. - """ - - SERVICE = "Service" - ACCOUNT = "Account" - -class Kind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Indicates the type of storage account. - """ - - STORAGE = "Storage" - STORAGE_V2 = "StorageV2" - BLOB_STORAGE = "BlobStorage" - FILE_STORAGE = "FileStorage" - BLOCK_BLOB_STORAGE = "BlockBlobStorage" - -class LargeFileSharesState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. - """ - - DISABLED = "Disabled" - ENABLED = "Enabled" - -class LeaseContainerRequestAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Specifies the lease action. Can be one of the available actions. - """ - - ACQUIRE = "Acquire" - RENEW = "Renew" - CHANGE = "Change" - RELEASE = "Release" - BREAK_ENUM = "Break" - -class LeaseDuration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Specifies whether the lease on a container is of infinite or fixed duration, only when the - container is leased. - """ - - INFINITE = "Infinite" - FIXED = "Fixed" - -class LeaseState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Lease state of the container. - """ - - AVAILABLE = "Available" - LEASED = "Leased" - EXPIRED = "Expired" - BREAKING = "Breaking" - BROKEN = "Broken" - -class LeaseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The lease status of the container. - """ - - LOCKED = "Locked" - UNLOCKED = "Unlocked" - -class ListContainersInclude(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - - DELETED = "deleted" - -class ListSharesExpand(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - - DELETED = "deleted" - SNAPSHOTS = "snapshots" - -class ManagementPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - - DEFAULT = "default" - -class MinimumTlsVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Set the minimum TLS version to be permitted on requests to storage. The default interpretation - is TLS 1.0 for this property. - """ - - TLS1_0 = "TLS1_0" - TLS1_1 = "TLS1_1" - TLS1_2 = "TLS1_2" - -class Name(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Name of the policy. The valid value is AccessTimeTracking. This field is currently read only - """ - - ACCESS_TIME_TRACKING = "AccessTimeTracking" - -class Permissions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), - Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). - """ - - R = "r" - D = "d" - W = "w" - L = "l" - A = "a" - C = "c" - U = "u" - P = "p" - -class PrivateEndpointConnectionProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The current provisioning state. - """ - - SUCCEEDED = "Succeeded" - CREATING = "Creating" - DELETING = "Deleting" - FAILED = "Failed" - -class PrivateEndpointServiceConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The private endpoint connection status. - """ - - PENDING = "Pending" - APPROVED = "Approved" - REJECTED = "Rejected" - -class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Gets the status of the storage account at the time the operation was called. - """ - - CREATING = "Creating" - RESOLVING_DNS = "ResolvingDNS" - SUCCEEDED = "Succeeded" - -class PublicAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Specifies whether data in the container may be accessed publicly and the level of access. - """ - - CONTAINER = "Container" - BLOB = "Blob" - NONE = "None" - -class PutSharesExpand(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - - SNAPSHOTS = "snapshots" - -class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Gets the reason that a storage account name could not be used. The Reason element is only - returned if NameAvailable is false. - """ - - ACCOUNT_NAME_INVALID = "AccountNameInvalid" - ALREADY_EXISTS = "AlreadyExists" - -class ReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The reason for the restriction. As of now this can be "QuotaId" or - "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the - subscription does not belong to that quota. The "NotAvailableForSubscription" is related to - capacity at DC. - """ - - QUOTA_ID = "QuotaId" - NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" - -class RootSquashType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The property is for NFS share only. The default is NoRootSquash. - """ - - NO_ROOT_SQUASH = "NoRootSquash" - ROOT_SQUASH = "RootSquash" - ALL_SQUASH = "AllSquash" - -class RoutingChoice(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Routing Choice defines the kind of network routing opted by the user. - """ - - MICROSOFT_ROUTING = "MicrosoftRouting" - INTERNET_ROUTING = "InternetRouting" - -class RuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The valid value is Lifecycle - """ - - LIFECYCLE = "Lifecycle" - -class Services(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The signed services accessible with the account SAS. Possible values include: Blob (b), Queue - (q), Table (t), File (f). - """ - - B = "b" - Q = "q" - T = "t" - F = "f" - -class ShareAccessTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), - Hot, and Cool. FileStorage account can choose Premium. - """ - - TRANSACTION_OPTIMIZED = "TransactionOptimized" - HOT = "Hot" - COOL = "Cool" - PREMIUM = "Premium" - -class SignedResource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The signed services accessible with the service SAS. Possible values include: Blob (b), - Container (c), File (f), Share (s). - """ - - B = "b" - C = "c" - F = "f" - S = "s" - -class SignedResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The signed resource types that are accessible with the account SAS. Service (s): Access to - service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to - object-level APIs for blobs, queue messages, table entities, and files. - """ - - S = "s" - C = "c" - O = "o" - -class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The SKU name. Required for account creation; optional for update. Note that in older versions, - SKU name was called accountType. - """ - - STANDARD_LRS = "Standard_LRS" - STANDARD_GRS = "Standard_GRS" - STANDARD_RAGRS = "Standard_RAGRS" - STANDARD_ZRS = "Standard_ZRS" - PREMIUM_LRS = "Premium_LRS" - PREMIUM_ZRS = "Premium_ZRS" - STANDARD_GZRS = "Standard_GZRS" - STANDARD_RAGZRS = "Standard_RAGZRS" - -class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The SKU tier. This is based on the SKU name. - """ - - STANDARD = "Standard" - PREMIUM = "Premium" - -class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Gets the state of virtual network rule. - """ - - PROVISIONING = "provisioning" - DEPROVISIONING = "deprovisioning" - SUCCEEDED = "succeeded" - FAILED = "failed" - NETWORK_SOURCE_DELETED = "networkSourceDeleted" - -class StorageAccountExpand(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - - GEO_REPLICATION_STATS = "geoReplicationStats" - BLOB_RESTORE_STATUS = "blobRestoreStatus" - -class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Gets the unit of measurement. - """ - - COUNT = "Count" - BYTES = "Bytes" - SECONDS = "Seconds" - PERCENT = "Percent" - COUNTS_PER_SECOND = "CountsPerSecond" - BYTES_PER_SECOND = "BytesPerSecond" diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/__init__.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/__init__.py deleted file mode 100644 index bddcf8c8cb3..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/__init__.py +++ /dev/null @@ -1,49 +0,0 @@ -# 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 ._operations import Operations -from ._skus_operations import SkusOperations -from ._storage_accounts_operations import StorageAccountsOperations -from ._deleted_accounts_operations import DeletedAccountsOperations -from ._usages_operations import UsagesOperations -from ._management_policies_operations import ManagementPoliciesOperations -from ._blob_inventory_policies_operations import BlobInventoryPoliciesOperations -from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations -from ._private_link_resources_operations import PrivateLinkResourcesOperations -from ._object_replication_policies_operations import ObjectReplicationPoliciesOperations -from ._encryption_scopes_operations import EncryptionScopesOperations -from ._blob_services_operations import BlobServicesOperations -from ._blob_containers_operations import BlobContainersOperations -from ._file_services_operations import FileServicesOperations -from ._file_shares_operations import FileSharesOperations -from ._queue_services_operations import QueueServicesOperations -from ._queue_operations import QueueOperations -from ._table_services_operations import TableServicesOperations -from ._table_operations import TableOperations - -__all__ = [ - 'Operations', - 'SkusOperations', - 'StorageAccountsOperations', - 'DeletedAccountsOperations', - 'UsagesOperations', - 'ManagementPoliciesOperations', - 'BlobInventoryPoliciesOperations', - 'PrivateEndpointConnectionsOperations', - 'PrivateLinkResourcesOperations', - 'ObjectReplicationPoliciesOperations', - 'EncryptionScopesOperations', - 'BlobServicesOperations', - 'BlobContainersOperations', - 'FileServicesOperations', - 'FileSharesOperations', - 'QueueServicesOperations', - 'QueueOperations', - 'TableServicesOperations', - 'TableOperations', -] diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_containers_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_containers_operations.py deleted file mode 100644 index 8c342651fa5..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_containers_operations.py +++ /dev/null @@ -1,1099 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class BlobContainersOperations(object): - """BlobContainersOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - maxpagesize=None, # type: Optional[str] - filter=None, # type: Optional[str] - include=None, # type: Optional[Union[str, "_models.ListContainersInclude"]] - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ListContainerItems"] - """Lists all containers and does not support a prefix like data plane. Also SRP today does not - return continuation token. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param maxpagesize: Optional. Specified maximum number of containers that can be included in - the list. - :type maxpagesize: str - :param filter: Optional. When specified, only container names starting with the filter will be - listed. - :type filter: str - :param include: Optional, used to include the properties for soft deleted blob containers. - :type include: str or ~azure.mgmt.storage.v2021_01_01.models.ListContainersInclude - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ListContainerItems or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListContainerItems] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListContainerItems"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if maxpagesize is not None: - query_parameters['$maxpagesize'] = self._serialize.query("maxpagesize", maxpagesize, 'str') - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') - if include is not None: - query_parameters['$include'] = self._serialize.query("include", include, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ListContainerItems', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers'} # type: ignore - - def create( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - blob_container, # type: "_models.BlobContainer" - **kwargs # type: Any - ): - # type: (...) -> "_models.BlobContainer" - """Creates a new container under the specified account as described by request body. The container - resource includes metadata and properties for that container. It does not include a list of the - blobs contained by the container. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param blob_container: Properties of the blob container to create. - :type blob_container: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobContainer, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobContainer"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(blob_container, 'BlobContainer') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('BlobContainer', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('BlobContainer', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - blob_container, # type: "_models.BlobContainer" - **kwargs # type: Any - ): - # type: (...) -> "_models.BlobContainer" - """Updates container properties as specified in request body. Properties not mentioned in the - request will be unchanged. Update fails if the specified container doesn't already exist. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param blob_container: Properties to update for the blob container. - :type blob_container: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobContainer, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobContainer"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(blob_container, 'BlobContainer') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobContainer', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.BlobContainer" - """Gets properties of a specified container. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobContainer, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobContainer"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobContainer', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes specified container under its account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} # type: ignore - - def set_legal_hold( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - legal_hold, # type: "_models.LegalHold" - **kwargs # type: Any - ): - # type: (...) -> "_models.LegalHold" - """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold - follows an append pattern and does not clear out the existing tags that are not specified in - the request. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param legal_hold: The LegalHold property that will be set to a blob container. - :type legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHold - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LegalHold, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.LegalHold"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_legal_hold.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(legal_hold, 'LegalHold') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('LegalHold', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_legal_hold.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold'} # type: ignore - - def clear_legal_hold( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - legal_hold, # type: "_models.LegalHold" - **kwargs # type: Any - ): - # type: (...) -> "_models.LegalHold" - """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent - operation. ClearLegalHold clears out only the specified tags in the request. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param legal_hold: The LegalHold property that will be clear from a blob container. - :type legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHold - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LegalHold, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.LegalHold"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.clear_legal_hold.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(legal_hold, 'LegalHold') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('LegalHold', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - clear_legal_hold.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold'} # type: ignore - - def create_or_update_immutability_policy( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - if_match=None, # type: Optional[str] - parameters=None, # type: Optional["_models.ImmutabilityPolicy"] - **kwargs # type: Any - ): - # type: (...) -> "_models.ImmutabilityPolicy" - """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but - not required for this operation. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob - container. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - immutability_policy_name = "default" - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'immutabilityPolicyName': self._serialize.url("immutability_policy_name", immutability_policy_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if parameters is not None: - body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - create_or_update_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} # type: ignore - - def get_immutability_policy( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - if_match=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "_models.ImmutabilityPolicy" - """Gets the existing immutability policy along with the corresponding ETag in response headers and - body. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - immutability_policy_name = "default" - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'immutabilityPolicyName': self._serialize.url("immutability_policy_name", immutability_policy_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if if_match is not None: - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - get_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} # type: ignore - - def delete_immutability_policy( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - if_match, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ImmutabilityPolicy" - """Aborts an unlocked immutability policy. The response of delete has - immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this - operation. Deleting a locked immutability policy is not allowed, the only way is to delete the - container after deleting all expired blobs inside the policy locked container. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - immutability_policy_name = "default" - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'immutabilityPolicyName': self._serialize.url("immutability_policy_name", immutability_policy_name, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - delete_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} # type: ignore - - def lock_immutability_policy( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - if_match, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ImmutabilityPolicy" - """Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is - ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.lock_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - lock_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock'} # type: ignore - - def extend_immutability_policy( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - if_match, # type: str - parameters=None, # type: Optional["_models.ImmutabilityPolicy"] - **kwargs # type: Any - ): - # type: (...) -> "_models.ImmutabilityPolicy" - """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only - action allowed on a Locked policy will be this action. ETag in If-Match is required for this - operation. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param if_match: The entity state (ETag) version of the immutability policy to update. A value - of "*" can be used to apply the operation only if the immutability policy already exists. If - omitted, this operation will always be applied. - :type if_match: str - :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob - container. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ImmutabilityPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ImmutabilityPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.extend_immutability_policy.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if parameters is not None: - body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - response_headers = {} - response_headers['ETag']=self._deserialize('str', response.headers.get('ETag')) - deserialized = self._deserialize('ImmutabilityPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, response_headers) - - return deserialized - extend_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend'} # type: ignore - - def lease( - self, - resource_group_name, # type: str - account_name, # type: str - container_name, # type: str - parameters=None, # type: Optional["_models.LeaseContainerRequest"] - **kwargs # type: Any - ): - # type: (...) -> "_models.LeaseContainerResponse" - """The Lease Container operation establishes and manages a lock on a container for delete - operations. The lock duration can be 15 to 60 seconds, or can be infinite. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param container_name: The name of the blob container within the specified storage account. - Blob container names must be between 3 and 63 characters in length and use numbers, lower-case - letters and dash (-) only. Every dash (-) character must be immediately preceded and followed - by a letter or number. - :type container_name: str - :param parameters: Lease Container request body. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerRequest - :keyword callable cls: A custom type or function that will be passed the direct response - :return: LeaseContainerResponse, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.LeaseContainerResponse"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.lease.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - if parameters is not None: - body_content = self._serialize.body(parameters, 'LeaseContainerRequest') - else: - body_content = None - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('LeaseContainerResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - lease.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_inventory_policies_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_inventory_policies_operations.py deleted file mode 100644 index 4db7e1964c6..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +++ /dev/null @@ -1,334 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class BlobInventoryPoliciesOperations(object): - """BlobInventoryPoliciesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - blob_inventory_policy_name, # type: Union[str, "_models.BlobInventoryPolicyName"] - **kwargs # type: Any - ): - # type: (...) -> "_models.BlobInventoryPolicy" - """Gets the blob inventory policy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It - should always be 'default'. - :type blob_inventory_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobInventoryPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobInventoryPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'blobInventoryPolicyName': self._serialize.url("blob_inventory_policy_name", blob_inventory_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobInventoryPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - account_name, # type: str - blob_inventory_policy_name, # type: Union[str, "_models.BlobInventoryPolicyName"] - properties, # type: "_models.BlobInventoryPolicy" - **kwargs # type: Any - ): - # type: (...) -> "_models.BlobInventoryPolicy" - """Sets the blob inventory policy to the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It - should always be 'default'. - :type blob_inventory_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyName - :param properties: The blob inventory policy set to a storage account. - :type properties: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobInventoryPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobInventoryPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'blobInventoryPolicyName': self._serialize.url("blob_inventory_policy_name", blob_inventory_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'BlobInventoryPolicy') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobInventoryPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - blob_inventory_policy_name, # type: Union[str, "_models.BlobInventoryPolicyName"] - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes the blob inventory policy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param blob_inventory_policy_name: The name of the storage account blob inventory policy. It - should always be 'default'. - :type blob_inventory_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.BlobInventoryPolicyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'blobInventoryPolicyName': self._serialize.url("blob_inventory_policy_name", blob_inventory_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}'} # type: ignore - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ListBlobInventoryPolicy"] - """Gets the blob inventory policy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ListBlobInventoryPolicy or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListBlobInventoryPolicy] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListBlobInventoryPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ListBlobInventoryPolicy', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_services_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_services_operations.py deleted file mode 100644 index d9b095ddea9..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_blob_services_operations.py +++ /dev/null @@ -1,263 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class BlobServicesOperations(object): - """BlobServicesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.BlobServiceItems"] - """List blob services of storage account. It returns a collection of one object named default. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either BlobServiceItems or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.BlobServiceItems] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobServiceItems"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('BlobServiceItems', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices'} # type: ignore - - def set_service_properties( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.BlobServiceProperties" - **kwargs # type: Any - ): - # type: (...) -> "_models.BlobServiceProperties" - """Sets the properties of a storage account’s Blob service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The properties of a storage account’s Blob service, including properties for - Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.BlobServiceProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - blob_services_name = "default" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'BlobServicesName': self._serialize.url("blob_services_name", blob_services_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'BlobServiceProperties') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}'} # type: ignore - - def get_service_properties( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.BlobServiceProperties" - """Gets the properties of a storage account’s Blob service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: BlobServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - blob_services_name = "default" - accept = "application/json" - - # Construct URL - url = self.get_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'BlobServicesName': self._serialize.url("blob_services_name", blob_services_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('BlobServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_deleted_accounts_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_deleted_accounts_operations.py deleted file mode 100644 index d3296ce2272..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_deleted_accounts_operations.py +++ /dev/null @@ -1,174 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class DeletedAccountsOperations(object): - """DeletedAccountsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.DeletedAccountListResult"] - """Lists deleted accounts under the subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either DeletedAccountListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.DeletedAccountListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.DeletedAccountListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('DeletedAccountListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts'} # type: ignore - - def get( - self, - deleted_account_name, # type: str - location, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.DeletedAccount" - """Get properties of specified deleted account resource. - - :param deleted_account_name: Name of the deleted storage account. - :type deleted_account_name: str - :param location: The location of the deleted storage account. - :type location: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: DeletedAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.DeletedAccount - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.DeletedAccount"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'deletedAccountName': self._serialize.url("deleted_account_name", deleted_account_name, 'str', max_length=24, min_length=3), - 'location': self._serialize.url("location", location, 'str'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('DeletedAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_encryption_scopes_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_encryption_scopes_operations.py deleted file mode 100644 index 534474b622c..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_encryption_scopes_operations.py +++ /dev/null @@ -1,357 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class EncryptionScopesOperations(object): - """EncryptionScopesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def put( - self, - resource_group_name, # type: str - account_name, # type: str - encryption_scope_name, # type: str - encryption_scope, # type: "_models.EncryptionScope" - **kwargs # type: Any - ): - # type: (...) -> "_models.EncryptionScope" - """Synchronously creates or updates an encryption scope under the specified storage account. If an - encryption scope is already created and a subsequent request is issued with different - properties, the encryption scope properties will be updated per the specified request. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param encryption_scope_name: The name of the encryption scope within the specified storage - account. Encryption scope names must be between 3 and 63 characters in length and use numbers, - lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and - followed by a letter or number. - :type encryption_scope_name: str - :param encryption_scope: Encryption scope properties to be used for the create or update. - :type encryption_scope: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :keyword callable cls: A custom type or function that will be passed the direct response - :return: EncryptionScope, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.EncryptionScope"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.put.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'encryptionScopeName': self._serialize.url("encryption_scope_name", encryption_scope_name, 'str', max_length=63, min_length=3), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(encryption_scope, 'EncryptionScope') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('EncryptionScope', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('EncryptionScope', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - put.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}'} # type: ignore - - def patch( - self, - resource_group_name, # type: str - account_name, # type: str - encryption_scope_name, # type: str - encryption_scope, # type: "_models.EncryptionScope" - **kwargs # type: Any - ): - # type: (...) -> "_models.EncryptionScope" - """Update encryption scope properties as specified in the request body. Update fails if the - specified encryption scope does not already exist. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param encryption_scope_name: The name of the encryption scope within the specified storage - account. Encryption scope names must be between 3 and 63 characters in length and use numbers, - lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and - followed by a letter or number. - :type encryption_scope_name: str - :param encryption_scope: Encryption scope properties to be used for the update. - :type encryption_scope: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :keyword callable cls: A custom type or function that will be passed the direct response - :return: EncryptionScope, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.EncryptionScope"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.patch.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'encryptionScopeName': self._serialize.url("encryption_scope_name", encryption_scope_name, 'str', max_length=63, min_length=3), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(encryption_scope, 'EncryptionScope') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('EncryptionScope', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - patch.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - encryption_scope_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.EncryptionScope" - """Returns the properties for the specified encryption scope. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param encryption_scope_name: The name of the encryption scope within the specified storage - account. Encryption scope names must be between 3 and 63 characters in length and use numbers, - lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and - followed by a letter or number. - :type encryption_scope_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: EncryptionScope, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.EncryptionScope - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.EncryptionScope"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'encryptionScopeName': self._serialize.url("encryption_scope_name", encryption_scope_name, 'str', max_length=63, min_length=3), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('EncryptionScope', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}'} # type: ignore - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.EncryptionScopeListResult"] - """Lists all the encryption scopes available under the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either EncryptionScopeListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.EncryptionScopeListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.EncryptionScopeListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('EncryptionScopeListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_file_services_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_file_services_operations.py deleted file mode 100644 index fb0d63051ee..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_file_services_operations.py +++ /dev/null @@ -1,246 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class FileServicesOperations(object): - """FileServicesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.FileServiceItems" - """List all file services in storage accounts. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileServiceItems, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileServiceItems - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileServiceItems"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileServiceItems', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices'} # type: ignore - - def set_service_properties( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.FileServiceProperties" - **kwargs # type: Any - ): - # type: (...) -> "_models.FileServiceProperties" - """Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource - Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The properties of file services in storage accounts, including CORS (Cross- - Origin Resource Sharing) rules. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - file_services_name = "default" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'FileServicesName': self._serialize.url("file_services_name", file_services_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'FileServiceProperties') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}'} # type: ignore - - def get_service_properties( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.FileServiceProperties" - """Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource - Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - file_services_name = "default" - accept = "application/json" - - # Construct URL - url = self.get_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'FileServicesName': self._serialize.url("file_services_name", file_services_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_file_shares_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_file_shares_operations.py deleted file mode 100644 index 1a526905c8c..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_file_shares_operations.py +++ /dev/null @@ -1,531 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class FileSharesOperations(object): - """FileSharesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - maxpagesize=None, # type: Optional[str] - filter=None, # type: Optional[str] - expand=None, # type: Optional[Union[str, "_models.ListSharesExpand"]] - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.FileShareItems"] - """Lists all shares. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param maxpagesize: Optional. Specified maximum number of shares that can be included in the - list. - :type maxpagesize: str - :param filter: Optional. When specified, only share names starting with the filter will be - listed. - :type filter: str - :param expand: Optional, used to expand the properties within share's properties. - :type expand: str or ~azure.mgmt.storage.v2021_01_01.models.ListSharesExpand - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FileShareItems or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.FileShareItems] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileShareItems"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if maxpagesize is not None: - query_parameters['$maxpagesize'] = self._serialize.query("maxpagesize", maxpagesize, 'str') - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('FileShareItems', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares'} # type: ignore - - def create( - self, - resource_group_name, # type: str - account_name, # type: str - share_name, # type: str - file_share, # type: "_models.FileShare" - expand=None, # type: Optional[Union[str, "_models.PutSharesExpand"]] - **kwargs # type: Any - ): - # type: (...) -> "_models.FileShare" - """Creates a new share under the specified account as described by request body. The share - resource includes metadata and properties for that share. It does not include a list of the - files contained by the share. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param file_share: Properties of the file share to create. - :type file_share: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :param expand: Optional, used to create a snapshot. - :type expand: str or ~azure.mgmt.storage.v2021_01_01.models.PutSharesExpand - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileShare, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileShare"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(file_share, 'FileShare') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('FileShare', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('FileShare', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - account_name, # type: str - share_name, # type: str - file_share, # type: "_models.FileShare" - **kwargs # type: Any - ): - # type: (...) -> "_models.FileShare" - """Updates share properties as specified in request body. Properties not mentioned in the request - will not be changed. Update fails if the specified share does not already exist. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param file_share: Properties to update for the file share. - :type file_share: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileShare, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileShare"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(file_share, 'FileShare') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileShare', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - share_name, # type: str - expand="stats", # type: Optional[str] - x_ms_snapshot=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "_models.FileShare" - """Gets properties of a specified share. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param expand: Optional, used to expand the properties within share's properties. - :type expand: str - :param x_ms_snapshot: Optional, used to retrieve properties of a snapshot. - :type x_ms_snapshot: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: FileShare, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.FileShare - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.FileShare"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if x_ms_snapshot is not None: - header_parameters['x-ms-snapshot'] = self._serialize.header("x_ms_snapshot", x_ms_snapshot, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('FileShare', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - share_name, # type: str - x_ms_snapshot=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes specified share under its account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param x_ms_snapshot: Optional, used to delete a snapshot. - :type x_ms_snapshot: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if x_ms_snapshot is not None: - header_parameters['x-ms-snapshot'] = self._serialize.header("x_ms_snapshot", x_ms_snapshot, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}'} # type: ignore - - def restore( - self, - resource_group_name, # type: str - account_name, # type: str - share_name, # type: str - deleted_share, # type: "_models.DeletedShare" - **kwargs # type: Any - ): - # type: (...) -> None - """Restore a file share within a valid retention days if share soft delete is enabled. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param share_name: The name of the file share within the specified storage account. File share - names must be between 3 and 63 characters in length and use numbers, lower-case letters and - dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter - or number. - :type share_name: str - :param deleted_share: - :type deleted_share: ~azure.mgmt.storage.v2021_01_01.models.DeletedShare - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.restore.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'shareName': self._serialize.url("share_name", share_name, 'str', max_length=63, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(deleted_share, 'DeletedShare') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - restore.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_management_policies_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_management_policies_operations.py deleted file mode 100644 index b2b6c184476..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_management_policies_operations.py +++ /dev/null @@ -1,249 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class ManagementPoliciesOperations(object): - """ManagementPoliciesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - management_policy_name, # type: Union[str, "_models.ManagementPolicyName"] - **kwargs # type: Any - ): - # type: (...) -> "_models.ManagementPolicy" - """Gets the managementpolicy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param management_policy_name: The name of the Storage Account Management Policy. It should - always be 'default'. - :type management_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagementPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagementPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'managementPolicyName': self._serialize.url("management_policy_name", management_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagementPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - account_name, # type: str - management_policy_name, # type: Union[str, "_models.ManagementPolicyName"] - properties, # type: "_models.ManagementPolicy" - **kwargs # type: Any - ): - # type: (...) -> "_models.ManagementPolicy" - """Sets the managementpolicy to the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param management_policy_name: The name of the Storage Account Management Policy. It should - always be 'default'. - :type management_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyName - :param properties: The ManagementPolicy set to a storage account. - :type properties: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagementPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagementPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'managementPolicyName': self._serialize.url("management_policy_name", management_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'ManagementPolicy') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagementPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - management_policy_name, # type: Union[str, "_models.ManagementPolicyName"] - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes the managementpolicy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param management_policy_name: The name of the Storage Account Management Policy. It should - always be 'default'. - :type management_policy_name: str or ~azure.mgmt.storage.v2021_01_01.models.ManagementPolicyName - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'managementPolicyName': self._serialize.url("management_policy_name", management_policy_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_object_replication_policies_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_object_replication_policies_operations.py deleted file mode 100644 index 99368a306aa..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_object_replication_policies_operations.py +++ /dev/null @@ -1,335 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class ObjectReplicationPoliciesOperations(object): - """ObjectReplicationPoliciesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ObjectReplicationPolicies"] - """List the object replication policies associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ObjectReplicationPolicies or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicies] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ObjectReplicationPolicies"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ObjectReplicationPolicies', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies'} # type: ignore - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - object_replication_policy_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ObjectReplicationPolicy" - """Get the object replication policy of the storage account by policy ID. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param object_replication_policy_id: The ID of object replication policy or 'default' if the - policy ID is unknown. - :type object_replication_policy_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ObjectReplicationPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ObjectReplicationPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'objectReplicationPolicyId': self._serialize.url("object_replication_policy_id", object_replication_policy_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ObjectReplicationPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}'} # type: ignore - - def create_or_update( - self, - resource_group_name, # type: str - account_name, # type: str - object_replication_policy_id, # type: str - properties, # type: "_models.ObjectReplicationPolicy" - **kwargs # type: Any - ): - # type: (...) -> "_models.ObjectReplicationPolicy" - """Create or update the object replication policy of the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param object_replication_policy_id: The ID of object replication policy or 'default' if the - policy ID is unknown. - :type object_replication_policy_id: str - :param properties: The object replication policy set to a storage account. A unique policy ID - will be created if absent. - :type properties: ~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicy - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ObjectReplicationPolicy, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ObjectReplicationPolicy - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ObjectReplicationPolicy"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'objectReplicationPolicyId': self._serialize.url("object_replication_policy_id", object_replication_policy_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'ObjectReplicationPolicy') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ObjectReplicationPolicy', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - object_replication_policy_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes the object replication policy associated with the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param object_replication_policy_id: The ID of object replication policy or 'default' if the - policy ID is unknown. - :type object_replication_policy_id: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'objectReplicationPolicyId': self._serialize.url("object_replication_policy_id", object_replication_policy_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_operations.py deleted file mode 100644 index c92895c524b..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_operations.py +++ /dev/null @@ -1,109 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class Operations(object): - """Operations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.OperationListResult"] - """Lists all of the available Storage Rest API operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.OperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('OperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/providers/Microsoft.Storage/operations'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_private_endpoint_connections_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_private_endpoint_connections_operations.py deleted file mode 100644 index 38e01ee70b2..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +++ /dev/null @@ -1,333 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class PrivateEndpointConnectionsOperations(object): - """PrivateEndpointConnectionsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.PrivateEndpointConnectionListResult"] - """List all the private endpoint connections associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnectionListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('PrivateEndpointConnectionListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections'} # type: ignore - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - private_endpoint_connection_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.PrivateEndpointConnection" - """Gets the specified private endpoint connection associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param private_endpoint_connection_name: The name of the private endpoint connection associated - with the Azure resource. - :type private_endpoint_connection_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore - - def put( - self, - resource_group_name, # type: str - account_name, # type: str - private_endpoint_connection_name, # type: str - properties, # type: "_models.PrivateEndpointConnection" - **kwargs # type: Any - ): - # type: (...) -> "_models.PrivateEndpointConnection" - """Update the state of specified private endpoint connection associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param private_endpoint_connection_name: The name of the private endpoint connection associated - with the Azure resource. - :type private_endpoint_connection_name: str - :param properties: The private endpoint connection properties. - :type properties: ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.PrivateEndpointConnection - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.put.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'PrivateEndpointConnection') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - put.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - private_endpoint_connection_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes the specified private endpoint connection associated with the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param private_endpoint_connection_name: The name of the private endpoint connection associated - with the Azure resource. - :type private_endpoint_connection_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_private_link_resources_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_private_link_resources_operations.py deleted file mode 100644 index 260af02bb08..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_private_link_resources_operations.py +++ /dev/null @@ -1,107 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class PrivateLinkResourcesOperations(object): - """PrivateLinkResourcesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_storage_account( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.PrivateLinkResourceListResult" - """Gets the private link resources that need to be created for a storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: PrivateLinkResourceListResult, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.PrivateLinkResourceListResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResourceListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list_by_storage_account.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('PrivateLinkResourceListResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_by_storage_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_queue_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_queue_operations.py deleted file mode 100644 index acd6477c8b5..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_queue_operations.py +++ /dev/null @@ -1,425 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class QueueOperations(object): - """QueueOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def create( - self, - resource_group_name, # type: str - account_name, # type: str - queue_name, # type: str - queue, # type: "_models.StorageQueue" - **kwargs # type: Any - ): - # type: (...) -> "_models.StorageQueue" - """Creates a new queue with the specified queue name, under the specified account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param queue_name: A queue name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, - it should begin and end with an alphanumeric character and it cannot have two consecutive - dash(-) characters. - :type queue_name: str - :param queue: Queue properties and metadata to be created with. - :type queue: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageQueue, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageQueue"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', max_length=63, min_length=3, pattern=r'^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(queue, 'StorageQueue') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageQueue', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - account_name, # type: str - queue_name, # type: str - queue, # type: "_models.StorageQueue" - **kwargs # type: Any - ): - # type: (...) -> "_models.StorageQueue" - """Creates a new queue with the specified queue name, under the specified account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param queue_name: A queue name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, - it should begin and end with an alphanumeric character and it cannot have two consecutive - dash(-) characters. - :type queue_name: str - :param queue: Queue properties and metadata to be created with. - :type queue: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageQueue, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageQueue"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', max_length=63, min_length=3, pattern=r'^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(queue, 'StorageQueue') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageQueue', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - queue_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.StorageQueue" - """Gets the queue with the specified queue name, under the specified account if it exists. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param queue_name: A queue name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, - it should begin and end with an alphanumeric character and it cannot have two consecutive - dash(-) characters. - :type queue_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageQueue, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageQueue - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageQueue"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', max_length=63, min_length=3, pattern=r'^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageQueue', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - queue_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes the queue with the specified queue name, under the specified account if it exists. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param queue_name: A queue name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, - it should begin and end with an alphanumeric character and it cannot have two consecutive - dash(-) characters. - :type queue_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueName': self._serialize.url("queue_name", queue_name, 'str', max_length=63, min_length=3, pattern=r'^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}'} # type: ignore - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - maxpagesize=None, # type: Optional[str] - filter=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ListQueueResource"] - """Gets a list of all the queues under the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param maxpagesize: Optional, a maximum number of queues that should be included in a list - queue response. - :type maxpagesize: str - :param filter: Optional, When specified, only the queues with a name starting with the given - filter will be listed. - :type filter: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ListQueueResource or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListQueueResource] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListQueueResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if maxpagesize is not None: - query_parameters['$maxpagesize'] = self._serialize.query("maxpagesize", maxpagesize, 'str') - if filter is not None: - query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ListQueueResource', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_queue_services_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_queue_services_operations.py deleted file mode 100644 index c080942c081..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_queue_services_operations.py +++ /dev/null @@ -1,246 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class QueueServicesOperations(object): - """QueueServicesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ListQueueServices" - """List all queue services for the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListQueueServices, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ListQueueServices - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListQueueServices"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ListQueueServices', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices'} # type: ignore - - def set_service_properties( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.QueueServiceProperties" - **kwargs # type: Any - ): - # type: (...) -> "_models.QueueServiceProperties" - """Sets the properties of a storage account’s Queue service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The properties of a storage account’s Queue service, only properties for - Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.QueueServiceProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: QueueServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.QueueServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.QueueServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - queue_service_name = "default" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueServiceName': self._serialize.url("queue_service_name", queue_service_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'QueueServiceProperties') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('QueueServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}'} # type: ignore - - def get_service_properties( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.QueueServiceProperties" - """Gets the properties of a storage account’s Queue service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: QueueServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.QueueServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.QueueServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - queue_service_name = "default" - accept = "application/json" - - # Construct URL - url = self.get_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'queueServiceName': self._serialize.url("queue_service_name", queue_service_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('QueueServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_skus_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_skus_operations.py deleted file mode 100644 index 05c57efc2e7..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_skus_operations.py +++ /dev/null @@ -1,113 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class SkusOperations(object): - """SkusOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.StorageSkuListResult"] - """Lists the available SKUs supported by Microsoft.Storage for given subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StorageSkuListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.StorageSkuListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageSkuListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('StorageSkuListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_storage_accounts_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_storage_accounts_operations.py deleted file mode 100644 index a6a87496e5c..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_storage_accounts_operations.py +++ /dev/null @@ -1,1171 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class StorageAccountsOperations(object): - """StorageAccountsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def check_name_availability( - self, - account_name, # type: "_models.StorageAccountCheckNameAvailabilityParameters" - **kwargs # type: Any - ): - # type: (...) -> "_models.CheckNameAvailabilityResult" - """Checks that the storage account name is valid and is not already in use. - - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountCheckNameAvailabilityParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CheckNameAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.CheckNameAvailabilityResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.CheckNameAvailabilityResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.check_name_availability.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CheckNameAvailabilityResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability'} # type: ignore - - def _create_initial( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.StorageAccountCreateParameters" - **kwargs # type: Any - ): - # type: (...) -> Optional["_models.StorageAccount"] - cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.StorageAccount"]] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('StorageAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - def begin_create( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.StorageAccountCreateParameters" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.StorageAccount"] - """Asynchronously creates a new storage account with the specified parameters. If an account is - already created and a subsequent create request is issued with different properties, the - account properties will be updated. If an account is already created and a subsequent create or - update request is issued with the exact same set of properties, the request will succeed. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide for the created account. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountCreateParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either StorageAccount or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2021_01_01.models.StorageAccount] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._create_initial( - resource_group_name=resource_group_name, - account_name=account_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('StorageAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes a storage account in Microsoft Azure. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - def get_properties( - self, - resource_group_name, # type: str - account_name, # type: str - expand=None, # type: Optional[Union[str, "_models.StorageAccountExpand"]] - **kwargs # type: Any - ): - # type: (...) -> "_models.StorageAccount" - """Returns the properties for the specified storage account including but not limited to name, SKU - name, location, and account status. The ListKeys operation should be used to retrieve storage - keys. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param expand: May be used to expand the properties within account's properties. By default, - data is not included when fetching properties. Currently we only support geoReplicationStats - and blobRestoreStatus. - :type expand: str or ~azure.mgmt.storage.v2021_01_01.models.StorageAccountExpand - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageAccount - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.StorageAccountUpdateParameters" - **kwargs # type: Any - ): - # type: (...) -> "_models.StorageAccount" - """The update operation can be used to update the SKU, encryption, access tier, or tags for a - storage account. It can also be used to map the account to a custom domain. Only one custom - domain is supported per storage account; the replacement/change of custom domain is not - supported. In order to replace an old custom domain, the old value must be cleared/unregistered - before a new value can be set. The update of multiple properties is supported. This call does - not change the storage keys for the account. If you want to change the storage account keys, - use the regenerate keys operation. The location and name of the storage account cannot be - changed after creation. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide for the updated account. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountUpdateParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageAccount - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccount"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageAccount', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} # type: ignore - - def list( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.StorageAccountListResult"] - """Lists all the storage accounts available under the subscription. Note that storage keys are not - returned; use the ListKeys operation for this. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.StorageAccountListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('StorageAccountListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.StorageAccountListResult"] - """Lists all the storage accounts available under the given resource group. Note that storage keys - are not returned; use the ListKeys operation for this. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either StorageAccountListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.StorageAccountListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('StorageAccountListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts'} # type: ignore - - def list_keys( - self, - resource_group_name, # type: str - account_name, # type: str - expand="kerb", # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> "_models.StorageAccountListKeysResult" - """Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage - account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param expand: Specifies type of the key to be listed. Possible value is kerb. - :type expand: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageAccountListKeysResult, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountListKeysResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountListKeysResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list_keys.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if expand is not None: - query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageAccountListKeysResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys'} # type: ignore - - def regenerate_key( - self, - resource_group_name, # type: str - account_name, # type: str - regenerate_key, # type: "_models.StorageAccountRegenerateKeyParameters" - **kwargs # type: Any - ): - # type: (...) -> "_models.StorageAccountListKeysResult" - """Regenerates one of the access keys or Kerberos keys for the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2, - kerb1, kerb2. - :type regenerate_key: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountRegenerateKeyParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: StorageAccountListKeysResult, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.StorageAccountListKeysResult - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.StorageAccountListKeysResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.regenerate_key.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('StorageAccountListKeysResult', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - regenerate_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey'} # type: ignore - - def list_account_sas( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.AccountSasParameters" - **kwargs # type: Any - ): - # type: (...) -> "_models.ListAccountSasResponse" - """List SAS credentials of a storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide to list SAS credentials for the storage account. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.AccountSasParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListAccountSasResponse, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ListAccountSasResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListAccountSasResponse"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.list_account_sas.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'AccountSasParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ListAccountSasResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_account_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas'} # type: ignore - - def list_service_sas( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.ServiceSasParameters" - **kwargs # type: Any - ): - # type: (...) -> "_models.ListServiceSasResponse" - """List service SAS credentials of a specific resource. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide to list service SAS credentials. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ServiceSasParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListServiceSasResponse, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ListServiceSasResponse - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListServiceSasResponse"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.list_service_sas.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'ServiceSasParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ListServiceSasResponse', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_service_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas'} # type: ignore - - def _failover_initial( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self._failover_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _failover_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover'} # type: ignore - - def begin_failover( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Failover request can be triggered for a storage account in case of availability issues. The - failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS - accounts. The secondary cluster will become primary after failover. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._failover_initial( - resource_group_name=resource_group_name, - account_name=account_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_failover.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover'} # type: ignore - - def _restore_blob_ranges_initial( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.BlobRestoreParameters" - **kwargs # type: Any - ): - # type: (...) -> "_models.BlobRestoreStatus" - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobRestoreStatus"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._restore_blob_ranges_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'BlobRestoreParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('BlobRestoreStatus', pipeline_response) - - if response.status_code == 202: - deserialized = self._deserialize('BlobRestoreStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _restore_blob_ranges_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges'} # type: ignore - - def begin_restore_blob_ranges( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.BlobRestoreParameters" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.BlobRestoreStatus"] - """Restore blobs in the specified blob ranges. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The parameters to provide for restore blob ranges. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.BlobRestoreParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2021_01_01.models.BlobRestoreStatus] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.BlobRestoreStatus"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._restore_blob_ranges_initial( - resource_group_name=resource_group_name, - account_name=account_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('BlobRestoreStatus', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_restore_blob_ranges.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges'} # type: ignore - - def revoke_user_delegation_keys( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Revoke user delegation keys. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - - # Construct URL - url = self.revoke_user_delegation_keys.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - revoke_user_delegation_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_table_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_table_operations.py deleted file mode 100644 index 6164c581105..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_table_operations.py +++ /dev/null @@ -1,393 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class TableOperations(object): - """TableOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def create( - self, - resource_group_name, # type: str - account_name, # type: str - table_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.Table" - """Creates a new table with the specified table name, under the specified account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param table_name: A table name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin - with a numeric character. - :type table_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Table, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.Table - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.Table"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableName': self._serialize.url("table_name", table_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z][A-Za-z0-9]{2,62}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.put(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Table', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}'} # type: ignore - - def update( - self, - resource_group_name, # type: str - account_name, # type: str - table_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.Table" - """Creates a new table with the specified table name, under the specified account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param table_name: A table name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin - with a numeric character. - :type table_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Table, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.Table - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.Table"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableName': self._serialize.url("table_name", table_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z][A-Za-z0-9]{2,62}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.patch(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Table', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - account_name, # type: str - table_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.Table" - """Gets the table with the specified table name, under the specified account if it exists. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param table_name: A table name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin - with a numeric character. - :type table_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: Table, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.Table - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.Table"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableName': self._serialize.url("table_name", table_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z][A-Za-z0-9]{2,62}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('Table', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}'} # type: ignore - - def delete( - self, - resource_group_name, # type: str - account_name, # type: str - table_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - """Deletes the table with the specified table name, under the specified account if it exists. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param table_name: A table name must be unique within a storage account and must be between 3 - and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin - with a numeric character. - :type table_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: None, or the result of cls(response) - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableName': self._serialize.url("table_name", table_name, 'str', max_length=63, min_length=3, pattern=r'^[A-Za-z][A-Za-z0-9]{2,62}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}'} # type: ignore - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ListTableResource"] - """Gets a list of all the tables under the specified storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ListTableResource or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListTableResource] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListTableResource"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ListTableResource', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_table_services_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_table_services_operations.py deleted file mode 100644 index eed778a887c..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_table_services_operations.py +++ /dev/null @@ -1,246 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class TableServicesOperations(object): - """TableServicesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ListTableServices" - """List all table services for the storage account. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListTableServices, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.ListTableServices - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ListTableServices"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ListTableServices', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices'} # type: ignore - - def set_service_properties( - self, - resource_group_name, # type: str - account_name, # type: str - parameters, # type: "_models.TableServiceProperties" - **kwargs # type: Any - ): - # type: (...) -> "_models.TableServiceProperties" - """Sets the properties of a storage account’s Table service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :param parameters: The properties of a storage account’s Table service, only properties for - Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. - :type parameters: ~azure.mgmt.storage.v2021_01_01.models.TableServiceProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TableServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.TableServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.TableServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - table_service_name = "default" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.set_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableServiceName': self._serialize.url("table_service_name", table_service_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'TableServiceProperties') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TableServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - set_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}'} # type: ignore - - def get_service_properties( - self, - resource_group_name, # type: str - account_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.TableServiceProperties" - """Gets the properties of a storage account’s Table service, including properties for Storage - Analytics and CORS (Cross-Origin Resource Sharing) rules. - - :param resource_group_name: The name of the resource group within the user's subscription. The - name is case insensitive. - :type resource_group_name: str - :param account_name: The name of the storage account within the specified resource group. - Storage account names must be between 3 and 24 characters in length and use numbers and lower- - case letters only. - :type account_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: TableServiceProperties, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2021_01_01.models.TableServiceProperties - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.TableServiceProperties"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - table_service_name = "default" - accept = "application/json" - - # Construct URL - url = self.get_service_properties.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'tableServiceName': self._serialize.url("table_service_name", table_service_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('TableServiceProperties', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_service_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}'} # type: ignore diff --git a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_usages_operations.py b/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_usages_operations.py deleted file mode 100644 index 580f3599ccf..00000000000 --- a/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/operations/_usages_operations.py +++ /dev/null @@ -1,118 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class UsagesOperations(object): - """UsagesOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.storage.v2021_01_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list_by_location( - self, - location, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.UsageListResult"] - """Gets the current usage count and the limit for the resources of the location under the - subscription. - - :param location: The location of the Azure Storage resource. - :type location: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either UsageListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.UsageListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.UsageListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-01-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_location.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'location': self._serialize.url("location", location, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('UsageListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages'} # type: ignore From a237767706093fc402903effffb8f5840f52e334 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Fri, 20 Aug 2021 16:55:21 +0800 Subject: [PATCH 24/43] [Release] Update index.json for extension [ aks-preview ] (#3799) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1056525 Last commit: https://github.com/Azure/azure-cli-extensions/commit/2ceb992c1243232c219ddb85701efe4972b7392f --- src/index.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/index.json b/src/index.json index c62068e6d5e..4690ed42d52 100644 --- a/src/index.json +++ b/src/index.json @@ -3390,6 +3390,49 @@ "version": "0.5.26" }, "sha256Digest": "b0653d61f1b26184f2439bef551fb42055f9509ec4f4a3e805d20bce2f382cf8" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-0.5.27-py2.py3-none-any.whl", + "filename": "aks_preview-0.5.27-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.0.49", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/aks-preview" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "aks-preview", + "summary": "Provides a preview for upcoming AKS features", + "version": "0.5.27" + }, + "sha256Digest": "327010762d4953215b870434fafd0f64f7c46bf6d41eafe147a7de202331e3d3" } ], "alertsmanagement": [ From 859c91f7acd596ff12502ebefd0fa4e7b8c86f47 Mon Sep 17 00:00:00 2001 From: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Date: Fri, 20 Aug 2021 17:50:23 +0800 Subject: [PATCH 25/43] [AKS] Upgrade api-version to 2021-07-01 for aks-preview module based on cli release (#3803) * update to 0701 * update version * update version again * update recordings * Trigger Build --- src/aks-preview/HISTORY.md | 4 + src/aks-preview/azext_aks_preview/__init__.py | 2 +- .../azext_aks_preview/_completers.py | 2 +- src/aks-preview/azext_aks_preview/_helpers.py | 2 +- .../azext_aks_preview/_loadbalancer.py | 10 +- .../azext_aks_preview/_validators.py | 2 +- src/aks-preview/azext_aks_preview/custom.py | 16 +- ...ate_aadv1_and_update_with_managed_aad.yaml | 400 ++-- ...tsecretsprovider_with_secret_rotation.yaml | 288 ++- ...ks_create_and_update_with_managed_aad.yaml | 1039 ++-------- ...te_with_managed_aad_enable_azure_rbac.yaml | 637 +++---- ...te_nonaad_and_update_with_managed_aad.yaml | 479 ++--- ...test_aks_create_none_private_dns_zone.yaml | 392 ++-- ...ks_create_private_cluster_public_fqdn.yaml | 855 +++++---- ...ng_azurecni_with_pod_identity_enabled.yaml | 1099 +++++------ .../recordings/test_aks_create_with_ahub.yaml | 1340 +++++-------- ..._aks_create_with_auto_upgrade_channel.yaml | 509 ++--- ...th_azurekeyvaultsecretsprovider_addon.yaml | 288 ++- .../test_aks_create_with_confcom_addon.yaml | 287 ++- ...ate_with_confcom_addon_helper_enabled.yaml | 343 ++-- .../test_aks_create_with_ephemeral_disk.yaml | 501 ++--- .../recordings/test_aks_create_with_fips.yaml | 494 ++--- ...est_aks_create_with_http_proxy_config.yaml | 288 ++- ...t_aks_create_with_ingress_appgw_addon.yaml | 269 ++- ...gw_addon_with_deprecated_subet_prefix.yaml | 238 +-- .../test_aks_create_with_managed_disk.yaml | 221 +-- .../test_aks_create_with_node_config.yaml | 540 +++--- ...aks_create_with_openservicemesh_addon.yaml | 236 ++- .../test_aks_create_with_ossku.yaml | 539 +----- ..._aks_create_with_pod_identity_enabled.yaml | 1127 ++++++----- .../test_aks_create_with_windows.yaml | 1307 ++++++------- ...est_aks_disable_addon_openservicemesh.yaml | 904 ++------- ...test_aks_disable_addons_confcom_addon.yaml | 449 ++--- ...don_with_azurekeyvaultsecretsprovider.yaml | 941 +++++---- ...aks_enable_addon_with_openservicemesh.yaml | 425 ++--- .../test_aks_enable_addons_confcom_addon.yaml | 462 ++--- .../recordings/test_aks_enable_utlra_ssd.yaml | 247 +-- .../test_aks_maintenanceconfiguration.yaml | 343 ++-- .../test_aks_nodepool_add_with_ossku.yaml | 1689 +++-------------- .../test_aks_nodepool_get_upgrades.yaml | 304 ++- .../recordings/test_aks_stop_and_start.yaml | 503 ++--- ...tsecretsprovider_with_secret_rotation.yaml | 633 +++--- .../test_aks_update_to_msi_cluster.yaml | 443 +++-- ...test_aks_update_with_windows_password.yaml | 1269 ++++++------- ...t_aks_upgrade_node_image_only_cluster.yaml | 391 ++-- ..._aks_upgrade_node_image_only_nodepool.yaml | 319 ++-- .../recordings/test_aks_upgrade_nodepool.yaml | 1498 ++++++--------- .../_container_service_client.py | 27 +- .../azure_mgmt_preview_aks/_version.py | 2 +- .../azure_mgmt_preview_aks/models.py | 2 +- .../v2019_04_01/_container_service_client.py | 99 - .../aio/_container_service_client.py | 92 - .../v2019_04_01/aio/operations/__init__.py | 17 - .../aio/operations/_agent_pools_operations.py | 439 ----- .../_managed_clusters_operations.py | 1101 ----------- .../v2019_04_01/models/__init__.py | 124 -- .../models/_container_service_client_enums.py | 269 --- .../v2019_04_01/models/_models.py | 1466 -------------- .../v2019_04_01/models/_models_py3.py | 1599 ---------------- .../v2019_04_01/operations/__init__.py | 17 - .../operations/_agent_pools_operations.py | 449 ----- .../_managed_clusters_operations.py | 1122 ----------- .../v2019_04_01/operations/_operations.py | 109 -- .../v2021_05_01/__init__.py | 16 - .../v2021_05_01/_configuration.py | 70 - .../v2021_05_01/aio/__init__.py | 10 - .../v2021_05_01/aio/_configuration.py | 66 - .../v2021_05_01/aio/operations/_operations.py | 104 - .../{v2019_04_01 => v2021_07_01}/__init__.py | 0 .../_configuration.py | 2 +- .../_container_service_client.py | 14 +- .../aio/__init__.py | 0 .../aio/_configuration.py | 2 +- .../aio/_container_service_client.py | 14 +- .../aio/operations/__init__.py | 0 .../aio/operations/_agent_pools_operations.py | 60 +- .../_maintenance_configurations_operations.py | 32 +- .../_managed_clusters_operations.py | 172 +- .../aio/operations/_operations.py | 10 +- ...private_endpoint_connections_operations.py | 33 +- .../_private_link_resources_operations.py | 10 +- ...olve_private_link_service_id_operations.py | 13 +- .../models/__init__.py | 35 +- .../models/_container_service_client_enums.py | 180 +- .../models/_models.py | 1574 +++++++-------- .../models/_models_py3.py | 1653 ++++++++-------- .../operations/__init__.py | 0 .../operations/_agent_pools_operations.py | 60 +- .../_maintenance_configurations_operations.py | 32 +- .../_managed_clusters_operations.py | 172 +- .../operations/_operations.py | 10 +- ...private_endpoint_connections_operations.py | 33 +- .../_private_link_resources_operations.py | 10 +- ...olve_private_link_service_id_operations.py | 13 +- src/aks-preview/setup.py | 2 +- 95 files changed, 12163 insertions(+), 23747 deletions(-) delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/_container_service_client.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/_container_service_client.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/__init__.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_agent_pools_operations.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_managed_clusters_operations.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/__init__.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_container_service_client_enums.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_models.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_models_py3.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/__init__.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_agent_pools_operations.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_managed_clusters_operations.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_operations.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/__init__.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/_configuration.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/__init__.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/_configuration.py delete mode 100755 src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_operations.py rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2019_04_01 => v2021_07_01}/__init__.py (100%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2019_04_01 => v2021_07_01}/_configuration.py (98%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/_container_service_client.py (93%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2019_04_01 => v2021_07_01}/aio/__init__.py (100%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2019_04_01 => v2021_07_01}/aio/_configuration.py (98%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/aio/_container_service_client.py (93%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/aio/operations/__init__.py (100%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/aio/operations/_agent_pools_operations.py (94%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/aio/operations/_maintenance_configurations_operations.py (94%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/aio/operations/_managed_clusters_operations.py (94%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2019_04_01 => v2021_07_01}/aio/operations/_operations.py (95%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/aio/operations/_private_endpoint_connections_operations.py (94%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/aio/operations/_private_link_resources_operations.py (93%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/aio/operations/_resolve_private_link_service_id_operations.py (92%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/models/__init__.py (90%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/models/_container_service_client_enums.py (54%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/models/_models.py (71%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/models/_models_py3.py (72%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/operations/__init__.py (100%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/operations/_agent_pools_operations.py (95%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/operations/_maintenance_configurations_operations.py (94%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/operations/_managed_clusters_operations.py (94%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/operations/_operations.py (95%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/operations/_private_endpoint_connections_operations.py (94%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/operations/_private_link_resources_operations.py (93%) mode change 100755 => 100644 rename src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/{v2021_05_01 => v2021_07_01}/operations/_resolve_private_link_service_id_operations.py (92%) mode change 100755 => 100644 diff --git a/src/aks-preview/HISTORY.md b/src/aks-preview/HISTORY.md index 989830d3250..4830a45fca0 100644 --- a/src/aks-preview/HISTORY.md +++ b/src/aks-preview/HISTORY.md @@ -3,6 +3,10 @@ Release History =============== +0.5.28 ++++++ +* Update to adopt 2021-07-01 api-version + 0.5.27 +++++ * GA private cluster public FQDN feature, breaking change to replace create parameter `--enable-public-fqdn` with `--disable-public-fqdn` since now it's enabled by default for private cluster during cluster creation. diff --git a/src/aks-preview/azext_aks_preview/__init__.py b/src/aks-preview/azext_aks_preview/__init__.py index 589f29c61d8..020e83c2e50 100644 --- a/src/aks-preview/azext_aks_preview/__init__.py +++ b/src/aks-preview/azext_aks_preview/__init__.py @@ -19,7 +19,7 @@ def __init__(self, cli_ctx=None): register_resource_type( "latest", CUSTOM_MGMT_AKS_PREVIEW, - SDKProfile("2021-05-01", {"container_services": "2017-07-01"}), + SDKProfile("2021-07-01", {"container_services": "2017-07-01"}), ) acs_custom = CliCommandType(operations_tmpl='azext_aks_preview.custom#{}') diff --git a/src/aks-preview/azext_aks_preview/_completers.py b/src/aks-preview/azext_aks_preview/_completers.py index 8b3f47dfbd2..f7297b3454c 100644 --- a/src/aks-preview/azext_aks_preview/_completers.py +++ b/src/aks-preview/azext_aks_preview/_completers.py @@ -7,7 +7,7 @@ from azure.cli.core.decorators import Completer # pylint: disable=line-too-long -from azext_aks_preview.vendored_sdks.azure_mgmt_preview_aks.v2019_04_01.models import ContainerServiceVMSizeTypes +from azext_aks_preview.vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import ContainerServiceVMSizeTypes @Completer diff --git a/src/aks-preview/azext_aks_preview/_helpers.py b/src/aks-preview/azext_aks_preview/_helpers.py index 015ea80c929..62eab5a7fdc 100644 --- a/src/aks-preview/azext_aks_preview/_helpers.py +++ b/src/aks-preview/azext_aks_preview/_helpers.py @@ -8,7 +8,7 @@ from knack.util import CLIError # pylint: disable=no-name-in-module,import-error -from .vendored_sdks.azure_mgmt_preview_aks.v2021_05_01.models import ManagedClusterAPIServerAccessProfile +from .vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import ManagedClusterAPIServerAccessProfile from ._consts import CONST_CONTAINER_NAME_MAX_LENGTH from ._consts import CONST_OUTBOUND_TYPE_LOAD_BALANCER, CONST_OUTBOUND_TYPE_USER_DEFINED_ROUTING diff --git a/src/aks-preview/azext_aks_preview/_loadbalancer.py b/src/aks-preview/azext_aks_preview/_loadbalancer.py index 1bcdde48e72..f8aba70c1dd 100644 --- a/src/aks-preview/azext_aks_preview/_loadbalancer.py +++ b/src/aks-preview/azext_aks_preview/_loadbalancer.py @@ -6,11 +6,11 @@ from distutils.version import StrictVersion # pylint: disable=no-name-in-module,import-error from knack.log import get_logger -from .vendored_sdks.azure_mgmt_preview_aks.v2021_05_01.models import ManagedClusterLoadBalancerProfile -from .vendored_sdks.azure_mgmt_preview_aks.v2021_05_01.models import ManagedClusterLoadBalancerProfileManagedOutboundIPs -from .vendored_sdks.azure_mgmt_preview_aks.v2021_05_01.models import ManagedClusterLoadBalancerProfileOutboundIPPrefixes -from .vendored_sdks.azure_mgmt_preview_aks.v2021_05_01.models import ManagedClusterLoadBalancerProfileOutboundIPs -from .vendored_sdks.azure_mgmt_preview_aks.v2021_05_01.models import ResourceReference +from .vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import ManagedClusterLoadBalancerProfile +from .vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import ManagedClusterLoadBalancerProfileManagedOutboundIPs +from .vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import ManagedClusterLoadBalancerProfileOutboundIPPrefixes +from .vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import ManagedClusterLoadBalancerProfileOutboundIPs +from .vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import ResourceReference logger = get_logger(__name__) diff --git a/src/aks-preview/azext_aks_preview/_validators.py b/src/aks-preview/azext_aks_preview/_validators.py index 1d1fe076283..3ac4b49e169 100644 --- a/src/aks-preview/azext_aks_preview/_validators.py +++ b/src/aks-preview/azext_aks_preview/_validators.py @@ -16,7 +16,7 @@ from azure.cli.core.util import CLIError import azure.cli.core.keys as keys -from .vendored_sdks.azure_mgmt_preview_aks.v2021_05_01.models import ManagedClusterPropertiesAutoScalerProfile +from .vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import ManagedClusterPropertiesAutoScalerProfile from ._helpers import (_fuzzy_match) diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 07d47b70675..48e5746cdda 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -54,14 +54,11 @@ KeyCredential, ServicePrincipalCreateParameters, GetObjectsParameters) -from .vendored_sdks.azure_mgmt_preview_aks.v2021_05_01.models import (ContainerServiceLinuxProfile, +from .vendored_sdks.azure_mgmt_preview_aks.v2021_07_01.models import (ContainerServiceLinuxProfile, ManagedClusterWindowsProfile, ContainerServiceNetworkProfile, ManagedClusterServicePrincipalProfile, ContainerServiceSshConfiguration, - MaintenanceConfiguration, - TimeInWeek, - TimeSpan, ContainerServiceSshPublicKey, ManagedCluster, ManagedClusterAADProfile, @@ -73,7 +70,7 @@ ManagedClusterIdentity, ManagedClusterAPIServerAccessProfile, ManagedClusterSKU, - Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties, + ManagedServiceIdentityUserAssignedIdentitiesValue, ManagedClusterAutoUpgradeProfile, KubeletConfig, LinuxOSConfig, @@ -82,8 +79,7 @@ ManagedClusterPodIdentityProfile, ManagedClusterPodIdentity, ManagedClusterPodIdentityException, - UserAssignedIdentity, - ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties) + UserAssignedIdentity) from ._client_factory import cf_resource_groups from ._client_factory import get_auth_management_client from ._client_factory import get_graph_rbac_management_client @@ -1344,7 +1340,7 @@ def aks_create(cmd, # pylint: disable=too-many-locals,too-many-statements,to ) elif enable_managed_identity and assign_identity: user_assigned_identity = { - assign_identity: Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties() + assign_identity: ManagedServiceIdentityUserAssignedIdentitiesValue() } identity = ManagedClusterIdentity( type="UserAssigned", @@ -1357,7 +1353,7 @@ def aks_create(cmd, # pylint: disable=too-many-locals,too-many-statements,to raise CLIError('--assign-kubelet-identity can only be specified when --assign-identity is specified') kubelet_identity = _get_user_assigned_identity(cmd.cli_ctx, assign_kubelet_identity) identity_profile = { - 'kubeletidentity': ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties( + 'kubeletidentity': UserAssignedIdentity( resource_id=assign_kubelet_identity, client_id=kubelet_identity.client_id, object_id=kubelet_identity.principal_id @@ -1834,7 +1830,7 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, ) elif goal_identity_type == "userassigned": user_assigned_identity = { - assign_identity: Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties() + assign_identity: ManagedServiceIdentityUserAssignedIdentitiesValue() } instance.identity = ManagedClusterIdentity( type="UserAssigned", diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml index 043342b6ae0..62818922c09 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml @@ -12,14 +12,14 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:20:19Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:04:08Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:20:21 GMT + - Thu, 19 Aug 2021 10:04:08 GMT expires: - '-1' pragma: @@ -43,21 +43,22 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestgdbmc7vuf-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "aadProfile": {"clientAppID": - "00000000-0000-0000-0000-000000000002", "serverAppID": "00000000-0000-0000-0000-000000000001", - "serverAppSecret": "fake-secret", "tenantID": "d5b55040-0c14-48cc-a028-91457fc190d9"}, - "disableLocalAccounts": false}, "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestj66hxjilv-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "aadProfile": {"clientAppID": "00000000-0000-0000-0000-000000000002", + "serverAppID": "00000000-0000-0000-0000-000000000001", "serverAppSecret": "fake-secret", + "tenantID": "d5b55040-0c14-48cc-a028-91457fc190d9"}, "disableLocalAccounts": + false}}' headers: Accept: - application/json @@ -68,64 +69,64 @@ interactions: Connection: - keep-alive Content-Length: - - '1534' + - '1568' Content-Type: - application/json ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestgdbmc7vuf-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": - {\n \"adminGroupObjectIDs\": null,\n \"clientAppID\": \"00000000-0000-0000-0000-000000000002\",\n - \ \"serverAppID\": \"00000000-0000-0000-0000-000000000001\",\n \"tenantID\": - \"d5b55040-0c14-48cc-a028-91457fc190d9\"\n },\n \"maxAgentPools\": 100,\n - \ \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"aadProfile\": {\n \"adminGroupObjectIDs\": + null,\n \"clientAppID\": \"00000000-0000-0000-0000-000000000002\",\n \"serverAppID\": + \"00000000-0000-0000-0000-000000000001\",\n \"tenantID\": \"d5b55040-0c14-48cc-a028-91457fc190d9\"\n + \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false\n },\n + \ \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71aeeca1-9851-42fa-97f8-d40449c9ea1a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2923' + - '2955' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:30 GMT + - Thu, 19 Aug 2021 10:04:13 GMT expires: - '-1' pragma: @@ -137,7 +138,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 201 message: Created @@ -154,16 +155,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71aeeca1-9851-42fa-97f8-d40449c9ea1a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a1ecae71-5198-fa42-97f8-d40449c9ea1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:29.5733333Z\"\n }" + string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" headers: cache-control: - no-cache @@ -172,7 +173,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:59 GMT + - Thu, 19 Aug 2021 10:04:43 GMT expires: - '-1' pragma: @@ -203,16 +204,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71aeeca1-9851-42fa-97f8-d40449c9ea1a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a1ecae71-5198-fa42-97f8-d40449c9ea1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:29.5733333Z\"\n }" + string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" headers: cache-control: - no-cache @@ -221,7 +222,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:30 GMT + - Thu, 19 Aug 2021 10:05:13 GMT expires: - '-1' pragma: @@ -252,16 +253,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71aeeca1-9851-42fa-97f8-d40449c9ea1a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a1ecae71-5198-fa42-97f8-d40449c9ea1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:29.5733333Z\"\n }" + string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" headers: cache-control: - no-cache @@ -270,7 +271,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:00 GMT + - Thu, 19 Aug 2021 10:05:44 GMT expires: - '-1' pragma: @@ -301,16 +302,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71aeeca1-9851-42fa-97f8-d40449c9ea1a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a1ecae71-5198-fa42-97f8-d40449c9ea1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:29.5733333Z\"\n }" + string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" headers: cache-control: - no-cache @@ -319,7 +320,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:29 GMT + - Thu, 19 Aug 2021 10:06:14 GMT expires: - '-1' pragma: @@ -350,16 +351,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71aeeca1-9851-42fa-97f8-d40449c9ea1a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a1ecae71-5198-fa42-97f8-d40449c9ea1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:29.5733333Z\"\n }" + string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" headers: cache-control: - no-cache @@ -368,7 +369,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:00 GMT + - Thu, 19 Aug 2021 10:06:44 GMT expires: - '-1' pragma: @@ -399,16 +400,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71aeeca1-9851-42fa-97f8-d40449c9ea1a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a1ecae71-5198-fa42-97f8-d40449c9ea1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:29.5733333Z\"\n }" + string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" headers: cache-control: - no-cache @@ -417,7 +418,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:31 GMT + - Thu, 19 Aug 2021 10:07:14 GMT expires: - '-1' pragma: @@ -448,26 +449,26 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71aeeca1-9851-42fa-97f8-d40449c9ea1a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a1ecae71-5198-fa42-97f8-d40449c9ea1a\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:20:29.5733333Z\",\n \"endTime\": - \"2021-07-27T06:23:53.7227175Z\"\n }" + string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\",\n \"endTime\": + \"2021-08-19T10:07:20.008472Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '169' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:00 GMT + - Thu, 19 Aug 2021 10:07:44 GMT expires: - '-1' pragma: @@ -498,39 +499,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret - --aad-client-app-id --aad-tenant-id --generate-ssh-keys -o + --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestgdbmc7vuf-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac9fa42a-d2c6-4234-bb59-83e86d2c0b5a\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -548,11 +550,11 @@ interactions: cache-control: - no-cache content-length: - - '3586' + - '3618' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:01 GMT + - Thu, 19 Aug 2021 10:07:44 GMT expires: - '-1' pragma: @@ -585,37 +587,38 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestgdbmc7vuf-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac9fa42a-d2c6-4234-bb59-83e86d2c0b5a\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -633,11 +636,11 @@ interactions: cache-control: - no-cache content-length: - - '3586' + - '3618' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:02 GMT + - Thu, 19 Aug 2021 10:07:46 GMT expires: - '-1' pragma: @@ -656,28 +659,27 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliakstest-clitestgdbmc7vuf-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestj66hxjilv-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac9fa42a-d2c6-4234-bb59-83e86d2c0b5a"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb"}]}}, "aadProfile": {"managed": true, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000003"], "tenantID": "00000000-0000-0000-0000-000000000004"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -688,44 +690,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2369' + - '2401' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestgdbmc7vuf-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac9fa42a-d2c6-4234-bb59-83e86d2c0b5a\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -740,15 +743,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3f3b1e87-0318-4602-a560-c4d0c0a1ae6d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cfe7307-935c-4358-a9fa-d9b8c0e04e98?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3534' + - '3566' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:05 GMT + - Thu, 19 Aug 2021 10:07:49 GMT expires: - '-1' pragma: @@ -764,7 +767,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1194' status: code: 200 message: OK @@ -783,23 +786,23 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3f3b1e87-0318-4602-a560-c4d0c0a1ae6d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cfe7307-935c-4358-a9fa-d9b8c0e04e98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"871e3b3f-1803-0246-a560-c4d0c0a1ae6d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:05.17Z\"\n }" + string: "{\n \"name\": \"0773fe7c-5c93-5843-a9fa-d9b8c0e04e98\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:07:49.5933333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:35 GMT + - Thu, 19 Aug 2021 10:08:20 GMT expires: - '-1' pragma: @@ -832,24 +835,24 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3f3b1e87-0318-4602-a560-c4d0c0a1ae6d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cfe7307-935c-4358-a9fa-d9b8c0e04e98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"871e3b3f-1803-0246-a560-c4d0c0a1ae6d\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:24:05.17Z\",\n \"endTime\": - \"2021-07-27T06:25:03.9883242Z\"\n }" + string: "{\n \"name\": \"0773fe7c-5c93-5843-a9fa-d9b8c0e04e98\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:07:49.5933333Z\",\n \"endTime\": + \"2021-08-19T10:08:47.7187832Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:06 GMT + - Thu, 19 Aug 2021 10:08:50 GMT expires: - '-1' pragma: @@ -882,37 +885,38 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestgdbmc7vuf-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestgdbmc7vuf-79a739-354d1d18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac9fa42a-d2c6-4234-bb59-83e86d2c0b5a\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -929,11 +933,11 @@ interactions: cache-control: - no-cache content-length: - - '3536' + - '3568' content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:06 GMT + - Thu, 19 Aug 2021 10:08:51 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml index b72bd7e252c..6e53da0d73f 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:01:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:01:25 GMT + - Fri, 20 Aug 2021 07:16:48 GMT expires: - '-1' pragma: @@ -42,20 +42,20 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestwiynh3brq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest3h4esl46r-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "true"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", - "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, "identity": - {"type": "SystemAssigned"}}' + "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -66,41 +66,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1421' + - '1449' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestwiynh3brq-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestwiynh3brq-8ecadf-e8637f9f.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwiynh3brq-8ecadf-e8637f9f.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3h4esl46r-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest3h4esl46r-8ecadf-9fa72898.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3h4esl46r-8ecadf-9fa72898.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"true\"\n }\n }\n },\n \"nodeResourceGroup\": @@ -116,15 +113,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2875' + - '2879' content-type: - application/json date: - - Wed, 23 Jun 2021 08:01:39 GMT + - Fri, 20 Aug 2021 07:16:51 GMT expires: - '-1' pragma: @@ -136,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -144,56 +141,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"acd5ca6a-7901-7c43-b68e-d4247aa59aa5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.2Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '120' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:02:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -201,26 +149,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acd5ca6a-7901-7c43-b68e-d4247aa59aa5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.2Z\"\n }" + string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:02:41 GMT + - Fri, 20 Aug 2021 07:17:21 GMT expires: - '-1' pragma: @@ -242,7 +189,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -250,26 +197,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acd5ca6a-7901-7c43-b68e-d4247aa59aa5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.2Z\"\n }" + string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:13 GMT + - Fri, 20 Aug 2021 07:17:51 GMT expires: - '-1' pragma: @@ -291,7 +237,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -299,26 +245,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acd5ca6a-7901-7c43-b68e-d4247aa59aa5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.2Z\"\n }" + string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:44 GMT + - Fri, 20 Aug 2021 07:18:21 GMT expires: - '-1' pragma: @@ -340,7 +285,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -348,26 +293,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acd5ca6a-7901-7c43-b68e-d4247aa59aa5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.2Z\"\n }" + string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:15 GMT + - Fri, 20 Aug 2021 07:18:51 GMT expires: - '-1' pragma: @@ -389,7 +333,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -397,26 +341,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acd5ca6a-7901-7c43-b68e-d4247aa59aa5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.2Z\"\n }" + string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:47 GMT + - Fri, 20 Aug 2021 07:19:21 GMT expires: - '-1' pragma: @@ -438,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -446,26 +389,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acd5ca6a-7901-7c43-b68e-d4247aa59aa5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.2Z\"\n }" + string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:18 GMT + - Fri, 20 Aug 2021 07:19:51 GMT expires: - '-1' pragma: @@ -487,7 +429,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -495,27 +437,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6acad5ac-0179-437c-b68e-d4247aa59aa5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acd5ca6a-7901-7c43-b68e-d4247aa59aa5\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:01:38.2Z\",\n \"endTime\": - \"2021-06-23T08:05:20.9119388Z\"\n }" + string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\",\n \"endTime\": + \"2021-08-20T07:20:02.8391588Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:50 GMT + - Fri, 20 Aug 2021 07:20:21 GMT expires: - '-1' pragma: @@ -537,7 +478,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -545,35 +486,34 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a --enable-secret-rotation -o + - --resource-group --name -a --enable-secret-rotation --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestwiynh3brq-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestwiynh3brq-8ecadf-e8637f9f.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwiynh3brq-8ecadf-e8637f9f.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3h4esl46r-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest3h4esl46r-8ecadf-9fa72898.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3h4esl46r-8ecadf-9fa72898.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"true\"\n },\n \"identity\": {\n @@ -583,7 +523,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/2ff5b375-3f6c-4446-9159-292a306afe05\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/964cdcb2-1a64-49bd-a87a-9b548cdcff88\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -598,11 +538,11 @@ interactions: cache-control: - no-cache content-length: - - '3921' + - '3925' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:51 GMT + - Fri, 20 Aug 2021 07:20:21 GMT expires: - '-1' pragma: @@ -636,8 +576,8 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -645,17 +585,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5e71d17f-aec9-4121-bec3-06f3fcdbd6bf?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07648e0c-5524-4d60-b328-2f450c4e4c5b?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:05:54 GMT + - Fri, 20 Aug 2021 07:20:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/5e71d17f-aec9-4121-bec3-06f3fcdbd6bf?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/07648e0c-5524-4d60-b328-2f450c4e4c5b?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad.yaml index fd69047a512..ddb9502b065 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad.yaml @@ -12,14 +12,14 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:12:36Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:57:39Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:12:37 GMT + - Thu, 19 Aug 2021 09:57:41 GMT expires: - '-1' pragma: @@ -43,20 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestsums3uzmh-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "aadProfile": {"managed": true, - "enableAzureRBAC": false, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000001"]}, - "disableLocalAccounts": false}, "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesteru2mvsi5-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "aadProfile": {"managed": true, "enableAzureRBAC": false, "adminGroupObjectIDs": + ["00000000-0000-0000-0000-000000000001"]}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -67,698 +67,64 @@ interactions: Connection: - keep-alive Content-Length: - - '1446' + - '1480' Content-Type: - application/json ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestsums3uzmh-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": - {\n \"managed\": true,\n \"adminGroupObjectIDs\": [\n \"00000000-0000-0000-0000-000000000001\"\n - \ ],\n \"enableAzureRBAC\": false,\n \"tenantID\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n - \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false\n },\n - \ \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - cache-control: - - no-cache - content-length: - - '2903' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:12:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:13:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:13:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:14:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:14:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:15:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:15:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:16:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:16:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:17:14 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:17:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:18:14 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:18:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"aadProfile\": {\n \"managed\": true,\n \"adminGroupObjectIDs\": + [\n \"00000000-0000-0000-0000-000000000001\"\n ],\n \"enableAzureRBAC\": + false,\n \"tenantID\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n + \ \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 cache-control: - no-cache content-length: - - '126' + - '2935' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:14 GMT + - Thu, 19 Aug 2021 09:57:48 GMT expires: - '-1' pragma: @@ -767,15 +133,13 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -789,16 +153,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" + string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" headers: cache-control: - no-cache @@ -807,7 +171,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:45 GMT + - Thu, 19 Aug 2021 09:58:18 GMT expires: - '-1' pragma: @@ -838,16 +202,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" + string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" headers: cache-control: - no-cache @@ -856,7 +220,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:14 GMT + - Thu, 19 Aug 2021 09:58:48 GMT expires: - '-1' pragma: @@ -887,16 +251,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" + string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" headers: cache-control: - no-cache @@ -905,7 +269,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:45 GMT + - Thu, 19 Aug 2021 09:59:19 GMT expires: - '-1' pragma: @@ -936,16 +300,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" + string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" headers: cache-control: - no-cache @@ -954,7 +318,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:14 GMT + - Thu, 19 Aug 2021 09:59:49 GMT expires: - '-1' pragma: @@ -985,16 +349,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" + string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" headers: cache-control: - no-cache @@ -1003,7 +367,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:45 GMT + - Thu, 19 Aug 2021 10:00:19 GMT expires: - '-1' pragma: @@ -1034,16 +398,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\"\n }" + string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" headers: cache-control: - no-cache @@ -1052,7 +416,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:14 GMT + - Thu, 19 Aug 2021 10:00:48 GMT expires: - '-1' pragma: @@ -1083,17 +447,17 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/741139e3-5484-441c-8d42-f72172272e30?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e3391174-8454-1c44-8d42-f72172272e30\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:12:43.0033333Z\",\n \"endTime\": - \"2021-07-27T06:22:16.5276265Z\"\n }" + string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\",\n \"endTime\": + \"2021-08-19T10:00:54.6167014Z\"\n }" headers: cache-control: - no-cache @@ -1102,7 +466,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:45 GMT + - Thu, 19 Aug 2021 10:01:18 GMT expires: - '-1' pragma: @@ -1133,39 +497,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestsums3uzmh-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/69f767f0-bd4e-48d2-8908-05c8368fe8cf\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1182,11 +547,11 @@ interactions: cache-control: - no-cache content-length: - - '3566' + - '3598' content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:45 GMT + - Thu, 19 Aug 2021 10:01:19 GMT expires: - '-1' pragma: @@ -1218,37 +583,38 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestsums3uzmh-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/69f767f0-bd4e-48d2-8908-05c8368fe8cf\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1265,11 +631,11 @@ interactions: cache-control: - no-cache content-length: - - '3566' + - '3598' content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:46 GMT + - Thu, 19 Aug 2021 10:01:20 GMT expires: - '-1' pragma: @@ -1288,29 +654,28 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliakstest-clitestsums3uzmh-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitesteru2mvsi5-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/69f767f0-bd4e-48d2-8908-05c8368fe8cf"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367"}]}}, "aadProfile": {"managed": true, "enableAzureRBAC": false, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000002"], "tenantID": "00000000-0000-0000-0000-000000000003"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1321,43 +686,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2395' + - '2427' Content-Type: - application/json ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestsums3uzmh-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/69f767f0-bd4e-48d2-8908-05c8368fe8cf\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1372,15 +738,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55d7a84a-388f-4873-bc82-4dabde996cd0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/61ba3fc7-5d54-4587-8714-008cab1a8c3d?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3564' + - '3596' content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:50 GMT + - Thu, 19 Aug 2021 10:01:23 GMT expires: - '-1' pragma: @@ -1396,7 +762,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1194' status: code: 200 message: OK @@ -1414,14 +780,14 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55d7a84a-388f-4873-bc82-4dabde996cd0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/61ba3fc7-5d54-4587-8714-008cab1a8c3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4aa8d755-8f38-7348-bc82-4dabde996cd0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:22:49.24Z\"\n }" + string: "{\n \"name\": \"c73fba61-545d-8745-8714-008cab1a8c3d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:23.02Z\"\n }" headers: cache-control: - no-cache @@ -1430,7 +796,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:20 GMT + - Thu, 19 Aug 2021 10:01:53 GMT expires: - '-1' pragma: @@ -1462,15 +828,15 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55d7a84a-388f-4873-bc82-4dabde996cd0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/61ba3fc7-5d54-4587-8714-008cab1a8c3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4aa8d755-8f38-7348-bc82-4dabde996cd0\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:22:49.24Z\",\n \"endTime\": - \"2021-07-27T06:23:44.249801Z\"\n }" + string: "{\n \"name\": \"c73fba61-545d-8745-8714-008cab1a8c3d\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:01:23.02Z\",\n \"endTime\": + \"2021-08-19T10:02:19.243439Z\"\n }" headers: cache-control: - no-cache @@ -1479,7 +845,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:50 GMT + - Thu, 19 Aug 2021 10:02:23 GMT expires: - '-1' pragma: @@ -1511,37 +877,38 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestsums3uzmh-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestsums3uzmh-79a739-c227ff41.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/69f767f0-bd4e-48d2-8908-05c8368fe8cf\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1558,11 +925,11 @@ interactions: cache-control: - no-cache content-length: - - '3566' + - '3598' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:50 GMT + - Thu, 19 Aug 2021 10:02:24 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad_enable_azure_rbac.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad_enable_azure_rbac.yaml index c4865658fa9..d50397f25d9 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad_enable_azure_rbac.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad_enable_azure_rbac.yaml @@ -12,14 +12,14 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:23:15Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:47:48Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:23:16 GMT + - Thu, 19 Aug 2021 09:47:50 GMT expires: - '-1' pragma: @@ -43,20 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestv6wkn2rqa-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "aadProfile": {"managed": true, - "enableAzureRBAC": false, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000001"]}, - "disableLocalAccounts": false}, "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvpgy4gvkz-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "aadProfile": {"managed": true, "enableAzureRBAC": false, "adminGroupObjectIDs": + ["00000000-0000-0000-0000-000000000001"]}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -67,63 +67,64 @@ interactions: Connection: - keep-alive Content-Length: - - '1446' + - '1480' Content-Type: - application/json ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv6wkn2rqa-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": - {\n \"managed\": true,\n \"adminGroupObjectIDs\": [\n \"00000000-0000-0000-0000-000000000001\"\n - \ ],\n \"enableAzureRBAC\": false,\n \"tenantID\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n - \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false\n },\n - \ \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"aadProfile\": {\n \"managed\": true,\n \"adminGroupObjectIDs\": + [\n \"00000000-0000-0000-0000-000000000001\"\n ],\n \"enableAzureRBAC\": + false,\n \"tenantID\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n + \ \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2903' + - '2935' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:22 GMT + - Thu, 19 Aug 2021 09:47:58 GMT expires: - '-1' pragma: @@ -135,7 +136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -152,65 +153,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"71a19327-2015-a249-9263-73a7c092f228\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:22.1333333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:23:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"71a19327-2015-a249-9263-73a7c092f228\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:22.1333333Z\"\n }" + string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" headers: cache-control: - no-cache @@ -219,7 +171,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:22 GMT + - Thu, 19 Aug 2021 09:48:29 GMT expires: - '-1' pragma: @@ -250,16 +202,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"71a19327-2015-a249-9263-73a7c092f228\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:22.1333333Z\"\n }" + string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" headers: cache-control: - no-cache @@ -268,7 +220,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:52 GMT + - Thu, 19 Aug 2021 09:48:59 GMT expires: - '-1' pragma: @@ -299,16 +251,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"71a19327-2015-a249-9263-73a7c092f228\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:22.1333333Z\"\n }" + string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" headers: cache-control: - no-cache @@ -317,7 +269,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:22 GMT + - Thu, 19 Aug 2021 09:49:29 GMT expires: - '-1' pragma: @@ -348,16 +300,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"71a19327-2015-a249-9263-73a7c092f228\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:22.1333333Z\"\n }" + string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" headers: cache-control: - no-cache @@ -366,7 +318,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:52 GMT + - Thu, 19 Aug 2021 09:49:59 GMT expires: - '-1' pragma: @@ -397,16 +349,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"71a19327-2015-a249-9263-73a7c092f228\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:22.1333333Z\"\n }" + string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" headers: cache-control: - no-cache @@ -415,7 +367,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:22 GMT + - Thu, 19 Aug 2021 09:50:30 GMT expires: - '-1' pragma: @@ -446,16 +398,16 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"71a19327-2015-a249-9263-73a7c092f228\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:22.1333333Z\"\n }" + string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" headers: cache-control: - no-cache @@ -464,7 +416,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:52 GMT + - Thu, 19 Aug 2021 09:51:00 GMT expires: - '-1' pragma: @@ -495,17 +447,17 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2793a171-1520-49a2-9263-73a7c092f228?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"71a19327-2015-a249-9263-73a7c092f228\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:23:22.1333333Z\",\n \"endTime\": - \"2021-07-27T06:26:54.4358196Z\"\n }" + string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\",\n \"endTime\": + \"2021-08-19T09:51:04.3397411Z\"\n }" headers: cache-control: - no-cache @@ -514,7 +466,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:23 GMT + - Thu, 19 Aug 2021 09:51:30 GMT expires: - '-1' pragma: @@ -545,39 +497,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids - --generate-ssh-keys -o + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv6wkn2rqa-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -594,11 +547,11 @@ interactions: cache-control: - no-cache content-length: - - '3566' + - '3598' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:23 GMT + - Thu, 19 Aug 2021 09:51:30 GMT expires: - '-1' pragma: @@ -630,37 +583,38 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv6wkn2rqa-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -677,11 +631,11 @@ interactions: cache-control: - no-cache content-length: - - '3566' + - '3598' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:24 GMT + - Thu, 19 Aug 2021 09:51:31 GMT expires: - '-1' pragma: @@ -700,29 +654,28 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliakstest-clitestv6wkn2rqa-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestvpgy4gvkz-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7"}]}}, "aadProfile": {"managed": true, "enableAzureRBAC": true, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000001"], "tenantID": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -733,43 +686,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2394' + - '2426' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv6wkn2rqa-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -784,15 +738,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bf989402-827e-48af-84a7-10caa1f6e08b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8f2fe13-53a0-4a68-a76a-022b48ef37ac?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3563' + - '3595' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:28 GMT + - Thu, 19 Aug 2021 09:51:35 GMT expires: - '-1' pragma: @@ -808,7 +762,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -826,23 +780,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bf989402-827e-48af-84a7-10caa1f6e08b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8f2fe13-53a0-4a68-a76a-022b48ef37ac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"029498bf-7e82-af48-84a7-10caa1f6e08b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:27.2633333Z\"\n }" + string: "{\n \"name\": \"13fef2f8-a053-684a-a76a-022b48ef37ac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:35.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:57 GMT + - Thu, 19 Aug 2021 09:52:06 GMT expires: - '-1' pragma: @@ -874,23 +828,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bf989402-827e-48af-84a7-10caa1f6e08b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8f2fe13-53a0-4a68-a76a-022b48ef37ac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"029498bf-7e82-af48-84a7-10caa1f6e08b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:27.2633333Z\"\n }" + string: "{\n \"name\": \"13fef2f8-a053-684a-a76a-022b48ef37ac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:35.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:28 GMT + - Thu, 19 Aug 2021 09:52:36 GMT expires: - '-1' pragma: @@ -922,24 +876,24 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bf989402-827e-48af-84a7-10caa1f6e08b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8f2fe13-53a0-4a68-a76a-022b48ef37ac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"029498bf-7e82-af48-84a7-10caa1f6e08b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:27:27.2633333Z\",\n \"endTime\": - \"2021-07-27T06:28:33.3149531Z\"\n }" + string: "{\n \"name\": \"13fef2f8-a053-684a-a76a-022b48ef37ac\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:51:35.26Z\",\n \"endTime\": + \"2021-08-19T09:52:44.8865936Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:58 GMT + - Thu, 19 Aug 2021 09:53:06 GMT expires: - '-1' pragma: @@ -971,37 +925,38 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv6wkn2rqa-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1018,11 +973,11 @@ interactions: cache-control: - no-cache content-length: - - '3565' + - '3597' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:58 GMT + - Thu, 19 Aug 2021 09:53:06 GMT expires: - '-1' pragma: @@ -1054,37 +1009,38 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv6wkn2rqa-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1101,11 +1057,11 @@ interactions: cache-control: - no-cache content-length: - - '3565' + - '3597' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:59 GMT + - Thu, 19 Aug 2021 09:53:07 GMT expires: - '-1' pragma: @@ -1124,29 +1080,28 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliakstest-clitestv6wkn2rqa-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestvpgy4gvkz-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7"}]}}, "aadProfile": {"managed": true, "enableAzureRBAC": false, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000001"], "tenantID": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1157,43 +1112,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2395' + - '2427' Content-Type: - application/json ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv6wkn2rqa-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1208,15 +1164,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/714dfdfc-7d67-4cc2-83f4-d2650061aed2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6ab8169-822a-4416-a1d5-b9e29f254ff9?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3564' + - '3596' content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:02 GMT + - Thu, 19 Aug 2021 09:53:11 GMT expires: - '-1' pragma: @@ -1232,7 +1188,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -1250,23 +1206,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/714dfdfc-7d67-4cc2-83f4-d2650061aed2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6ab8169-822a-4416-a1d5-b9e29f254ff9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fcfd4d71-677d-c24c-83f4-d2650061aed2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:29:02.8033333Z\"\n }" + string: "{\n \"name\": \"6981aba6-2a82-1644-a1d5-b9e29f254ff9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:11.11Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:33 GMT + - Thu, 19 Aug 2021 09:53:42 GMT expires: - '-1' pragma: @@ -1298,23 +1254,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/714dfdfc-7d67-4cc2-83f4-d2650061aed2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6ab8169-822a-4416-a1d5-b9e29f254ff9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fcfd4d71-677d-c24c-83f4-d2650061aed2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:29:02.8033333Z\"\n }" + string: "{\n \"name\": \"6981aba6-2a82-1644-a1d5-b9e29f254ff9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:11.11Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:03 GMT + - Thu, 19 Aug 2021 09:54:12 GMT expires: - '-1' pragma: @@ -1346,24 +1302,24 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/714dfdfc-7d67-4cc2-83f4-d2650061aed2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6ab8169-822a-4416-a1d5-b9e29f254ff9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fcfd4d71-677d-c24c-83f4-d2650061aed2\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:29:02.8033333Z\",\n \"endTime\": - \"2021-07-27T06:30:07.4281076Z\"\n }" + string: "{\n \"name\": \"6981aba6-2a82-1644-a1d5-b9e29f254ff9\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:53:11.11Z\",\n \"endTime\": + \"2021-08-19T09:54:18.1991213Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:33 GMT + - Thu, 19 Aug 2021 09:54:42 GMT expires: - '-1' pragma: @@ -1395,37 +1351,38 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv6wkn2rqa-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv6wkn2rqa-79a739-162d62cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e9114b53-fb06-4be8-829d-da866f6eca92\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1442,11 +1399,11 @@ interactions: cache-control: - no-cache content-length: - - '3566' + - '3598' content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:34 GMT + - Thu, 19 Aug 2021 09:54:42 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml index 01433216b69..fa118c01718 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:14:41Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:04:52Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:14:42 GMT + - Thu, 19 Aug 2021 10:04:53 GMT expires: - '-1' pragma: @@ -42,19 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestghganprfl-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestfflbhgnth-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,60 +65,60 @@ interactions: Connection: - keep-alive Content-Length: - - '1322' + - '1356' Content-Type: - application/json ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestghganprfl-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2692' + - '2724' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:47 GMT + - Thu, 19 Aug 2021 10:05:02 GMT expires: - '-1' pragma: @@ -146,121 +146,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"c1b102a7-4432-ca41-9b53-4711d5bbcea2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:47.67Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:15:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"c1b102a7-4432-ca41-9b53-4711d5bbcea2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:47.67Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:15:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1b102a7-4432-ca41-9b53-4711d5bbcea2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:47.67Z\"\n }" + string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:17 GMT + - Thu, 19 Aug 2021 10:05:32 GMT expires: - '-1' pragma: @@ -290,25 +194,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1b102a7-4432-ca41-9b53-4711d5bbcea2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:47.67Z\"\n }" + string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:48 GMT + - Thu, 19 Aug 2021 10:06:02 GMT expires: - '-1' pragma: @@ -338,25 +242,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1b102a7-4432-ca41-9b53-4711d5bbcea2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:47.67Z\"\n }" + string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:17 GMT + - Thu, 19 Aug 2021 10:06:33 GMT expires: - '-1' pragma: @@ -386,25 +290,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1b102a7-4432-ca41-9b53-4711d5bbcea2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:47.67Z\"\n }" + string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:48 GMT + - Thu, 19 Aug 2021 10:07:03 GMT expires: - '-1' pragma: @@ -434,25 +338,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1b102a7-4432-ca41-9b53-4711d5bbcea2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:47.67Z\"\n }" + string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:18 GMT + - Thu, 19 Aug 2021 10:07:33 GMT expires: - '-1' pragma: @@ -482,26 +386,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a702b1c1-3244-41ca-9b53-4711d5bbcea2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c1b102a7-4432-ca41-9b53-4711d5bbcea2\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:14:47.67Z\",\n \"endTime\": - \"2021-07-27T06:18:34.7107034Z\"\n }" + string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\",\n \"endTime\": + \"2021-08-19T10:07:43.5952296Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:48 GMT + - Thu, 19 Aug 2021 10:08:02 GMT expires: - '-1' pragma: @@ -531,39 +435,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --vm-set-type --node-count --generate-ssh-keys -o + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestghganprfl-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/77a2366f-90d5-40ec-ba32-76ccccbbd72f\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -578,11 +483,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:49 GMT + - Thu, 19 Aug 2021 10:08:03 GMT expires: - '-1' pragma: @@ -615,37 +520,38 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestghganprfl-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/77a2366f-90d5-40ec-ba32-76ccccbbd72f\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -660,11 +566,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:49 GMT + - Thu, 19 Aug 2021 10:08:04 GMT expires: - '-1' pragma: @@ -683,28 +589,27 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliakstest-clitestghganprfl-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestfflbhgnth-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/77a2366f-90d5-40ec-ba32-76ccccbbd72f"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700"}]}}, "aadProfile": {"managed": true, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000001"], "tenantID": "00000000-0000-0000-0000-000000000002"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -715,44 +620,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2369' + - '2401' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestghganprfl-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/77a2366f-90d5-40ec-ba32-76ccccbbd72f\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -767,15 +673,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/80acabe6-a135-421d-a333-81cd3d42c75f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e19fdbc0-bef9-439c-ac49-203790e0e4cf?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3534' + - '3566' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:52 GMT + - Thu, 19 Aug 2021 10:08:07 GMT expires: - '-1' pragma: @@ -791,7 +697,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1192' status: code: 200 message: OK @@ -810,23 +716,23 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/80acabe6-a135-421d-a333-81cd3d42c75f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e19fdbc0-bef9-439c-ac49-203790e0e4cf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e6abac80-35a1-1d42-a333-81cd3d42c75f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:51.9866666Z\"\n }" + string: "{\n \"name\": \"c0db9fe1-f9be-9c43-ac49-203790e0e4cf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:08:07.66Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:22 GMT + - Thu, 19 Aug 2021 10:08:37 GMT expires: - '-1' pragma: @@ -859,24 +765,24 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/80acabe6-a135-421d-a333-81cd3d42c75f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e19fdbc0-bef9-439c-ac49-203790e0e4cf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e6abac80-35a1-1d42-a333-81cd3d42c75f\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:18:51.9866666Z\",\n \"endTime\": - \"2021-07-27T06:19:52.1503788Z\"\n }" + string: "{\n \"name\": \"c0db9fe1-f9be-9c43-ac49-203790e0e4cf\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:08:07.66Z\",\n \"endTime\": + \"2021-08-19T10:09:08.7693622Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:52 GMT + - Thu, 19 Aug 2021 10:09:08 GMT expires: - '-1' pragma: @@ -909,37 +815,38 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestghganprfl-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestghganprfl-79a739-1f22dfee.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/77a2366f-90d5-40ec-ba32-76ccccbbd72f\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -956,11 +863,11 @@ interactions: cache-control: - no-cache content-length: - - '3536' + - '3568' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:53 GMT + - Thu, 19 Aug 2021 10:09:09 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml index 38f53a131c6..89aeb3ca75c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:13:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:47:48Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:13:13 GMT + - Thu, 19 Aug 2021 09:47:50 GMT expires: - '-1' pragma: @@ -43,20 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestpoyyz5dpl-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "apiServerAccessProfile": {"enablePrivateCluster": - true, "privateDNSZone": "none"}, "disableLocalAccounts": false}, "location": - "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestxnaoign7m-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "apiServerAccessProfile": {"enablePrivateCluster": true, "privateDNSZone": + "none"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -67,65 +67,67 @@ interactions: Connection: - keep-alive Content-Length: - - '1406' + - '1440' Content-Type: - application/json ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestpoyyz5dpl-79a739\",\n - \ \"azurePortalFQDN\": \"9ed6074208b507e837415fb8aa8f1403-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestpoyyz5dpl-79a739-a8c147fd.02eb3721-f6ce-45cb-88b2-a790f62ce369.privatelink.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxnaoign7m-79a739\",\n \"fqdn\": + \"cliakstest-clitestxnaoign7m-79a739-50c436c5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"da49a613e0589f21fcabf787b72e5be8-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestxnaoign7m-79a739-50c436c5.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"privateLinkResources\": [\n {\n \"name\": \"management\",\n - \ \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"privateLinkResources\": + [\n {\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"none\"\n },\n \"disableLocalAccounts\": + true,\n \"privateDNSZone\": \"none\",\n \"enablePrivateClusterPublicFQDN\": + true,\n \"privateClusterVersion\": \"v1\"\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3074' + - '3220' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:22 GMT + - Thu, 19 Aug 2021 09:47:59 GMT expires: - '-1' pragma: @@ -153,17 +155,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -172,7 +174,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:52 GMT + - Thu, 19 Aug 2021 09:48:29 GMT expires: - '-1' pragma: @@ -202,17 +204,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -221,7 +223,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:22 GMT + - Thu, 19 Aug 2021 09:49:00 GMT expires: - '-1' pragma: @@ -251,17 +253,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -270,7 +272,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:52 GMT + - Thu, 19 Aug 2021 09:49:30 GMT expires: - '-1' pragma: @@ -300,17 +302,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -319,7 +321,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:22 GMT + - Thu, 19 Aug 2021 09:50:00 GMT expires: - '-1' pragma: @@ -349,17 +351,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -368,7 +370,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:52 GMT + - Thu, 19 Aug 2021 09:50:30 GMT expires: - '-1' pragma: @@ -398,17 +400,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -417,7 +419,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:23 GMT + - Thu, 19 Aug 2021 09:51:00 GMT expires: - '-1' pragma: @@ -447,17 +449,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -466,7 +468,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:52 GMT + - Thu, 19 Aug 2021 09:51:31 GMT expires: - '-1' pragma: @@ -496,17 +498,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -515,7 +517,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:23 GMT + - Thu, 19 Aug 2021 09:52:01 GMT expires: - '-1' pragma: @@ -545,17 +547,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -564,7 +566,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:53 GMT + - Thu, 19 Aug 2021 09:52:30 GMT expires: - '-1' pragma: @@ -594,17 +596,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -613,7 +615,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:23 GMT + - Thu, 19 Aug 2021 09:53:00 GMT expires: - '-1' pragma: @@ -643,17 +645,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" headers: cache-control: - no-cache @@ -662,7 +664,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:53 GMT + - Thu, 19 Aug 2021 09:53:31 GMT expires: - '-1' pragma: @@ -692,67 +694,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:19:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4be1bcbe-f393-4c63-ac7b-5d21b5f1d661?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"bebce14b-93f3-634c-ac7b-5d21b5f1d661\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:13:22.13Z\",\n \"endTime\": - \"2021-07-27T06:19:34.4371041Z\"\n }" + string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\",\n \"endTime\": + \"2021-08-19T09:53:42.8776271Z\"\n }" headers: cache-control: - no-cache @@ -761,7 +714,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:53 GMT + - Thu, 19 Aug 2021 09:54:01 GMT expires: - '-1' pragma: @@ -791,40 +744,42 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --node-count --generate-ssh-keys --load-balancer-sku - --enable-private-cluster --private-dns-zone + - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster + --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestpoyyz5dpl-79a739\",\n - \ \"azurePortalFQDN\": \"9ed6074208b507e837415fb8aa8f1403-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestpoyyz5dpl-79a739-a8c147fd.02eb3721-f6ce-45cb-88b2-a790f62ce369.privatelink.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxnaoign7m-79a739\",\n \"fqdn\": + \"cliakstest-clitestxnaoign7m-79a739-50c436c5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"da49a613e0589f21fcabf787b72e5be8-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestxnaoign7m-79a739-50c436c5.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/692da6ff-4eb3-4a07-8dd0-3a0b5c505d8f\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/72d2606e-eb55-4589-87e8-da482bfb2b10\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -832,8 +787,9 @@ interactions: \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"none\"\n },\n \"identityProfile\": {\n - \ \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + true,\n \"privateDNSZone\": \"none\",\n \"enablePrivateClusterPublicFQDN\": + true,\n \"privateClusterVersion\": \"v1\"\n },\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n @@ -843,11 +799,11 @@ interactions: cache-control: - no-cache content-length: - - '3938' + - '4084' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:54 GMT + - Thu, 19 Aug 2021 09:54:02 GMT expires: - '-1' pragma: @@ -881,8 +837,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: @@ -890,17 +846,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0235b79-9f6c-4962-aba4-a4052a5b244c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2762ef9d-f8a7-44e8-a7cd-6f9c361bf7c4?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:19:56 GMT + - Thu, 19 Aug 2021 09:54:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f0235b79-9f6c-4962-aba4-a4052a5b244c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/2762ef9d-f8a7-44e8-a7cd-6f9c361bf7c4?api-version=2016-03-30 pragma: - no-cache server: @@ -910,7 +866,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml index 2eca511cfef..6be10bae283 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml @@ -13,15 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - python/3.8.9 (Linux-4.9.125-linuxkit-x86_64-with) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 (DOCKER) - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-18T06:41:50Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:33:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 18 Aug 2021 06:41:58 GMT + - Fri, 20 Aug 2021 06:33:05 GMT expires: - '-1' pragma: @@ -45,20 +42,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestfvnycy3ym-8ecadf", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "apiServerAccessProfile": {"enablePrivateCluster": true}, "disableLocalAccounts": - false}, "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestbeuhtmj5v-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "apiServerAccessProfile": {"enablePrivateCluster": true}, "disableLocalAccounts": + false}}' headers: Accept: - application/json @@ -69,69 +66,66 @@ interactions: Connection: - keep-alive Content-Length: - - '1743' + - '1414' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ - : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"fqdn\": \"cliakstest-clitestfvnycy3ym-8ecadf-1354234d.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"\ - code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n\ - \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ - : \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ - : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ - nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ - enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ - : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ - : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ - maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"name\"\ - : \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ - ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ - management\"\n ]\n }\n ],\n \"apiServerAccessProfile\": {\n \ - \ \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \ - \ \"enablePrivateClusterPublicFQDN\": true\n },\n \"disableLocalAccounts\"\ - : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ - principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ - \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ - : \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"fqdn\": + \"cliakstest-clitestbeuhtmj5v-79a739-ffe83ea8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": + false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"privateLinkResources\": + [\n {\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n + \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n + \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": + true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": + true,\n \"privateClusterVersion\": \"v1\"\n },\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3561' + - '3267' content-type: - application/json date: - - Wed, 18 Aug 2021 06:42:10 GMT + - Fri, 20 Aug 2021 06:33:09 GMT expires: - '-1' pragma: @@ -161,23 +155,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:42:40 GMT + - Fri, 20 Aug 2021 06:33:40 GMT expires: - '-1' pragma: @@ -209,23 +203,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:43:10 GMT + - Fri, 20 Aug 2021 06:34:10 GMT expires: - '-1' pragma: @@ -257,23 +251,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:43:41 GMT + - Fri, 20 Aug 2021 06:34:40 GMT expires: - '-1' pragma: @@ -305,23 +299,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:44:11 GMT + - Fri, 20 Aug 2021 06:35:10 GMT expires: - '-1' pragma: @@ -353,23 +347,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:44:41 GMT + - Fri, 20 Aug 2021 06:35:40 GMT expires: - '-1' pragma: @@ -401,23 +395,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:45:11 GMT + - Fri, 20 Aug 2021 06:36:10 GMT expires: - '-1' pragma: @@ -449,23 +443,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:45:42 GMT + - Fri, 20 Aug 2021 06:36:41 GMT expires: - '-1' pragma: @@ -497,23 +491,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:46:13 GMT + - Fri, 20 Aug 2021 06:37:11 GMT expires: - '-1' pragma: @@ -545,23 +539,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:46:43 GMT + - Fri, 20 Aug 2021 06:37:40 GMT expires: - '-1' pragma: @@ -593,23 +587,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:47:13 GMT + - Fri, 20 Aug 2021 06:38:11 GMT expires: - '-1' pragma: @@ -641,23 +635,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:47:43 GMT + - Fri, 20 Aug 2021 06:38:41 GMT expires: - '-1' pragma: @@ -689,23 +683,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:48:14 GMT + - Fri, 20 Aug 2021 06:39:11 GMT expires: - '-1' pragma: @@ -737,24 +731,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b19f63bb-8779-4222-bbae-a8224d470b05?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb639fb1-7987-2242-bbae-a8224d470b05\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2021-08-18T06:42:09.04Z\",\n \"endTime\"\ - : \"2021-08-18T06:48:26.0731664Z\"\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Wed, 18 Aug 2021 06:48:45 GMT + - Fri, 20 Aug 2021 06:39:41 GMT expires: - '-1' pragma: @@ -786,67 +779,24 @@ interactions: ParameterSetName: - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ - : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"fqdn\": \"cliakstest-clitestfvnycy3ym-8ecadf-1354234d.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\"\ - ,\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"\ - mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ - : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ - nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ - enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ - : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257\"\ - \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ - : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ - maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\"\ - ,\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ - ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ - management\"\n ]\n }\n ],\n \"apiServerAccessProfile\": {\n \ - \ \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \ - \ \"enablePrivateClusterPublicFQDN\": true\n },\n \"identityProfile\"\ - : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ - ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ - :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ - : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ - principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ - \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ - : \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\",\n \"endTime\": + \"2021-08-20T06:40:09.5777027Z\"\n }" headers: cache-control: - no-cache content-length: - - '4425' + - '170' content-type: - application/json date: - - Wed, 18 Aug 2021 06:48:46 GMT + - Fri, 20 Aug 2021 06:40:12 GMT expires: - '-1' pragma: @@ -868,77 +818,73 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks update + - aks create Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn + - --resource-group --name --enable-private-cluster --node-count --ssh-key-value User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ - : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"fqdn\": \"cliakstest-clitestfvnycy3ym-8ecadf-1354234d.hcp.westus2.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\"\ - ,\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"\ - mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ - : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ - nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ - enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ - : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257\"\ - \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ - : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ - maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\"\ - ,\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ - ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ - management\"\n ]\n }\n ],\n \"apiServerAccessProfile\": {\n \ - \ \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \ - \ \"enablePrivateClusterPublicFQDN\": true\n },\n \"identityProfile\"\ - : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ - ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ - :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ - : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ - principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ - \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ - : \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"fqdn\": + \"cliakstest-clitestbeuhtmj5v-79a739-ffe83ea8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": + false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": + 100,\n \"privateLinkResources\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\",\n + \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n + \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n + \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": + true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": + true,\n \"privateClusterVersion\": \"v1\"\n },\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4425' + - '4131' content-type: - application/json date: - - Wed, 18 Aug 2021 06:48:50 GMT + - Fri, 20 Aug 2021 06:40:12 GMT expires: - '-1' pragma: @@ -957,22 +903,106 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.20.7", "dnsPrefix": "cliakstest-clitestfvnycy3ym-8ecadf", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-public-fqdn + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"fqdn\": + \"cliakstest-clitestbeuhtmj5v-79a739-ffe83ea8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": + false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": + 100,\n \"privateLinkResources\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\",\n + \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n + \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n + \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": + true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": + true,\n \"privateClusterVersion\": \"v1\"\n },\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4131' + content-type: + - application/json + date: + - Fri, 20 Aug 2021 06:40:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestbeuhtmj5v-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6"}]}}, "autoUpgradeProfile": {}, "apiServerAccessProfile": {"enablePrivateCluster": true, "privateDNSZone": "system", "enablePrivateClusterPublicFQDN": false}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", @@ -980,7 +1010,7 @@ interactions: "privateLinkResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management", "name": "management", "type": "Microsoft.ContainerService/managedClusters/privateLinkResources", "groupId": "management", "requiredMembers": ["management"]}], "disableLocalAccounts": - false}, "location": "westus2", "sku": {"name": "Basic", "tier": "Free"}}' + false}}' headers: Accept: - application/json @@ -991,74 +1021,71 @@ interactions: Connection: - keep-alive Content-Length: - - '3088' + - '2759' Content-Type: - application/json ParameterSetName: - --resource-group --name --disable-public-fqdn User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ - : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"\ - code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n\ - \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ - : \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ - : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ - nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ - enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ - : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257\"\ - \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ - : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ - maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"name\"\ - : \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ - ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ - management\"\n ],\n \"privateLinkServiceID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hcp-underlay-westus2-cx-154/providers/Microsoft.Network/privateLinkServices/aec92f55798b74208a57591b969239e8\"\ - \n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\"\ - : true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\"\ - : false\n },\n \"identityProfile\": {\n \"kubeletidentity\": {\n \ - \ \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ - ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ - :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ - : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ - principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ - \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ - : \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"azurePortalFQDN\": + \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": + false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": + 100,\n \"privateLinkResources\": [\n {\n \"name\": \"management\",\n + \ \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n + \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n + \ ],\n \"privateLinkServiceID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hcp-underlay-westus2-cx-154/providers/Microsoft.Network/privateLinkServices/a46711ab8630c45adb61980e32951b81\"\n + \ }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": + true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": + false,\n \"privateClusterVersion\": \"v1\"\n },\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 cache-control: - no-cache content-length: - - '4351' + - '4057' content-type: - application/json date: - - Wed, 18 Aug 2021 06:48:56 GMT + - Fri, 20 Aug 2021 06:40:17 GMT expires: - '-1' pragma: @@ -1067,14 +1094,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: OK @@ -1092,14 +1115,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-public-fqdn User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd96880f-1e40-c74a-9ef2-b0cb9fb4864d\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:48:54.59Z\"\n }" + string: "{\n \"name\": \"1f7bd3d4-86c0-014e-a9d3-688e477c0cc3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:40:16.74Z\"\n }" headers: cache-control: - no-cache @@ -1108,7 +1131,7 @@ interactions: content-type: - application/json date: - - Wed, 18 Aug 2021 06:49:26 GMT + - Fri, 20 Aug 2021 06:40:48 GMT expires: - '-1' pragma: @@ -1117,10 +1140,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1140,14 +1159,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-public-fqdn User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd96880f-1e40-c74a-9ef2-b0cb9fb4864d\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:48:54.59Z\"\n }" + string: "{\n \"name\": \"1f7bd3d4-86c0-014e-a9d3-688e477c0cc3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:40:16.74Z\"\n }" headers: cache-control: - no-cache @@ -1156,7 +1175,7 @@ interactions: content-type: - application/json date: - - Wed, 18 Aug 2021 06:49:56 GMT + - Fri, 20 Aug 2021 06:41:17 GMT expires: - '-1' pragma: @@ -1165,10 +1184,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1188,14 +1203,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-public-fqdn User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd96880f-1e40-c74a-9ef2-b0cb9fb4864d\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2021-08-18T06:48:54.59Z\"\n }" + string: "{\n \"name\": \"1f7bd3d4-86c0-014e-a9d3-688e477c0cc3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:40:16.74Z\"\n }" headers: cache-control: - no-cache @@ -1204,7 +1219,7 @@ interactions: content-type: - application/json date: - - Wed, 18 Aug 2021 06:50:27 GMT + - Fri, 20 Aug 2021 06:41:47 GMT expires: - '-1' pragma: @@ -1213,10 +1228,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1236,15 +1247,15 @@ interactions: ParameterSetName: - --resource-group --name --disable-public-fqdn User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0f8896dd-401e-4ac7-9ef2-b0cb9fb4864d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd96880f-1e40-c74a-9ef2-b0cb9fb4864d\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2021-08-18T06:48:54.59Z\",\n \"endTime\"\ - : \"2021-08-18T06:50:39.0348243Z\"\n }" + string: "{\n \"name\": \"1f7bd3d4-86c0-014e-a9d3-688e477c0cc3\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:40:16.74Z\",\n \"endTime\": + \"2021-08-20T06:42:11.3987574Z\"\n }" headers: cache-control: - no-cache @@ -1253,7 +1264,7 @@ interactions: content-type: - application/json date: - - Wed, 18 Aug 2021 06:50:58 GMT + - Fri, 20 Aug 2021 06:42:18 GMT expires: - '-1' pragma: @@ -1262,10 +1273,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1285,66 +1292,62 @@ interactions: ParameterSetName: - --resource-group --name --disable-public-fqdn User-Agent: - - AZURECLI/2.21.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.9 - (Linux-4.9.125-linuxkit-x86_64-with) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.20.7\",\n \"dnsPrefix\"\ - : \"cliakstest-clitestfvnycy3ym-8ecadf\",\n \"azurePortalFQDN\": \"4a50607ae4401a8329d06f595d954ac3-priv.portal.hcp.westus2.azmk8s.io\"\ - ,\n \"privateFQDN\": \"cliakstest-clitestfvnycy3ym-8ecadf-70faed43.92311048-ef6c-4493-8f35-bb668a04250f.privatelink.westus2.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\"\ - ,\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"\ - mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\"\ - : false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"\ - nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"\ - enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ - : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n\ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5cb0839b-15cc-480d-b48e-715171447257\"\ - \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ - : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"\ - maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\"\ - ,\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\"\ - ,\n \"groupId\": \"management\",\n \"requiredMembers\": [\n \"\ - management\"\n ]\n }\n ],\n \"apiServerAccessProfile\": {\n \ - \ \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \ - \ \"enablePrivateClusterPublicFQDN\": false\n },\n \"identityProfile\"\ - : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ - ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ - :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ - : false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"\ - principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\":\ - \ \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ - : \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"azurePortalFQDN\": + \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": + false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": + 100,\n \"privateLinkResources\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/privateLinkResources/management\",\n + \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n + \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n + \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": + true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": + false,\n \"privateClusterVersion\": \"v1\"\n },\n \"identityProfile\": + {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4346' + - '4052' content-type: - application/json date: - - Wed, 18 Aug 2021 06:50:58 GMT + - Fri, 20 Aug 2021 06:42:18 GMT expires: - '-1' pragma: @@ -1353,10 +1356,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_using_azurecni_with_pod_identity_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_using_azurecni_with_pod_identity_enabled.yaml index 981bef10817..5181607c385 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_using_azurecni_with_pod_identity_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_using_azurecni_with_pod_identity_enabled.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:01:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:01:24 GMT + - Fri, 20 Aug 2021 07:16:47 GMT expires: - '-1' pragma: @@ -43,17 +43,18 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitest7bxlbobxx-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestlrunyy7pl-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "podIdentityProfile": + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "podIdentityProfile": {"enabled": true}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "outboundType": "loadBalancer", "loadBalancerSku": - "standard"}, "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -64,42 +65,39 @@ interactions: Connection: - keep-alive Content-Length: - - '1243' + - '1271' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n @@ -115,15 +113,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/924aebca-7372-4360-ab7d-022579c0c1f5?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2828' + - '2832' content-type: - application/json date: - - Wed, 23 Jun 2021 08:01:39 GMT + - Fri, 20 Aug 2021 07:16:53 GMT expires: - '-1' pragma: @@ -135,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -143,7 +141,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -151,18 +149,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/924aebca-7372-4360-ab7d-022579c0c1f5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"caeb4a92-7273-6043-ab7d-022579c0c1f5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2766666Z\"\n }" + string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" headers: cache-control: - no-cache @@ -171,7 +168,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:02:10 GMT + - Fri, 20 Aug 2021 07:17:23 GMT expires: - '-1' pragma: @@ -193,7 +190,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -201,18 +198,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/924aebca-7372-4360-ab7d-022579c0c1f5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"caeb4a92-7273-6043-ab7d-022579c0c1f5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2766666Z\"\n }" + string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" headers: cache-control: - no-cache @@ -221,7 +217,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:02:42 GMT + - Fri, 20 Aug 2021 07:17:54 GMT expires: - '-1' pragma: @@ -243,7 +239,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -251,18 +247,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/924aebca-7372-4360-ab7d-022579c0c1f5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"caeb4a92-7273-6043-ab7d-022579c0c1f5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2766666Z\"\n }" + string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" headers: cache-control: - no-cache @@ -271,7 +266,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:14 GMT + - Fri, 20 Aug 2021 07:18:23 GMT expires: - '-1' pragma: @@ -293,7 +288,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -301,18 +296,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/924aebca-7372-4360-ab7d-022579c0c1f5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"caeb4a92-7273-6043-ab7d-022579c0c1f5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2766666Z\"\n }" + string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" headers: cache-control: - no-cache @@ -321,7 +315,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:46 GMT + - Fri, 20 Aug 2021 07:18:53 GMT expires: - '-1' pragma: @@ -343,7 +337,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -351,18 +345,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/924aebca-7372-4360-ab7d-022579c0c1f5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"caeb4a92-7273-6043-ab7d-022579c0c1f5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2766666Z\"\n }" + string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" headers: cache-control: - no-cache @@ -371,7 +364,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:16 GMT + - Fri, 20 Aug 2021 07:19:23 GMT expires: - '-1' pragma: @@ -393,7 +386,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -401,69 +394,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/924aebca-7372-4360-ab7d-022579c0c1f5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"caeb4a92-7273-6043-ab7d-022579c0c1f5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:39.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:04:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/924aebca-7372-4360-ab7d-022579c0c1f5?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"caeb4a92-7273-6043-ab7d-022579c0c1f5\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:01:39.2766666Z\",\n \"endTime\": - \"2021-06-23T08:05:09.0121077Z\"\n }" + string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\",\n \"endTime\": + \"2021-08-20T07:19:45.1118267Z\"\n }" headers: cache-control: - no-cache @@ -472,7 +414,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:19 GMT + - Fri, 20 Aug 2021 07:19:53 GMT expires: - '-1' pragma: @@ -494,7 +436,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -502,43 +444,42 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --network-plugin + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --network-plugin --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -553,11 +494,11 @@ interactions: cache-control: - no-cache content-length: - - '3491' + - '3495' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:21 GMT + - Fri, 20 Aug 2021 07:19:54 GMT expires: - '-1' pragma: @@ -589,42 +530,39 @@ interactions: ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -639,11 +577,11 @@ interactions: cache-control: - no-cache content-length: - - '3491' + - '3495' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:23 GMT + - Fri, 20 Aug 2021 07:19:55 GMT expires: - '-1' pragma: @@ -662,28 +600,27 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitest7bxlbobxx-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", - "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -694,48 +631,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2332' + - '2336' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -747,15 +681,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/79326953-8e3c-4220-aaf8-2c55131b2795?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ccb52d9f-0dee-473c-b08e-859646f1d190?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3465' + - '3469' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:29 GMT + - Fri, 20 Aug 2021 07:19:57 GMT expires: - '-1' pragma: @@ -771,7 +705,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -779,7 +713,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -789,15 +723,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/79326953-8e3c-4220-aaf8-2c55131b2795?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ccb52d9f-0dee-473c-b08e-859646f1d190?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"53693279-3c8e-2042-aaf8-2c55131b2795\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:28.3233333Z\"\n }" + string: "{\n \"name\": \"9f2db5cc-ee0d-3c47-b08e-859646f1d190\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:19:57.6633333Z\"\n }" headers: cache-control: - no-cache @@ -806,7 +739,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:00 GMT + - Fri, 20 Aug 2021 07:20:27 GMT expires: - '-1' pragma: @@ -828,7 +761,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -838,16 +771,15 @@ interactions: ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/79326953-8e3c-4220-aaf8-2c55131b2795?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ccb52d9f-0dee-473c-b08e-859646f1d190?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"53693279-3c8e-2042-aaf8-2c55131b2795\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:05:28.3233333Z\",\n \"endTime\": - \"2021-06-23T08:06:20.3378765Z\"\n }" + string: "{\n \"name\": \"9f2db5cc-ee0d-3c47-b08e-859646f1d190\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:19:57.6633333Z\",\n \"endTime\": + \"2021-08-20T07:20:55.9135117Z\"\n }" headers: cache-control: - no-cache @@ -856,7 +788,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:31 GMT + - Fri, 20 Aug 2021 07:20:57 GMT expires: - '-1' pragma: @@ -878,7 +810,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -888,40 +820,39 @@ interactions: ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -935,11 +866,11 @@ interactions: cache-control: - no-cache content-length: - - '3467' + - '3471' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:32 GMT + - Fri, 20 Aug 2021 07:20:57 GMT expires: - '-1' pragma: @@ -971,42 +902,39 @@ interactions: ParameterSetName: - --resource-group --name --enable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1020,11 +948,11 @@ interactions: cache-control: - no-cache content-length: - - '3467' + - '3471' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:34 GMT + - Fri, 20 Aug 2021 07:20:58 GMT expires: - '-1' pragma: @@ -1043,29 +971,28 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitest7bxlbobxx-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", - "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": []}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1076,48 +1003,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2399' + - '2403' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --name --enable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1130,15 +1054,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/865570ee-5a5c-4f60-a468-a3719307d3e3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f93402e3-6d3a-415e-8255-cb4f28423ad8?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3489' + - '3493' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:41 GMT + - Fri, 20 Aug 2021 07:21:00 GMT expires: - '-1' pragma: @@ -1154,7 +1078,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1162,7 +1086,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1172,24 +1096,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/865570ee-5a5c-4f60-a468-a3719307d3e3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f93402e3-6d3a-415e-8255-cb4f28423ad8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee705586-5c5a-604f-a468-a3719307d3e3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:39.7766666Z\"\n }" + string: "{\n \"name\": \"e30234f9-3a6d-5e41-8255-cb4f28423ad8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:21:01.17Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:12 GMT + - Fri, 20 Aug 2021 07:21:30 GMT expires: - '-1' pragma: @@ -1211,7 +1134,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1221,25 +1144,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/865570ee-5a5c-4f60-a468-a3719307d3e3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f93402e3-6d3a-415e-8255-cb4f28423ad8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee705586-5c5a-604f-a468-a3719307d3e3\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:06:39.7766666Z\",\n \"endTime\": - \"2021-06-23T08:07:38.8973157Z\"\n }" + string: "{\n \"name\": \"e30234f9-3a6d-5e41-8255-cb4f28423ad8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:21:01.17Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:44 GMT + - Fri, 20 Aug 2021 07:22:01 GMT expires: - '-1' pragma: @@ -1261,7 +1182,56 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-pod-identity + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f93402e3-6d3a-415e-8255-cb4f28423ad8?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e30234f9-3a6d-5e41-8255-cb4f28423ad8\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:21:01.17Z\",\n \"endTime\": + \"2021-08-20T07:22:03.9131403Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: - application/json + date: + - Fri, 20 Aug 2021 07:22:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1271,40 +1241,39 @@ interactions: ParameterSetName: - --resource-group --name --enable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1319,11 +1288,11 @@ interactions: cache-control: - no-cache content-length: - - '3491' + - '3495' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:47 GMT + - Fri, 20 Aug 2021 07:22:31 GMT expires: - '-1' pragma: @@ -1355,42 +1324,39 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1405,11 +1371,11 @@ interactions: cache-control: - no-cache content-length: - - '3491' + - '3495' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:49 GMT + - Fri, 20 Aug 2021 07:22:32 GMT expires: - '-1' pragma: @@ -1428,17 +1394,17 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitest7bxlbobxx-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", - "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": [{"name": "test-name", "namespace": "test-namespace", "podLabels": {"foo": "bar"}}]}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": @@ -1446,11 +1412,10 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1461,48 +1426,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2454' + - '2458' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1517,15 +1479,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e11f17a3-064a-4091-9728-6da99698789d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c93e9938-c022-4c27-a555-2fe2cfbcefff?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3663' + - '3667' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:55 GMT + - Fri, 20 Aug 2021 07:22:33 GMT expires: - '-1' pragma: @@ -1541,7 +1503,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1549,7 +1511,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1559,24 +1521,23 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e11f17a3-064a-4091-9728-6da99698789d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c93e9938-c022-4c27-a555-2fe2cfbcefff?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3171fe1-4a06-9140-9728-6da99698789d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:07:54.3133333Z\"\n }" + string: "{\n \"name\": \"38993ec9-22c0-274c-a555-2fe2cfbcefff\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.65Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:27 GMT + - Fri, 20 Aug 2021 07:23:04 GMT expires: - '-1' pragma: @@ -1598,7 +1559,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1608,25 +1569,24 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e11f17a3-064a-4091-9728-6da99698789d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c93e9938-c022-4c27-a555-2fe2cfbcefff?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3171fe1-4a06-9140-9728-6da99698789d\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:07:54.3133333Z\",\n \"endTime\": - \"2021-06-23T08:08:54.9359475Z\"\n }" + string: "{\n \"name\": \"38993ec9-22c0-274c-a555-2fe2cfbcefff\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:22:34.65Z\",\n \"endTime\": + \"2021-08-20T07:23:32.7842942Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:59 GMT + - Fri, 20 Aug 2021 07:23:34 GMT expires: - '-1' pragma: @@ -1648,7 +1608,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1658,40 +1618,39 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1708,11 +1667,11 @@ interactions: cache-control: - no-cache content-length: - - '3665' + - '3669' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:01 GMT + - Fri, 20 Aug 2021 07:23:34 GMT expires: - '-1' pragma: @@ -1744,42 +1703,39 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1796,11 +1752,11 @@ interactions: cache-control: - no-cache content-length: - - '3665' + - '3669' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:03 GMT + - Fri, 20 Aug 2021 07:23:35 GMT expires: - '-1' pragma: @@ -1819,17 +1775,17 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitest7bxlbobxx-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", - "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": [{"name": "test-name", "namespace": "test-namespace", "podLabels": {"foo": "bar", "a": "b"}}]}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", @@ -1837,11 +1793,10 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1852,48 +1807,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2464' + - '2468' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1908,15 +1860,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1e35d0e-72b5-42a1-b886-34ea197134fc?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/14bb3934-7b80-4c7c-b6c8-63c5c690a6f0?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3680' + - '3684' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:11 GMT + - Fri, 20 Aug 2021 07:23:37 GMT expires: - '-1' pragma: @@ -1940,7 +1892,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1950,15 +1902,14 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1e35d0e-72b5-42a1-b886-34ea197134fc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/14bb3934-7b80-4c7c-b6c8-63c5c690a6f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0e5de3e1-b572-a142-b886-34ea197134fc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:09.5533333Z\"\n }" + string: "{\n \"name\": \"3439bb14-807b-7c4c-b6c8-63c5c690a6f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:23:37.4933333Z\"\n }" headers: cache-control: - no-cache @@ -1967,7 +1918,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:43 GMT + - Fri, 20 Aug 2021 07:24:06 GMT expires: - '-1' pragma: @@ -1989,7 +1940,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1999,16 +1950,15 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1e35d0e-72b5-42a1-b886-34ea197134fc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/14bb3934-7b80-4c7c-b6c8-63c5c690a6f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0e5de3e1-b572-a142-b886-34ea197134fc\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:09:09.5533333Z\",\n \"endTime\": - \"2021-06-23T08:10:06.1268012Z\"\n }" + string: "{\n \"name\": \"3439bb14-807b-7c4c-b6c8-63c5c690a6f0\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:23:37.4933333Z\",\n \"endTime\": + \"2021-08-20T07:24:32.5973101Z\"\n }" headers: cache-control: - no-cache @@ -2017,7 +1967,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:14 GMT + - Fri, 20 Aug 2021 07:24:37 GMT expires: - '-1' pragma: @@ -2039,7 +1989,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2049,40 +1999,39 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2099,11 +2048,11 @@ interactions: cache-control: - no-cache content-length: - - '3682' + - '3686' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:17 GMT + - Fri, 20 Aug 2021 07:24:37 GMT expires: - '-1' pragma: @@ -2135,42 +2084,39 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2187,11 +2133,11 @@ interactions: cache-control: - no-cache content-length: - - '3682' + - '3686' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:19 GMT + - Fri, 20 Aug 2021 07:24:38 GMT expires: - '-1' pragma: @@ -2210,28 +2156,27 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitest7bxlbobxx-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", - "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": []}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -2242,48 +2187,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2373' + - '2377' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2296,15 +2238,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0a2c4b92-3799-4ce3-be0d-ebc2e8264249?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/22b03e19-3619-4ad6-bf0e-d911797ba9f6?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3489' + - '3493' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:26 GMT + - Fri, 20 Aug 2021 07:24:39 GMT expires: - '-1' pragma: @@ -2320,7 +2262,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -2328,7 +2270,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2338,15 +2280,14 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0a2c4b92-3799-4ce3-be0d-ebc2e8264249?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/22b03e19-3619-4ad6-bf0e-d911797ba9f6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"924b2c0a-9937-e34c-be0d-ebc2e8264249\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:10:25.64Z\"\n }" + string: "{\n \"name\": \"193eb022-1936-d64a-bf0e-d911797ba9f6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:24:40.42Z\"\n }" headers: cache-control: - no-cache @@ -2355,7 +2296,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:58 GMT + - Fri, 20 Aug 2021 07:25:10 GMT expires: - '-1' pragma: @@ -2377,7 +2318,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2387,16 +2328,15 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0a2c4b92-3799-4ce3-be0d-ebc2e8264249?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/22b03e19-3619-4ad6-bf0e-d911797ba9f6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"924b2c0a-9937-e34c-be0d-ebc2e8264249\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:10:25.64Z\",\n \"endTime\": - \"2021-06-23T08:11:29.1441494Z\"\n }" + string: "{\n \"name\": \"193eb022-1936-d64a-bf0e-d911797ba9f6\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:24:40.42Z\",\n \"endTime\": + \"2021-08-20T07:25:33.8563407Z\"\n }" headers: cache-control: - no-cache @@ -2405,7 +2345,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:29 GMT + - Fri, 20 Aug 2021 07:25:40 GMT expires: - '-1' pragma: @@ -2427,7 +2367,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2437,40 +2377,39 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7bxlbobxx-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7bxlbobxx-8ecadf-d8742c18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49fd7996-7958-4f58-a5cd-3e2fc86b6226\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2485,11 +2424,11 @@ interactions: cache-control: - no-cache content-length: - - '3491' + - '3495' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:31 GMT + - Fri, 20 Aug 2021 07:25:40 GMT expires: - '-1' pragma: @@ -2523,8 +2462,8 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -2532,17 +2471,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d8c9aa00-019a-42a7-8756-bd377dd9526a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39a74c78-9561-43bb-9172-1b2ec2e5da57?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:11:36 GMT + - Fri, 20 Aug 2021 07:25:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/d8c9aa00-019a-42a7-8756-bd377dd9526a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/39a74c78-9561-43bb-9172-1b2ec2e5da57?api-version=2016-03-30 pragma: - no-cache server: @@ -2552,7 +2491,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ahub.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ahub.yaml index 70f089f9416..74078134c85 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ahub.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ahub.yaml @@ -11,16 +11,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:30:36Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:51:37Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:30:36 GMT + - Thu, 19 Aug 2021 09:51:38 GMT expires: - '-1' pragma: @@ -44,18 +44,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": - false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "replace-Password1234$", - "licenseType": "Windows_Server"}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "azure", "outboundType": "loadBalancer", - "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, "location": - "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser1", "adminPassword": "replace-Password1234$", "licenseType": "Windows_Server"}, + "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": + {"networkPlugin": "azure", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -66,41 +67,41 @@ interactions: Connection: - keep-alive Content-Length: - - '1304' + - '1338' Content-Type: - application/json ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-301f8108.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-301f8108.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \"enableCSIProxy\": - true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n + \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"standard\",\n @@ -113,15 +114,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4400e06-f0d5-46a9-b42d-ab2ec3f63b2c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2731' + - '2763' content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:42 GMT + - Thu, 19 Aug 2021 09:51:44 GMT expires: - '-1' pragma: @@ -133,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -149,77 +150,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4400e06-f0d5-46a9-b42d-ab2ec3f63b2c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"060e40f4-d5f0-a946-b42d-ab2ec3f63b2c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:30:42.17Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:31:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4400e06-f0d5-46a9-b42d-ab2ec3f63b2c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"060e40f4-d5f0-a946-b42d-ab2ec3f63b2c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:30:42.17Z\"\n }" + string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:42 GMT + - Thu, 19 Aug 2021 09:52:14 GMT expires: - '-1' pragma: @@ -249,27 +200,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4400e06-f0d5-46a9-b42d-ab2ec3f63b2c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"060e40f4-d5f0-a946-b42d-ab2ec3f63b2c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:30:42.17Z\"\n }" + string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:12 GMT + - Thu, 19 Aug 2021 09:52:45 GMT expires: - '-1' pragma: @@ -299,27 +250,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4400e06-f0d5-46a9-b42d-ab2ec3f63b2c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"060e40f4-d5f0-a946-b42d-ab2ec3f63b2c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:30:42.17Z\"\n }" + string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:42 GMT + - Thu, 19 Aug 2021 09:53:15 GMT expires: - '-1' pragma: @@ -349,27 +300,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4400e06-f0d5-46a9-b42d-ab2ec3f63b2c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"060e40f4-d5f0-a946-b42d-ab2ec3f63b2c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:30:42.17Z\"\n }" + string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:12 GMT + - Thu, 19 Aug 2021 09:53:45 GMT expires: - '-1' pragma: @@ -399,27 +350,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4400e06-f0d5-46a9-b42d-ab2ec3f63b2c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"060e40f4-d5f0-a946-b42d-ab2ec3f63b2c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:30:42.17Z\"\n }" + string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:43 GMT + - Thu, 19 Aug 2021 09:54:15 GMT expires: - '-1' pragma: @@ -449,28 +400,28 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4400e06-f0d5-46a9-b42d-ab2ec3f63b2c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"060e40f4-d5f0-a946-b42d-ab2ec3f63b2c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:30:42.17Z\",\n \"endTime\": - \"2021-07-27T06:33:55.623936Z\"\n }" + string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\",\n \"endTime\": + \"2021-08-19T09:54:37.1300216Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:12 GMT + - Thu, 19 Aug 2021 09:54:46 GMT expires: - '-1' pragma: @@ -500,42 +451,42 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --enable-ahub + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-301f8108.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-301f8108.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \"enableCSIProxy\": - true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n + \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/6c84e356-d8ee-44b1-a023-ef978bcf6961\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -549,11 +500,11 @@ interactions: cache-control: - no-cache content-length: - - '3394' + - '3426' content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:12 GMT + - Thu, 19 Aug 2021 09:54:46 GMT expires: - '-1' pragma: @@ -585,10 +536,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\",\n @@ -597,20 +548,20 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: - no-cache content-length: - - '957' + - '956' content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:14 GMT + - Thu, 19 Aug 2021 09:54:47 GMT expires: - '-1' pragma: @@ -650,10 +601,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -661,22 +612,23 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 cache-control: - no-cache content-length: - - '846' + - '875' content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:15 GMT + - Thu, 19 Aug 2021 09:54:48 GMT expires: - '-1' pragma: @@ -688,7 +640,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 201 message: Created @@ -706,206 +658,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:34:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-type --node-count - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:35:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-type --node-count - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:35:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-type --node-count - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:36:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-type --node-count - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -914,7 +674,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:36:46 GMT + - Thu, 19 Aug 2021 09:55:18 GMT expires: - '-1' pragma: @@ -946,14 +706,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -962,7 +722,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:16 GMT + - Thu, 19 Aug 2021 09:55:48 GMT expires: - '-1' pragma: @@ -994,14 +754,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1010,7 +770,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:46 GMT + - Thu, 19 Aug 2021 09:56:18 GMT expires: - '-1' pragma: @@ -1042,14 +802,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1058,7 +818,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:38:17 GMT + - Thu, 19 Aug 2021 09:56:48 GMT expires: - '-1' pragma: @@ -1090,14 +850,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1106,7 +866,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:38:46 GMT + - Thu, 19 Aug 2021 09:57:19 GMT expires: - '-1' pragma: @@ -1138,14 +898,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1154,7 +914,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:17 GMT + - Thu, 19 Aug 2021 09:57:49 GMT expires: - '-1' pragma: @@ -1186,14 +946,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1202,7 +962,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:47 GMT + - Thu, 19 Aug 2021 09:58:19 GMT expires: - '-1' pragma: @@ -1234,14 +994,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1250,7 +1010,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:17 GMT + - Thu, 19 Aug 2021 09:58:49 GMT expires: - '-1' pragma: @@ -1282,14 +1042,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1298,7 +1058,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:47 GMT + - Thu, 19 Aug 2021 09:59:20 GMT expires: - '-1' pragma: @@ -1330,14 +1090,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1346,7 +1106,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:17 GMT + - Thu, 19 Aug 2021 09:59:50 GMT expires: - '-1' pragma: @@ -1378,14 +1138,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1394,7 +1154,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:48 GMT + - Thu, 19 Aug 2021 10:00:20 GMT expires: - '-1' pragma: @@ -1426,14 +1186,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" headers: cache-control: - no-cache @@ -1442,7 +1202,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:17 GMT + - Thu, 19 Aug 2021 10:00:50 GMT expires: - '-1' pragma: @@ -1474,15 +1234,15 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c5bb7600-c079-49a1-8fcf-ba5818b1caea?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0076bbc5-79c0-a149-8fcf-ba5818b1caea\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:34:16.42Z\",\n \"endTime\": - \"2021-07-27T06:42:43.6456029Z\"\n }" + string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\",\n \"endTime\": + \"2021-08-19T10:01:15.7619503Z\"\n }" headers: cache-control: - no-cache @@ -1491,7 +1251,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:48 GMT + - Thu, 19 Aug 2021 10:01:20 GMT expires: - '-1' pragma: @@ -1523,10 +1283,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -1534,20 +1294,21 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: cache-control: - no-cache content-length: - - '847' + - '876' content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:48 GMT + - Thu, 19 Aug 2021 10:01:21 GMT expires: - '-1' pragma: @@ -1579,46 +1340,46 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-301f8108.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-301f8108.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \"enableCSIProxy\": - true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n + \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/6c84e356-d8ee-44b1-a023-ef978bcf6961\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1632,11 +1393,11 @@ interactions: cache-control: - no-cache content-length: - - '4021' + - '4084' content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:49 GMT + - Thu, 19 Aug 2021 10:01:22 GMT expires: - '-1' pragma: @@ -1655,32 +1416,32 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, - "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": - "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.19.11", "enableNodePublicIP": false, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", + "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": + 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}, {"count": 1, "vmSize": "Standard_D2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": - 30, "osType": "Windows", "type": "VirtualMachineScaleSets", "mode": "User", - "orchestratorVersion": "1.19.11", "upgradeSettings": {}, "enableNodePublicIP": + 30, "osType": "Windows", "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", + "mode": "User", "orchestratorVersion": "1.20.7", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "windowsProfile": {"adminUsername": "azureuser1", "licenseType": "None", "enableCSIProxy": - true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, - "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": - true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser1", "licenseType": "None", "enableCSIProxy": true}, "servicePrincipalProfile": + {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/6c84e356-d8ee-44b1-a023-ef978bcf6961"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1691,52 +1452,52 @@ interactions: Connection: - keep-alive Content-Length: - - '2651' + - '2709' Content-Type: - application/json ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-301f8108.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-301f8108.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"licenseType\": \"None\",\n \"enableCSIProxy\": true\n - \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"None\",\n + \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/6c84e356-d8ee-44b1-a023-ef978bcf6961\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1748,15 +1509,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 cache-control: - no-cache content-length: - - '4008' + - '4071' content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:53 GMT + - Thu, 19 Aug 2021 10:01:26 GMT expires: - '-1' pragma: @@ -1772,103 +1533,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --disable-ahub - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:43:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --disable-ahub - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:43:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff + - '1197' status: code: 200 message: OK @@ -1886,14 +1551,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -1902,7 +1567,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:44:23 GMT + - Thu, 19 Aug 2021 10:01:56 GMT expires: - '-1' pragma: @@ -1934,14 +1599,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -1950,7 +1615,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:44:54 GMT + - Thu, 19 Aug 2021 10:02:26 GMT expires: - '-1' pragma: @@ -1982,14 +1647,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -1998,7 +1663,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:45:23 GMT + - Thu, 19 Aug 2021 10:02:56 GMT expires: - '-1' pragma: @@ -2030,14 +1695,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2046,7 +1711,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:45:54 GMT + - Thu, 19 Aug 2021 10:03:27 GMT expires: - '-1' pragma: @@ -2078,14 +1743,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2094,7 +1759,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:46:24 GMT + - Thu, 19 Aug 2021 10:03:57 GMT expires: - '-1' pragma: @@ -2126,14 +1791,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2142,7 +1807,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:46:54 GMT + - Thu, 19 Aug 2021 10:04:27 GMT expires: - '-1' pragma: @@ -2174,14 +1839,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2190,7 +1855,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:47:24 GMT + - Thu, 19 Aug 2021 10:04:57 GMT expires: - '-1' pragma: @@ -2222,14 +1887,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2238,7 +1903,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:47:54 GMT + - Thu, 19 Aug 2021 10:05:27 GMT expires: - '-1' pragma: @@ -2270,14 +1935,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2286,7 +1951,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:48:24 GMT + - Thu, 19 Aug 2021 10:05:57 GMT expires: - '-1' pragma: @@ -2318,14 +1983,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2334,7 +1999,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:48:54 GMT + - Thu, 19 Aug 2021 10:06:27 GMT expires: - '-1' pragma: @@ -2366,14 +2031,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2382,7 +2047,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:49:24 GMT + - Thu, 19 Aug 2021 10:06:58 GMT expires: - '-1' pragma: @@ -2414,14 +2079,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2430,7 +2095,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:49:54 GMT + - Thu, 19 Aug 2021 10:07:28 GMT expires: - '-1' pragma: @@ -2462,14 +2127,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2478,7 +2143,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:50:25 GMT + - Thu, 19 Aug 2021 10:07:58 GMT expires: - '-1' pragma: @@ -2510,14 +2175,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2526,7 +2191,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:50:55 GMT + - Thu, 19 Aug 2021 10:08:28 GMT expires: - '-1' pragma: @@ -2558,14 +2223,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2574,7 +2239,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:51:25 GMT + - Thu, 19 Aug 2021 10:08:58 GMT expires: - '-1' pragma: @@ -2606,14 +2271,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2622,7 +2287,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:51:55 GMT + - Thu, 19 Aug 2021 10:09:28 GMT expires: - '-1' pragma: @@ -2654,14 +2319,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2670,7 +2335,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:26 GMT + - Thu, 19 Aug 2021 10:09:58 GMT expires: - '-1' pragma: @@ -2702,14 +2367,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2718,7 +2383,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:55 GMT + - Thu, 19 Aug 2021 10:10:29 GMT expires: - '-1' pragma: @@ -2750,14 +2415,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2766,7 +2431,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:53:25 GMT + - Thu, 19 Aug 2021 10:10:59 GMT expires: - '-1' pragma: @@ -2798,14 +2463,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2814,7 +2479,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:53:55 GMT + - Thu, 19 Aug 2021 10:11:29 GMT expires: - '-1' pragma: @@ -2846,14 +2511,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2862,7 +2527,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:54:26 GMT + - Thu, 19 Aug 2021 10:11:59 GMT expires: - '-1' pragma: @@ -2894,14 +2559,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2910,7 +2575,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:54:56 GMT + - Thu, 19 Aug 2021 10:12:29 GMT expires: - '-1' pragma: @@ -2942,14 +2607,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -2958,7 +2623,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:55:26 GMT + - Thu, 19 Aug 2021 10:12:59 GMT expires: - '-1' pragma: @@ -2990,14 +2655,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -3006,7 +2671,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:55:56 GMT + - Thu, 19 Aug 2021 10:13:30 GMT expires: - '-1' pragma: @@ -3038,14 +2703,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -3054,7 +2719,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:56:26 GMT + - Thu, 19 Aug 2021 10:14:00 GMT expires: - '-1' pragma: @@ -3086,14 +2751,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -3102,7 +2767,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:56:56 GMT + - Thu, 19 Aug 2021 10:14:29 GMT expires: - '-1' pragma: @@ -3134,14 +2799,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" headers: cache-control: - no-cache @@ -3150,7 +2815,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:57:27 GMT + - Thu, 19 Aug 2021 10:15:00 GMT expires: - '-1' pragma: @@ -3182,15 +2847,15 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f0967f75-625b-47f8-aead-955c49bac1b6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"757f96f0-5b62-f847-aead-955c49bac1b6\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:42:52.9033333Z\",\n \"endTime\": - \"2021-07-27T06:57:51.3043268Z\"\n }" + string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\",\n \"endTime\": + \"2021-08-19T10:15:27.8235669Z\"\n }" headers: cache-control: - no-cache @@ -3199,7 +2864,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:57:57 GMT + - Thu, 19 Aug 2021 10:15:30 GMT expires: - '-1' pragma: @@ -3231,46 +2896,46 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-301f8108.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-301f8108.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"licenseType\": \"None\",\n \"enableCSIProxy\": true\n - \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"None\",\n + \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/6c84e356-d8ee-44b1-a023-ef978bcf6961\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -3284,11 +2949,11 @@ interactions: cache-control: - no-cache content-length: - - '4011' + - '4074' content-type: - application/json date: - - Tue, 27 Jul 2021 06:57:57 GMT + - Thu, 19 Aug 2021 10:15:31 GMT expires: - '-1' pragma: @@ -3320,10 +2985,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\",\n @@ -3332,30 +2997,31 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n \ \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n }\n ]\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }\n ]\n + }" headers: cache-control: - no-cache content-length: - - '1861' + - '1891' content-type: - application/json date: - - Tue, 27 Jul 2021 06:57:58 GMT + - Thu, 19 Aug 2021 10:15:32 GMT expires: - '-1' pragma: @@ -3389,26 +3055,26 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d2e6efa8-ab91-49b0-ab8f-e72eccd06228?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc8d6e72-ba2a-4d69-b422-2b6d4ed2345f?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:57:58 GMT + - Thu, 19 Aug 2021 10:15:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/d2e6efa8-ab91-49b0-ab8f-e72eccd06228?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/dc8d6e72-ba2a-4d69-b422-2b6d4ed2345f?api-version=2016-03-30 pragma: - no-cache server: @@ -3418,7 +3084,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14996' status: code: 202 message: Accepted @@ -3438,8 +3104,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: @@ -3447,17 +3113,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f5519f28-f65e-439d-9cd1-7cf1560a498f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/15fd9bdb-596b-4c7c-aa01-106b249b5738?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:58:00 GMT + - Thu, 19 Aug 2021 10:15:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f5519f28-f65e-439d-9cd1-7cf1560a498f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/15fd9bdb-596b-4c7c-aa01-106b249b5738?api-version=2016-03-30 pragma: - no-cache server: @@ -3467,7 +3133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14997' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_auto_upgrade_channel.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_auto_upgrade_channel.yaml index 71985849cbc..1998186658c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_auto_upgrade_channel.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_auto_upgrade_channel.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:01:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:01:26 GMT + - Fri, 20 Aug 2021 07:16:47 GMT expires: - '-1' pragma: @@ -43,19 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitest7awt233hp-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestxo5aekq4a-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "autoUpgradeProfile": {"upgradeChannel": "rapid"}, "disableLocalAccounts": false}, - "identity": {"type": "SystemAssigned"}}' + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "autoUpgradeProfile": {"upgradeChannel": "rapid"}, "disableLocalAccounts": + false}}' headers: Accept: - application/json @@ -66,42 +67,39 @@ interactions: Connection: - keep-alive Content-Length: - - '1379' + - '1407' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7awt233hp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -116,15 +114,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8485f18-d48c-405b-a590-61bed4526a26?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2783' + - '2787' content-type: - application/json date: - - Wed, 23 Jun 2021 08:01:39 GMT + - Fri, 20 Aug 2021 07:16:52 GMT expires: - '-1' pragma: @@ -144,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -152,27 +150,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8485f18-d48c-405b-a590-61bed4526a26?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"185f48b8-8cd4-5b40-a590-61bed4526a26\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.9833333Z\"\n }" + string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:02:10 GMT + - Fri, 20 Aug 2021 07:17:22 GMT expires: - '-1' pragma: @@ -194,7 +191,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -202,27 +199,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8485f18-d48c-405b-a590-61bed4526a26?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"185f48b8-8cd4-5b40-a590-61bed4526a26\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.9833333Z\"\n }" + string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:02:42 GMT + - Fri, 20 Aug 2021 07:17:52 GMT expires: - '-1' pragma: @@ -244,7 +240,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -252,27 +248,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8485f18-d48c-405b-a590-61bed4526a26?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"185f48b8-8cd4-5b40-a590-61bed4526a26\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.9833333Z\"\n }" + string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:14 GMT + - Fri, 20 Aug 2021 07:18:22 GMT expires: - '-1' pragma: @@ -294,7 +289,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -302,27 +297,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8485f18-d48c-405b-a590-61bed4526a26?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"185f48b8-8cd4-5b40-a590-61bed4526a26\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.9833333Z\"\n }" + string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:45 GMT + - Fri, 20 Aug 2021 07:18:52 GMT expires: - '-1' pragma: @@ -344,7 +338,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -352,27 +346,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8485f18-d48c-405b-a590-61bed4526a26?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"185f48b8-8cd4-5b40-a590-61bed4526a26\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.9833333Z\"\n }" + string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:16 GMT + - Fri, 20 Aug 2021 07:19:22 GMT expires: - '-1' pragma: @@ -394,7 +387,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -402,27 +395,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8485f18-d48c-405b-a590-61bed4526a26?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"185f48b8-8cd4-5b40-a590-61bed4526a26\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:38.9833333Z\"\n }" + string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:48 GMT + - Fri, 20 Aug 2021 07:19:52 GMT expires: - '-1' pragma: @@ -444,7 +436,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -452,28 +444,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8485f18-d48c-405b-a590-61bed4526a26?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"185f48b8-8cd4-5b40-a590-61bed4526a26\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:01:38.9833333Z\",\n \"endTime\": - \"2021-06-23T08:05:09.0983414Z\"\n }" + string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:19 GMT + - Fri, 20 Aug 2021 07:20:22 GMT expires: - '-1' pragma: @@ -495,7 +485,57 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\",\n \"endTime\": + \"2021-08-20T07:20:33.9612827Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: - application/json + date: + - Fri, 20 Aug 2021 07:20:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -503,42 +543,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --auto-upgrade-channel + - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel + --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7awt233hp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/46a6fee3-893d-4a0c-b0a9-96cc4cf6e179\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -554,11 +593,11 @@ interactions: cache-control: - no-cache content-length: - - '3446' + - '3450' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:20 GMT + - Fri, 20 Aug 2021 07:20:53 GMT expires: - '-1' pragma: @@ -590,41 +629,38 @@ interactions: ParameterSetName: - --resource-group --name --auto-upgrade-channel User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7awt233hp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/46a6fee3-893d-4a0c-b0a9-96cc4cf6e179\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -640,11 +676,11 @@ interactions: cache-control: - no-cache content-length: - - '3446' + - '3450' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:22 GMT + - Fri, 20 Aug 2021 07:20:54 GMT expires: - '-1' pragma: @@ -663,27 +699,26 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitest7awt233hp-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestxo5aekq4a-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/46a6fee3-893d-4a0c-b0a9-96cc4cf6e179"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb"}]}}, "autoUpgradeProfile": {"upgradeChannel": "stable"}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -694,47 +729,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2273' + - '2277' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --name --auto-upgrade-channel User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7awt233hp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/46a6fee3-893d-4a0c-b0a9-96cc4cf6e179\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -748,15 +780,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a3260bee-8a2a-4855-ac0b-0f926191c5d5?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d43b120a-409f-4af4-bf37-2a9b9eebbf81?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3445' + - '3449' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:30 GMT + - Fri, 20 Aug 2021 07:20:57 GMT expires: - '-1' pragma: @@ -780,7 +812,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -790,15 +822,14 @@ interactions: ParameterSetName: - --resource-group --name --auto-upgrade-channel User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a3260bee-8a2a-4855-ac0b-0f926191c5d5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d43b120a-409f-4af4-bf37-2a9b9eebbf81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee0b26a3-2a8a-5548-ac0b-0f926191c5d5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:28.24Z\"\n }" + string: "{\n \"name\": \"0a123bd4-9f40-f44a-bf37-2a9b9eebbf81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:57.41Z\"\n }" headers: cache-control: - no-cache @@ -807,7 +838,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:01 GMT + - Fri, 20 Aug 2021 07:21:27 GMT expires: - '-1' pragma: @@ -829,7 +860,55 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --auto-upgrade-channel + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d43b120a-409f-4af4-bf37-2a9b9eebbf81?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0a123bd4-9f40-f44a-bf37-2a9b9eebbf81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:57.41Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: - application/json + date: + - Fri, 20 Aug 2021 07:21:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -839,16 +918,15 @@ interactions: ParameterSetName: - --resource-group --name --auto-upgrade-channel User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a3260bee-8a2a-4855-ac0b-0f926191c5d5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d43b120a-409f-4af4-bf37-2a9b9eebbf81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee0b26a3-2a8a-5548-ac0b-0f926191c5d5\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:05:28.24Z\",\n \"endTime\": - \"2021-06-23T08:06:28.3491086Z\"\n }" + string: "{\n \"name\": \"0a123bd4-9f40-f44a-bf37-2a9b9eebbf81\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:57.41Z\",\n \"endTime\": + \"2021-08-20T07:22:04.1802341Z\"\n }" headers: cache-control: - no-cache @@ -857,7 +935,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:31 GMT + - Fri, 20 Aug 2021 07:22:27 GMT expires: - '-1' pragma: @@ -879,7 +957,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -889,39 +967,38 @@ interactions: ParameterSetName: - --resource-group --name --auto-upgrade-channel User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest7awt233hp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest7awt233hp-8ecadf-7cf11421.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/46a6fee3-893d-4a0c-b0a9-96cc4cf6e179\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -937,11 +1014,11 @@ interactions: cache-control: - no-cache content-length: - - '3447' + - '3451' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:34 GMT + - Fri, 20 Aug 2021 07:22:27 GMT expires: - '-1' pragma: @@ -975,8 +1052,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -984,17 +1061,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0b10f202-c140-4872-a538-3e116bf10735?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a8575b-341b-4f03-bfd3-f3b714e0f552?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:06:38 GMT + - Fri, 20 Aug 2021 07:22:28 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/0b10f202-c140-4872-a538-3e116bf10735?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e9a8575b-341b-4f03-bfd3-f3b714e0f552?api-version=2016-03-30 pragma: - no-cache server: @@ -1004,7 +1081,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml index 0f4ae4f9e86..b9ec581de7a 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:01:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:22:30Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:01:25 GMT + - Fri, 20 Aug 2021 07:22:31 GMT expires: - '-1' pragma: @@ -42,20 +42,20 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitest57kodzlrc-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestdzt7wospq-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "false"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", - "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, "identity": - {"type": "SystemAssigned"}}' + "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -66,41 +66,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1422' + - '1450' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest57kodzlrc-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest57kodzlrc-8ecadf-2d0785ef.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest57kodzlrc-8ecadf-2d0785ef.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestdzt7wospq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestdzt7wospq-8ecadf-629986ac.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestdzt7wospq-8ecadf-629986ac.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n }\n }\n },\n \"nodeResourceGroup\": @@ -116,15 +113,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2876' + - '2880' content-type: - application/json date: - - Wed, 23 Jun 2021 08:01:38 GMT + - Fri, 20 Aug 2021 07:22:34 GMT expires: - '-1' pragma: @@ -136,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -144,56 +141,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"08d933cb-462a-8240-9786-70bb93ce5a74\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:37.5166666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:02:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -201,26 +149,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"08d933cb-462a-8240-9786-70bb93ce5a74\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:37.5166666Z\"\n }" + string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:02:41 GMT + - Fri, 20 Aug 2021 07:23:04 GMT expires: - '-1' pragma: @@ -242,7 +189,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -250,26 +197,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"08d933cb-462a-8240-9786-70bb93ce5a74\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:37.5166666Z\"\n }" + string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:12 GMT + - Fri, 20 Aug 2021 07:23:33 GMT expires: - '-1' pragma: @@ -291,7 +237,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -299,26 +245,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"08d933cb-462a-8240-9786-70bb93ce5a74\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:37.5166666Z\"\n }" + string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:43 GMT + - Fri, 20 Aug 2021 07:24:03 GMT expires: - '-1' pragma: @@ -340,7 +285,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -348,26 +293,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"08d933cb-462a-8240-9786-70bb93ce5a74\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:37.5166666Z\"\n }" + string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:15 GMT + - Fri, 20 Aug 2021 07:24:34 GMT expires: - '-1' pragma: @@ -389,7 +333,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -397,26 +341,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"08d933cb-462a-8240-9786-70bb93ce5a74\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:37.5166666Z\"\n }" + string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:46 GMT + - Fri, 20 Aug 2021 07:25:04 GMT expires: - '-1' pragma: @@ -438,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -446,26 +389,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"08d933cb-462a-8240-9786-70bb93ce5a74\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:37.5166666Z\"\n }" + string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:17 GMT + - Fri, 20 Aug 2021 07:25:34 GMT expires: - '-1' pragma: @@ -487,7 +429,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -495,27 +437,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb33d908-2a46-4082-9786-70bb93ce5a74?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"08d933cb-462a-8240-9786-70bb93ce5a74\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:01:37.5166666Z\",\n \"endTime\": - \"2021-06-23T08:05:20.4803436Z\"\n }" + string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\",\n \"endTime\": + \"2021-08-20T07:25:48.7683876Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:49 GMT + - Fri, 20 Aug 2021 07:26:04 GMT expires: - '-1' pragma: @@ -537,7 +478,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -545,35 +486,34 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a -o + - --resource-group --name -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest57kodzlrc-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitest57kodzlrc-8ecadf-2d0785ef.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest57kodzlrc-8ecadf-2d0785ef.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestdzt7wospq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestdzt7wospq-8ecadf-629986ac.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestdzt7wospq-8ecadf-629986ac.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n },\n \"identity\": @@ -583,7 +523,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8c9e92c2-db2d-4484-8cfe-dd173b9c5510\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/cb166e1e-3c9c-4c8a-82f1-87399ecf47cb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -598,11 +538,11 @@ interactions: cache-control: - no-cache content-length: - - '3922' + - '3926' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:50 GMT + - Fri, 20 Aug 2021 07:26:05 GMT expires: - '-1' pragma: @@ -636,8 +576,8 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -645,17 +585,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/420a1235-39bd-431f-989e-05d99752f587?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/53b535a4-690b-4913-a436-956d62257df3?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:05:54 GMT + - Fri, 20 Aug 2021 07:26:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/420a1235-39bd-431f-989e-05d99752f587?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/53b535a4-690b-4913-a436-956d62257df3?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml index 36566f21ddc..6f2329f5b13 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:14:19Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:52:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:14:20 GMT + - Thu, 19 Aug 2021 09:52:42 GMT expires: - '-1' pragma: @@ -42,20 +42,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestceq4ym76g-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": - "false"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestwxfwhjez7-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": + {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": "false"}}}, "enableRBAC": + true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", + "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -66,62 +66,62 @@ interactions: Connection: - keep-alive Content-Length: - - '1410' + - '1444' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestceq4ym76g-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestceq4ym76g-79a739-56ea6eb0.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestceq4ym76g-79a739-56ea6eb0.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestwxfwhjez7-79a739\",\n \"fqdn\": + \"cliakstest-clitestwxfwhjez7-79a739-adc71d37.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestwxfwhjez7-79a739-adc71d37.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n - \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n }\n }\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2842' + - '2874' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:29 GMT + - Thu, 19 Aug 2021 09:52:49 GMT expires: - '-1' pragma: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -149,73 +149,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"c18308f4-3d5a-e444-9836-83b21cb5afb0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:29.02Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:14:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c18308f4-3d5a-e444-9836-83b21cb5afb0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:29.02Z\"\n }" + string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:28 GMT + - Thu, 19 Aug 2021 09:53:19 GMT expires: - '-1' pragma: @@ -245,25 +197,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c18308f4-3d5a-e444-9836-83b21cb5afb0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:29.02Z\"\n }" + string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:59 GMT + - Thu, 19 Aug 2021 09:53:49 GMT expires: - '-1' pragma: @@ -293,25 +245,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c18308f4-3d5a-e444-9836-83b21cb5afb0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:29.02Z\"\n }" + string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:29 GMT + - Thu, 19 Aug 2021 09:54:19 GMT expires: - '-1' pragma: @@ -341,25 +293,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c18308f4-3d5a-e444-9836-83b21cb5afb0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:29.02Z\"\n }" + string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:59 GMT + - Thu, 19 Aug 2021 09:54:50 GMT expires: - '-1' pragma: @@ -389,25 +341,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c18308f4-3d5a-e444-9836-83b21cb5afb0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:29.02Z\"\n }" + string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:30 GMT + - Thu, 19 Aug 2021 09:55:20 GMT expires: - '-1' pragma: @@ -437,25 +389,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c18308f4-3d5a-e444-9836-83b21cb5afb0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:29.02Z\"\n }" + string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:59 GMT + - Thu, 19 Aug 2021 09:55:50 GMT expires: - '-1' pragma: @@ -485,26 +437,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f40883c1-5a3d-44e4-9836-83b21cb5afb0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c18308f4-3d5a-e444-9836-83b21cb5afb0\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:14:29.02Z\",\n \"endTime\": - \"2021-07-27T06:18:05.7212911Z\"\n }" + string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\",\n \"endTime\": + \"2021-08-19T09:56:06.6249458Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:30 GMT + - Thu, 19 Aug 2021 09:56:20 GMT expires: - '-1' pragma: @@ -534,43 +486,44 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestceq4ym76g-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestceq4ym76g-79a739-56ea6eb0.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestceq4ym76g-79a739-56ea6eb0.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestwxfwhjez7-79a739\",\n \"fqdn\": + \"cliakstest-clitestwxfwhjez7-79a739-adc71d37.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestwxfwhjez7-79a739-adc71d37.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n - \ },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n },\n \"identity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f5e72e48-31e1-4fa4-a841-d02e7397c3ad\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f1c2417f-db8f-4edd-ad0c-ca8233ff7b16\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -585,11 +538,11 @@ interactions: cache-control: - no-cache content-length: - - '3878' + - '3910' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:30 GMT + - Thu, 19 Aug 2021 09:56:20 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml index 6297f6c697c..ab6495282c0 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:18:32Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:54:05Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:18:33 GMT + - Thu, 19 Aug 2021 09:54:05 GMT expires: - '-1' pragma: @@ -43,20 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestuvk3dmrbz-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": - "true"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest4zowbnftj-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": + {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": "true"}}}, "enableRBAC": + true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", + "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -67,63 +67,63 @@ interactions: Connection: - keep-alive Content-Length: - - '1409' + - '1443' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestuvk3dmrbz-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestuvk3dmrbz-79a739-d3c2e648.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestuvk3dmrbz-79a739-d3c2e648.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest4zowbnftj-79a739\",\n \"fqdn\": + \"cliakstest-clitest4zowbnftj-79a739-060c325c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest4zowbnftj-79a739-060c325c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"true\"\n - \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"true\"\n }\n }\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2841' + - '2873' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:42 GMT + - Thu, 19 Aug 2021 09:54:13 GMT expires: - '-1' pragma: @@ -135,7 +135,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -151,115 +151,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:19:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:19:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\"\n }" + string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" headers: cache-control: - no-cache @@ -268,7 +170,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:12 GMT + - Thu, 19 Aug 2021 09:54:44 GMT expires: - '-1' pragma: @@ -298,17 +200,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\"\n }" + string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" headers: cache-control: - no-cache @@ -317,7 +219,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:43 GMT + - Thu, 19 Aug 2021 09:55:14 GMT expires: - '-1' pragma: @@ -347,17 +249,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\"\n }" + string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" headers: cache-control: - no-cache @@ -366,7 +268,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:13 GMT + - Thu, 19 Aug 2021 09:55:44 GMT expires: - '-1' pragma: @@ -396,17 +298,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\"\n }" + string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" headers: cache-control: - no-cache @@ -415,7 +317,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:43 GMT + - Thu, 19 Aug 2021 09:56:14 GMT expires: - '-1' pragma: @@ -445,17 +347,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\"\n }" + string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" headers: cache-control: - no-cache @@ -464,7 +366,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:13 GMT + - Thu, 19 Aug 2021 09:56:45 GMT expires: - '-1' pragma: @@ -494,17 +396,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\"\n }" + string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" headers: cache-control: - no-cache @@ -513,7 +415,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:43 GMT + - Thu, 19 Aug 2021 09:57:15 GMT expires: - '-1' pragma: @@ -543,18 +445,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5cf1ce24-1fd2-4b59-90ac-51086f803ee1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"24cef15c-d21f-594b-90ac-51086f803ee1\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:18:42.7366666Z\",\n \"endTime\": - \"2021-07-27T06:22:57.3117427Z\"\n }" + string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\",\n \"endTime\": + \"2021-08-19T09:57:26.1645215Z\"\n }" headers: cache-control: - no-cache @@ -563,7 +465,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:13 GMT + - Thu, 19 Aug 2021 09:57:44 GMT expires: - '-1' pragma: @@ -593,44 +495,45 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --enable-sgxquotehelper - -o + - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestuvk3dmrbz-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestuvk3dmrbz-79a739-d3c2e648.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestuvk3dmrbz-79a739-d3c2e648.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest4zowbnftj-79a739\",\n \"fqdn\": + \"cliakstest-clitest4zowbnftj-79a739-060c325c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest4zowbnftj-79a739-060c325c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"true\"\n - \ },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"true\"\n },\n \"identity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d662a784-5b09-4b98-a46c-311c5679333a\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0a5a5ad1-ed5e-412d-9550-f254931498ec\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -645,11 +548,11 @@ interactions: cache-control: - no-cache content-length: - - '3877' + - '3909' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:14 GMT + - Thu, 19 Aug 2021 09:57:45 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml index 2f43838a759..d803c6c2a1a 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:08:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:51:23Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:08:58 GMT + - Thu, 19 Aug 2021 09:51:24 GMT expires: - '-1' pragma: @@ -43,19 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestksu7mv5wd-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 60, "osDiskType": - "Ephemeral", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", - "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": - false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestptlv52vic-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": + 60, "osDiskType": "Ephemeral", "osType": "Linux", "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -66,61 +67,61 @@ interactions: Connection: - keep-alive Content-Length: - - '1369' + - '1403' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestksu7mv5wd-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestksu7mv5wd-79a739-779ec5d4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestksu7mv5wd-79a739-779ec5d4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestptlv52vic-79a739\",\n \"fqdn\": + \"cliakstest-clitestptlv52vic-79a739-e5172fdb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestptlv52vic-79a739-e5172fdb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 60,\n \"osDiskType\": \"Ephemeral\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2693' + - '2725' content-type: - application/json date: - - Tue, 27 Jul 2021 06:09:06 GMT + - Thu, 19 Aug 2021 09:51:33 GMT expires: - '-1' pragma: @@ -132,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -148,271 +149,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:09:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:10:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:10:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:11:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:11:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" + string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:07 GMT + - Thu, 19 Aug 2021 09:52:03 GMT expires: - '-1' pragma: @@ -442,26 +198,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" + string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:37 GMT + - Thu, 19 Aug 2021 09:52:33 GMT expires: - '-1' pragma: @@ -491,26 +247,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" + string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:07 GMT + - Thu, 19 Aug 2021 09:53:03 GMT expires: - '-1' pragma: @@ -540,26 +296,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" + string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:38 GMT + - Thu, 19 Aug 2021 09:53:34 GMT expires: - '-1' pragma: @@ -589,26 +345,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" + string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:07 GMT + - Thu, 19 Aug 2021 09:54:04 GMT expires: - '-1' pragma: @@ -638,26 +394,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\"\n }" + string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:38 GMT + - Thu, 19 Aug 2021 09:54:34 GMT expires: - '-1' pragma: @@ -687,27 +443,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bdfb976f-5beb-4201-badc-8001f88c1dd3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6f97fbbd-eb5b-0142-badc-8001f88c1dd3\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:09:06.6866666Z\",\n \"endTime\": - \"2021-07-27T06:15:01.9428141Z\"\n }" + string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\",\n \"endTime\": + \"2021-08-19T09:54:39.9019071Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:07 GMT + - Thu, 19 Aug 2021 09:55:04 GMT expires: - '-1' pragma: @@ -737,40 +493,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type - --node-osdisk-size + - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestksu7mv5wd-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestksu7mv5wd-79a739-779ec5d4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestksu7mv5wd-79a739-779ec5d4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestptlv52vic-79a739\",\n \"fqdn\": + \"cliakstest-clitestptlv52vic-79a739-e5172fdb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestptlv52vic-79a739-e5172fdb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 60,\n \"osDiskType\": \"Ephemeral\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac11ecf9-8422-4889-a474-3614eb7b9a76\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/34240bb3-d36c-4cf0-afd8-a59cda837a95\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -785,11 +542,11 @@ interactions: cache-control: - no-cache content-length: - - '3356' + - '3388' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:08 GMT + - Thu, 19 Aug 2021 09:55:04 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_fips.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_fips.yaml index 905f14c821d..18796b44d6f 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_fips.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_fips.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T10:16:37Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:33:17Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 10:16:39 GMT + - Fri, 20 Aug 2021 06:33:17 GMT expires: - '-1' pragma: @@ -42,18 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestfrp52wq5z-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestf6wqo2ubn-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": true, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -64,41 +65,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1327' + - '1355' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestfrp52wq5z-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestfrp52wq5z-79a739-78b32646.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestfrp52wq5z-79a739-78b32646.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestf6wqo2ubn-79a739\",\n \"fqdn\": + \"cliakstest-clitestf6wqo2ubn-79a739-ba14582d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestf6wqo2ubn-79a739-ba14582d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2fipscontainerd-2021.06.02\",\n \"enableFIPS\": true\n + \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n \"enableFIPS\": true\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -112,15 +110,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/643f2cfb-51bb-4c25-a2d0-fd710181cb14?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2723' + - '2727' content-type: - application/json date: - - Wed, 23 Jun 2021 10:16:55 GMT + - Fri, 20 Aug 2021 06:33:24 GMT expires: - '-1' pragma: @@ -140,7 +138,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -148,17 +146,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/643f2cfb-51bb-4c25-a2d0-fd710181cb14?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fb2c3f64-bb51-254c-a2d0-fd710181cb14\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:16:54.17Z\"\n }" + string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" headers: cache-control: - no-cache @@ -167,7 +164,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 10:17:27 GMT + - Fri, 20 Aug 2021 06:33:53 GMT expires: - '-1' pragma: @@ -189,7 +186,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -197,17 +194,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/643f2cfb-51bb-4c25-a2d0-fd710181cb14?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fb2c3f64-bb51-254c-a2d0-fd710181cb14\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:16:54.17Z\"\n }" + string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" headers: cache-control: - no-cache @@ -216,7 +212,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 10:17:58 GMT + - Fri, 20 Aug 2021 06:34:24 GMT expires: - '-1' pragma: @@ -238,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -246,17 +242,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/643f2cfb-51bb-4c25-a2d0-fd710181cb14?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fb2c3f64-bb51-254c-a2d0-fd710181cb14\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:16:54.17Z\"\n }" + string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +260,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 10:18:30 GMT + - Fri, 20 Aug 2021 06:34:54 GMT expires: - '-1' pragma: @@ -287,7 +282,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -295,17 +290,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/643f2cfb-51bb-4c25-a2d0-fd710181cb14?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fb2c3f64-bb51-254c-a2d0-fd710181cb14\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:16:54.17Z\"\n }" + string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" headers: cache-control: - no-cache @@ -314,7 +308,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 10:19:01 GMT + - Fri, 20 Aug 2021 06:35:24 GMT expires: - '-1' pragma: @@ -336,7 +330,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -344,17 +338,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/643f2cfb-51bb-4c25-a2d0-fd710181cb14?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fb2c3f64-bb51-254c-a2d0-fd710181cb14\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:16:54.17Z\"\n }" + string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" headers: cache-control: - no-cache @@ -363,7 +356,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 10:19:32 GMT + - Fri, 20 Aug 2021 06:35:54 GMT expires: - '-1' pragma: @@ -385,7 +378,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -393,17 +386,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/643f2cfb-51bb-4c25-a2d0-fd710181cb14?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fb2c3f64-bb51-254c-a2d0-fd710181cb14\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:16:54.17Z\"\n }" + string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" headers: cache-control: - no-cache @@ -412,7 +404,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 10:20:04 GMT + - Fri, 20 Aug 2021 06:36:24 GMT expires: - '-1' pragma: @@ -434,7 +426,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -442,18 +434,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/643f2cfb-51bb-4c25-a2d0-fd710181cb14?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fb2c3f64-bb51-254c-a2d0-fd710181cb14\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T10:16:54.17Z\",\n \"endTime\": - \"2021-06-23T10:20:24.1963881Z\"\n }" + string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\",\n \"endTime\": + \"2021-08-20T06:36:47.0467175Z\"\n }" headers: cache-control: - no-cache @@ -462,7 +453,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 10:20:36 GMT + - Fri, 20 Aug 2021 06:36:54 GMT expires: - '-1' pragma: @@ -484,7 +475,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -492,41 +483,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-fips-image --generate-ssh-keys + - --resource-group --name --enable-fips-image --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestfrp52wq5z-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestfrp52wq5z-79a739-78b32646.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestfrp52wq5z-79a739-78b32646.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestf6wqo2ubn-79a739\",\n \"fqdn\": + \"cliakstest-clitestf6wqo2ubn-79a739-ba14582d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestf6wqo2ubn-79a739-ba14582d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2fipscontainerd-2021.06.02\",\n \"enableFIPS\": true\n + \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n \"enableFIPS\": true\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/24187056-732a-4c57-8404-b7cf61f222a3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/712cbef5-cf61-4537-ab85-36345462460f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -541,11 +531,11 @@ interactions: cache-control: - no-cache content-length: - - '3386' + - '3390' content-type: - application/json date: - - Wed, 23 Jun 2021 10:20:36 GMT + - Fri, 20 Aug 2021 06:36:54 GMT expires: - '-1' pragma: @@ -577,13 +567,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\",\n @@ -592,20 +579,20 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.06.02\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n \ \"enableFIPS\": true\n }\n }\n ]\n }" headers: cache-control: - no-cache content-length: - - '961' + - '960' content-type: - application/json date: - - Wed, 23 Jun 2021 10:20:39 GMT + - Fri, 20 Aug 2021 06:36:55 GMT expires: - '-1' pragma: @@ -625,8 +612,8 @@ interactions: message: OK - request: body: '{"properties": {"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", - "type": "VirtualMachineScaleSets", "mode": "User", "upgradeSettings": {}, "enableNodePublicIP": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "nodeTaints": + "mode": "User", "upgradeSettings": {}, "enableNodePublicIP": false, "scaleSetPriority": + "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": true}}' headers: @@ -639,19 +626,16 @@ interactions: Connection: - keep-alive Content-Length: - - '342' + - '329' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/np2?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/np2?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/np2\",\n @@ -659,23 +643,23 @@ interactions: \ \"properties\": {\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2fipscontainerd-2021.06.02\",\n \"upgradeSettings\": - {},\n \"enableFIPS\": true\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": true\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 cache-control: - no-cache content-length: - - '872' + - '901' content-type: - application/json date: - - Wed, 23 Jun 2021 10:20:44 GMT + - Fri, 20 Aug 2021 06:36:57 GMT expires: - '-1' pragma: @@ -687,7 +671,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -695,7 +679,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -705,73 +689,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\"\n }" + string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 10:21:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --enable-fips-image - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 10:21:47 GMT + - Fri, 20 Aug 2021 06:37:28 GMT expires: - '-1' pragma: @@ -793,7 +727,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -803,24 +737,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\"\n }" + string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 10:22:18 GMT + - Fri, 20 Aug 2021 06:37:58 GMT expires: - '-1' pragma: @@ -842,7 +775,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -852,24 +785,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\"\n }" + string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 10:22:50 GMT + - Fri, 20 Aug 2021 06:38:28 GMT expires: - '-1' pragma: @@ -891,7 +823,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -901,24 +833,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\"\n }" + string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 10:23:22 GMT + - Fri, 20 Aug 2021 06:38:58 GMT expires: - '-1' pragma: @@ -940,7 +871,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -950,24 +881,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\"\n }" + string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 10:23:53 GMT + - Fri, 20 Aug 2021 06:39:28 GMT expires: - '-1' pragma: @@ -989,7 +919,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -999,24 +929,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\"\n }" + string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 10:24:25 GMT + - Fri, 20 Aug 2021 06:39:58 GMT expires: - '-1' pragma: @@ -1038,7 +967,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1048,24 +977,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\"\n }" + string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 10:24:57 GMT + - Fri, 20 Aug 2021 06:40:28 GMT expires: - '-1' pragma: @@ -1087,7 +1015,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1097,25 +1025,24 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2083572f-d54f-4b3f-becf-da89ea3b3ca4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2f578320-4fd5-3f4b-becf-da89ea3b3ca4\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T10:20:44.8466666Z\",\n \"endTime\": - \"2021-06-23T10:25:06.5605125Z\"\n }" + string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\",\n \"endTime\": + \"2021-08-20T06:40:47.5564841Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Wed, 23 Jun 2021 10:25:29 GMT + - Fri, 20 Aug 2021 06:40:58 GMT expires: - '-1' pragma: @@ -1137,7 +1064,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1147,11 +1074,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --enable-fips-image User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/np2?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/np2?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/np2\",\n @@ -1159,21 +1085,21 @@ interactions: \ \"properties\": {\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2fipscontainerd-2021.06.02\",\n \"upgradeSettings\": - {},\n \"enableFIPS\": true\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": true\n }\n }" headers: cache-control: - no-cache content-length: - - '873' + - '902' content-type: - application/json date: - - Wed, 23 Jun 2021 10:25:30 GMT + - Fri, 20 Aug 2021 06:40:59 GMT expires: - '-1' pragma: @@ -1207,8 +1133,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: @@ -1216,17 +1142,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7a5a0efb-9b24-4413-998a-1859538cec6b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54a96c7c-e6f7-495f-b15d-a2564219f20a?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 10:25:34 GMT + - Fri, 20 Aug 2021 06:41:00 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/7a5a0efb-9b24-4413-998a-1859538cec6b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/54a96c7c-e6f7-495f-b15d-a2564219f20a?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_http_proxy_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_http_proxy_config.yaml index f066f22a55a..c82bb8e56dc 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_http_proxy_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_http_proxy_config.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:19:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:02:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:19:58 GMT + - Thu, 19 Aug 2021 10:02:25 GMT expires: - '-1' pragma: @@ -42,22 +42,21 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestrkdbiydyj-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false, - "httpProxyConfig": {"httpProxy": "http://myproxy.server.com:8080/", "httpsProxy": - "https://myproxy.server.com:8080/", "noProxy": ["localhost", "127.0.0.1"], "trustedCa": - "G9yR2xrQ29NRjNURHg4cm1wOURCaUIvCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0="}}, "location": - "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest4unc4mgng-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false, "httpProxyConfig": {"httpProxy": + "http://myproxy.server.com:8080/", "httpsProxy": "https://myproxy.server.com:8080/", + "noProxy": ["localhost", "127.0.0.1"], "trustedCa": "G9yR2xrQ29NRjNURHg4cm1wOURCaUIvCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0="}}}' headers: Accept: - application/json @@ -68,60 +67,60 @@ interactions: Connection: - keep-alive Content-Length: - - '1564' + - '1598' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrkdbiydyj-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestrkdbiydyj-79a739-8dc03140.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrkdbiydyj-79a739-8dc03140.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest4unc4mgng-79a739\",\n \"fqdn\": + \"cliakstest-clitest4unc4mgng-79a739-3aa78c80.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest4unc4mgng-79a739-3aa78c80.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2692' + - '2724' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:03 GMT + - Thu, 19 Aug 2021 10:02:29 GMT expires: - '-1' pragma: @@ -133,7 +132,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -149,73 +148,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"d1db0013-6b3b-ee41-9ebf-0acc50735e9b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:02.9Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '120' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:20:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1db0013-6b3b-ee41-9ebf-0acc50735e9b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:02.9Z\"\n }" + string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:03 GMT + - Thu, 19 Aug 2021 10:02:59 GMT expires: - '-1' pragma: @@ -245,25 +196,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1db0013-6b3b-ee41-9ebf-0acc50735e9b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:02.9Z\"\n }" + string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:33 GMT + - Thu, 19 Aug 2021 10:03:30 GMT expires: - '-1' pragma: @@ -293,25 +244,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1db0013-6b3b-ee41-9ebf-0acc50735e9b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:02.9Z\"\n }" + string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:03 GMT + - Thu, 19 Aug 2021 10:04:00 GMT expires: - '-1' pragma: @@ -341,25 +292,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1db0013-6b3b-ee41-9ebf-0acc50735e9b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:02.9Z\"\n }" + string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:33 GMT + - Thu, 19 Aug 2021 10:04:30 GMT expires: - '-1' pragma: @@ -389,25 +340,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1db0013-6b3b-ee41-9ebf-0acc50735e9b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:02.9Z\"\n }" + string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:03 GMT + - Thu, 19 Aug 2021 10:04:59 GMT expires: - '-1' pragma: @@ -437,25 +388,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1db0013-6b3b-ee41-9ebf-0acc50735e9b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:02.9Z\"\n }" + string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:33 GMT + - Thu, 19 Aug 2021 10:05:30 GMT expires: - '-1' pragma: @@ -485,26 +436,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1300dbd1-3b6b-41ee-9ebf-0acc50735e9b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1db0013-6b3b-ee41-9ebf-0acc50735e9b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:20:02.9Z\",\n \"endTime\": - \"2021-07-27T06:23:40.39994Z\"\n }" + string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\",\n \"endTime\": + \"2021-08-19T10:05:47.9758982Z\"\n }" headers: cache-control: - no-cache content-length: - - '162' + - '170' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:03 GMT + - Thu, 19 Aug 2021 10:06:00 GMT expires: - '-1' pragma: @@ -534,39 +485,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --http-proxy-config -o + - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrkdbiydyj-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestrkdbiydyj-79a739-8dc03140.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrkdbiydyj-79a739-8dc03140.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest4unc4mgng-79a739\",\n \"fqdn\": + \"cliakstest-clitest4unc4mgng-79a739-3aa78c80.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest4unc4mgng-79a739-3aa78c80.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ec304099-56c8-4381-9321-f7e676355de2\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f44d4ce6-ad59-4096-8b2f-d8ab2a475ac2\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -581,11 +533,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:04 GMT + - Thu, 19 Aug 2021 10:06:02 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml index acbc342bd1f..0542a542b37 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:23:26Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:58:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:23:27 GMT + - Thu, 19 Aug 2021 09:58:42 GMT expires: - '-1' pragma: @@ -43,20 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestwzlbrfhjw-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {"ingressApplicationGateway": {"enabled": true, "config": {"subnetCIDR": - "10.2.0.0/16"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestht2izmb33-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ingressApplicationGateway": + {"enabled": true, "config": {"subnetCIDR": "10.2.0.0/16"}}}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -67,41 +67,42 @@ interactions: Connection: - keep-alive Content-Length: - - '1409' + - '1443' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestwzlbrfhjw-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestwzlbrfhjw-79a739-30cb7b3d.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwzlbrfhjw-79a739-30cb7b3d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestht2izmb33-79a739\",\n \"fqdn\": + \"cliakstest-clitestht2izmb33-79a739-4c3c08ac.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestht2izmb33-79a739-4c3c08ac.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ingressApplicationGateway\": {\n \"enabled\": - true,\n \"config\": {\n \"effectiveApplicationGatewayId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/applicationGateways/applicationgateway\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ingressApplicationGateway\": {\n \"enabled\": true,\n \"config\": + {\n \"effectiveApplicationGatewayId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/applicationGateways/applicationgateway\",\n \ \"subnetCIDR\": \"10.2.0.0/16\"\n }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -115,15 +116,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3063' + - '3095' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:35 GMT + - Thu, 19 Aug 2021 09:58:50 GMT expires: - '-1' pragma: @@ -135,7 +136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -151,26 +152,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6636d784-1a51-a348-abc9-319216665f76\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:35.8833333Z\"\n }" + string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:06 GMT + - Thu, 19 Aug 2021 09:59:20 GMT expires: - '-1' pragma: @@ -200,26 +201,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6636d784-1a51-a348-abc9-319216665f76\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:35.8833333Z\"\n }" + string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:35 GMT + - Thu, 19 Aug 2021 09:59:50 GMT expires: - '-1' pragma: @@ -249,26 +250,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6636d784-1a51-a348-abc9-319216665f76\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:35.8833333Z\"\n }" + string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:06 GMT + - Thu, 19 Aug 2021 10:00:21 GMT expires: - '-1' pragma: @@ -298,26 +299,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6636d784-1a51-a348-abc9-319216665f76\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:35.8833333Z\"\n }" + string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:36 GMT + - Thu, 19 Aug 2021 10:00:51 GMT expires: - '-1' pragma: @@ -347,26 +348,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6636d784-1a51-a348-abc9-319216665f76\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:35.8833333Z\"\n }" + string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:06 GMT + - Thu, 19 Aug 2021 10:01:21 GMT expires: - '-1' pragma: @@ -396,26 +397,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6636d784-1a51-a348-abc9-319216665f76\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:35.8833333Z\"\n }" + string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:36 GMT + - Thu, 19 Aug 2021 10:01:51 GMT expires: - '-1' pragma: @@ -445,26 +446,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6636d784-1a51-a348-abc9-319216665f76\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:35.8833333Z\"\n }" + string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\",\n \"endTime\": + \"2021-08-19T10:01:53.2653764Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:06 GMT + - Thu, 19 Aug 2021 10:02:21 GMT expires: - '-1' pragma: @@ -494,87 +496,38 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr + - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/84d73666-511a-48a3-abc9-319216665f76?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"6636d784-1a51-a348-abc9-319216665f76\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:23:35.8833333Z\",\n \"endTime\": - \"2021-07-27T06:27:28.7956948Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:27:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-cidr - -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestwzlbrfhjw-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestwzlbrfhjw-79a739-30cb7b3d.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwzlbrfhjw-79a739-30cb7b3d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestht2izmb33-79a739\",\n \"fqdn\": + \"cliakstest-clitestht2izmb33-79a739-4c3c08ac.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestht2izmb33-79a739-4c3c08ac.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ingressApplicationGateway\": {\n \"enabled\": - true,\n \"config\": {\n \"effectiveApplicationGatewayId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/applicationGateways/applicationgateway\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ingressApplicationGateway\": {\n \"enabled\": true,\n \"config\": + {\n \"effectiveApplicationGatewayId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/applicationGateways/applicationgateway\",\n \ \"subnetCIDR\": \"10.2.0.0/16\"\n },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ingressapplicationgateway-cliakstest000002\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -582,7 +535,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/07d9fe78-db07-4cb0-8299-798702600a1e\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/442b59b1-520d-4eec-bacd-3f7f16816519\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -597,11 +550,11 @@ interactions: cache-control: - no-cache content-length: - - '4106' + - '4138' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:37 GMT + - Thu, 19 Aug 2021 10:02:22 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix.yaml index c841b93a3a2..2c1cd4bf25f 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:24:20Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:54:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:24:22 GMT + - Thu, 19 Aug 2021 09:54:46 GMT expires: - '-1' pragma: @@ -43,20 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitesttbrliqeor-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {"ingressApplicationGateway": {"enabled": true, "config": {"subnetCIDR": - "10.2.0.0/16"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestbcuny6mpx-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ingressApplicationGateway": + {"enabled": true, "config": {"subnetCIDR": "10.2.0.0/16"}}}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -67,41 +67,42 @@ interactions: Connection: - keep-alive Content-Length: - - '1409' + - '1443' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttbrliqeor-79a739\",\n - \ \"fqdn\": \"cliakstest-clitesttbrliqeor-79a739-03c46b41.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttbrliqeor-79a739-03c46b41.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbcuny6mpx-79a739\",\n \"fqdn\": + \"cliakstest-clitestbcuny6mpx-79a739-e97852cb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestbcuny6mpx-79a739-e97852cb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ingressApplicationGateway\": {\n \"enabled\": - true,\n \"config\": {\n \"effectiveApplicationGatewayId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/applicationGateways/applicationgateway\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ingressApplicationGateway\": {\n \"enabled\": true,\n \"config\": + {\n \"effectiveApplicationGatewayId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/applicationGateways/applicationgateway\",\n \ \"subnetCIDR\": \"10.2.0.0/16\"\n }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -115,15 +116,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4751051-0df3-418f-8b04-ce0fbb7a34d2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3063' + - '3095' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:30 GMT + - Thu, 19 Aug 2021 09:54:53 GMT expires: - '-1' pragma: @@ -151,26 +152,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4751051-0df3-418f-8b04-ce0fbb7a34d2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"511075e4-f30d-8f41-8b04-ce0fbb7a34d2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:29.9533333Z\"\n }" + string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:59 GMT + - Thu, 19 Aug 2021 09:55:23 GMT expires: - '-1' pragma: @@ -200,26 +201,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4751051-0df3-418f-8b04-ce0fbb7a34d2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"511075e4-f30d-8f41-8b04-ce0fbb7a34d2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:29.9533333Z\"\n }" + string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:30 GMT + - Thu, 19 Aug 2021 09:55:53 GMT expires: - '-1' pragma: @@ -249,26 +250,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4751051-0df3-418f-8b04-ce0fbb7a34d2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"511075e4-f30d-8f41-8b04-ce0fbb7a34d2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:29.9533333Z\"\n }" + string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:00 GMT + - Thu, 19 Aug 2021 09:56:23 GMT expires: - '-1' pragma: @@ -298,26 +299,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4751051-0df3-418f-8b04-ce0fbb7a34d2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"511075e4-f30d-8f41-8b04-ce0fbb7a34d2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:29.9533333Z\"\n }" + string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:30 GMT + - Thu, 19 Aug 2021 09:56:53 GMT expires: - '-1' pragma: @@ -347,26 +348,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4751051-0df3-418f-8b04-ce0fbb7a34d2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"511075e4-f30d-8f41-8b04-ce0fbb7a34d2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:29.9533333Z\"\n }" + string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:00 GMT + - Thu, 19 Aug 2021 09:57:23 GMT expires: - '-1' pragma: @@ -396,26 +397,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4751051-0df3-418f-8b04-ce0fbb7a34d2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"511075e4-f30d-8f41-8b04-ce0fbb7a34d2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:29.9533333Z\"\n }" + string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:30 GMT + - Thu, 19 Aug 2021 09:57:54 GMT expires: - '-1' pragma: @@ -445,27 +446,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4751051-0df3-418f-8b04-ce0fbb7a34d2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"511075e4-f30d-8f41-8b04-ce0fbb7a34d2\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:24:29.9533333Z\",\n \"endTime\": - \"2021-07-27T06:27:58.1092483Z\"\n }" + string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\",\n \"endTime\": + \"2021-08-19T09:58:13.1005132Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:00 GMT + - Thu, 19 Aug 2021 09:58:23 GMT expires: - '-1' pragma: @@ -495,37 +496,38 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a --appgw-subnet-prefix - -o + - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix + --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttbrliqeor-79a739\",\n - \ \"fqdn\": \"cliakstest-clitesttbrliqeor-79a739-03c46b41.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttbrliqeor-79a739-03c46b41.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbcuny6mpx-79a739\",\n \"fqdn\": + \"cliakstest-clitestbcuny6mpx-79a739-e97852cb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestbcuny6mpx-79a739-e97852cb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ingressApplicationGateway\": {\n \"enabled\": - true,\n \"config\": {\n \"effectiveApplicationGatewayId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/applicationGateways/applicationgateway\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ingressApplicationGateway\": {\n \"enabled\": true,\n \"config\": + {\n \"effectiveApplicationGatewayId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/applicationGateways/applicationgateway\",\n \ \"subnetCIDR\": \"10.2.0.0/16\"\n },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ingressapplicationgateway-cliakstest000002\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -533,7 +535,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8ad916d1-2138-4109-a06c-53299e7fa916\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/26a462f7-67d5-4cf3-bfbd-b846cf14bebd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -548,11 +550,11 @@ interactions: cache-control: - no-cache content-length: - - '4106' + - '4138' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:00 GMT + - Thu, 19 Aug 2021 09:58:24 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml index c9e33efc01a..db7fa632f5a 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:08:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:01:57Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:08:57 GMT + - Thu, 19 Aug 2021 10:01:58 GMT expires: - '-1' pragma: @@ -42,19 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestklmwmoppw-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskType": "Managed", "osType": - "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": - false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfPZVTbWuvayayV1ss32Xn5D7xqj/d4BBxwXISWNsOCtR9/6dLL3ZJdfXMBVto9wu/oIVBQcimSeMxIbprPmnUWfdIgNTURwLAhNMHq27uPyNd6FWbbyw/PSieJni8DBbW5CJlbEvZjKrI0V8dD7eWeu672XkUt33gHRxLNrqDDUDSpCelx2exs5NYDxbwPVtSg/z3Fmyk0BCEs+s7/sQMu9vM0NN6rGJukU5SQL9pcKzvQc6L3c3izNAL/Ge4diUr3nihYff4qITU8d7YL0yKwWogQ+b2wops7+qxc7w9Nv3Nhr908bO2EoqrvGbUaL7eDqCSbPDe27C2w53gESXJ"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestimvzssx2n-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskType": + "Managed", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", + "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": + "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": + false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,60 +65,60 @@ interactions: Connection: - keep-alive Content-Length: - - '1347' + - '1381' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestklmwmoppw-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestklmwmoppw-79a739-0ec2ccf6.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestklmwmoppw-79a739-0ec2ccf6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestimvzssx2n-79a739\",\n \"fqdn\": + \"cliakstest-clitestimvzssx2n-79a739-3866aadb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestimvzssx2n-79a739-3866aadb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDfPZVTbWuvayayV1ss32Xn5D7xqj/d4BBxwXISWNsOCtR9/6dLL3ZJdfXMBVto9wu/oIVBQcimSeMxIbprPmnUWfdIgNTURwLAhNMHq27uPyNd6FWbbyw/PSieJni8DBbW5CJlbEvZjKrI0V8dD7eWeu672XkUt33gHRxLNrqDDUDSpCelx2exs5NYDxbwPVtSg/z3Fmyk0BCEs+s7/sQMu9vM0NN6rGJukU5SQL9pcKzvQc6L3c3izNAL/Ge4diUr3nihYff4qITU8d7YL0yKwWogQ+b2wops7+qxc7w9Nv3Nhr908bO2EoqrvGbUaL7eDqCSbPDe27C2w53gESXJ\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9320730b-ba5d-4303-b2a6-b40863d4977b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2692' + - '2724' content-type: - application/json date: - - Tue, 27 Jul 2021 06:09:02 GMT + - Thu, 19 Aug 2021 10:02:09 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 201 message: Created @@ -146,16 +146,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9320730b-ba5d-4303-b2a6-b40863d4977b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0b732093-5dba-0343-b2a6-b40863d4977b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.6366666Z\"\n }" + string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:09:32 GMT + - Thu, 19 Aug 2021 10:02:39 GMT expires: - '-1' pragma: @@ -194,16 +194,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9320730b-ba5d-4303-b2a6-b40863d4977b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0b732093-5dba-0343-b2a6-b40863d4977b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.6366666Z\"\n }" + string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:10:03 GMT + - Thu, 19 Aug 2021 10:03:09 GMT expires: - '-1' pragma: @@ -242,16 +242,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9320730b-ba5d-4303-b2a6-b40863d4977b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0b732093-5dba-0343-b2a6-b40863d4977b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.6366666Z\"\n }" + string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:10:33 GMT + - Thu, 19 Aug 2021 10:03:39 GMT expires: - '-1' pragma: @@ -290,16 +290,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9320730b-ba5d-4303-b2a6-b40863d4977b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0b732093-5dba-0343-b2a6-b40863d4977b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.6366666Z\"\n }" + string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:11:03 GMT + - Thu, 19 Aug 2021 10:04:10 GMT expires: - '-1' pragma: @@ -338,16 +338,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9320730b-ba5d-4303-b2a6-b40863d4977b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0b732093-5dba-0343-b2a6-b40863d4977b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.6366666Z\"\n }" + string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +356,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:11:33 GMT + - Thu, 19 Aug 2021 10:04:40 GMT expires: - '-1' pragma: @@ -386,16 +386,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9320730b-ba5d-4303-b2a6-b40863d4977b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0b732093-5dba-0343-b2a6-b40863d4977b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.6366666Z\"\n }" + string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" headers: cache-control: - no-cache @@ -404,7 +404,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:03 GMT + - Thu, 19 Aug 2021 10:05:10 GMT expires: - '-1' pragma: @@ -434,17 +434,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9320730b-ba5d-4303-b2a6-b40863d4977b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0b732093-5dba-0343-b2a6-b40863d4977b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:09:02.6366666Z\",\n \"endTime\": - \"2021-07-27T06:12:27.3048231Z\"\n }" + string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\",\n \"endTime\": + \"2021-08-19T10:05:17.0681546Z\"\n }" headers: cache-control: - no-cache @@ -453,7 +453,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:33 GMT + - Thu, 19 Aug 2021 10:05:40 GMT expires: - '-1' pragma: @@ -483,39 +483,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --node-osdisk-type + - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestklmwmoppw-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestklmwmoppw-79a739-0ec2ccf6.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestklmwmoppw-79a739-0ec2ccf6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestimvzssx2n-79a739\",\n \"fqdn\": + \"cliakstest-clitestimvzssx2n-79a739-3866aadb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestimvzssx2n-79a739-3866aadb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDfPZVTbWuvayayV1ss32Xn5D7xqj/d4BBxwXISWNsOCtR9/6dLL3ZJdfXMBVto9wu/oIVBQcimSeMxIbprPmnUWfdIgNTURwLAhNMHq27uPyNd6FWbbyw/PSieJni8DBbW5CJlbEvZjKrI0V8dD7eWeu672XkUt33gHRxLNrqDDUDSpCelx2exs5NYDxbwPVtSg/z3Fmyk0BCEs+s7/sQMu9vM0NN6rGJukU5SQL9pcKzvQc6L3c3izNAL/Ge4diUr3nihYff4qITU8d7YL0yKwWogQ+b2wops7+qxc7w9Nv3Nhr908bO2EoqrvGbUaL7eDqCSbPDe27C2w53gESXJ\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/49a7a98e-fd96-4e74-9529-833d2803f77f\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/61f28220-e936-435c-b446-2567a4dd81dd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -530,11 +531,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:34 GMT + - Thu, 19 Aug 2021 10:05:40 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml index ae7b132ee48..a5ed67a4203 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:01:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:33:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:01:26 GMT + - Fri, 20 Aug 2021 06:33:04 GMT expires: - '-1' pragma: @@ -43,25 +43,25 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestrpq3n2nwl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "kubeletConfig": {"cpuManagerPolicy": "static", "cpuCfsQuota": true, - "cpuCfsQuotaPeriod": "200ms", "imageGcHighThreshold": 90, "imageGcLowThreshold": - 70, "topologyManagerPolicy": "best-effort", "allowedUnsafeSysctls": ["kernel.msg*", - "net.*"], "failSwapOn": false, "containerLogMaxSizeMB": 20, "containerLogMaxFiles": - 10}, "linuxOSConfig": {"sysctls": {"netCoreSomaxconn": 163849, "netIpv4TcpTwReuse": - true, "netIpv4IpLocalPortRange": "32000 60000"}, "transparentHugePageEnabled": - "madvise", "transparentHugePageDefrag": "defer+madvise", "swapFileSizeMB": 1500}, - "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, - "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvcqzidbi6-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "kubeletConfig": {"cpuManagerPolicy": "static", "cpuCfsQuota": true, "cpuCfsQuotaPeriod": + "200ms", "imageGcHighThreshold": 90, "imageGcLowThreshold": 70, "topologyManagerPolicy": + "best-effort", "allowedUnsafeSysctls": ["kernel.msg*", "net.*"], "failSwapOn": + false, "containerLogMaxSizeMB": 20, "containerLogMaxFiles": 10}, "linuxOSConfig": + {"sysctls": {"netCoreSomaxconn": 163849, "netIpv4TcpTwReuse": true, "netIpv4IpLocalPortRange": + "32000 60000"}, "transparentHugePageEnabled": "madvise", "transparentHugePageDefrag": + "defer+madvise", "swapFileSizeMB": 1500}, "enableEncryptionAtHost": false, "enableUltraSSD": + false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: AKSHTTPCustomFeatures: - Microsoft.ContainerService/CustomNodeConfigPreview @@ -74,35 +74,32 @@ interactions: Connection: - keep-alive Content-Length: - - '1891' + - '1919' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrpq3n2nwl-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestrpq3n2nwl-8ecadf-8532bdc2.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrpq3n2nwl-8ecadf-8532bdc2.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvcqzidbi6-79a739\",\n \"fqdn\": + \"cliakstest-clitestvcqzidbi6-79a739-2d1673ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvcqzidbi6-79a739-2d1673ad.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"kubeletConfig\": {\n \"cpuManagerPolicy\": \"static\",\n \"cpuCfsQuota\": true,\n \"cpuCfsQuotaPeriod\": \"200ms\",\n \ \"imageGcHighThreshold\": 90,\n \"imageGcLowThreshold\": 70,\n @@ -115,11 +112,11 @@ interactions: \ \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -133,15 +130,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4e165ff-9a9f-43fe-bdf0-101c59080c1c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3442' + - '3446' content-type: - application/json date: - - Wed, 23 Jun 2021 08:01:37 GMT + - Fri, 20 Aug 2021 06:33:10 GMT expires: - '-1' pragma: @@ -153,15 +150,17 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -169,18 +168,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4e165ff-9a9f-43fe-bdf0-101c59080c1c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ff65e1c4-9f9a-fe43-bdf0-101c59080c1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:36.2033333Z\"\n }" + string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" headers: cache-control: - no-cache @@ -189,7 +187,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:02:07 GMT + - Fri, 20 Aug 2021 06:33:40 GMT expires: - '-1' pragma: @@ -210,8 +208,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -219,18 +219,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4e165ff-9a9f-43fe-bdf0-101c59080c1c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ff65e1c4-9f9a-fe43-bdf0-101c59080c1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:36.2033333Z\"\n }" + string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" headers: cache-control: - no-cache @@ -239,7 +238,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:02:39 GMT + - Fri, 20 Aug 2021 06:34:11 GMT expires: - '-1' pragma: @@ -260,8 +259,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -269,18 +270,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4e165ff-9a9f-43fe-bdf0-101c59080c1c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ff65e1c4-9f9a-fe43-bdf0-101c59080c1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:36.2033333Z\"\n }" + string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" headers: cache-control: - no-cache @@ -289,7 +289,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:11 GMT + - Fri, 20 Aug 2021 06:34:40 GMT expires: - '-1' pragma: @@ -310,8 +310,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -319,18 +321,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4e165ff-9a9f-43fe-bdf0-101c59080c1c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ff65e1c4-9f9a-fe43-bdf0-101c59080c1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:36.2033333Z\"\n }" + string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" headers: cache-control: - no-cache @@ -339,7 +340,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:03:43 GMT + - Fri, 20 Aug 2021 06:35:11 GMT expires: - '-1' pragma: @@ -360,8 +361,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -369,18 +372,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4e165ff-9a9f-43fe-bdf0-101c59080c1c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ff65e1c4-9f9a-fe43-bdf0-101c59080c1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:36.2033333Z\"\n }" + string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" headers: cache-control: - no-cache @@ -389,7 +391,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:14 GMT + - Fri, 20 Aug 2021 06:35:41 GMT expires: - '-1' pragma: @@ -410,8 +412,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -419,18 +423,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4e165ff-9a9f-43fe-bdf0-101c59080c1c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ff65e1c4-9f9a-fe43-bdf0-101c59080c1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:01:36.2033333Z\"\n }" + string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" headers: cache-control: - no-cache @@ -439,7 +442,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:04:45 GMT + - Fri, 20 Aug 2021 06:36:11 GMT expires: - '-1' pragma: @@ -460,8 +463,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -469,19 +474,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4e165ff-9a9f-43fe-bdf0-101c59080c1c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ff65e1c4-9f9a-fe43-bdf0-101c59080c1c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:01:36.2033333Z\",\n \"endTime\": - \"2021-06-23T08:05:02.7828386Z\"\n }" + string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\",\n \"endTime\": + \"2021-08-20T06:36:14.8002483Z\"\n }" headers: cache-control: - no-cache @@ -490,7 +494,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:16 GMT + - Fri, 20 Aug 2021 06:36:42 GMT expires: - '-1' pragma: @@ -511,8 +515,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -520,29 +526,28 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --kubelet-config --linux-os-config - --aks-custom-headers -o + - --resource-group --name --kubelet-config --linux-os-config --aks-custom-headers + --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrpq3n2nwl-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestrpq3n2nwl-8ecadf-8532bdc2.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrpq3n2nwl-8ecadf-8532bdc2.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvcqzidbi6-79a739\",\n \"fqdn\": + \"cliakstest-clitestvcqzidbi6-79a739-2d1673ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvcqzidbi6-79a739-2d1673ad.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"kubeletConfig\": {\n \"cpuManagerPolicy\": \"static\",\n \"cpuCfsQuota\": true,\n \"cpuCfsQuotaPeriod\": \"200ms\",\n \ \"imageGcHighThreshold\": 90,\n \"imageGcLowThreshold\": 70,\n @@ -555,17 +560,17 @@ interactions: \ \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/4adc6d9d-b1a6-4975-bffc-f07bf5e26488\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/254ad5f7-e56d-4310-9ee9-1b90b33664a1\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -580,11 +585,11 @@ interactions: cache-control: - no-cache content-length: - - '4105' + - '4109' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:18 GMT + - Fri, 20 Aug 2021 06:36:42 GMT expires: - '-1' pragma: @@ -617,13 +622,10 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/nodepool1\",\n @@ -632,7 +634,7 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"kubeletConfig\": {\n \"cpuManagerPolicy\": \"static\",\n \"cpuCfsQuota\": true,\n \ \"cpuCfsQuotaPeriod\": \"200ms\",\n \"imageGcHighThreshold\": 90,\n @@ -645,17 +647,17 @@ interactions: \"madvise\",\n \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n }\n ]\n }" headers: cache-control: - no-cache content-length: - - '1680' + - '1679' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:19 GMT + - Fri, 20 Aug 2021 06:36:43 GMT expires: - '-1' pragma: @@ -675,8 +677,8 @@ interactions: message: OK - request: body: '{"properties": {"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", - "type": "VirtualMachineScaleSets", "mode": "User", "upgradeSettings": {}, "enableNodePublicIP": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "nodeTaints": + "mode": "User", "upgradeSettings": {}, "enableNodePublicIP": false, "scaleSetPriority": + "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "kubeletConfig": {"cpuManagerPolicy": "static", "cpuCfsQuota": true, "cpuCfsQuotaPeriod": "200ms", "imageGcHighThreshold": 90, "imageGcLowThreshold": 70, "topologyManagerPolicy": "best-effort", "allowedUnsafeSysctls": ["kernel.msg*", "net.*"], "failSwapOn": @@ -697,20 +699,17 @@ interactions: Connection: - keep-alive Content-Length: - - '906' + - '893' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/nodepool2?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/nodepool2?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/nodepool2\",\n @@ -718,32 +717,32 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"kubeletConfig\": {\n \"cpuManagerPolicy\": - \"static\",\n \"cpuCfsQuota\": true,\n \"cpuCfsQuotaPeriod\": \"200ms\",\n - \ \"imageGcHighThreshold\": 90,\n \"imageGcLowThreshold\": 70,\n \"topologyManagerPolicy\": - \"best-effort\",\n \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n - \ \"net.*\"\n ],\n \"failSwapOn\": false,\n \"containerLogMaxSizeMB\": - 20,\n \"containerLogMaxFiles\": 10\n },\n \"linuxOSConfig\": {\n \"sysctls\": - {\n \"netCoreSomaxconn\": 163849,\n \"netIpv4TcpTwReuse\": true,\n - \ \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": - \"madvise\",\n \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": - 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"kubeletConfig\": + {\n \"cpuManagerPolicy\": \"static\",\n \"cpuCfsQuota\": true,\n \"cpuCfsQuotaPeriod\": + \"200ms\",\n \"imageGcHighThreshold\": 90,\n \"imageGcLowThreshold\": + 70,\n \"topologyManagerPolicy\": \"best-effort\",\n \"allowedUnsafeSysctls\": + [\n \"kernel.msg*\",\n \"net.*\"\n ],\n \"failSwapOn\": false,\n + \ \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": 10\n },\n + \ \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n + \ \"netIpv4TcpTwReuse\": true,\n \"netIpv4IpLocalPortRange\": \"32000 + 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \"transparentHugePageDefrag\": + \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 cache-control: - no-cache content-length: - - '1553' + - '1582' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:23 GMT + - Fri, 20 Aug 2021 06:36:44 GMT expires: - '-1' pragma: @@ -762,8 +761,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -774,24 +775,23 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b7ca4b19-cdfe-1645-b243-b0b0896980e5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:23.7766666Z\"\n }" + string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:05:55 GMT + - Fri, 20 Aug 2021 06:37:14 GMT expires: - '-1' pragma: @@ -812,8 +812,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -824,24 +826,23 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b7ca4b19-cdfe-1645-b243-b0b0896980e5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:23.7766666Z\"\n }" + string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:27 GMT + - Fri, 20 Aug 2021 06:37:44 GMT expires: - '-1' pragma: @@ -862,8 +863,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -874,24 +877,23 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b7ca4b19-cdfe-1645-b243-b0b0896980e5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:23.7766666Z\"\n }" + string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:57 GMT + - Fri, 20 Aug 2021 06:38:15 GMT expires: - '-1' pragma: @@ -912,8 +914,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -924,24 +928,23 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b7ca4b19-cdfe-1645-b243-b0b0896980e5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:23.7766666Z\"\n }" + string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:28 GMT + - Fri, 20 Aug 2021 06:38:44 GMT expires: - '-1' pragma: @@ -962,8 +965,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -974,24 +979,23 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b7ca4b19-cdfe-1645-b243-b0b0896980e5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:23.7766666Z\"\n }" + string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:00 GMT + - Fri, 20 Aug 2021 06:39:15 GMT expires: - '-1' pragma: @@ -1012,8 +1016,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1024,24 +1030,23 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b7ca4b19-cdfe-1645-b243-b0b0896980e5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:23.7766666Z\"\n }" + string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:30 GMT + - Fri, 20 Aug 2021 06:39:45 GMT expires: - '-1' pragma: @@ -1062,8 +1067,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1074,24 +1081,23 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b7ca4b19-cdfe-1645-b243-b0b0896980e5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:05:23.7766666Z\"\n }" + string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:02 GMT + - Fri, 20 Aug 2021 06:40:15 GMT expires: - '-1' pragma: @@ -1112,8 +1118,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1124,25 +1132,24 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/194bcab7-fecd-4516-b243-b0b0896980e5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b7ca4b19-cdfe-1645-b243-b0b0896980e5\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:05:23.7766666Z\",\n \"endTime\": - \"2021-06-23T08:09:19.7777144Z\"\n }" + string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\",\n \"endTime\": + \"2021-08-20T06:40:44.6010816Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '164' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:33 GMT + - Fri, 20 Aug 2021 06:40:45 GMT expires: - '-1' pragma: @@ -1163,8 +1170,10 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/CustomNodeConfigPreview Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1175,11 +1184,10 @@ interactions: - --resource-group --cluster-name --name --node-count --kubelet-config --linux-os-config --aks-custom-headers User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/nodepool2?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/nodepool2?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/nodepool2\",\n @@ -1187,30 +1195,30 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"kubeletConfig\": {\n \"cpuManagerPolicy\": - \"static\",\n \"cpuCfsQuota\": true,\n \"cpuCfsQuotaPeriod\": \"200ms\",\n - \ \"imageGcHighThreshold\": 90,\n \"imageGcLowThreshold\": 70,\n \"topologyManagerPolicy\": - \"best-effort\",\n \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n - \ \"net.*\"\n ],\n \"failSwapOn\": false,\n \"containerLogMaxSizeMB\": - 20,\n \"containerLogMaxFiles\": 10\n },\n \"linuxOSConfig\": {\n \"sysctls\": - {\n \"netCoreSomaxconn\": 163849,\n \"netIpv4TcpTwReuse\": true,\n - \ \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": - \"madvise\",\n \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": - 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"kubeletConfig\": + {\n \"cpuManagerPolicy\": \"static\",\n \"cpuCfsQuota\": true,\n \"cpuCfsQuotaPeriod\": + \"200ms\",\n \"imageGcHighThreshold\": 90,\n \"imageGcLowThreshold\": + 70,\n \"topologyManagerPolicy\": \"best-effort\",\n \"allowedUnsafeSysctls\": + [\n \"kernel.msg*\",\n \"net.*\"\n ],\n \"failSwapOn\": false,\n + \ \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": 10\n },\n + \ \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n + \ \"netIpv4TcpTwReuse\": true,\n \"netIpv4IpLocalPortRange\": \"32000 + 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \"transparentHugePageDefrag\": + \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" headers: cache-control: - no-cache content-length: - - '1554' + - '1583' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:35 GMT + - Fri, 20 Aug 2021 06:40:45 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml index a002a96a3df..9366a9ba116 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:06:00Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:25:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:06:03 GMT + - Fri, 20 Aug 2021 07:25:43 GMT expires: - '-1' pragma: @@ -42,19 +42,20 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestqokearwyc-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesta6syiqa4h-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"openServiceMesh": {"enabled": - true, "config": {}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, - "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": - "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", - "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": - false}, "identity": {"type": "SystemAssigned"}}' + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"openServiceMesh": + {"enabled": true, "config": {}}}, "enableRBAC": true, "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,41 +66,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1378' + - '1406' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestqokearwyc-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestqokearwyc-8ecadf-526f8f11.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestqokearwyc-8ecadf-526f8f11.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesta6syiqa4h-8ecadf\",\n \"fqdn\": + \"cliakstest-clitesta6syiqa4h-8ecadf-78642e47.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesta6syiqa4h-8ecadf-78642e47.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {}\n \ }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n @@ -115,15 +113,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a91ca618-1fef-43f8-aabd-395d59a0ff8b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2819' + - '2823' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:18 GMT + - Fri, 20 Aug 2021 07:25:45 GMT expires: - '-1' pragma: @@ -135,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -143,7 +141,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -151,26 +149,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a91ca618-1fef-43f8-aabd-395d59a0ff8b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"18a61ca9-ef1f-f843-aabd-395d59a0ff8b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.6266666Z\"\n }" + string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:49 GMT + - Fri, 20 Aug 2021 07:26:16 GMT expires: - '-1' pragma: @@ -192,7 +189,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -200,26 +197,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a91ca618-1fef-43f8-aabd-395d59a0ff8b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"18a61ca9-ef1f-f843-aabd-395d59a0ff8b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.6266666Z\"\n }" + string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:19 GMT + - Fri, 20 Aug 2021 07:26:45 GMT expires: - '-1' pragma: @@ -241,7 +237,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -249,26 +245,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a91ca618-1fef-43f8-aabd-395d59a0ff8b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"18a61ca9-ef1f-f843-aabd-395d59a0ff8b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.6266666Z\"\n }" + string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:51 GMT + - Fri, 20 Aug 2021 07:27:16 GMT expires: - '-1' pragma: @@ -290,7 +285,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -298,26 +293,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a91ca618-1fef-43f8-aabd-395d59a0ff8b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"18a61ca9-ef1f-f843-aabd-395d59a0ff8b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.6266666Z\"\n }" + string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:22 GMT + - Fri, 20 Aug 2021 07:27:46 GMT expires: - '-1' pragma: @@ -339,7 +333,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -347,26 +341,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a91ca618-1fef-43f8-aabd-395d59a0ff8b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"18a61ca9-ef1f-f843-aabd-395d59a0ff8b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.6266666Z\"\n }" + string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:55 GMT + - Fri, 20 Aug 2021 07:28:16 GMT expires: - '-1' pragma: @@ -388,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -396,26 +389,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a91ca618-1fef-43f8-aabd-395d59a0ff8b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"18a61ca9-ef1f-f843-aabd-395d59a0ff8b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.6266666Z\"\n }" + string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:26 GMT + - Fri, 20 Aug 2021 07:28:46 GMT expires: - '-1' pragma: @@ -437,7 +429,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -445,27 +437,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a91ca618-1fef-43f8-aabd-395d59a0ff8b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"18a61ca9-ef1f-f843-aabd-395d59a0ff8b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:06:16.6266666Z\",\n \"endTime\": - \"2021-06-23T08:09:52.9626513Z\"\n }" + string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\",\n \"endTime\": + \"2021-08-20T07:28:55.3669273Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '164' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:58 GMT + - Fri, 20 Aug 2021 07:29:16 GMT expires: - '-1' pragma: @@ -487,7 +478,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -495,35 +486,34 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestqokearwyc-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestqokearwyc-8ecadf-526f8f11.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestqokearwyc-8ecadf-526f8f11.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesta6syiqa4h-8ecadf\",\n \"fqdn\": + \"cliakstest-clitesta6syiqa4h-8ecadf-78642e47.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesta6syiqa4h-8ecadf-78642e47.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {},\n \ \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/openservicemesh-cliakstest000002\",\n @@ -532,7 +522,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/66606505-2777-4978-ad2f-6b61c594a272\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d3396aab-e7cd-44b8-b22b-b85b80c5fbf4\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -547,11 +537,11 @@ interactions: cache-control: - no-cache content-length: - - '3852' + - '3856' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:00 GMT + - Fri, 20 Aug 2021 07:29:16 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml index e23c30bc428..5ae4bddc3b9 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku + - --resource-group --name --vm-set-type -c --os-sku --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:11:41Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:33:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:11:44 GMT + - Fri, 20 Aug 2021 06:33:05 GMT expires: - '-1' pragma: @@ -42,18 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestrjmk5ioaq-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "osSKU": "CBLMariner", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesthr646bbhh-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "osSKU": "CBLMariner", "type": "VirtualMachineScaleSets", "mode": "System", + "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": + "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -64,40 +65,37 @@ interactions: Connection: - keep-alive Content-Length: - - '1351' + - '1379' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku + - --resource-group --name --vm-set-type -c --os-sku --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrjmk5ioaq-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestrjmk5ioaq-8ecadf-3da3eb9e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrjmk5ioaq-8ecadf-3da3eb9e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesthr646bbhh-79a739\",\n \"fqdn\": + \"cliakstest-clitesthr646bbhh-79a739-b9084892.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesthr646bbhh-79a739-b9084892.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"CBLMariner\",\n \"nodeImageVersion\": - \"AKSCBLMariner-V1-2021.06.02\",\n \"enableFIPS\": false\n }\n ],\n + \"AKSCBLMariner-V1-2021.07.31\",\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -111,15 +109,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2712' + - '2716' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:59 GMT + - Fri, 20 Aug 2021 06:33:10 GMT expires: - '-1' pragma: @@ -131,7 +129,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -139,7 +137,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -147,17 +145,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku + - --resource-group --name --vm-set-type -c --os-sku --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" + string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\"\n }" headers: cache-control: - no-cache @@ -166,7 +163,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:30 GMT + - Fri, 20 Aug 2021 06:33:41 GMT expires: - '-1' pragma: @@ -188,7 +185,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -196,17 +193,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku + - --resource-group --name --vm-set-type -c --os-sku --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" + string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\"\n }" headers: cache-control: - no-cache @@ -215,7 +211,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:02 GMT + - Fri, 20 Aug 2021 06:34:10 GMT expires: - '-1' pragma: @@ -237,7 +233,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -245,17 +241,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku + - --resource-group --name --vm-set-type -c --os-sku --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" + string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\"\n }" headers: cache-control: - no-cache @@ -264,7 +259,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:33 GMT + - Fri, 20 Aug 2021 06:34:40 GMT expires: - '-1' pragma: @@ -286,7 +281,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -294,17 +289,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku + - --resource-group --name --vm-set-type -c --os-sku --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" + string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +307,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:05 GMT + - Fri, 20 Aug 2021 06:35:11 GMT expires: - '-1' pragma: @@ -335,7 +329,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -343,361 +337,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku + - --resource-group --name --vm-set-type -c --os-sku --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:14:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:15:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:15:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:16:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:16:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:17:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:17:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b0ca834-cd41-4269-b143-1c3136fcb7e4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a80c2b-41cd-6942-b143-1c3136fcb7e4\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:11:58.4466666Z\",\n \"endTime\": - \"2021-06-23T08:17:54.3375916Z\"\n }" + string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\",\n \"endTime\": + \"2021-08-20T06:35:36.9104363Z\"\n }" headers: cache-control: - no-cache @@ -706,7 +356,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:18:17 GMT + - Fri, 20 Aug 2021 06:35:41 GMT expires: - '-1' pragma: @@ -728,7 +378,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -736,40 +386,39 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --vm-set-type -c --os-sku + - --resource-group --name --vm-set-type -c --os-sku --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrjmk5ioaq-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestrjmk5ioaq-8ecadf-3da3eb9e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrjmk5ioaq-8ecadf-3da3eb9e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesthr646bbhh-79a739\",\n \"fqdn\": + \"cliakstest-clitesthr646bbhh-79a739-b9084892.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesthr646bbhh-79a739-b9084892.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"CBLMariner\",\n \"nodeImageVersion\": - \"AKSCBLMariner-V1-2021.06.02\",\n \"enableFIPS\": false\n }\n ],\n + \"AKSCBLMariner-V1-2021.07.31\",\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5185973f-4b70-4d52-8796-012670db71a9\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6c3bffb6-a1a6-4ce4-b9ef-671e5a5f15df\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -784,11 +433,11 @@ interactions: cache-control: - no-cache content-length: - - '3375' + - '3379' content-type: - application/json date: - - Wed, 23 Jun 2021 08:18:20 GMT + - Fri, 20 Aug 2021 06:35:41 GMT expires: - '-1' pragma: @@ -822,8 +471,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -831,17 +480,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cf4f3e56-09db-4351-9b45-99f28c67e30b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aad05852-e9c8-4aaf-841e-e4a42351ceb0?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:18:23 GMT + - Fri, 20 Aug 2021 06:35:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/cf4f3e56-09db-4351-9b45-99f28c67e30b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/aad05852-e9c8-4aaf-841e-e4a42351ceb0?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_pod_identity_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_pod_identity_enabled.yaml index 923abcc40cf..cd1863c4c15 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_pod_identity_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_pod_identity_enabled.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:07:30Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:07:32 GMT + - Fri, 20 Aug 2021 07:16:47 GMT expires: - '-1' pragma: @@ -43,19 +43,20 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestppx4ta2l3-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest6lbausf4q-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "podIdentityProfile": + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -66,42 +67,39 @@ interactions: Connection: - keep-alive Content-Length: - - '1404' + - '1432' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -117,15 +115,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83aaf2b4-f93c-4a16-8412-c16c7bf1bebd?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2812' + - '2816' content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:43 GMT + - Fri, 20 Aug 2021 07:16:50 GMT expires: - '-1' pragma: @@ -137,7 +135,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -145,7 +143,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -153,27 +151,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83aaf2b4-f93c-4a16-8412-c16c7bf1bebd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b4f2aa83-3cf9-164a-8412-c16c7bf1bebd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:07:42.8733333Z\"\n }" + string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:14 GMT + - Fri, 20 Aug 2021 07:17:21 GMT expires: - '-1' pragma: @@ -195,7 +192,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -203,27 +200,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83aaf2b4-f93c-4a16-8412-c16c7bf1bebd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b4f2aa83-3cf9-164a-8412-c16c7bf1bebd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:07:42.8733333Z\"\n }" + string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:55 GMT + - Fri, 20 Aug 2021 07:17:51 GMT expires: - '-1' pragma: @@ -245,7 +241,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -253,27 +249,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83aaf2b4-f93c-4a16-8412-c16c7bf1bebd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b4f2aa83-3cf9-164a-8412-c16c7bf1bebd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:07:42.8733333Z\"\n }" + string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:26 GMT + - Fri, 20 Aug 2021 07:18:20 GMT expires: - '-1' pragma: @@ -295,7 +290,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -303,27 +298,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83aaf2b4-f93c-4a16-8412-c16c7bf1bebd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b4f2aa83-3cf9-164a-8412-c16c7bf1bebd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:07:42.8733333Z\"\n }" + string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:58 GMT + - Fri, 20 Aug 2021 07:18:51 GMT expires: - '-1' pragma: @@ -345,7 +339,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -353,27 +347,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83aaf2b4-f93c-4a16-8412-c16c7bf1bebd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b4f2aa83-3cf9-164a-8412-c16c7bf1bebd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:07:42.8733333Z\"\n }" + string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:30 GMT + - Fri, 20 Aug 2021 07:19:21 GMT expires: - '-1' pragma: @@ -395,7 +388,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -403,27 +396,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83aaf2b4-f93c-4a16-8412-c16c7bf1bebd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b4f2aa83-3cf9-164a-8412-c16c7bf1bebd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:07:42.8733333Z\"\n }" + string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:01 GMT + - Fri, 20 Aug 2021 07:19:51 GMT expires: - '-1' pragma: @@ -445,7 +437,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -453,28 +445,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/83aaf2b4-f93c-4a16-8412-c16c7bf1bebd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b4f2aa83-3cf9-164a-8412-c16c7bf1bebd\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:07:42.8733333Z\",\n \"endTime\": - \"2021-06-23T08:11:17.11182Z\"\n }" + string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\",\n \"endTime\": + \"2021-08-20T07:19:58.1694923Z\"\n }" headers: cache-control: - no-cache content-length: - - '168' + - '164' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:33 GMT + - Fri, 20 Aug 2021 07:20:21 GMT expires: - '-1' pragma: @@ -496,7 +487,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -504,42 +495,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --generate-ssh-keys --enable-managed-identity - --enable-pod-identity --enable-pod-identity-with-kubenet + - --resource-group --name --location --enable-managed-identity --enable-pod-identity + --enable-pod-identity-with-kubenet --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -555,11 +545,11 @@ interactions: cache-control: - no-cache content-length: - - '3475' + - '3479' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:34 GMT + - Fri, 20 Aug 2021 07:20:22 GMT expires: - '-1' pragma: @@ -591,41 +581,38 @@ interactions: ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -641,11 +628,11 @@ interactions: cache-control: - no-cache content-length: - - '3475' + - '3479' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:37 GMT + - Fri, 20 Aug 2021 07:20:22 GMT expires: - '-1' pragma: @@ -664,27 +651,26 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestppx4ta2l3-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -695,47 +681,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2289' + - '2293' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -748,15 +731,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ea663d5d-e48d-4430-82a4-7fa05d3b6177?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0d6655d5-588c-4623-9943-89383100a905?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3410' + - '3414' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:44 GMT + - Fri, 20 Aug 2021 07:20:24 GMT expires: - '-1' pragma: @@ -772,7 +755,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -780,7 +763,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -790,24 +773,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ea663d5d-e48d-4430-82a4-7fa05d3b6177?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0d6655d5-588c-4623-9943-89383100a905?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5d3d66ea-8de4-3044-82a4-7fa05d3b6177\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:11:43.3Z\"\n }" + string: "{\n \"name\": \"d555660d-8c58-2346-9943-89383100a905\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:24.8233333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:16 GMT + - Fri, 20 Aug 2021 07:20:55 GMT expires: - '-1' pragma: @@ -829,7 +811,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -839,25 +821,24 @@ interactions: ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ea663d5d-e48d-4430-82a4-7fa05d3b6177?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0d6655d5-588c-4623-9943-89383100a905?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5d3d66ea-8de4-3044-82a4-7fa05d3b6177\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:11:43.3Z\",\n \"endTime\": - \"2021-06-23T08:12:37.1151359Z\"\n }" + string: "{\n \"name\": \"d555660d-8c58-2346-9943-89383100a905\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:24.8233333Z\",\n \"endTime\": + \"2021-08-20T07:21:20.9990716Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:47 GMT + - Fri, 20 Aug 2021 07:21:24 GMT expires: - '-1' pragma: @@ -879,7 +860,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -889,39 +870,38 @@ interactions: ParameterSetName: - --resource-group --name --disable-pod-identity User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -936,11 +916,11 @@ interactions: cache-control: - no-cache content-length: - - '3412' + - '3416' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:49 GMT + - Fri, 20 Aug 2021 07:21:24 GMT expires: - '-1' pragma: @@ -972,41 +952,38 @@ interactions: ParameterSetName: - --resource-group --name --enable-pod-identity --enable-pod-identity-with-kubenet User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1021,11 +998,11 @@ interactions: cache-control: - no-cache content-length: - - '3412' + - '3416' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:51 GMT + - Fri, 20 Aug 2021 07:21:25 GMT expires: - '-1' pragma: @@ -1044,28 +1021,27 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestppx4ta2l3-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": []}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1076,47 +1052,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2391' + - '2395' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --name --enable-pod-identity --enable-pod-identity-with-kubenet User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1130,15 +1103,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7fc9dc92-21dc-46cc-a384-1f300ffb21ec?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/99665d50-4e9e-4b6a-974f-e76285307015?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3473' + - '3477' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:59 GMT + - Fri, 20 Aug 2021 07:21:28 GMT expires: - '-1' pragma: @@ -1154,7 +1127,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 200 message: OK @@ -1162,7 +1135,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1172,15 +1145,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-pod-identity --enable-pod-identity-with-kubenet User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7fc9dc92-21dc-46cc-a384-1f300ffb21ec?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/99665d50-4e9e-4b6a-974f-e76285307015?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"92dcc97f-dc21-cc46-a384-1f300ffb21ec\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:12:58.62Z\"\n }" + string: "{\n \"name\": \"505d6699-9e4e-6a4b-974f-e76285307015\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:21:27.86Z\"\n }" headers: cache-control: - no-cache @@ -1189,7 +1161,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:31 GMT + - Fri, 20 Aug 2021 07:21:57 GMT expires: - '-1' pragma: @@ -1211,7 +1183,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1221,16 +1193,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-pod-identity --enable-pod-identity-with-kubenet User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7fc9dc92-21dc-46cc-a384-1f300ffb21ec?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/99665d50-4e9e-4b6a-974f-e76285307015?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"92dcc97f-dc21-cc46-a384-1f300ffb21ec\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:12:58.62Z\",\n \"endTime\": - \"2021-06-23T08:13:56.5088942Z\"\n }" + string: "{\n \"name\": \"505d6699-9e4e-6a4b-974f-e76285307015\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:21:27.86Z\",\n \"endTime\": + \"2021-08-20T07:22:25.0736823Z\"\n }" headers: cache-control: - no-cache @@ -1239,7 +1210,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:02 GMT + - Fri, 20 Aug 2021 07:22:27 GMT expires: - '-1' pragma: @@ -1261,7 +1232,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1271,39 +1242,38 @@ interactions: ParameterSetName: - --resource-group --name --enable-pod-identity --enable-pod-identity-with-kubenet User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1319,11 +1289,11 @@ interactions: cache-control: - no-cache content-length: - - '3475' + - '3479' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:04 GMT + - Fri, 20 Aug 2021 07:22:28 GMT expires: - '-1' pragma: @@ -1355,41 +1325,38 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1405,11 +1372,11 @@ interactions: cache-control: - no-cache content-length: - - '3475' + - '3479' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:06 GMT + - Fri, 20 Aug 2021 07:22:28 GMT expires: - '-1' pragma: @@ -1428,16 +1395,16 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestppx4ta2l3-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": [{"name": "test-name", "namespace": "test-namespace", "podLabels": {"foo": "bar"}}]}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", @@ -1445,11 +1412,10 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1460,47 +1426,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2446' + - '2450' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1516,15 +1479,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6941acea-912d-466c-8865-d64ff9d0ab02?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb7ecc6d-6451-4608-9999-93b856fe71d5?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3647' + - '3651' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:14 GMT + - Fri, 20 Aug 2021 07:22:30 GMT expires: - '-1' pragma: @@ -1540,7 +1503,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -1548,7 +1511,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1558,24 +1521,23 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6941acea-912d-466c-8865-d64ff9d0ab02?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb7ecc6d-6451-4608-9999-93b856fe71d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"eaac4169-2d91-6c46-8865-d64ff9d0ab02\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:14:13.42Z\"\n }" + string: "{\n \"name\": \"6dcc7efb-5164-0846-9999-93b856fe71d5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:31.2566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:45 GMT + - Fri, 20 Aug 2021 07:23:00 GMT expires: - '-1' pragma: @@ -1597,7 +1559,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1607,25 +1569,23 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6941acea-912d-466c-8865-d64ff9d0ab02?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb7ecc6d-6451-4608-9999-93b856fe71d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"eaac4169-2d91-6c46-8865-d64ff9d0ab02\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:14:13.42Z\",\n \"endTime\": - \"2021-06-23T08:15:16.7329838Z\"\n }" + string: "{\n \"name\": \"6dcc7efb-5164-0846-9999-93b856fe71d5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:31.2566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:17 GMT + - Fri, 20 Aug 2021 07:23:31 GMT expires: - '-1' pragma: @@ -1647,7 +1607,56 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks pod-identity exception add + Connection: + - keep-alive + ParameterSetName: + - --cluster-name --resource-group --namespace --name --pod-labels + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb7ecc6d-6451-4608-9999-93b856fe71d5?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6dcc7efb-5164-0846-9999-93b856fe71d5\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:22:31.2566666Z\",\n \"endTime\": + \"2021-08-20T07:23:35.3347899Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: - application/json + date: + - Fri, 20 Aug 2021 07:24:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1657,39 +1666,38 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1707,11 +1715,11 @@ interactions: cache-control: - no-cache content-length: - - '3649' + - '3653' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:19 GMT + - Fri, 20 Aug 2021 07:24:01 GMT expires: - '-1' pragma: @@ -1743,41 +1751,38 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1795,11 +1800,11 @@ interactions: cache-control: - no-cache content-length: - - '3649' + - '3653' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:21 GMT + - Fri, 20 Aug 2021 07:24:02 GMT expires: - '-1' pragma: @@ -1818,16 +1823,16 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestppx4ta2l3-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": [{"name": "test-name", "namespace": "test-namespace", "podLabels": {"foo": "bar", "a": "b"}}]}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", @@ -1835,11 +1840,10 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1850,47 +1854,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2456' + - '2460' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1907,15 +1908,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9be4ad3a-a420-4616-b8c4-d51072e61a65?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1a6856dc-24f2-4932-a021-b3048c5ffd8a?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3664' + - '3668' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:29 GMT + - Fri, 20 Aug 2021 07:24:03 GMT expires: - '-1' pragma: @@ -1931,56 +1932,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks pod-identity exception update - Connection: - - keep-alive - ParameterSetName: - - --cluster-name --resource-group --namespace --name --pod-labels - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9be4ad3a-a420-4616-b8c4-d51072e61a65?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"3aade49b-20a4-1646-b8c4-d51072e61a65\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:15:28.57Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:16:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff + - '1197' status: code: 200 message: OK @@ -1988,7 +1940,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1998,24 +1950,23 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9be4ad3a-a420-4616-b8c4-d51072e61a65?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1a6856dc-24f2-4932-a021-b3048c5ffd8a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"3aade49b-20a4-1646-b8c4-d51072e61a65\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:15:28.57Z\"\n }" + string: "{\n \"name\": \"dc56681a-f224-3249-a021-b3048c5ffd8a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:24:04.1533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:16:32 GMT + - Fri, 20 Aug 2021 07:24:34 GMT expires: - '-1' pragma: @@ -2037,7 +1988,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2047,25 +1998,24 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9be4ad3a-a420-4616-b8c4-d51072e61a65?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1a6856dc-24f2-4932-a021-b3048c5ffd8a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"3aade49b-20a4-1646-b8c4-d51072e61a65\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:15:28.57Z\",\n \"endTime\": - \"2021-06-23T08:16:36.9281437Z\"\n }" + string: "{\n \"name\": \"dc56681a-f224-3249-a021-b3048c5ffd8a\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:24:04.1533333Z\",\n \"endTime\": + \"2021-08-20T07:24:56.7486693Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Wed, 23 Jun 2021 08:17:05 GMT + - Fri, 20 Aug 2021 07:25:03 GMT expires: - '-1' pragma: @@ -2087,7 +2037,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2097,39 +2047,38 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name --pod-labels User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -2148,11 +2097,11 @@ interactions: cache-control: - no-cache content-length: - - '3666' + - '3670' content-type: - application/json date: - - Wed, 23 Jun 2021 08:17:06 GMT + - Fri, 20 Aug 2021 07:25:04 GMT expires: - '-1' pragma: @@ -2184,41 +2133,38 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -2237,11 +2183,11 @@ interactions: cache-control: - no-cache content-length: - - '3666' + - '3670' content-type: - application/json date: - - Wed, 23 Jun 2021 08:17:09 GMT + - Fri, 20 Aug 2021 07:25:05 GMT expires: - '-1' pragma: @@ -2260,27 +2206,26 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestppx4ta2l3-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": []}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -2291,47 +2236,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2365' + - '2369' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -2345,15 +2287,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6c2677f-0970-4c58-9db3-699bef18d636?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a72a3132-42d1-4cb5-a87a-906daaf06f95?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3473' + - '3477' content-type: - application/json date: - - Wed, 23 Jun 2021 08:17:15 GMT + - Fri, 20 Aug 2021 07:25:06 GMT expires: - '-1' pragma: @@ -2369,7 +2311,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 200 message: OK @@ -2377,7 +2319,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2387,15 +2329,14 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6c2677f-0970-4c58-9db3-699bef18d636?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a72a3132-42d1-4cb5-a87a-906daaf06f95?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7f67c2a6-7009-584c-9db3-699bef18d636\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:17:14.2366666Z\"\n }" + string: "{\n \"name\": \"32312aa7-d142-b54c-a87a-906daaf06f95\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:06.8466666Z\"\n }" headers: cache-control: - no-cache @@ -2404,7 +2345,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:17:47 GMT + - Fri, 20 Aug 2021 07:25:36 GMT expires: - '-1' pragma: @@ -2426,7 +2367,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2436,25 +2377,24 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6c2677f-0970-4c58-9db3-699bef18d636?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a72a3132-42d1-4cb5-a87a-906daaf06f95?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7f67c2a6-7009-584c-9db3-699bef18d636\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:17:14.2366666Z\",\n \"endTime\": - \"2021-06-23T08:18:16.863359Z\"\n }" + string: "{\n \"name\": \"32312aa7-d142-b54c-a87a-906daaf06f95\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:25:06.8466666Z\",\n \"endTime\": + \"2021-08-20T07:26:00.0474502Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '170' content-type: - application/json date: - - Wed, 23 Jun 2021 08:18:19 GMT + - Fri, 20 Aug 2021 07:26:06 GMT expires: - '-1' pragma: @@ -2476,7 +2416,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2486,39 +2426,38 @@ interactions: ParameterSetName: - --cluster-name --resource-group --namespace --name User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestppx4ta2l3-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestppx4ta2l3-8ecadf-211930b4.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/88f37619-f697-4a37-8c46-2a7591108069\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -2534,11 +2473,11 @@ interactions: cache-control: - no-cache content-length: - - '3475' + - '3479' content-type: - application/json date: - - Wed, 23 Jun 2021 08:18:21 GMT + - Fri, 20 Aug 2021 07:26:06 GMT expires: - '-1' pragma: @@ -2572,8 +2511,8 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -2581,17 +2520,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c6edc6-aa22-4ff7-822e-ad83da52404d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/855471b4-5110-4dc4-b86c-68590f99cbe0?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:18:25 GMT + - Fri, 20 Aug 2021 07:26:08 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/09c6edc6-aa22-4ff7-822e-ad83da52404d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/855471b4-5110-4dc4-b86c-68590f99cbe0?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows.yaml index abefab1eae7..92cda40eb75 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows.yaml @@ -11,16 +11,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:08:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:02:27Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:08:57 GMT + - Thu, 19 Aug 2021 10:02:28 GMT expires: - '-1' pragma: @@ -44,17 +44,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": - false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "replace-Password1234$"}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "azure", "outboundType": "loadBalancer", "loadBalancerSku": - "standard"}, "disableLocalAccounts": false}, "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser1", "adminPassword": "replace-Password1234$"}, "addonProfiles": {}, + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "azure", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": + false}}' headers: Accept: - application/json @@ -65,62 +67,62 @@ interactions: Connection: - keep-alive Content-Length: - - '1271' + - '1305' Content-Type: - application/json ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c11c502.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-9c11c502.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n }\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2694' + - '2726' content-type: - application/json date: - - Tue, 27 Jul 2021 06:09:05 GMT + - Thu, 19 Aug 2021 10:02:35 GMT expires: - '-1' pragma: @@ -132,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -148,68 +150,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e1e9228f-5f92-eb44-907f-9dd07acb16cc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.53Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:09:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e1e9228f-5f92-eb44-907f-9dd07acb16cc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.53Z\"\n }" + string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" headers: cache-control: - no-cache @@ -218,7 +170,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:10:06 GMT + - Thu, 19 Aug 2021 10:03:05 GMT expires: - '-1' pragma: @@ -248,18 +200,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e1e9228f-5f92-eb44-907f-9dd07acb16cc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.53Z\"\n }" + string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" headers: cache-control: - no-cache @@ -268,7 +220,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:10:35 GMT + - Thu, 19 Aug 2021 10:03:36 GMT expires: - '-1' pragma: @@ -298,18 +250,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e1e9228f-5f92-eb44-907f-9dd07acb16cc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.53Z\"\n }" + string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" headers: cache-control: - no-cache @@ -318,7 +270,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:11:06 GMT + - Thu, 19 Aug 2021 10:04:06 GMT expires: - '-1' pragma: @@ -348,18 +300,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e1e9228f-5f92-eb44-907f-9dd07acb16cc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.53Z\"\n }" + string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" headers: cache-control: - no-cache @@ -368,7 +320,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:11:36 GMT + - Thu, 19 Aug 2021 10:04:36 GMT expires: - '-1' pragma: @@ -398,18 +350,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e1e9228f-5f92-eb44-907f-9dd07acb16cc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.53Z\"\n }" + string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" headers: cache-control: - no-cache @@ -418,7 +370,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:05 GMT + - Thu, 19 Aug 2021 10:05:06 GMT expires: - '-1' pragma: @@ -448,18 +400,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e1e9228f-5f92-eb44-907f-9dd07acb16cc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.53Z\"\n }" + string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" headers: cache-control: - no-cache @@ -468,7 +420,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:36 GMT + - Thu, 19 Aug 2021 10:05:36 GMT expires: - '-1' pragma: @@ -498,19 +450,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f22e9e1-925f-44eb-907f-9dd07acb16cc?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e1e9228f-5f92-eb44-907f-9dd07acb16cc\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:09:05.53Z\",\n \"endTime\": - \"2021-07-27T06:12:45.3462157Z\"\n }" + string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\",\n \"endTime\": + \"2021-08-19T10:05:43.8411475Z\"\n }" headers: cache-control: - no-cache @@ -519,7 +471,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:06 GMT + - Thu, 19 Aug 2021 10:06:06 GMT expires: - '-1' pragma: @@ -549,42 +501,42 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c11c502.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-9c11c502.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/bb3c7903-b32a-4bc0-922a-44b12e433fe8\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -598,11 +550,11 @@ interactions: cache-control: - no-cache content-length: - - '3357' + - '3389' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:06 GMT + - Thu, 19 Aug 2021 10:06:06 GMT expires: - '-1' pragma: @@ -634,10 +586,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\",\n @@ -646,20 +598,20 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: - no-cache content-length: - - '957' + - '956' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:08 GMT + - Thu, 19 Aug 2021 10:06:08 GMT expires: - '-1' pragma: @@ -699,10 +651,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -710,22 +662,23 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 cache-control: - no-cache content-length: - - '846' + - '875' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:10 GMT + - Thu, 19 Aug 2021 10:06:10 GMT expires: - '-1' pragma: @@ -737,7 +690,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -755,71 +708,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:13:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-type --node-count - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:10 GMT + - Thu, 19 Aug 2021 10:06:40 GMT expires: - '-1' pragma: @@ -851,23 +756,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:40 GMT + - Thu, 19 Aug 2021 10:07:09 GMT expires: - '-1' pragma: @@ -899,23 +804,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:11 GMT + - Thu, 19 Aug 2021 10:07:39 GMT expires: - '-1' pragma: @@ -947,23 +852,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:40 GMT + - Thu, 19 Aug 2021 10:08:10 GMT expires: - '-1' pragma: @@ -995,23 +900,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:10 GMT + - Thu, 19 Aug 2021 10:08:40 GMT expires: - '-1' pragma: @@ -1043,23 +948,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:41 GMT + - Thu, 19 Aug 2021 10:09:10 GMT expires: - '-1' pragma: @@ -1091,23 +996,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:11 GMT + - Thu, 19 Aug 2021 10:09:40 GMT expires: - '-1' pragma: @@ -1139,23 +1044,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:41 GMT + - Thu, 19 Aug 2021 10:10:10 GMT expires: - '-1' pragma: @@ -1187,23 +1092,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:11 GMT + - Thu, 19 Aug 2021 10:10:40 GMT expires: - '-1' pragma: @@ -1235,23 +1140,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:42 GMT + - Thu, 19 Aug 2021 10:11:11 GMT expires: - '-1' pragma: @@ -1283,23 +1188,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:11 GMT + - Thu, 19 Aug 2021 10:11:41 GMT expires: - '-1' pragma: @@ -1331,23 +1236,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:42 GMT + - Thu, 19 Aug 2021 10:12:11 GMT expires: - '-1' pragma: @@ -1379,24 +1284,24 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f149b339-baa1-4e6e-93be-837ea1a32cd9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"39b349f1-a1ba-6e4e-93be-837ea1a32cd9\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:13:10.7933333Z\",\n \"endTime\": - \"2021-07-27T06:20:03.6177321Z\"\n }" + string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\",\n \"endTime\": + \"2021-08-19T10:12:14.8013611Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:12 GMT + - Thu, 19 Aug 2021 10:12:41 GMT expires: - '-1' pragma: @@ -1428,10 +1333,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -1439,20 +1344,21 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: cache-control: - no-cache content-length: - - '847' + - '876' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:12 GMT + - Thu, 19 Aug 2021 10:12:42 GMT expires: - '-1' pragma: @@ -1484,46 +1390,46 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c11c502.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-9c11c502.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/bb3c7903-b32a-4bc0-922a-44b12e433fe8\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1537,11 +1443,11 @@ interactions: cache-control: - no-cache content-length: - - '3984' + - '4047' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:13 GMT + - Thu, 19 Aug 2021 10:12:43 GMT expires: - '-1' pragma: @@ -1560,32 +1466,32 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, - "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": - "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.19.11", "enableNodePublicIP": false, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", + "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": + 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}, {"count": 1, "vmSize": "Standard_D2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": - 30, "osType": "Windows", "type": "VirtualMachineScaleSets", "mode": "User", - "orchestratorVersion": "1.19.11", "upgradeSettings": {}, "enableNodePublicIP": + 30, "osType": "Windows", "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", + "mode": "User", "orchestratorVersion": "1.20.7", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "windowsProfile": {"adminUsername": "azureuser1", "licenseType": "Windows_Server", - "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, - "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": - true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser1", "licenseType": "Windows_Server", "enableCSIProxy": true}, "servicePrincipalProfile": + {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/bb3c7903-b32a-4bc0-922a-44b12e433fe8"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1596,52 +1502,52 @@ interactions: Connection: - keep-alive Content-Length: - - '2661' + - '2719' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c11c502.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-9c11c502.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \"enableCSIProxy\": - true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n + \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/bb3c7903-b32a-4bc0-922a-44b12e433fe8\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1653,15 +1559,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 cache-control: - no-cache content-length: - - '4018' + - '4081' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:17 GMT + - Thu, 19 Aug 2021 10:12:48 GMT expires: - '-1' pragma: @@ -1677,103 +1583,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-ahub - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:20:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-ahub - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:21:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff + - '1197' status: code: 200 message: OK @@ -1791,14 +1601,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -1807,7 +1617,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:47 GMT + - Thu, 19 Aug 2021 10:13:19 GMT expires: - '-1' pragma: @@ -1839,14 +1649,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -1855,7 +1665,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:18 GMT + - Thu, 19 Aug 2021 10:13:49 GMT expires: - '-1' pragma: @@ -1887,14 +1697,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -1903,7 +1713,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:47 GMT + - Thu, 19 Aug 2021 10:14:19 GMT expires: - '-1' pragma: @@ -1935,14 +1745,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -1951,7 +1761,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:18 GMT + - Thu, 19 Aug 2021 10:14:50 GMT expires: - '-1' pragma: @@ -1983,14 +1793,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -1999,7 +1809,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:48 GMT + - Thu, 19 Aug 2021 10:15:19 GMT expires: - '-1' pragma: @@ -2031,14 +1841,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2047,7 +1857,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:18 GMT + - Thu, 19 Aug 2021 10:15:49 GMT expires: - '-1' pragma: @@ -2079,14 +1889,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2095,7 +1905,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:49 GMT + - Thu, 19 Aug 2021 10:16:20 GMT expires: - '-1' pragma: @@ -2127,14 +1937,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2143,7 +1953,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:18 GMT + - Thu, 19 Aug 2021 10:16:50 GMT expires: - '-1' pragma: @@ -2175,14 +1985,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2191,7 +2001,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:48 GMT + - Thu, 19 Aug 2021 10:17:20 GMT expires: - '-1' pragma: @@ -2223,14 +2033,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2239,7 +2049,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:19 GMT + - Thu, 19 Aug 2021 10:17:50 GMT expires: - '-1' pragma: @@ -2271,14 +2081,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2287,7 +2097,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:48 GMT + - Thu, 19 Aug 2021 10:18:21 GMT expires: - '-1' pragma: @@ -2319,14 +2129,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2335,7 +2145,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:19 GMT + - Thu, 19 Aug 2021 10:18:51 GMT expires: - '-1' pragma: @@ -2367,14 +2177,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2383,7 +2193,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:48 GMT + - Thu, 19 Aug 2021 10:19:21 GMT expires: - '-1' pragma: @@ -2415,14 +2225,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2431,7 +2241,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:19 GMT + - Thu, 19 Aug 2021 10:19:51 GMT expires: - '-1' pragma: @@ -2463,14 +2273,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2479,7 +2289,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:49 GMT + - Thu, 19 Aug 2021 10:20:21 GMT expires: - '-1' pragma: @@ -2511,14 +2321,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2527,7 +2337,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:19 GMT + - Thu, 19 Aug 2021 10:20:51 GMT expires: - '-1' pragma: @@ -2559,14 +2369,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2575,7 +2385,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:49 GMT + - Thu, 19 Aug 2021 10:21:21 GMT expires: - '-1' pragma: @@ -2607,14 +2417,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2623,7 +2433,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:19 GMT + - Thu, 19 Aug 2021 10:21:52 GMT expires: - '-1' pragma: @@ -2655,14 +2465,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2671,7 +2481,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:49 GMT + - Thu, 19 Aug 2021 10:22:22 GMT expires: - '-1' pragma: @@ -2703,14 +2513,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2719,7 +2529,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:20 GMT + - Thu, 19 Aug 2021 10:22:52 GMT expires: - '-1' pragma: @@ -2751,14 +2561,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2767,7 +2577,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:50 GMT + - Thu, 19 Aug 2021 10:23:22 GMT expires: - '-1' pragma: @@ -2799,14 +2609,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2815,7 +2625,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:20 GMT + - Thu, 19 Aug 2021 10:23:52 GMT expires: - '-1' pragma: @@ -2847,14 +2657,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2863,7 +2673,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:50 GMT + - Thu, 19 Aug 2021 10:24:22 GMT expires: - '-1' pragma: @@ -2895,14 +2705,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2911,7 +2721,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:20 GMT + - Thu, 19 Aug 2021 10:24:52 GMT expires: - '-1' pragma: @@ -2943,14 +2753,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -2959,7 +2769,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:50 GMT + - Thu, 19 Aug 2021 10:25:23 GMT expires: - '-1' pragma: @@ -2991,14 +2801,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -3007,7 +2817,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:20 GMT + - Thu, 19 Aug 2021 10:25:53 GMT expires: - '-1' pragma: @@ -3039,14 +2849,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -3055,7 +2865,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:51 GMT + - Thu, 19 Aug 2021 10:26:23 GMT expires: - '-1' pragma: @@ -3087,14 +2897,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -3103,7 +2913,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:20 GMT + - Thu, 19 Aug 2021 10:26:54 GMT expires: - '-1' pragma: @@ -3135,14 +2945,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -3151,7 +2961,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:51 GMT + - Thu, 19 Aug 2021 10:27:24 GMT expires: - '-1' pragma: @@ -3183,14 +2993,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -3199,7 +3009,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:36:20 GMT + - Thu, 19 Aug 2021 10:27:53 GMT expires: - '-1' pragma: @@ -3231,14 +3041,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" headers: cache-control: - no-cache @@ -3247,7 +3057,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:36:51 GMT + - Thu, 19 Aug 2021 10:28:24 GMT expires: - '-1' pragma: @@ -3279,15 +3089,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54f1a681-6b5a-4b7f-b842-2c4a3af8665a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81a6f154-5a6b-7f4b-b842-2c4a3af8665a\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:20:16.7733333Z\",\n \"endTime\": - \"2021-07-27T06:37:21.2159754Z\"\n }" + string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\",\n \"endTime\": + \"2021-08-19T10:28:32.4277253Z\"\n }" headers: cache-control: - no-cache @@ -3296,7 +3106,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:21 GMT + - Thu, 19 Aug 2021 10:28:54 GMT expires: - '-1' pragma: @@ -3328,46 +3138,46 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c11c502.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-9c11c502.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \"enableCSIProxy\": - true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n + \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/bb3c7903-b32a-4bc0-922a-44b12e433fe8\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -3381,11 +3191,11 @@ interactions: cache-control: - no-cache content-length: - - '4021' + - '4084' content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:21 GMT + - Thu, 19 Aug 2021 10:28:54 GMT expires: - '-1' pragma: @@ -3417,10 +3227,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\",\n @@ -3429,30 +3239,31 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n \ \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n }\n ]\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }\n ]\n + }" headers: cache-control: - no-cache content-length: - - '1861' + - '1891' content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:23 GMT + - Thu, 19 Aug 2021 10:28:55 GMT expires: - '-1' pragma: @@ -3486,26 +3297,26 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/76e6e584-7883-46ca-8de7-04a7d783f13b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6e09745-954a-4734-a18c-7610096d9b68?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:37:23 GMT + - Thu, 19 Aug 2021 10:28:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/76e6e584-7883-46ca-8de7-04a7d783f13b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f6e09745-954a-4734-a18c-7610096d9b68?api-version=2016-03-30 pragma: - no-cache server: @@ -3515,7 +3326,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14995' status: code: 202 message: Accepted @@ -3535,8 +3346,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: @@ -3544,17 +3355,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a37c0e2-1ee3-4d2d-abfc-2639d8fb77c6?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/23399c69-85cc-4ce1-a22f-57806559e608?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:37:25 GMT + - Thu, 19 Aug 2021 10:28:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/8a37c0e2-1ee3-4d2d-abfc-2639d8fb77c6?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/23399c69-85cc-4ce1-a22f-57806559e608?api-version=2016-03-30 pragma: - no-cache server: @@ -3564,7 +3375,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14995' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addon_openservicemesh.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addon_openservicemesh.yaml index e116a3e4a51..8a48f991d52 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addon_openservicemesh.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addon_openservicemesh.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:06:00Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:06:03 GMT + - Fri, 20 Aug 2021 07:16:48 GMT expires: - '-1' pragma: @@ -42,19 +42,20 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestv4hhelqul-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest3xwgo72tc-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"openServiceMesh": {"enabled": - true, "config": {}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, - "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": - "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", - "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": - false}, "identity": {"type": "SystemAssigned"}}' + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"openServiceMesh": + {"enabled": true, "config": {}}}, "enableRBAC": true, "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,41 +66,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1378' + - '1406' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv4hhelqul-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {}\n \ }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n @@ -115,15 +113,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2819' + - '2823' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:16 GMT + - Fri, 20 Aug 2021 07:16:51 GMT expires: - '-1' pragma: @@ -135,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -143,56 +141,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:06:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -200,17 +149,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" + string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" headers: cache-control: - no-cache @@ -219,7 +167,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:19 GMT + - Fri, 20 Aug 2021 07:17:21 GMT expires: - '-1' pragma: @@ -241,7 +189,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -249,17 +197,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" + string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" headers: cache-control: - no-cache @@ -268,7 +215,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:07:50 GMT + - Fri, 20 Aug 2021 07:17:51 GMT expires: - '-1' pragma: @@ -290,7 +237,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -298,17 +245,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" + string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" headers: cache-control: - no-cache @@ -317,7 +263,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:22 GMT + - Fri, 20 Aug 2021 07:18:22 GMT expires: - '-1' pragma: @@ -339,7 +285,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -347,17 +293,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" + string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" headers: cache-control: - no-cache @@ -366,7 +311,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:55 GMT + - Fri, 20 Aug 2021 07:18:51 GMT expires: - '-1' pragma: @@ -388,7 +333,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -396,17 +341,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" + string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" headers: cache-control: - no-cache @@ -415,7 +359,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:26 GMT + - Fri, 20 Aug 2021 07:19:21 GMT expires: - '-1' pragma: @@ -437,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -445,214 +389,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:09:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:10:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:11:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:11:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/404bb2a9-ea9e-4605-b848-34c5f7b4f180?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a9b24b40-9eea-0546-b848-34c5f7b4f180\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:06:16.15Z\",\n \"endTime\": - \"2021-06-23T08:11:45.4846401Z\"\n }" + string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\",\n \"endTime\": + \"2021-08-20T07:19:52.0364812Z\"\n }" headers: cache-control: - no-cache @@ -661,7 +408,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:04 GMT + - Fri, 20 Aug 2021 07:19:51 GMT expires: - '-1' pragma: @@ -683,7 +430,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -691,35 +438,34 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv4hhelqul-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {},\n \ \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/openservicemesh-cliakstest000002\",\n @@ -728,7 +474,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5484775f-45f7-4d38-8855-2cfa593b6516\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -743,11 +489,11 @@ interactions: cache-control: - no-cache content-length: - - '3852' + - '3856' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:05 GMT + - Fri, 20 Aug 2021 07:19:52 GMT expires: - '-1' pragma: @@ -779,35 +525,32 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv4hhelqul-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {},\n \ \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/openservicemesh-cliakstest000002\",\n @@ -816,7 +559,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5484775f-45f7-4d38-8855-2cfa593b6516\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -831,11 +574,11 @@ interactions: cache-control: - no-cache content-length: - - '3852' + - '3856' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:08 GMT + - Fri, 20 Aug 2021 07:19:53 GMT expires: - '-1' pragma: @@ -854,26 +597,25 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestv4hhelqul-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"openServiceMesh": {"enabled": - false}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": - true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitest3xwgo72tc-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"openServiceMesh": + {"enabled": false}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5484775f-45f7-4d38-8855-2cfa593b6516"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -884,48 +626,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2231' + - '2235' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv4hhelqul-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5484775f-45f7-4d38-8855-2cfa593b6516\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -938,15 +677,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3548f256-7354-49ef-8042-a563f8ae7e73?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3483' + - '3487' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:15 GMT + - Fri, 20 Aug 2021 07:19:55 GMT expires: - '-1' pragma: @@ -962,7 +701,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -970,7 +709,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -980,24 +719,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3548f256-7354-49ef-8042-a563f8ae7e73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dcfa5b81-e2fe-2d46-9ad3-936ff674c8a9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:12:14.24Z\"\n }" + string: "{\n \"name\": \"56f24835-5473-ef49-8042-a563f8ae7e73\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:19:55.3333333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:47 GMT + - Fri, 20 Aug 2021 07:20:25 GMT expires: - '-1' pragma: @@ -1019,7 +757,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1029,24 +767,24 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3548f256-7354-49ef-8042-a563f8ae7e73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dcfa5b81-e2fe-2d46-9ad3-936ff674c8a9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:12:14.24Z\"\n }" + string: "{\n \"name\": \"56f24835-5473-ef49-8042-a563f8ae7e73\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:19:55.3333333Z\",\n \"endTime\": + \"2021-08-20T07:20:55.0672528Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '170' content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:18 GMT + - Fri, 20 Aug 2021 07:20:56 GMT expires: - '-1' pragma: @@ -1068,302 +806,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks disable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"dcfa5b81-e2fe-2d46-9ad3-936ff674c8a9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:12:14.24Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:13:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks disable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"dcfa5b81-e2fe-2d46-9ad3-936ff674c8a9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:12:14.24Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:14:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks disable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"dcfa5b81-e2fe-2d46-9ad3-936ff674c8a9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:12:14.24Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:14:55 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks disable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"dcfa5b81-e2fe-2d46-9ad3-936ff674c8a9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:12:14.24Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:15:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks disable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"dcfa5b81-e2fe-2d46-9ad3-936ff674c8a9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:12:14.24Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:15:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks disable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/815bfadc-fee2-462d-9ad3-936ff674c8a9?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"dcfa5b81-e2fe-2d46-9ad3-936ff674c8a9\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:12:14.24Z\",\n \"endTime\": - \"2021-06-23T08:16:22.0594212Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '165' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:16:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1373,40 +816,39 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestv4hhelqul-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestv4hhelqul-8ecadf-e0c88b3e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5484775f-45f7-4d38-8855-2cfa593b6516\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1421,11 +863,11 @@ interactions: cache-control: - no-cache content-length: - - '3485' + - '3489' content-type: - application/json date: - - Wed, 23 Jun 2021 08:16:31 GMT + - Fri, 20 Aug 2021 07:20:56 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml index 69a61dc910f..d6585e93604 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:18:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:47:48Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:18:13 GMT + - Thu, 19 Aug 2021 09:47:50 GMT expires: - '-1' pragma: @@ -42,20 +42,20 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestvhvs4eez2-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": - "false"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesto6k6szklu-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": + {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": "false"}}}, "enableRBAC": + true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", + "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -66,62 +66,62 @@ interactions: Connection: - keep-alive Content-Length: - - '1410' + - '1444' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestvhvs4eez2-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n - \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n }\n }\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a8327a-6b10-4b1a-8ee3-361f68e6b153?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2842' + - '2874' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:17 GMT + - Thu, 19 Aug 2021 09:48:01 GMT expires: - '-1' pragma: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -149,25 +149,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a8327a-6b10-4b1a-8ee3-361f68e6b153?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7a32a802-106b-1a4b-8ee3-361f68e6b153\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:17.67Z\"\n }" + string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:47 GMT + - Thu, 19 Aug 2021 09:48:31 GMT expires: - '-1' pragma: @@ -197,25 +197,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a8327a-6b10-4b1a-8ee3-361f68e6b153?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7a32a802-106b-1a4b-8ee3-361f68e6b153\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:17.67Z\"\n }" + string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:18 GMT + - Thu, 19 Aug 2021 09:49:01 GMT expires: - '-1' pragma: @@ -245,25 +245,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a8327a-6b10-4b1a-8ee3-361f68e6b153?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7a32a802-106b-1a4b-8ee3-361f68e6b153\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:17.67Z\"\n }" + string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:19:47 GMT + - Thu, 19 Aug 2021 09:49:31 GMT expires: - '-1' pragma: @@ -293,25 +293,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a8327a-6b10-4b1a-8ee3-361f68e6b153?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7a32a802-106b-1a4b-8ee3-361f68e6b153\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:17.67Z\"\n }" + string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:18 GMT + - Thu, 19 Aug 2021 09:50:01 GMT expires: - '-1' pragma: @@ -341,25 +341,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a8327a-6b10-4b1a-8ee3-361f68e6b153?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7a32a802-106b-1a4b-8ee3-361f68e6b153\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:17.67Z\"\n }" + string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:48 GMT + - Thu, 19 Aug 2021 09:50:31 GMT expires: - '-1' pragma: @@ -389,25 +389,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a8327a-6b10-4b1a-8ee3-361f68e6b153?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7a32a802-106b-1a4b-8ee3-361f68e6b153\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:18:17.67Z\"\n }" + string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:18 GMT + - Thu, 19 Aug 2021 09:51:01 GMT expires: - '-1' pragma: @@ -437,26 +437,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a8327a-6b10-4b1a-8ee3-361f68e6b153?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7a32a802-106b-1a4b-8ee3-361f68e6b153\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:18:17.67Z\",\n \"endTime\": - \"2021-07-27T06:21:35.5604532Z\"\n }" + string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\",\n \"endTime\": + \"2021-08-19T09:51:15.1487729Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:48 GMT + - Thu, 19 Aug 2021 09:51:32 GMT expires: - '-1' pragma: @@ -486,43 +486,44 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -a -o + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestvhvs4eez2-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n - \ },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n },\n \"identity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/42217277-9767-411d-ac83-fe3ecf3ce0ce\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -537,11 +538,11 @@ interactions: cache-control: - no-cache content-length: - - '3878' + - '3910' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:48 GMT + - Thu, 19 Aug 2021 09:51:32 GMT expires: - '-1' pragma: @@ -573,41 +574,42 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestvhvs4eez2-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n - \ },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n },\n \"identity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/42217277-9767-411d-ac83-fe3ecf3ce0ce\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -622,11 +624,11 @@ interactions: cache-control: - no-cache content-length: - - '3878' + - '3910' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:49 GMT + - Thu, 19 Aug 2021 09:51:33 GMT expires: - '-1' pragma: @@ -645,26 +647,25 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliakstest-clitestvhvs4eez2-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": false}}, "nodeResourceGroup": - "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", - "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/42217277-9767-411d-ac83-fe3ecf3ce0ce"}]}}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitesto6k6szklu-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": + {"enabled": false}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", + "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -675,44 +676,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2206' + - '2238' Content-Type: - application/json ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestvhvs4eez2-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - false,\n \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": false,\n \"config\": + null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/42217277-9767-411d-ac83-fe3ecf3ce0ce\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -725,15 +727,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9f33291e-2442-444f-aeba-40b6d417f2c3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/112bbd97-8f88-4c9f-bc4b-2ea63de959fe?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3458' + - '3490' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:52 GMT + - Thu, 19 Aug 2021 09:51:37 GMT expires: - '-1' pragma: @@ -749,55 +751,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks disable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9f33291e-2442-444f-aeba-40b6d417f2c3?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"1e29339f-4224-4f44-aeba-40b6d417f2c3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:21:52.4533333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:22:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff + - '1199' status: code: 200 message: OK @@ -815,14 +769,14 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9f33291e-2442-444f-aeba-40b6d417f2c3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/112bbd97-8f88-4c9f-bc4b-2ea63de959fe?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e29339f-4224-4f44-aeba-40b6d417f2c3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:21:52.4533333Z\"\n }" + string: "{\n \"name\": \"97bd2b11-888f-9f4c-bc4b-2ea63de959fe\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:36.6833333Z\"\n }" headers: cache-control: - no-cache @@ -831,7 +785,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:52 GMT + - Thu, 19 Aug 2021 09:52:08 GMT expires: - '-1' pragma: @@ -863,15 +817,15 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9f33291e-2442-444f-aeba-40b6d417f2c3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/112bbd97-8f88-4c9f-bc4b-2ea63de959fe?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e29339f-4224-4f44-aeba-40b6d417f2c3\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:21:52.4533333Z\",\n \"endTime\": - \"2021-07-27T06:22:54.3095553Z\"\n }" + string: "{\n \"name\": \"97bd2b11-888f-9f4c-bc4b-2ea63de959fe\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:51:36.6833333Z\",\n \"endTime\": + \"2021-08-19T09:52:36.1351968Z\"\n }" headers: cache-control: - no-cache @@ -880,7 +834,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:23 GMT + - Thu, 19 Aug 2021 09:52:38 GMT expires: - '-1' pragma: @@ -912,38 +866,39 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestvhvs4eez2-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvhvs4eez2-79a739-32a02c1e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - false,\n \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": false,\n \"config\": + null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/42217277-9767-411d-ac83-fe3ecf3ce0ce\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -958,11 +913,11 @@ interactions: cache-control: - no-cache content-length: - - '3460' + - '3492' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:23 GMT + - Thu, 19 Aug 2021 09:52:38 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_azurekeyvaultsecretsprovider.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_azurekeyvaultsecretsprovider.yaml index 188c8ad400d..2050f43d036 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_azurekeyvaultsecretsprovider.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_azurekeyvaultsecretsprovider.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:10:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:10:08 GMT + - Fri, 20 Aug 2021 07:16:47 GMT expires: - '-1' pragma: @@ -42,18 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestjvfpkwgqk-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestmyinjkqwq-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -64,41 +65,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1328' + - '1356' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -112,15 +110,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a5797c-9870-4bfa-af53-e7584766332c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2720' + - '2724' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:22 GMT + - Fri, 20 Aug 2021 07:16:52 GMT expires: - '-1' pragma: @@ -132,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -140,7 +138,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -148,26 +146,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a5797c-9870-4bfa-af53-e7584766332c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c79a502-7098-fa4b-af53-e7584766332c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:10:21.3266666Z\"\n }" + string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:53 GMT + - Fri, 20 Aug 2021 07:17:22 GMT expires: - '-1' pragma: @@ -189,7 +186,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -197,26 +194,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a5797c-9870-4bfa-af53-e7584766332c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c79a502-7098-fa4b-af53-e7584766332c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:10:21.3266666Z\"\n }" + string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:25 GMT + - Fri, 20 Aug 2021 07:17:53 GMT expires: - '-1' pragma: @@ -238,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -246,26 +242,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a5797c-9870-4bfa-af53-e7584766332c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c79a502-7098-fa4b-af53-e7584766332c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:10:21.3266666Z\"\n }" + string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:56 GMT + - Fri, 20 Aug 2021 07:18:22 GMT expires: - '-1' pragma: @@ -287,7 +282,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -295,26 +290,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a5797c-9870-4bfa-af53-e7584766332c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c79a502-7098-fa4b-af53-e7584766332c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:10:21.3266666Z\"\n }" + string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:28 GMT + - Fri, 20 Aug 2021 07:18:53 GMT expires: - '-1' pragma: @@ -336,7 +330,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -344,26 +338,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a5797c-9870-4bfa-af53-e7584766332c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c79a502-7098-fa4b-af53-e7584766332c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:10:21.3266666Z\"\n }" + string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:59 GMT + - Fri, 20 Aug 2021 07:19:23 GMT expires: - '-1' pragma: @@ -385,7 +378,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -393,26 +386,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a5797c-9870-4bfa-af53-e7584766332c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c79a502-7098-fa4b-af53-e7584766332c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:10:21.3266666Z\"\n }" + string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:31 GMT + - Fri, 20 Aug 2021 07:19:53 GMT expires: - '-1' pragma: @@ -434,7 +426,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -442,27 +434,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02a5797c-9870-4bfa-af53-e7584766332c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c79a502-7098-fa4b-af53-e7584766332c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:10:21.3266666Z\",\n \"endTime\": - \"2021-06-23T08:14:00.2653926Z\"\n }" + string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:02 GMT + - Fri, 20 Aug 2021 07:20:23 GMT expires: - '-1' pragma: @@ -484,7 +474,56 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\",\n \"endTime\": + \"2021-08-20T07:20:35.4284675Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: - application/json + date: + - Fri, 20 Aug 2021 07:20:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -492,41 +531,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -541,11 +579,11 @@ interactions: cache-control: - no-cache content-length: - - '3383' + - '3387' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:04 GMT + - Fri, 20 Aug 2021 07:20:53 GMT expires: - '-1' pragma: @@ -577,41 +615,38 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -626,11 +661,11 @@ interactions: cache-control: - no-cache content-length: - - '3383' + - '3387' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:06 GMT + - Fri, 20 Aug 2021 07:20:54 GMT expires: - '-1' pragma: @@ -649,27 +684,26 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestjvfpkwgqk-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestmyinjkqwq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "false"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -680,41 +714,38 @@ interactions: Connection: - keep-alive Content-Length: - - '2288' + - '2292' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n }\n }\n },\n \"nodeResourceGroup\": @@ -722,7 +753,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -735,15 +766,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/60f19d1c-f4ea-46b1-96eb-49dac491e6d7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e79274c5-8222-4b14-8292-e7a9b7b7033e?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3537' + - '3541' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:16 GMT + - Fri, 20 Aug 2021 07:20:55 GMT expires: - '-1' pragma: @@ -759,7 +790,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -767,7 +798,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -777,24 +808,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/60f19d1c-f4ea-46b1-96eb-49dac491e6d7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e79274c5-8222-4b14-8292-e7a9b7b7033e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c9df160-eaf4-b146-96eb-49dac491e6d7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:14:13.33Z\"\n }" + string: "{\n \"name\": \"c57492e7-2282-144b-8292-e7a9b7b7033e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:56.6366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:48 GMT + - Fri, 20 Aug 2021 07:21:26 GMT expires: - '-1' pragma: @@ -816,7 +846,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -826,25 +856,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/60f19d1c-f4ea-46b1-96eb-49dac491e6d7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e79274c5-8222-4b14-8292-e7a9b7b7033e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c9df160-eaf4-b146-96eb-49dac491e6d7\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:14:13.33Z\",\n \"endTime\": - \"2021-06-23T08:15:11.5951741Z\"\n }" + string: "{\n \"name\": \"c57492e7-2282-144b-8292-e7a9b7b7033e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:56.6366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:19 GMT + - Fri, 20 Aug 2021 07:21:56 GMT expires: - '-1' pragma: @@ -866,7 +894,56 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks enable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e79274c5-8222-4b14-8292-e7a9b7b7033e?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c57492e7-2282-144b-8292-e7a9b7b7033e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:56.6366666Z\",\n \"endTime\": + \"2021-08-20T07:22:05.9480648Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: - application/json + date: + - Fri, 20 Aug 2021 07:22:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -876,33 +953,32 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n },\n \"identity\": @@ -912,7 +988,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -927,11 +1003,11 @@ interactions: cache-control: - no-cache content-length: - - '3922' + - '3926' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:22 GMT + - Fri, 20 Aug 2021 07:22:26 GMT expires: - '-1' pragma: @@ -963,35 +1039,32 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n },\n \"identity\": @@ -1001,7 +1074,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1016,11 +1089,11 @@ interactions: cache-control: - no-cache content-length: - - '3922' + - '3926' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:23 GMT + - Fri, 20 Aug 2021 07:22:28 GMT expires: - '-1' pragma: @@ -1039,26 +1112,25 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestjvfpkwgqk-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestmyinjkqwq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": false}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1069,48 +1141,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2244' + - '2248' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1123,15 +1192,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1db847a8-8f98-4c3c-8c1a-753c4d6b9fce?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3496' + - '3500' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:32 GMT + - Fri, 20 Aug 2021 07:22:29 GMT expires: - '-1' pragma: @@ -1147,7 +1216,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 200 message: OK @@ -1155,7 +1224,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1165,24 +1234,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1db847a8-8f98-4c3c-8c1a-753c4d6b9fce?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a847b81d-988f-3c4c-8c1a-753c4d6b9fce\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:15:30.01Z\"\n }" + string: "{\n \"name\": \"bb8d6525-9ee4-da4c-a96a-9ecc7866cab0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:29.7366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:16:03 GMT + - Fri, 20 Aug 2021 07:22:59 GMT expires: - '-1' pragma: @@ -1204,7 +1272,55 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks disable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"bb8d6525-9ee4-da4c-a96a-9ecc7866cab0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:29.7366666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: - application/json + date: + - Fri, 20 Aug 2021 07:23:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1214,25 +1330,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1db847a8-8f98-4c3c-8c1a-753c4d6b9fce?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a847b81d-988f-3c4c-8c1a-753c4d6b9fce\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:15:30.01Z\",\n \"endTime\": - \"2021-06-23T08:16:29.811177Z\"\n }" + string: "{\n \"name\": \"bb8d6525-9ee4-da4c-a96a-9ecc7866cab0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:29.7366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:16:35 GMT + - Fri, 20 Aug 2021 07:23:59 GMT expires: - '-1' pragma: @@ -1254,7 +1368,56 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks disable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"bb8d6525-9ee4-da4c-a96a-9ecc7866cab0\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:22:29.7366666Z\",\n \"endTime\": + \"2021-08-20T07:24:00.2481077Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: - application/json + date: + - Fri, 20 Aug 2021 07:24:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1264,40 +1427,39 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1312,11 +1474,11 @@ interactions: cache-control: - no-cache content-length: - - '3498' + - '3502' content-type: - application/json date: - - Wed, 23 Jun 2021 08:16:35 GMT + - Fri, 20 Aug 2021 07:24:29 GMT expires: - '-1' pragma: @@ -1348,42 +1510,39 @@ interactions: ParameterSetName: - --addons --enable-secret-rotation --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1398,11 +1557,11 @@ interactions: cache-control: - no-cache content-length: - - '3498' + - '3502' content-type: - application/json date: - - Wed, 23 Jun 2021 08:16:38 GMT + - Fri, 20 Aug 2021 07:24:30 GMT expires: - '-1' pragma: @@ -1421,27 +1580,26 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitestjvfpkwgqk-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestmyinjkqwq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "true"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1452,41 +1610,38 @@ interactions: Connection: - keep-alive Content-Length: - - '2287' + - '2291' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --addons --enable-secret-rotation --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"true\"\n }\n }\n },\n \"nodeResourceGroup\": @@ -1494,7 +1649,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1507,15 +1662,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/402eff42-c26f-4696-b628-87c539dc4d72?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ce48d991-ace7-4934-96f8-1e6daf07321f?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3536' + - '3540' content-type: - application/json date: - - Wed, 23 Jun 2021 08:16:44 GMT + - Fri, 20 Aug 2021 07:24:32 GMT expires: - '-1' pragma: @@ -1539,56 +1694,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks enable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --enable-secret-rotation --resource-group --name -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/402eff42-c26f-4696-b628-87c539dc4d72?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"42ff2e40-6fc2-9646-b628-87c539dc4d72\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:43.72Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:17:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1598,15 +1704,14 @@ interactions: ParameterSetName: - --addons --enable-secret-rotation --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/402eff42-c26f-4696-b628-87c539dc4d72?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ce48d991-ace7-4934-96f8-1e6daf07321f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"42ff2e40-6fc2-9646-b628-87c539dc4d72\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:43.72Z\"\n }" + string: "{\n \"name\": \"91d948ce-e7ac-3449-96f8-1e6daf07321f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:24:33.25Z\"\n }" headers: cache-control: - no-cache @@ -1615,7 +1720,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:17:48 GMT + - Fri, 20 Aug 2021 07:25:03 GMT expires: - '-1' pragma: @@ -1637,7 +1742,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1647,16 +1752,15 @@ interactions: ParameterSetName: - --addons --enable-secret-rotation --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/402eff42-c26f-4696-b628-87c539dc4d72?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ce48d991-ace7-4934-96f8-1e6daf07321f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"42ff2e40-6fc2-9646-b628-87c539dc4d72\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:16:43.72Z\",\n \"endTime\": - \"2021-06-23T08:17:50.0394067Z\"\n }" + string: "{\n \"name\": \"91d948ce-e7ac-3449-96f8-1e6daf07321f\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:24:33.25Z\",\n \"endTime\": + \"2021-08-20T07:25:33.0197214Z\"\n }" headers: cache-control: - no-cache @@ -1665,7 +1769,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:18:20 GMT + - Fri, 20 Aug 2021 07:25:32 GMT expires: - '-1' pragma: @@ -1687,7 +1791,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1697,33 +1801,32 @@ interactions: ParameterSetName: - --addons --enable-secret-rotation --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestjvfpkwgqk-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjvfpkwgqk-8ecadf-7606e181.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"true\"\n },\n \"identity\": {\n @@ -1733,7 +1836,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9b2d845f-523f-4c7b-b613-e179e3d0223c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1748,11 +1851,11 @@ interactions: cache-control: - no-cache content-length: - - '3921' + - '3925' content-type: - application/json date: - - Wed, 23 Jun 2021 08:18:21 GMT + - Fri, 20 Aug 2021 07:25:33 GMT expires: - '-1' pragma: @@ -1786,8 +1889,8 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -1795,17 +1898,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/385b9799-f105-4cf3-8138-40c50c2c54be?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5e2ed59-7432-4522-b89e-7ccf5375b274?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:18:25 GMT + - Fri, 20 Aug 2021 07:25:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/385b9799-f105-4cf3-8138-40c50c2c54be?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/d5e2ed59-7432-4522-b89e-7ccf5375b274?api-version=2016-03-30 pragma: - no-cache server: @@ -1815,7 +1918,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_openservicemesh.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_openservicemesh.yaml index 834f72e2c8a..ecd59c081f7 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_openservicemesh.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_openservicemesh.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:09:41Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:09:44 GMT + - Fri, 20 Aug 2021 07:16:47 GMT expires: - '-1' pragma: @@ -42,18 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitesthx7tlglww-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestpwf2tif6s-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -64,41 +65,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1328' + - '1356' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesthx7tlglww-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -112,15 +110,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43d0cd30-a8d6-4cb6-b259-38f4ae67ee6e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2720' + - '2724' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:53 GMT + - Fri, 20 Aug 2021 07:16:53 GMT expires: - '-1' pragma: @@ -132,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -140,7 +138,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -148,17 +146,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43d0cd30-a8d6-4cb6-b259-38f4ae67ee6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"30cdd043-d6a8-b64c-b259-38f4ae67ee6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:52.2466666Z\"\n }" + string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" headers: cache-control: - no-cache @@ -167,7 +164,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:24 GMT + - Fri, 20 Aug 2021 07:17:23 GMT expires: - '-1' pragma: @@ -189,7 +186,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -197,17 +194,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43d0cd30-a8d6-4cb6-b259-38f4ae67ee6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"30cdd043-d6a8-b64c-b259-38f4ae67ee6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:52.2466666Z\"\n }" + string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" headers: cache-control: - no-cache @@ -216,7 +212,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:55 GMT + - Fri, 20 Aug 2021 07:17:53 GMT expires: - '-1' pragma: @@ -238,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -246,17 +242,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43d0cd30-a8d6-4cb6-b259-38f4ae67ee6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"30cdd043-d6a8-b64c-b259-38f4ae67ee6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:52.2466666Z\"\n }" + string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +260,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:27 GMT + - Fri, 20 Aug 2021 07:18:23 GMT expires: - '-1' pragma: @@ -287,7 +282,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -295,17 +290,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43d0cd30-a8d6-4cb6-b259-38f4ae67ee6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"30cdd043-d6a8-b64c-b259-38f4ae67ee6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:52.2466666Z\"\n }" + string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" headers: cache-control: - no-cache @@ -314,7 +308,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:59 GMT + - Fri, 20 Aug 2021 07:18:53 GMT expires: - '-1' pragma: @@ -336,7 +330,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -344,17 +338,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43d0cd30-a8d6-4cb6-b259-38f4ae67ee6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"30cdd043-d6a8-b64c-b259-38f4ae67ee6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:52.2466666Z\"\n }" + string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" headers: cache-control: - no-cache @@ -363,7 +356,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:29 GMT + - Fri, 20 Aug 2021 07:19:23 GMT expires: - '-1' pragma: @@ -385,7 +378,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -393,17 +386,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43d0cd30-a8d6-4cb6-b259-38f4ae67ee6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"30cdd043-d6a8-b64c-b259-38f4ae67ee6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:09:52.2466666Z\"\n }" + string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" headers: cache-control: - no-cache @@ -412,7 +404,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:02 GMT + - Fri, 20 Aug 2021 07:19:54 GMT expires: - '-1' pragma: @@ -434,7 +426,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -442,18 +434,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43d0cd30-a8d6-4cb6-b259-38f4ae67ee6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"30cdd043-d6a8-b64c-b259-38f4ae67ee6e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:09:52.2466666Z\",\n \"endTime\": - \"2021-06-23T08:13:14.3178589Z\"\n }" + string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\",\n \"endTime\": + \"2021-08-20T07:19:56.1146324Z\"\n }" headers: cache-control: - no-cache @@ -462,7 +453,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:32 GMT + - Fri, 20 Aug 2021 07:20:23 GMT expires: - '-1' pragma: @@ -484,7 +475,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -492,41 +483,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesthx7tlglww-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e792ef8f-4543-4f01-b609-1b90d8227175\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -541,11 +531,11 @@ interactions: cache-control: - no-cache content-length: - - '3383' + - '3387' content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:35 GMT + - Fri, 20 Aug 2021 07:20:24 GMT expires: - '-1' pragma: @@ -577,41 +567,38 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesthx7tlglww-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e792ef8f-4543-4f01-b609-1b90d8227175\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -626,11 +613,11 @@ interactions: cache-control: - no-cache content-length: - - '3383' + - '3387' content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:37 GMT + - Fri, 20 Aug 2021 07:20:25 GMT expires: - '-1' pragma: @@ -649,26 +636,25 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitesthx7tlglww-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"openServiceMesh": {"enabled": - true, "config": {}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestpwf2tif6s-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"openServiceMesh": + {"enabled": true, "config": {}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e792ef8f-4543-4f01-b609-1b90d8227175"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -679,48 +665,45 @@ interactions: Connection: - keep-alive Content-Length: - - '2244' + - '2248' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesthx7tlglww-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {}\n \ }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e792ef8f-4543-4f01-b609-1b90d8227175\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -733,15 +716,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7f4e6a1a-9f34-4300-b5b7-d617677c67f4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ca27d47-665f-4104-a7ce-d6e2eecc8d29?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3480' + - '3484' content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:44 GMT + - Fri, 20 Aug 2021 07:20:27 GMT expires: - '-1' pragma: @@ -765,7 +748,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -775,73 +758,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7f4e6a1a-9f34-4300-b5b7-d617677c67f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ca27d47-665f-4104-a7ce-d6e2eecc8d29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1a6a4e7f-349f-0043-b5b7-d617677c67f4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:13:43.67Z\"\n }" + string: "{\n \"name\": \"477da21c-5f66-0441-a7ce-d6e2eecc8d29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:28.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:14:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks enable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7f4e6a1a-9f34-4300-b5b7-d617677c67f4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"1a6a4e7f-349f-0043-b5b7-d617677c67f4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:13:43.67Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:47 GMT + - Fri, 20 Aug 2021 07:20:57 GMT expires: - '-1' pragma: @@ -863,7 +796,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -873,25 +806,24 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7f4e6a1a-9f34-4300-b5b7-d617677c67f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ca27d47-665f-4104-a7ce-d6e2eecc8d29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1a6a4e7f-349f-0043-b5b7-d617677c67f4\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:13:43.67Z\",\n \"endTime\": - \"2021-06-23T08:14:49.0841745Z\"\n }" + string: "{\n \"name\": \"477da21c-5f66-0441-a7ce-d6e2eecc8d29\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:28.1033333Z\",\n \"endTime\": + \"2021-08-20T07:21:25.6327019Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:19 GMT + - Fri, 20 Aug 2021 07:21:28 GMT expires: - '-1' pragma: @@ -913,7 +845,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -923,33 +855,32 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesthx7tlglww-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthx7tlglww-8ecadf-291ac891.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {},\n \ \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/openservicemesh-cliakstest000002\",\n @@ -958,7 +889,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e792ef8f-4543-4f01-b609-1b90d8227175\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -973,11 +904,11 @@ interactions: cache-control: - no-cache content-length: - - '3852' + - '3856' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:20 GMT + - Fri, 20 Aug 2021 07:21:28 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml index aa72e41b76a..c5a9f4f1121 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:08:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:55:06Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:08:57 GMT + - Thu, 19 Aug 2021 09:55:06 GMT expires: - '-1' pragma: @@ -42,19 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestzjm2uhqyj-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestopm2v46ct-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,60 +65,60 @@ interactions: Connection: - keep-alive Content-Length: - - '1322' + - '1356' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestzjm2uhqyj-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2692' + - '2724' content-type: - application/json date: - - Tue, 27 Jul 2021 06:09:02 GMT + - Thu, 19 Aug 2021 09:55:15 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -146,64 +146,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a225b60d-9ad3-fc4f-9919-7bc327cb5194\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.53Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:09:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a225b60d-9ad3-fc4f-9919-7bc327cb5194\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.53Z\"\n }" + string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +164,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:10:03 GMT + - Thu, 19 Aug 2021 09:55:45 GMT expires: - '-1' pragma: @@ -242,16 +194,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a225b60d-9ad3-fc4f-9919-7bc327cb5194\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.53Z\"\n }" + string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +212,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:10:32 GMT + - Thu, 19 Aug 2021 09:56:15 GMT expires: - '-1' pragma: @@ -290,16 +242,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a225b60d-9ad3-fc4f-9919-7bc327cb5194\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.53Z\"\n }" + string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +260,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:11:03 GMT + - Thu, 19 Aug 2021 09:56:45 GMT expires: - '-1' pragma: @@ -338,16 +290,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a225b60d-9ad3-fc4f-9919-7bc327cb5194\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.53Z\"\n }" + string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +308,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:11:32 GMT + - Thu, 19 Aug 2021 09:57:16 GMT expires: - '-1' pragma: @@ -386,16 +338,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a225b60d-9ad3-fc4f-9919-7bc327cb5194\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.53Z\"\n }" + string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" headers: cache-control: - no-cache @@ -404,7 +356,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:02 GMT + - Thu, 19 Aug 2021 09:57:46 GMT expires: - '-1' pragma: @@ -434,16 +386,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a225b60d-9ad3-fc4f-9919-7bc327cb5194\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:02.53Z\"\n }" + string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" headers: cache-control: - no-cache @@ -452,7 +404,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:33 GMT + - Thu, 19 Aug 2021 09:58:15 GMT expires: - '-1' pragma: @@ -482,17 +434,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0db625a2-d39a-4ffc-9919-7bc327cb5194?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a225b60d-9ad3-fc4f-9919-7bc327cb5194\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:09:02.53Z\",\n \"endTime\": - \"2021-07-27T06:12:55.4358083Z\"\n }" + string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\",\n \"endTime\": + \"2021-08-19T09:58:22.0264272Z\"\n }" headers: cache-control: - no-cache @@ -501,7 +453,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:03 GMT + - Thu, 19 Aug 2021 09:58:45 GMT expires: - '-1' pragma: @@ -531,39 +483,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-managed-identity --generate-ssh-keys -o + - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestzjm2uhqyj-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6e294ea2-009b-4a3b-b31a-241b7e018fa2\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -578,11 +531,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:03 GMT + - Thu, 19 Aug 2021 09:58:46 GMT expires: - '-1' pragma: @@ -614,37 +567,38 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestzjm2uhqyj-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6e294ea2-009b-4a3b-b31a-241b7e018fa2\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -659,11 +613,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:05 GMT + - Thu, 19 Aug 2021 09:58:47 GMT expires: - '-1' pragma: @@ -682,26 +636,26 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliakstest-clitestzjm2uhqyj-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": - "false"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", - "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": - "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": - "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", - "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6e294ea2-009b-4a3b-b31a-241b7e018fa2"}]}}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestopm2v46ct-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": + {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": "false"}}}, "nodeResourceGroup": + "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -712,45 +666,46 @@ interactions: Connection: - keep-alive Content-Length: - - '2254' + - '2286' Content-Type: - application/json ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestzjm2uhqyj-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n - \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6e294ea2-009b-4a3b-b31a-241b7e018fa2\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n }\n }\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -763,15 +718,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8c42b39-5374-4ea1-99bb-0c33da1ae8ce?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5539a307-52a6-4fde-9617-137d1aad37c2?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3503' + - '3535' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:08 GMT + - Thu, 19 Aug 2021 09:58:52 GMT expires: - '-1' pragma: @@ -787,7 +742,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 200 message: OK @@ -805,23 +760,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8c42b39-5374-4ea1-99bb-0c33da1ae8ce?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5539a307-52a6-4fde-9617-137d1aad37c2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"392bc4b8-7453-a14e-99bb-0c33da1ae8ce\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:08.0566666Z\"\n }" + string: "{\n \"name\": \"07a33955-a652-de4f-9617-137d1aad37c2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.94Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:38 GMT + - Thu, 19 Aug 2021 09:59:21 GMT expires: - '-1' pragma: @@ -853,23 +808,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8c42b39-5374-4ea1-99bb-0c33da1ae8ce?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5539a307-52a6-4fde-9617-137d1aad37c2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"392bc4b8-7453-a14e-99bb-0c33da1ae8ce\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:13:08.0566666Z\"\n }" + string: "{\n \"name\": \"07a33955-a652-de4f-9617-137d1aad37c2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.94Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:09 GMT + - Thu, 19 Aug 2021 09:59:52 GMT expires: - '-1' pragma: @@ -901,24 +856,24 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8c42b39-5374-4ea1-99bb-0c33da1ae8ce?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5539a307-52a6-4fde-9617-137d1aad37c2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"392bc4b8-7453-a14e-99bb-0c33da1ae8ce\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:13:08.0566666Z\",\n \"endTime\": - \"2021-07-27T06:14:09.6422394Z\"\n }" + string: "{\n \"name\": \"07a33955-a652-de4f-9617-137d1aad37c2\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:58:50.94Z\",\n \"endTime\": + \"2021-08-19T09:59:58.4424489Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:38 GMT + - Thu, 19 Aug 2021 10:00:22 GMT expires: - '-1' pragma: @@ -950,41 +905,42 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestzjm2uhqyj-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzjm2uhqyj-79a739-0be2b24b.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": - true,\n \"config\": {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n - \ },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": + {\n \"ACCSGXQuoteHelperEnabled\": \"false\"\n },\n \"identity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/accsgxdeviceplugin-cliakstest000002\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6e294ea2-009b-4a3b-b31a-241b7e018fa2\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -999,11 +955,11 @@ interactions: cache-control: - no-cache content-length: - - '3878' + - '3910' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:38 GMT + - Thu, 19 Aug 2021 10:00:22 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml index 5789156d8ca..5f60f375b60 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:15:10Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:00:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:15:11 GMT + - Thu, 19 Aug 2021 10:00:25 GMT expires: - '-1' pragma: @@ -42,19 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitesteklhhit2f-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_D2s_v3", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "availabilityZones": ["1", "2", "3"], "enableNodePublicIP": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": true, "enableFIPS": - false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestv4tqnqty3-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_D2s_v3", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "availabilityZones": ["1", + "2", "3"], "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": + "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": + true, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,61 +65,61 @@ interactions: Connection: - keep-alive Content-Length: - - '1359' + - '1393' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesteklhhit2f-79a739\",\n - \ \"fqdn\": \"cliakstest-clitesteklhhit2f-79a739-83b20e63.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesteklhhit2f-79a739-83b20e63.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestv4tqnqty3-79a739\",\n \"fqdn\": + \"cliakstest-clitestv4tqnqty3-79a739-283a399f.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestv4tqnqty3-79a739-283a399f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"availabilityZones\": [\n \ \"1\",\n \"2\",\n \"3\"\n ],\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n - \ \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": false,\n + \ \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \ \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": true,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ae5b46c9-0b6f-495f-b7ea-eaf77a327407?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2759' + - '2791' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:16 GMT + - Thu, 19 Aug 2021 10:00:32 GMT expires: - '-1' pragma: @@ -131,7 +131,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1195' status: code: 201 message: Created @@ -147,25 +147,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ae5b46c9-0b6f-495f-b7ea-eaf77a327407?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c9465bae-6f0b-5f49-b7ea-eaf77a327407\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:15:16.89Z\"\n }" + string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:46 GMT + - Thu, 19 Aug 2021 10:01:03 GMT expires: - '-1' pragma: @@ -195,25 +195,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ae5b46c9-0b6f-495f-b7ea-eaf77a327407?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c9465bae-6f0b-5f49-b7ea-eaf77a327407\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:15:16.89Z\"\n }" + string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:17 GMT + - Thu, 19 Aug 2021 10:01:33 GMT expires: - '-1' pragma: @@ -243,25 +243,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ae5b46c9-0b6f-495f-b7ea-eaf77a327407?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c9465bae-6f0b-5f49-b7ea-eaf77a327407\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:15:16.89Z\"\n }" + string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:47 GMT + - Thu, 19 Aug 2021 10:02:03 GMT expires: - '-1' pragma: @@ -291,25 +291,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ae5b46c9-0b6f-495f-b7ea-eaf77a327407?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c9465bae-6f0b-5f49-b7ea-eaf77a327407\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:15:16.89Z\"\n }" + string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:17 GMT + - Thu, 19 Aug 2021 10:02:33 GMT expires: - '-1' pragma: @@ -339,25 +339,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ae5b46c9-0b6f-495f-b7ea-eaf77a327407?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c9465bae-6f0b-5f49-b7ea-eaf77a327407\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:15:16.89Z\"\n }" + string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:47 GMT + - Thu, 19 Aug 2021 10:03:03 GMT expires: - '-1' pragma: @@ -387,25 +387,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ae5b46c9-0b6f-495f-b7ea-eaf77a327407?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c9465bae-6f0b-5f49-b7ea-eaf77a327407\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:15:16.89Z\"\n }" + string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:17 GMT + - Thu, 19 Aug 2021 10:03:33 GMT expires: - '-1' pragma: @@ -435,26 +435,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ae5b46c9-0b6f-495f-b7ea-eaf77a327407?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c9465bae-6f0b-5f49-b7ea-eaf77a327407\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:15:16.89Z\",\n \"endTime\": - \"2021-07-27T06:18:46.5869176Z\"\n }" + string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\",\n \"endTime\": + \"2021-08-19T10:03:40.2885079Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:47 GMT + - Thu, 19 Aug 2021 10:04:04 GMT expires: - '-1' pragma: @@ -484,40 +484,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --node-vm-size --zones --enable-ultra-ssd + - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesteklhhit2f-79a739\",\n - \ \"fqdn\": \"cliakstest-clitesteklhhit2f-79a739-83b20e63.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesteklhhit2f-79a739-83b20e63.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestv4tqnqty3-79a739\",\n \"fqdn\": + \"cliakstest-clitestv4tqnqty3-79a739-283a399f.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestv4tqnqty3-79a739-283a399f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"availabilityZones\": [\n \ \"1\",\n \"2\",\n \"3\"\n ],\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n - \ \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": false,\n + \ \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \ \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": true,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ab17a1d3-b41c-4845-8bbf-4accb280b02d\"\n + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/43ff8b74-c7af-41b4-9bc1-1ccd7f4772eb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -532,11 +533,11 @@ interactions: cache-control: - no-cache content-length: - - '3422' + - '3454' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:47 GMT + - Thu, 19 Aug 2021 10:04:04 GMT expires: - '-1' pragma: @@ -570,8 +571,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -579,17 +580,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29448412-2001-4045-8fc0-18c3fc811aa7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a73b2284-03c8-49df-8a6e-366e1b265f95?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:18:49 GMT + - Thu, 19 Aug 2021 10:04:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/29448412-2001-4045-8fc0-18c3fc811aa7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/a73b2284-03c8-49df-8a6e-366e1b265f95?api-version=2016-03-30 pragma: - no-cache server: @@ -599,7 +600,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14997' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_maintenanceconfiguration.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_maintenanceconfiguration.yaml index dd192166fde..480b26e8732 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_maintenanceconfiguration.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_maintenanceconfiguration.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:37:27Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:53:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:37:29 GMT + - Thu, 19 Aug 2021 09:53:22 GMT expires: - '-1' pragma: @@ -42,19 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitest656k5npyr-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvhadjz5u6-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,60 +65,60 @@ interactions: Connection: - keep-alive Content-Length: - - '1322' + - '1356' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest656k5npyr-79a739\",\n - \ \"fqdn\": \"cliakstest-clitest656k5npyr-79a739-c90529ac.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest656k5npyr-79a739-c90529ac.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvhadjz5u6-79a739\",\n \"fqdn\": + \"cliakstest-clitestvhadjz5u6-79a739-0f5316fb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvhadjz5u6-79a739-0f5316fb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0dd29fc6-82f1-4441-8b46-936082c2a30a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2692' + - '2724' content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:36 GMT + - Thu, 19 Aug 2021 09:53:30 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -146,16 +146,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0dd29fc6-82f1-4441-8b46-936082c2a30a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c69fd20d-f182-4144-8b46-936082c2a30a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:37:36.77Z\"\n }" + string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:38:06 GMT + - Thu, 19 Aug 2021 09:54:01 GMT expires: - '-1' pragma: @@ -194,16 +194,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0dd29fc6-82f1-4441-8b46-936082c2a30a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c69fd20d-f182-4144-8b46-936082c2a30a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:37:36.77Z\"\n }" + string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:38:36 GMT + - Thu, 19 Aug 2021 09:54:31 GMT expires: - '-1' pragma: @@ -242,16 +242,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0dd29fc6-82f1-4441-8b46-936082c2a30a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c69fd20d-f182-4144-8b46-936082c2a30a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:37:36.77Z\"\n }" + string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:07 GMT + - Thu, 19 Aug 2021 09:55:01 GMT expires: - '-1' pragma: @@ -290,16 +290,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0dd29fc6-82f1-4441-8b46-936082c2a30a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c69fd20d-f182-4144-8b46-936082c2a30a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:37:36.77Z\"\n }" + string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:37 GMT + - Thu, 19 Aug 2021 09:55:31 GMT expires: - '-1' pragma: @@ -338,16 +338,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0dd29fc6-82f1-4441-8b46-936082c2a30a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c69fd20d-f182-4144-8b46-936082c2a30a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:37:36.77Z\"\n }" + string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +356,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:07 GMT + - Thu, 19 Aug 2021 09:56:01 GMT expires: - '-1' pragma: @@ -386,16 +386,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0dd29fc6-82f1-4441-8b46-936082c2a30a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c69fd20d-f182-4144-8b46-936082c2a30a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:37:36.77Z\"\n }" + string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" headers: cache-control: - no-cache @@ -404,7 +404,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:37 GMT + - Thu, 19 Aug 2021 09:56:31 GMT expires: - '-1' pragma: @@ -434,26 +434,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0dd29fc6-82f1-4441-8b46-936082c2a30a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c69fd20d-f182-4144-8b46-936082c2a30a\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:37:36.77Z\",\n \"endTime\": - \"2021-07-27T06:40:55.028715Z\"\n }" + string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:07 GMT + - Thu, 19 Aug 2021 09:57:01 GMT expires: - '-1' pragma: @@ -483,39 +482,89 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\",\n \"endTime\": + \"2021-08-19T09:57:14.7703428Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Thu, 19 Aug 2021 09:57:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest656k5npyr-79a739\",\n - \ \"fqdn\": \"cliakstest-clitest656k5npyr-79a739-c90529ac.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest656k5npyr-79a739-c90529ac.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvhadjz5u6-79a739\",\n \"fqdn\": + \"cliakstest-clitestvhadjz5u6-79a739-0f5316fb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestvhadjz5u6-79a739-0f5316fb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/dcb7cbf7-1b96-4764-9848-dc4206397b53\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/67beb5bf-d3b9-4705-9903-c21aee7f0758\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -530,11 +579,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:07 GMT + - Thu, 19 Aug 2021 09:57:32 GMT expires: - '-1' pragma: @@ -566,10 +615,10 @@ interactions: ParameterSetName: - -g --cluster-name -n --weekday --start-hour User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-07-01 response: body: string: "{\n \"value\": []\n }" @@ -581,7 +630,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:09 GMT + - Thu, 19 Aug 2021 09:57:33 GMT expires: - '-1' pragma: @@ -618,10 +667,10 @@ interactions: ParameterSetName: - -g --cluster-name -n --weekday --start-hour User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default\",\n @@ -636,7 +685,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:10 GMT + - Thu, 19 Aug 2021 09:57:33 GMT expires: - '-1' pragma: @@ -670,10 +719,10 @@ interactions: ParameterSetName: - -g --cluster-name -n --config-file User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default\",\n @@ -688,7 +737,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:10 GMT + - Thu, 19 Aug 2021 09:57:34 GMT expires: - '-1' pragma: @@ -727,10 +776,10 @@ interactions: ParameterSetName: - -g --cluster-name -n --config-file User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default\",\n @@ -749,7 +798,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:12 GMT + - Thu, 19 Aug 2021 09:57:34 GMT expires: - '-1' pragma: @@ -765,7 +814,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' status: code: 200 message: OK @@ -783,10 +832,10 @@ interactions: ParameterSetName: - -g --cluster-name -n User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default\",\n @@ -805,7 +854,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:12 GMT + - Thu, 19 Aug 2021 09:57:34 GMT expires: - '-1' pragma: @@ -839,10 +888,10 @@ interactions: ParameterSetName: - -g --cluster-name -n User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-07-01 response: body: string: '' @@ -852,7 +901,7 @@ interactions: content-length: - '0' date: - - Tue, 27 Jul 2021 06:41:13 GMT + - Thu, 19 Aug 2021 09:57:35 GMT expires: - '-1' pragma: @@ -864,7 +913,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14998' status: code: 200 message: OK @@ -882,10 +931,10 @@ interactions: ParameterSetName: - -g --cluster-name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-07-01 response: body: string: "{\n \"value\": []\n }" @@ -897,7 +946,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:13 GMT + - Thu, 19 Aug 2021 09:57:36 GMT expires: - '-1' pragma: @@ -931,8 +980,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -940,17 +989,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/429a6d9e-c5a4-40ca-9f30-d446b92b4412?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/255a4350-2d1e-493d-b457-94fa194a2612?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:41:17 GMT + - Thu, 19 Aug 2021 09:57:37 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/429a6d9e-c5a4-40ca-9f30-d446b92b4412?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/255a4350-2d1e-493d-b457-94fa194a2612?api-version=2016-03-30 pragma: - no-cache server: @@ -960,7 +1009,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku.yaml index d444fa5d9bb..ade781954f3 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:06:41Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:42:20Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:06:43 GMT + - Fri, 20 Aug 2021 06:42:20 GMT expires: - '-1' pragma: @@ -42,18 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitestrmvhy2c43-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestgcsscdx5c-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "c000003"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}}' + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -64,41 +65,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1325' + - '1353' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrmvhy2c43-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestrmvhy2c43-8ecadf-45207057.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrmvhy2c43-8ecadf-45207057.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgcsscdx5c-79a739\",\n \"fqdn\": + \"cliakstest-clitestgcsscdx5c-79a739-97828b18.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgcsscdx5c-79a739-97828b18.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": @@ -112,15 +110,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2717' + - '2721' content-type: - application/json date: - - Wed, 23 Jun 2021 08:06:53 GMT + - Fri, 20 Aug 2021 06:42:25 GMT expires: - '-1' pragma: @@ -132,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 201 message: Created @@ -140,105 +138,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:07:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:07:55 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -246,26 +146,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:28 GMT + - Fri, 20 Aug 2021 06:42:55 GMT expires: - '-1' pragma: @@ -287,7 +186,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -295,26 +194,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:08:59 GMT + - Fri, 20 Aug 2021 06:43:26 GMT expires: - '-1' pragma: @@ -336,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -344,26 +242,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:09:30 GMT + - Fri, 20 Aug 2021 06:43:56 GMT expires: - '-1' pragma: @@ -385,7 +282,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -393,26 +290,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:02 GMT + - Fri, 20 Aug 2021 06:44:25 GMT expires: - '-1' pragma: @@ -434,7 +330,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -442,26 +338,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\",\n \"endTime\": + \"2021-08-20T06:44:42.0108251Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '165' content-type: - application/json date: - - Wed, 23 Jun 2021 08:10:33 GMT + - Fri, 20 Aug 2021 06:44:56 GMT expires: - '-1' pragma: @@ -483,7 +379,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -491,26 +387,59 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgcsscdx5c-79a739\",\n \"fqdn\": + \"cliakstest-clitestgcsscdx5c-79a739-97828b18.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgcsscdx5c-79a739-97828b18.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": + 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": + false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/701f4df7-2abc-4407-94ce-f3db406762d9\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '126' + - '3384' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:04 GMT + - Fri, 20 Aug 2021 06:44:57 GMT expires: - '-1' pragma: @@ -536,30 +465,38 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools?api-version=2021-07-01 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003\",\n + \ \"name\": \"c000003\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n + \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n + \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": + \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": + false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: - no-cache content-length: - - '126' + - '951' content-type: - application/json date: - - Wed, 23 Jun 2021 08:11:35 GMT + - Fri, 20 Aug 2021 06:44:57 GMT expires: - '-1' pragma: @@ -578,86 +515,55 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "osSKU": "CBLMariner", "mode": "User", "upgradeSettings": {}, "enableNodePublicIP": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:12:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: + Content-Length: + - '353' + Content-Type: - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004?api-version=2021-07-01 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\",\n + \ \"name\": \"c000004\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n + \ \"properties\": {\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n + \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": + \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": + \"CBLMariner\",\n \"nodeImageVersion\": \"AKSCBLMariner-V1-2021.07.31\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 cache-control: - no-cache content-length: - - '126' + - '896' content-type: - application/json date: - - Wed, 23 Jun 2021 08:12:38 GMT + - Fri, 20 Aug 2021 06:44:59 GMT expires: - '-1' pragma: @@ -666,38 +572,35 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" headers: cache-control: - no-cache @@ -706,7 +609,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:10 GMT + - Fri, 20 Aug 2021 06:45:30 GMT expires: - '-1' pragma: @@ -728,25 +631,24 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" headers: cache-control: - no-cache @@ -755,7 +657,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:13:41 GMT + - Fri, 20 Aug 2021 06:46:00 GMT expires: - '-1' pragma: @@ -777,25 +679,24 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" headers: cache-control: - no-cache @@ -804,7 +705,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:13 GMT + - Fri, 20 Aug 2021 06:46:30 GMT expires: - '-1' pragma: @@ -826,25 +727,24 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" headers: cache-control: - no-cache @@ -853,7 +753,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:14:45 GMT + - Fri, 20 Aug 2021 06:47:00 GMT expires: - '-1' pragma: @@ -875,25 +775,24 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" headers: cache-control: - no-cache @@ -902,7 +801,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:17 GMT + - Fri, 20 Aug 2021 06:47:30 GMT expires: - '-1' pragma: @@ -924,34 +823,34 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name -c + - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" + string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\",\n \"endTime\": + \"2021-08-20T06:47:56.1178258Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '170' content-type: - application/json date: - - Wed, 23 Jun 2021 08:15:48 GMT + - Fri, 20 Aug 2021 06:48:01 GMT expires: - '-1' pragma: @@ -973,1102 +872,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:16:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:16:51 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:17:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:17:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:18:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b56102b5-46cf-4223-8682-32f324a12c7e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"b50261b5-cf46-2342-8682-32f324a12c7e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:06:53.2033333Z\",\n \"endTime\": - \"2021-06-23T08:18:38.0107968Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:18:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name -c - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrmvhy2c43-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitestrmvhy2c43-8ecadf-45207057.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrmvhy2c43-8ecadf-45207057.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n - \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/812e1ae8-9ec0-47ad-8195-c33f1c38a18f\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n - \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '3380' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:19:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools?api-version=2021-05-01 - response: - body: - string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003\",\n - \ \"name\": \"c000003\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n - \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n - \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": - \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": - false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n - \ \"enableFIPS\": false\n }\n }\n ]\n }" - headers: - cache-control: - - no-cache - content-length: - - '952' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:19:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", - "osSKU": "CBLMariner", "type": "VirtualMachineScaleSets", "mode": "User", "upgradeSettings": - {}, "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": - false, "enableFIPS": false}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - Content-Length: - - '366' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004?api-version=2021-05-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\",\n - \ \"name\": \"c000004\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n - \ \"properties\": {\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n - \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": - \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"CBLMariner\",\n \"nodeImageVersion\": - \"AKSCBLMariner-V1-2021.06.02\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - cache-control: - - no-cache - content-length: - - '867' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:19:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:19:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:20:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:20:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:21:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:21:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:22:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:22:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:23:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:23:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:24:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:24:51 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-sku - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/805224ee-4b29-49df-9452-77dd377ece4c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ee245280-294b-df49-9452-77dd377ece4c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:19:07.2966666Z\",\n \"endTime\": - \"2021-06-23T08:25:07.9737822Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:25:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2078,11 +882,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-sku User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\",\n @@ -2090,21 +893,21 @@ interactions: \ \"properties\": {\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Linux\",\n \"osSKU\": \"CBLMariner\",\n \"nodeImageVersion\": - \"AKSCBLMariner-V1-2021.06.02\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": + \"CBLMariner\",\n \"nodeImageVersion\": \"AKSCBLMariner-V1-2021.07.31\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" headers: cache-control: - no-cache content-length: - - '868' + - '897' content-type: - application/json date: - - Wed, 23 Jun 2021 08:25:25 GMT + - Fri, 20 Aug 2021 06:48:01 GMT expires: - '-1' pragma: @@ -2138,8 +941,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -2147,17 +950,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9b503d2e-9a88-458c-bd28-cf57bec115e5?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4008c2f8-6764-49b0-a8e5-e9e251f7cfef?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:25:29 GMT + - Fri, 20 Aug 2021 06:48:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/9b503d2e-9a88-458c-bd28-cf57bec115e5?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/4008c2f8-6764-49b0-a8e5-e9e251f7cfef?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml index ed66f9affd7..55cb7d02a2e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:13:56Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:58:26Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:13:57 GMT + - Thu, 19 Aug 2021 09:58:27 GMT expires: - '-1' pragma: @@ -42,18 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitest3tq3gih6i-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "c000003"}], "linuxProfile": - {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesthj3vgsymk-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "c000003"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -64,60 +65,60 @@ interactions: Connection: - keep-alive Content-Length: - - '1319' + - '1353' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest3tq3gih6i-79a739\",\n - \ \"fqdn\": \"cliakstest-clitest3tq3gih6i-79a739-12150dc0.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest3tq3gih6i-79a739-12150dc0.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesthj3vgsymk-79a739\",\n \"fqdn\": + \"cliakstest-clitesthj3vgsymk-79a739-9e9813a1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesthj3vgsymk-79a739-9e9813a1.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2689' + - '2721' content-type: - application/json date: - - Tue, 27 Jul 2021 06:14:06 GMT + - Thu, 19 Aug 2021 09:58:35 GMT expires: - '-1' pragma: @@ -145,73 +146,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a0897ffc-dcf4-da4d-861a-8a3171794449\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:06.2266666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:14:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a0897ffc-dcf4-da4d-861a-8a3171794449\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:06.2266666Z\"\n }" + string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:06 GMT + - Thu, 19 Aug 2021 09:59:05 GMT expires: - '-1' pragma: @@ -241,25 +194,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a0897ffc-dcf4-da4d-861a-8a3171794449\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:06.2266666Z\"\n }" + string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Tue, 27 Jul 2021 06:15:36 GMT + - Thu, 19 Aug 2021 09:59:35 GMT expires: - '-1' pragma: @@ -289,25 +242,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a0897ffc-dcf4-da4d-861a-8a3171794449\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:06.2266666Z\"\n }" + string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:06 GMT + - Thu, 19 Aug 2021 10:00:05 GMT expires: - '-1' pragma: @@ -337,25 +290,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a0897ffc-dcf4-da4d-861a-8a3171794449\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:06.2266666Z\"\n }" + string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Tue, 27 Jul 2021 06:16:36 GMT + - Thu, 19 Aug 2021 10:00:35 GMT expires: - '-1' pragma: @@ -385,25 +338,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a0897ffc-dcf4-da4d-861a-8a3171794449\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:06.2266666Z\"\n }" + string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:07 GMT + - Thu, 19 Aug 2021 10:01:05 GMT expires: - '-1' pragma: @@ -433,25 +386,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a0897ffc-dcf4-da4d-861a-8a3171794449\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:14:06.2266666Z\"\n }" + string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Tue, 27 Jul 2021 06:17:36 GMT + - Thu, 19 Aug 2021 10:01:36 GMT expires: - '-1' pragma: @@ -481,26 +434,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc7f89a0-f4dc-4dda-861a-8a3171794449?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a0897ffc-dcf4-da4d-861a-8a3171794449\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:14:06.2266666Z\",\n \"endTime\": - \"2021-07-27T06:17:55.6725633Z\"\n }" + string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:58:35Z\",\n \"endTime\": + \"2021-08-19T10:01:47.0919594Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '162' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:07 GMT + - Thu, 19 Aug 2021 10:02:06 GMT expires: - '-1' pragma: @@ -530,39 +483,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys --nodepool-name -c + - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitest3tq3gih6i-79a739\",\n - \ \"fqdn\": \"cliakstest-clitest3tq3gih6i-79a739-12150dc0.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest3tq3gih6i-79a739-12150dc0.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesthj3vgsymk-79a739\",\n \"fqdn\": + \"cliakstest-clitesthj3vgsymk-79a739-9e9813a1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesthj3vgsymk-79a739-9e9813a1.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d39815c-1152-42ee-9224-e0e461a9e067\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bb6cb30f-b012-4dde-9539-7c10741d720b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -577,11 +531,11 @@ interactions: cache-control: - no-cache content-length: - - '3352' + - '3384' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:07 GMT + - Thu, 19 Aug 2021 10:02:06 GMT expires: - '-1' pragma: @@ -613,26 +567,26 @@ interactions: ParameterSetName: - --resource-group --cluster-name --nodepool-name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeProfiles/default?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeProfiles/default?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeProfiles/default\",\n \ \"name\": \"default\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles\",\n - \ \"properties\": {\n \"kubernetesVersion\": \"1.19.11\",\n \"osType\": - \"Linux\",\n \"latestNodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\"\n + \ \"properties\": {\n \"kubernetesVersion\": \"1.20.7\",\n \"osType\": + \"Linux\",\n \"latestNodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\"\n \ }\n }" headers: cache-control: - no-cache content-length: - - '466' + - '465' content-type: - application/json date: - - Tue, 27 Jul 2021 06:18:08 GMT + - Thu, 19 Aug 2021 10:02:07 GMT expires: - '-1' pragma: @@ -666,8 +620,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -675,17 +629,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8970db26-d865-4f3a-9ae1-1488aac56adf?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/192acd34-4c20-4f3a-bcc6-e248dbf4d2e7?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:18:09 GMT + - Thu, 19 Aug 2021 10:02:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/8970db26-d865-4f3a-9ae1-1488aac56adf?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/192acd34-4c20-4f3a-bcc6-e248dbf4d2e7?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_stop_and_start.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_stop_and_start.yaml index 9e9999adb5f..84a4d7b61fc 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_stop_and_start.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_stop_and_start.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:25:08Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:23:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:25:09 GMT + - Thu, 19 Aug 2021 10:23:03 GMT expires: - '-1' pragma: @@ -42,19 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestrqr5fpf62-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitests2pcovaqc-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,60 +65,60 @@ interactions: Connection: - keep-alive Content-Length: - - '1322' + - '1356' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrqr5fpf62-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestrqr5fpf62-79a739-8ffe472a.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrqr5fpf62-79a739-8ffe472a.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitests2pcovaqc-79a739\",\n \"fqdn\": + \"cliakstest-clitests2pcovaqc-79a739-88ad1b03.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitests2pcovaqc-79a739-88ad1b03.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55b58693-5708-43cd-8ae0-b0749a61592d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2692' + - '2724' content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:17 GMT + - Thu, 19 Aug 2021 10:23:12 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1194' status: code: 201 message: Created @@ -146,16 +146,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55b58693-5708-43cd-8ae0-b0749a61592d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9386b555-0857-cd43-8ae0-b0749a61592d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:25:17.7833333Z\"\n }" + string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:47 GMT + - Thu, 19 Aug 2021 10:23:42 GMT expires: - '-1' pragma: @@ -194,16 +194,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55b58693-5708-43cd-8ae0-b0749a61592d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9386b555-0857-cd43-8ae0-b0749a61592d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:25:17.7833333Z\"\n }" + string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:17 GMT + - Thu, 19 Aug 2021 10:24:12 GMT expires: - '-1' pragma: @@ -242,16 +242,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55b58693-5708-43cd-8ae0-b0749a61592d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9386b555-0857-cd43-8ae0-b0749a61592d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:25:17.7833333Z\"\n }" + string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:48 GMT + - Thu, 19 Aug 2021 10:24:42 GMT expires: - '-1' pragma: @@ -290,16 +290,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55b58693-5708-43cd-8ae0-b0749a61592d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9386b555-0857-cd43-8ae0-b0749a61592d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:25:17.7833333Z\"\n }" + string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:17 GMT + - Thu, 19 Aug 2021 10:25:12 GMT expires: - '-1' pragma: @@ -338,16 +338,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55b58693-5708-43cd-8ae0-b0749a61592d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9386b555-0857-cd43-8ae0-b0749a61592d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:25:17.7833333Z\"\n }" + string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +356,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:48 GMT + - Thu, 19 Aug 2021 10:25:42 GMT expires: - '-1' pragma: @@ -386,16 +386,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55b58693-5708-43cd-8ae0-b0749a61592d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9386b555-0857-cd43-8ae0-b0749a61592d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:25:17.7833333Z\"\n }" + string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" headers: cache-control: - no-cache @@ -404,7 +404,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:18 GMT + - Thu, 19 Aug 2021 10:26:12 GMT expires: - '-1' pragma: @@ -434,17 +434,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/55b58693-5708-43cd-8ae0-b0749a61592d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9386b555-0857-cd43-8ae0-b0749a61592d\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:25:17.7833333Z\",\n \"endTime\": - \"2021-07-27T06:28:41.3489712Z\"\n }" + string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\",\n \"endTime\": + \"2021-08-19T10:26:31.3598678Z\"\n }" headers: cache-control: - no-cache @@ -453,7 +453,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:48 GMT + - Thu, 19 Aug 2021 10:26:43 GMT expires: - '-1' pragma: @@ -483,39 +483,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestrqr5fpf62-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestrqr5fpf62-79a739-8ffe472a.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestrqr5fpf62-79a739-8ffe472a.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitests2pcovaqc-79a739\",\n \"fqdn\": + \"cliakstest-clitests2pcovaqc-79a739-88ad1b03.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitests2pcovaqc-79a739-88ad1b03.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a4e08c6f-2312-4dd0-a94f-992b1419b535\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/c9616912-f6ec-4128-aee4-9cebe3b30524\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -530,11 +531,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:49 GMT + - Thu, 19 Aug 2021 10:26:43 GMT expires: - '-1' pragma: @@ -568,26 +569,26 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/stop?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/stop?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:28:49 GMT + - Thu, 19 Aug 2021 10:26:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 pragma: - no-cache server: @@ -615,23 +616,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4302f7e4-99a6-f342-be6f-5cf96bdfec6a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:50.27Z\"\n }" + string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:19 GMT + - Thu, 19 Aug 2021 10:27:14 GMT expires: - '-1' pragma: @@ -663,23 +664,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4302f7e4-99a6-f342-be6f-5cf96bdfec6a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:50.27Z\"\n }" + string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:49 GMT + - Thu, 19 Aug 2021 10:27:44 GMT expires: - '-1' pragma: @@ -711,23 +712,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4302f7e4-99a6-f342-be6f-5cf96bdfec6a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:50.27Z\"\n }" + string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:20 GMT + - Thu, 19 Aug 2021 10:28:14 GMT expires: - '-1' pragma: @@ -759,23 +760,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4302f7e4-99a6-f342-be6f-5cf96bdfec6a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:50.27Z\"\n }" + string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:49 GMT + - Thu, 19 Aug 2021 10:28:45 GMT expires: - '-1' pragma: @@ -807,23 +808,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4302f7e4-99a6-f342-be6f-5cf96bdfec6a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:50.27Z\"\n }" + string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:20 GMT + - Thu, 19 Aug 2021 10:29:15 GMT expires: - '-1' pragma: @@ -855,23 +856,24 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4302f7e4-99a6-f342-be6f-5cf96bdfec6a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:50.27Z\"\n }" + string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\",\n \"endTime\": + \"2021-08-19T10:29:45.2005553Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '164' content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:50 GMT + - Thu, 19 Aug 2021 10:29:44 GMT expires: - '-1' pragma: @@ -903,73 +905,71 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4302f7e4-99a6-f342-be6f-5cf96bdfec6a\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:28:50.27Z\",\n \"endTime\": - \"2021-07-27T06:31:53.8706696Z\"\n }" + string: '' headers: cache-control: - no-cache - content-length: - - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:20 GMT + - Thu, 19 Aug 2021 10:29:45 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 pragma: - no-cache server: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 204 + message: No Content - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - aks stop + - aks start Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/start?api-version=2021-07-01 response: body: string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 cache-control: - no-cache - content-type: - - application/json + content-length: + - '0' date: - - Tue, 27 Jul 2021 06:32:20 GMT + - Thu, 19 Aug 2021 10:29:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e4f70243-a699-42f3-be6f-5cf96bdfec6a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 pragma: - no-cache server: @@ -978,58 +978,59 @@ interactions: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 204 - message: No Content + code: 202 + message: Accepted - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - aks start Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/start?api-version=2021-05-01 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: - string: '' + string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 cache-control: - no-cache content-length: - - '0' + - '126' + content-type: + - application/json date: - - Tue, 27 Jul 2021 06:32:21 GMT + - Thu, 19 Aug 2021 10:30:17 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 pragma: - no-cache server: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1044,14 +1045,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86120bb5-cd4b-2f44-bf90-84e8a265e5fa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:32:22.3666666Z\"\n }" + string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" headers: cache-control: - no-cache @@ -1060,7 +1061,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:52 GMT + - Thu, 19 Aug 2021 10:30:46 GMT expires: - '-1' pragma: @@ -1092,14 +1093,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86120bb5-cd4b-2f44-bf90-84e8a265e5fa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:32:22.3666666Z\"\n }" + string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" headers: cache-control: - no-cache @@ -1108,7 +1109,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:22 GMT + - Thu, 19 Aug 2021 10:31:16 GMT expires: - '-1' pragma: @@ -1140,14 +1141,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86120bb5-cd4b-2f44-bf90-84e8a265e5fa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:32:22.3666666Z\"\n }" + string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" headers: cache-control: - no-cache @@ -1156,7 +1157,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:52 GMT + - Thu, 19 Aug 2021 10:31:47 GMT expires: - '-1' pragma: @@ -1188,14 +1189,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86120bb5-cd4b-2f44-bf90-84e8a265e5fa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:32:22.3666666Z\"\n }" + string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" headers: cache-control: - no-cache @@ -1204,7 +1205,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:22 GMT + - Thu, 19 Aug 2021 10:32:17 GMT expires: - '-1' pragma: @@ -1236,14 +1237,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86120bb5-cd4b-2f44-bf90-84e8a265e5fa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:32:22.3666666Z\"\n }" + string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" headers: cache-control: - no-cache @@ -1252,7 +1253,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:52 GMT + - Thu, 19 Aug 2021 10:32:47 GMT expires: - '-1' pragma: @@ -1284,14 +1285,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86120bb5-cd4b-2f44-bf90-84e8a265e5fa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:32:22.3666666Z\"\n }" + string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" headers: cache-control: - no-cache @@ -1300,7 +1301,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:23 GMT + - Thu, 19 Aug 2021 10:33:17 GMT expires: - '-1' pragma: @@ -1332,15 +1333,15 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86120bb5-cd4b-2f44-bf90-84e8a265e5fa\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:32:22.3666666Z\",\n \"endTime\": - \"2021-07-27T06:35:28.4259313Z\"\n }" + string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\",\n \"endTime\": + \"2021-08-19T10:33:36.6673495Z\"\n }" headers: cache-control: - no-cache @@ -1349,7 +1350,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:52 GMT + - Thu, 19 Aug 2021 10:33:48 GMT expires: - '-1' pragma: @@ -1381,10 +1382,10 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 response: body: string: '' @@ -1394,11 +1395,11 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:52 GMT + - Thu, 19 Aug 2021 10:33:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/b50b1286-4bcd-442f-bf90-84e8a265e5fa?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation.yaml index 64cd8b3b523..ecf32d61fe5 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-23T08:16:38Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 23 Jun 2021 08:16:42 GMT + - Fri, 20 Aug 2021 07:16:47 GMT expires: - '-1' pragma: @@ -42,20 +42,20 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cliakstest-clitesttsgabcbkp-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestlik3nsvxm-8ecadf", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "false"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", - "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, "identity": - {"type": "SystemAssigned"}}' + "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -66,41 +66,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1422' + - '1450' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttsgabcbkp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n }\n }\n },\n \"nodeResourceGroup\": @@ -116,15 +113,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2876' + - '2880' content-type: - application/json date: - - Wed, 23 Jun 2021 08:16:55 GMT + - Fri, 20 Aug 2021 07:16:50 GMT expires: - '-1' pragma: @@ -136,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -144,105 +141,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys -a - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:17:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --generate-ssh-keys -a - User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 23 Jun 2021 08:17:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -250,17 +149,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\"\n }" + string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" headers: cache-control: - no-cache @@ -269,7 +167,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:18:30 GMT + - Fri, 20 Aug 2021 07:17:21 GMT expires: - '-1' pragma: @@ -291,7 +189,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -299,17 +197,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\"\n }" + string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" headers: cache-control: - no-cache @@ -318,7 +215,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:19:02 GMT + - Fri, 20 Aug 2021 07:17:51 GMT expires: - '-1' pragma: @@ -340,7 +237,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -348,17 +245,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\"\n }" + string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" headers: cache-control: - no-cache @@ -367,7 +263,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:19:33 GMT + - Fri, 20 Aug 2021 07:18:21 GMT expires: - '-1' pragma: @@ -389,7 +285,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -397,17 +293,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\"\n }" + string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" headers: cache-control: - no-cache @@ -416,7 +311,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:20:05 GMT + - Fri, 20 Aug 2021 07:18:51 GMT expires: - '-1' pragma: @@ -438,7 +333,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -446,17 +341,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\"\n }" + string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" headers: cache-control: - no-cache @@ -465,7 +359,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:20:36 GMT + - Fri, 20 Aug 2021 07:19:21 GMT expires: - '-1' pragma: @@ -487,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -495,17 +389,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\"\n }" + string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" headers: cache-control: - no-cache @@ -514,7 +407,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:21:08 GMT + - Fri, 20 Aug 2021 07:19:50 GMT expires: - '-1' pragma: @@ -536,7 +429,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -544,18 +437,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3d113d82-f6d3-4b4e-b8a9-ae079ab04065?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"823d113d-d3f6-4e4b-b8a9-ae079ab04065\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:16:55.1733333Z\",\n \"endTime\": - \"2021-06-23T08:21:32.2023762Z\"\n }" + string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\",\n \"endTime\": + \"2021-08-20T07:19:58.2937851Z\"\n }" headers: cache-control: - no-cache @@ -564,7 +456,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:21:40 GMT + - Fri, 20 Aug 2021 07:20:21 GMT expires: - '-1' pragma: @@ -586,7 +478,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -594,35 +486,34 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys -a + - --resource-group --name -a --ssh-key-value User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttsgabcbkp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n },\n \"identity\": @@ -632,7 +523,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -647,11 +538,11 @@ interactions: cache-control: - no-cache content-length: - - '3922' + - '3926' content-type: - application/json date: - - Wed, 23 Jun 2021 08:21:41 GMT + - Fri, 20 Aug 2021 07:20:22 GMT expires: - '-1' pragma: @@ -683,35 +574,32 @@ interactions: ParameterSetName: - --resource-group --name --enable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttsgabcbkp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n },\n \"identity\": @@ -721,7 +609,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -736,11 +624,11 @@ interactions: cache-control: - no-cache content-length: - - '3922' + - '3926' content-type: - application/json date: - - Wed, 23 Jun 2021 08:21:43 GMT + - Fri, 20 Aug 2021 07:20:22 GMT expires: - '-1' pragma: @@ -759,28 +647,27 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitesttsgabcbkp-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestlik3nsvxm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "true"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -791,41 +678,38 @@ interactions: Connection: - keep-alive Content-Length: - - '2361' + - '2365' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --name --enable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttsgabcbkp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"true\"\n }\n }\n },\n \"nodeResourceGroup\": @@ -833,7 +717,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -846,15 +730,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0402a811-ae70-4fa2-8e6f-358d460fa611?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d86ff0b-7e5f-4c0c-a644-2b54e19d62f2?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3536' + - '3540' content-type: - application/json date: - - Wed, 23 Jun 2021 08:21:53 GMT + - Fri, 20 Aug 2021 07:20:23 GMT expires: - '-1' pragma: @@ -870,7 +754,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -878,7 +762,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -888,24 +772,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0402a811-ae70-4fa2-8e6f-358d460fa611?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d86ff0b-7e5f-4c0c-a644-2b54e19d62f2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"11a80204-70ae-a24f-8e6f-358d460fa611\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:21:49.93Z\"\n }" + string: "{\n \"name\": \"0bff867d-5f7e-0c4c-a644-2b54e19d62f2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:24.3533333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 23 Jun 2021 08:22:24 GMT + - Fri, 20 Aug 2021 07:20:53 GMT expires: - '-1' pragma: @@ -927,7 +810,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -937,25 +820,24 @@ interactions: ParameterSetName: - --resource-group --name --enable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0402a811-ae70-4fa2-8e6f-358d460fa611?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d86ff0b-7e5f-4c0c-a644-2b54e19d62f2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"11a80204-70ae-a24f-8e6f-358d460fa611\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:21:49.93Z\",\n \"endTime\": - \"2021-06-23T08:22:45.4197059Z\"\n }" + string: "{\n \"name\": \"0bff867d-5f7e-0c4c-a644-2b54e19d62f2\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:24.3533333Z\",\n \"endTime\": + \"2021-08-20T07:21:22.1784134Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Wed, 23 Jun 2021 08:22:57 GMT + - Fri, 20 Aug 2021 07:21:24 GMT expires: - '-1' pragma: @@ -977,7 +859,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -987,33 +869,32 @@ interactions: ParameterSetName: - --resource-group --name --enable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttsgabcbkp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"true\"\n },\n \"identity\": {\n @@ -1023,7 +904,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1038,11 +919,11 @@ interactions: cache-control: - no-cache content-length: - - '3921' + - '3925' content-type: - application/json date: - - Wed, 23 Jun 2021 08:22:58 GMT + - Fri, 20 Aug 2021 07:21:24 GMT expires: - '-1' pragma: @@ -1074,35 +955,32 @@ interactions: ParameterSetName: - --resource-group --name --disable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttsgabcbkp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"true\"\n },\n \"identity\": {\n @@ -1112,7 +990,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1127,11 +1005,11 @@ interactions: cache-control: - no-cache content-length: - - '3921' + - '3925' content-type: - application/json date: - - Wed, 23 Jun 2021 08:23:00 GMT + - Fri, 20 Aug 2021 07:21:25 GMT expires: - '-1' pragma: @@ -1150,28 +1028,27 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "properties": {"kubernetesVersion": "1.19.11", - "dnsPrefix": "cliakstest-clitesttsgabcbkp-8ecadf", "agentPoolProfiles": [{"count": - 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", - "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitestlik3nsvxm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "false"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "identity": {"type": "SystemAssigned"}, "sku": - {"name": "Basic", "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1182,41 +1059,38 @@ interactions: Connection: - keep-alive Content-Length: - - '2362' + - '2366' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - --resource-group --name --disable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttsgabcbkp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n }\n }\n },\n \"nodeResourceGroup\": @@ -1224,7 +1098,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1237,15 +1111,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae86376-2a6e-40c4-b6d6-4091a699060b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3fe65c94-85ae-4af4-a253-48ddb98cada2?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3537' + - '3541' content-type: - application/json date: - - Wed, 23 Jun 2021 08:23:08 GMT + - Fri, 20 Aug 2021 07:21:27 GMT expires: - '-1' pragma: @@ -1261,7 +1135,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -1269,7 +1143,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1279,15 +1153,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae86376-2a6e-40c4-b6d6-4091a699060b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3fe65c94-85ae-4af4-a253-48ddb98cada2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7663e8fa-6e2a-c440-b6d6-4091a699060b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-06-23T08:23:06.1266666Z\"\n }" + string: "{\n \"name\": \"945ce63f-ae85-f44a-a253-48ddb98cada2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-20T07:21:27.3433333Z\"\n }" headers: cache-control: - no-cache @@ -1296,7 +1169,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:23:40 GMT + - Fri, 20 Aug 2021 07:21:57 GMT expires: - '-1' pragma: @@ -1318,7 +1191,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1328,16 +1201,15 @@ interactions: ParameterSetName: - --resource-group --name --disable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae86376-2a6e-40c4-b6d6-4091a699060b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3fe65c94-85ae-4af4-a253-48ddb98cada2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7663e8fa-6e2a-c440-b6d6-4091a699060b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-06-23T08:23:06.1266666Z\",\n \"endTime\": - \"2021-06-23T08:24:03.4517361Z\"\n }" + string: "{\n \"name\": \"945ce63f-ae85-f44a-a253-48ddb98cada2\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-20T07:21:27.3433333Z\",\n \"endTime\": + \"2021-08-20T07:22:23.2476793Z\"\n }" headers: cache-control: - no-cache @@ -1346,7 +1218,7 @@ interactions: content-type: - application/json date: - - Wed, 23 Jun 2021 08:24:11 GMT + - Fri, 20 Aug 2021 07:22:27 GMT expires: - '-1' pragma: @@ -1368,7 +1240,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1378,33 +1250,32 @@ interactions: ParameterSetName: - --resource-group --name --disable-secret-rotation -o User-Agent: - - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) - msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python - AZURECLI/2.25.0 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitesttsgabcbkp-8ecadf\",\n - \ \"fqdn\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttsgabcbkp-8ecadf-d815b328.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.06.02\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDDa7B9UAcZjiNXFbAWabU3ZJQsZv4CgsZK8jq+ZRCaJsErW/Lbi/pURsGaLmwn2Hn+zSHj5i4yhNmi3/l89lkvBuv6+sENFnrG5QzUr/9B3UaiwOGCKX6Z/SlC62fz+lAerbtB0ntHs0cTgdLCwAzNanpGqVUpTNkFrnDO2OjJF1SwqTVdyFRY7fCOvrXVXxcdrmMKGxDgihRCkEztaGjiyE5Rc5nHuti8CrfWl6V8tgG9oaRBJOJ4WkM7TT+S7B+XCUUWh8JUXH/KU6wIP47gvZ98KxL0WRFY/Dt+YnlknpvxS7u3fcP+RozpaZ1MIwibjec3ch8Evx8Z7RgaFwav - fumingzhang@microsoft.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": {\n \"enableSecretRotation\": \"false\"\n },\n \"identity\": @@ -1414,7 +1285,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ae5a2431-7aec-4a8d-9f7c-2e79d86c5629\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1429,11 +1300,11 @@ interactions: cache-control: - no-cache content-length: - - '3922' + - '3926' content-type: - application/json date: - - Wed, 23 Jun 2021 08:24:13 GMT + - Fri, 20 Aug 2021 07:22:27 GMT expires: - '-1' pragma: @@ -1467,8 +1338,8 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.6.9 - (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -1476,17 +1347,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ce706fd2-c325-4461-b6dc-21e46e960535?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7136ce0a-cb37-4d2d-813e-540e574494ef?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 23 Jun 2021 08:24:16 GMT + - Fri, 20 Aug 2021 07:22:28 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/ce706fd2-c325-4461-b6dc-21e46e960535?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/7136ce0a-cb37-4d2d-813e-540e574494ef?api-version=2016-03-30 pragma: - no-cache server: @@ -1496,7 +1367,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_to_msi_cluster.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_to_msi_cluster.yaml index 4d4164f5828..c71995fed55 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_to_msi_cluster.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_to_msi_cluster.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:24:06Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:53:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:24:07 GMT + - Thu, 19 Aug 2021 09:53:20 GMT expires: - '-1' pragma: @@ -42,19 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestr6p73ihag-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest673flm6ja-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,60 +65,60 @@ interactions: Connection: - keep-alive Content-Length: - - '1322' + - '1356' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestr6p73ihag-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b3552bed-0a73-48b6-9632-ad23f9a71ba5?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2692' + - '2724' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:16 GMT + - Thu, 19 Aug 2021 09:53:29 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -146,16 +146,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b3552bed-0a73-48b6-9632-ad23f9a71ba5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed2b55b3-730a-b648-9632-ad23f9a71ba5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:16.0433333Z\"\n }" + string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:46 GMT + - Thu, 19 Aug 2021 09:54:00 GMT expires: - '-1' pragma: @@ -194,16 +194,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b3552bed-0a73-48b6-9632-ad23f9a71ba5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed2b55b3-730a-b648-9632-ad23f9a71ba5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:16.0433333Z\"\n }" + string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:16 GMT + - Thu, 19 Aug 2021 09:54:30 GMT expires: - '-1' pragma: @@ -242,16 +242,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b3552bed-0a73-48b6-9632-ad23f9a71ba5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed2b55b3-730a-b648-9632-ad23f9a71ba5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:16.0433333Z\"\n }" + string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:46 GMT + - Thu, 19 Aug 2021 09:55:00 GMT expires: - '-1' pragma: @@ -290,16 +290,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b3552bed-0a73-48b6-9632-ad23f9a71ba5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed2b55b3-730a-b648-9632-ad23f9a71ba5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:16.0433333Z\"\n }" + string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:16 GMT + - Thu, 19 Aug 2021 09:55:30 GMT expires: - '-1' pragma: @@ -338,16 +338,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b3552bed-0a73-48b6-9632-ad23f9a71ba5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed2b55b3-730a-b648-9632-ad23f9a71ba5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:16.0433333Z\"\n }" + string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +356,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:46 GMT + - Thu, 19 Aug 2021 09:56:00 GMT expires: - '-1' pragma: @@ -386,16 +386,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b3552bed-0a73-48b6-9632-ad23f9a71ba5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed2b55b3-730a-b648-9632-ad23f9a71ba5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:24:16.0433333Z\"\n }" + string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" headers: cache-control: - no-cache @@ -404,7 +404,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:16 GMT + - Thu, 19 Aug 2021 09:56:30 GMT expires: - '-1' pragma: @@ -434,17 +434,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b3552bed-0a73-48b6-9632-ad23f9a71ba5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed2b55b3-730a-b648-9632-ad23f9a71ba5\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:24:16.0433333Z\",\n \"endTime\": - \"2021-07-27T06:27:44.6685762Z\"\n }" + string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\",\n \"endTime\": + \"2021-08-19T09:56:31.7523314Z\"\n }" headers: cache-control: - no-cache @@ -453,7 +453,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:46 GMT + - Thu, 19 Aug 2021 09:57:01 GMT expires: - '-1' pragma: @@ -483,39 +483,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestr6p73ihag-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/af96f60a-38f9-40ca-bcd6-bf10d3d08f67\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -530,11 +531,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:46 GMT + - Thu, 19 Aug 2021 09:57:02 GMT expires: - '-1' pragma: @@ -566,37 +567,38 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestr6p73ihag-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/af96f60a-38f9-40ca-bcd6-bf10d3d08f67\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -611,11 +613,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:47 GMT + - Thu, 19 Aug 2021 09:57:02 GMT expires: - '-1' pragma: @@ -634,27 +636,26 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliakstest-clitestr6p73ihag-79a739", "agentPoolProfiles": - [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": - "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": - "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "1.19.11", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliakstest-clitest673flm6ja-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, + "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/af96f60a-38f9-40ca-bcd6-bf10d3d08f67"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -665,43 +666,44 @@ interactions: Connection: - keep-alive Content-Length: - - '2219' + - '2251' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestr6p73ihag-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/af96f60a-38f9-40ca-bcd6-bf10d3d08f67\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -714,15 +716,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13239e0a-b3cc-43a2-b724-0775b34848af?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7977d54a-98f2-4d16-b1f0-9b6a5efddcf0?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3353' + - '3385' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:51 GMT + - Thu, 19 Aug 2021 09:57:06 GMT expires: - '-1' pragma: @@ -738,7 +740,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 200 message: OK @@ -756,14 +758,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13239e0a-b3cc-43a2-b724-0775b34848af?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7977d54a-98f2-4d16-b1f0-9b6a5efddcf0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0a9e2313-ccb3-a243-b724-0775b34848af\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:51.0466666Z\"\n }" + string: "{\n \"name\": \"4ad57779-f298-164d-b1f0-9b6a5efddcf0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:05.3366666Z\"\n }" headers: cache-control: - no-cache @@ -772,7 +774,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:22 GMT + - Thu, 19 Aug 2021 09:57:36 GMT expires: - '-1' pragma: @@ -804,15 +806,63 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13239e0a-b3cc-43a2-b724-0775b34848af?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7977d54a-98f2-4d16-b1f0-9b6a5efddcf0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0a9e2313-ccb3-a243-b724-0775b34848af\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:27:51.0466666Z\",\n \"endTime\": - \"2021-07-27T06:28:47.9133012Z\"\n }" + string: "{\n \"name\": \"4ad57779-f298-164d-b1f0-9b6a5efddcf0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:05.3366666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 19 Aug 2021 09:58:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-managed-identity --yes + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7977d54a-98f2-4d16-b1f0-9b6a5efddcf0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"4ad57779-f298-164d-b1f0-9b6a5efddcf0\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:57:05.3366666Z\",\n \"endTime\": + \"2021-08-19T09:58:08.1877887Z\"\n }" headers: cache-control: - no-cache @@ -821,7 +871,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:51 GMT + - Thu, 19 Aug 2021 09:58:36 GMT expires: - '-1' pragma: @@ -853,37 +903,38 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestr6p73ihag-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestr6p73ihag-79a739-c6a67aa7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/af96f60a-38f9-40ca-bcd6-bf10d3d08f67\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -898,11 +949,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3387' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:52 GMT + - Thu, 19 Aug 2021 09:58:37 GMT expires: - '-1' pragma: @@ -936,8 +987,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 response: @@ -945,17 +996,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54e83023-cfd2-4a0a-b561-431b3e8e4d7f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d006819-9e0d-4dab-86ff-5a629d918f34?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:28:54 GMT + - Thu, 19 Aug 2021 09:58:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/54e83023-cfd2-4a0a-b561-431b3e8e4d7f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/1d006819-9e0d-4dab-86ff-5a629d918f34?api-version=2016-03-30 pragma: - no-cache server: @@ -965,7 +1016,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml index 494f730facd..2929bac3aa7 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml @@ -11,16 +11,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:27:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:56:34Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:27:40 GMT + - Thu, 19 Aug 2021 09:56:34 GMT expires: - '-1' pragma: @@ -44,17 +44,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": - "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": - "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": - false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "p@0A000003"}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "azure", "outboundType": "loadBalancer", "loadBalancerSku": - "standard"}, "disableLocalAccounts": false}, "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser1", "adminPassword": "p@0A000003"}, "addonProfiles": {}, "enableRBAC": + true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "azure", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": + false}}' headers: Accept: - application/json @@ -65,62 +67,62 @@ interactions: Connection: - keep-alive Content-Length: - - '1266' + - '1300' Content-Type: - application/json ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-d8778016.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-d8778016.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n }\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2694' + - '2726' content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:48 GMT + - Thu, 19 Aug 2021 09:56:42 GMT expires: - '-1' pragma: @@ -132,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 201 message: Created @@ -148,68 +150,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"cf7df413-e7b5-6d45-96e1-0b4d3feadca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:48.7666666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:28:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"cf7df413-e7b5-6d45-96e1-0b4d3feadca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:48.7666666Z\"\n }" + string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" headers: cache-control: - no-cache @@ -218,7 +170,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:48 GMT + - Thu, 19 Aug 2021 09:57:12 GMT expires: - '-1' pragma: @@ -248,18 +200,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"cf7df413-e7b5-6d45-96e1-0b4d3feadca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:48.7666666Z\"\n }" + string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" headers: cache-control: - no-cache @@ -268,7 +220,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:19 GMT + - Thu, 19 Aug 2021 09:57:43 GMT expires: - '-1' pragma: @@ -298,18 +250,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"cf7df413-e7b5-6d45-96e1-0b4d3feadca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:48.7666666Z\"\n }" + string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" headers: cache-control: - no-cache @@ -318,7 +270,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:49 GMT + - Thu, 19 Aug 2021 09:58:13 GMT expires: - '-1' pragma: @@ -348,18 +300,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"cf7df413-e7b5-6d45-96e1-0b4d3feadca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:48.7666666Z\"\n }" + string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" headers: cache-control: - no-cache @@ -368,7 +320,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:19 GMT + - Thu, 19 Aug 2021 09:58:43 GMT expires: - '-1' pragma: @@ -398,18 +350,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"cf7df413-e7b5-6d45-96e1-0b4d3feadca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:48.7666666Z\"\n }" + string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" headers: cache-control: - no-cache @@ -418,7 +370,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:49 GMT + - Thu, 19 Aug 2021 09:59:12 GMT expires: - '-1' pragma: @@ -448,69 +400,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"cf7df413-e7b5-6d45-96e1-0b4d3feadca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:27:48.7666666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:31:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/13f47dcf-b5e7-456d-96e1-0b4d3feadca1?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"cf7df413-e7b5-6d45-96e1-0b4d3feadca1\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:27:48.7666666Z\",\n \"endTime\": - \"2021-07-27T06:31:40.4420301Z\"\n }" + string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\",\n \"endTime\": + \"2021-08-19T09:59:35.5118657Z\"\n }" headers: cache-control: - no-cache @@ -519,7 +421,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:50 GMT + - Thu, 19 Aug 2021 09:59:43 GMT expires: - '-1' pragma: @@ -549,42 +451,42 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-d8778016.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-d8778016.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9ad80a02-0268-4305-ac0d-b3807c9ff46f\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -598,11 +500,11 @@ interactions: cache-control: - no-cache content-length: - - '3357' + - '3389' content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:50 GMT + - Thu, 19 Aug 2021 09:59:44 GMT expires: - '-1' pragma: @@ -634,10 +536,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\",\n @@ -646,20 +548,20 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: - no-cache content-length: - - '957' + - '956' content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:51 GMT + - Thu, 19 Aug 2021 09:59:45 GMT expires: - '-1' pragma: @@ -699,10 +601,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -710,22 +612,23 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 cache-control: - no-cache content-length: - - '846' + - '875' content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:53 GMT + - Thu, 19 Aug 2021 09:59:46 GMT expires: - '-1' pragma: @@ -737,7 +640,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 201 message: Created @@ -755,14 +658,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -771,7 +674,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:23 GMT + - Thu, 19 Aug 2021 10:00:16 GMT expires: - '-1' pragma: @@ -803,14 +706,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -819,7 +722,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:53 GMT + - Thu, 19 Aug 2021 10:00:46 GMT expires: - '-1' pragma: @@ -851,14 +754,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -867,7 +770,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:23 GMT + - Thu, 19 Aug 2021 10:01:17 GMT expires: - '-1' pragma: @@ -899,14 +802,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -915,7 +818,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:54 GMT + - Thu, 19 Aug 2021 10:01:47 GMT expires: - '-1' pragma: @@ -947,14 +850,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -963,7 +866,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:23 GMT + - Thu, 19 Aug 2021 10:02:17 GMT expires: - '-1' pragma: @@ -995,14 +898,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -1011,7 +914,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:54 GMT + - Thu, 19 Aug 2021 10:02:47 GMT expires: - '-1' pragma: @@ -1043,14 +946,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -1059,7 +962,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:24 GMT + - Thu, 19 Aug 2021 10:03:16 GMT expires: - '-1' pragma: @@ -1091,14 +994,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -1107,7 +1010,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:54 GMT + - Thu, 19 Aug 2021 10:03:47 GMT expires: - '-1' pragma: @@ -1139,14 +1042,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -1155,7 +1058,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:36:24 GMT + - Thu, 19 Aug 2021 10:04:17 GMT expires: - '-1' pragma: @@ -1187,14 +1090,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -1203,7 +1106,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:36:54 GMT + - Thu, 19 Aug 2021 10:04:47 GMT expires: - '-1' pragma: @@ -1235,14 +1138,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -1251,7 +1154,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:25 GMT + - Thu, 19 Aug 2021 10:05:17 GMT expires: - '-1' pragma: @@ -1283,14 +1186,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -1299,7 +1202,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:54 GMT + - Thu, 19 Aug 2021 10:05:48 GMT expires: - '-1' pragma: @@ -1331,14 +1234,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" headers: cache-control: - no-cache @@ -1347,7 +1250,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:38:24 GMT + - Thu, 19 Aug 2021 10:06:18 GMT expires: - '-1' pragma: @@ -1379,63 +1282,15 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:38:55 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-type --node-count - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/62bf806d-5154-4173-885a-a210215f97df?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"6d80bf62-5451-7341-885a-a210215f97df\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:31:53.95Z\",\n \"endTime\": - \"2021-07-27T06:38:59.9367258Z\"\n }" + string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\",\n \"endTime\": + \"2021-08-19T10:06:39.2547387Z\"\n }" headers: cache-control: - no-cache @@ -1444,7 +1299,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:25 GMT + - Thu, 19 Aug 2021 10:06:48 GMT expires: - '-1' pragma: @@ -1476,10 +1331,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -1487,20 +1342,21 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: cache-control: - no-cache content-length: - - '847' + - '876' content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:25 GMT + - Thu, 19 Aug 2021 10:06:48 GMT expires: - '-1' pragma: @@ -1532,46 +1388,46 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-d8778016.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-d8778016.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9ad80a02-0268-4305-ac0d-b3807c9ff46f\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1585,11 +1441,11 @@ interactions: cache-control: - no-cache content-length: - - '3984' + - '4047' content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:26 GMT + - Thu, 19 Aug 2021 10:06:50 GMT expires: - '-1' pragma: @@ -1608,32 +1464,32 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.19.11", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, - "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": - "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.19.11", "enableNodePublicIP": false, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": + "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", + "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": + 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}, {"count": 1, "vmSize": "Standard_D2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": - 30, "osType": "Windows", "type": "VirtualMachineScaleSets", "mode": "User", - "orchestratorVersion": "1.19.11", "upgradeSettings": {}, "enableNodePublicIP": + 30, "osType": "Windows", "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", + "mode": "User", "orchestratorVersion": "1.20.7", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "n!C3000004", - "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, - "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": - true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser1", "adminPassword": "n!C3000004", "enableCSIProxy": true}, "servicePrincipalProfile": + {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9ad80a02-0268-4305-ac0d-b3807c9ff46f"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1644,52 +1500,52 @@ interactions: Connection: - keep-alive Content-Length: - - '2665' + - '2723' Content-Type: - application/json ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-d8778016.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-d8778016.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9ad80a02-0268-4305-ac0d-b3807c9ff46f\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1701,15 +1557,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3981' + - '4044' content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:29 GMT + - Thu, 19 Aug 2021 10:06:53 GMT expires: - '-1' pragma: @@ -1725,7 +1581,55 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1193' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 19 Aug 2021 10:07:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -1743,14 +1647,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -1759,7 +1663,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:00 GMT + - Thu, 19 Aug 2021 10:07:53 GMT expires: - '-1' pragma: @@ -1791,14 +1695,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -1807,7 +1711,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:30 GMT + - Thu, 19 Aug 2021 10:08:24 GMT expires: - '-1' pragma: @@ -1839,14 +1743,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -1855,7 +1759,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:59 GMT + - Thu, 19 Aug 2021 10:08:54 GMT expires: - '-1' pragma: @@ -1887,14 +1791,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -1903,7 +1807,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:30 GMT + - Thu, 19 Aug 2021 10:09:24 GMT expires: - '-1' pragma: @@ -1935,14 +1839,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -1951,7 +1855,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:00 GMT + - Thu, 19 Aug 2021 10:09:54 GMT expires: - '-1' pragma: @@ -1983,14 +1887,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -1999,7 +1903,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:30 GMT + - Thu, 19 Aug 2021 10:10:24 GMT expires: - '-1' pragma: @@ -2031,14 +1935,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2047,7 +1951,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:43:01 GMT + - Thu, 19 Aug 2021 10:10:55 GMT expires: - '-1' pragma: @@ -2079,14 +1983,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2095,7 +1999,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:43:30 GMT + - Thu, 19 Aug 2021 10:11:25 GMT expires: - '-1' pragma: @@ -2127,14 +2031,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2143,7 +2047,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:44:01 GMT + - Thu, 19 Aug 2021 10:11:55 GMT expires: - '-1' pragma: @@ -2175,14 +2079,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2191,7 +2095,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:44:30 GMT + - Thu, 19 Aug 2021 10:12:25 GMT expires: - '-1' pragma: @@ -2223,14 +2127,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2239,7 +2143,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:45:01 GMT + - Thu, 19 Aug 2021 10:12:55 GMT expires: - '-1' pragma: @@ -2271,14 +2175,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2287,7 +2191,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:45:31 GMT + - Thu, 19 Aug 2021 10:13:26 GMT expires: - '-1' pragma: @@ -2319,14 +2223,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2335,7 +2239,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:46:01 GMT + - Thu, 19 Aug 2021 10:13:55 GMT expires: - '-1' pragma: @@ -2367,14 +2271,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2383,7 +2287,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:46:32 GMT + - Thu, 19 Aug 2021 10:14:25 GMT expires: - '-1' pragma: @@ -2415,14 +2319,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2431,7 +2335,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:47:01 GMT + - Thu, 19 Aug 2021 10:14:56 GMT expires: - '-1' pragma: @@ -2463,14 +2367,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2479,7 +2383,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:47:32 GMT + - Thu, 19 Aug 2021 10:15:26 GMT expires: - '-1' pragma: @@ -2511,14 +2415,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2527,7 +2431,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:48:02 GMT + - Thu, 19 Aug 2021 10:15:56 GMT expires: - '-1' pragma: @@ -2559,14 +2463,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2575,7 +2479,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:48:32 GMT + - Thu, 19 Aug 2021 10:16:26 GMT expires: - '-1' pragma: @@ -2607,14 +2511,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2623,7 +2527,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:49:02 GMT + - Thu, 19 Aug 2021 10:16:56 GMT expires: - '-1' pragma: @@ -2655,14 +2559,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2671,7 +2575,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:49:32 GMT + - Thu, 19 Aug 2021 10:17:26 GMT expires: - '-1' pragma: @@ -2703,14 +2607,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2719,7 +2623,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:50:02 GMT + - Thu, 19 Aug 2021 10:17:57 GMT expires: - '-1' pragma: @@ -2751,14 +2655,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2767,7 +2671,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:50:32 GMT + - Thu, 19 Aug 2021 10:18:27 GMT expires: - '-1' pragma: @@ -2799,14 +2703,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2815,7 +2719,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:51:02 GMT + - Thu, 19 Aug 2021 10:18:57 GMT expires: - '-1' pragma: @@ -2847,14 +2751,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2863,7 +2767,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:51:32 GMT + - Thu, 19 Aug 2021 10:19:27 GMT expires: - '-1' pragma: @@ -2895,14 +2799,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2911,7 +2815,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:03 GMT + - Thu, 19 Aug 2021 10:19:57 GMT expires: - '-1' pragma: @@ -2943,14 +2847,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -2959,7 +2863,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:33 GMT + - Thu, 19 Aug 2021 10:20:27 GMT expires: - '-1' pragma: @@ -2991,14 +2895,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -3007,7 +2911,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:53:03 GMT + - Thu, 19 Aug 2021 10:20:57 GMT expires: - '-1' pragma: @@ -3039,14 +2943,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -3055,7 +2959,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:53:33 GMT + - Thu, 19 Aug 2021 10:21:28 GMT expires: - '-1' pragma: @@ -3087,14 +2991,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -3103,7 +3007,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:54:03 GMT + - Thu, 19 Aug 2021 10:21:58 GMT expires: - '-1' pragma: @@ -3135,14 +3039,14 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" headers: cache-control: - no-cache @@ -3151,7 +3055,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:54:33 GMT + - Thu, 19 Aug 2021 10:22:28 GMT expires: - '-1' pragma: @@ -3183,15 +3087,15 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a2de48c-eb3c-434a-ab77-9f3f493ce3ee?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8ce42d4a-3ceb-4a43-ab77-9f3f493ce3ee\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:39:29.7166666Z\",\n \"endTime\": - \"2021-07-27T06:54:34.6903627Z\"\n }" + string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\",\n \"endTime\": + \"2021-08-19T10:22:43.1961183Z\"\n }" headers: cache-control: - no-cache @@ -3200,7 +3104,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:55:04 GMT + - Thu, 19 Aug 2021 10:22:58 GMT expires: - '-1' pragma: @@ -3232,46 +3136,46 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-d8778016.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-d8778016.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9ad80a02-0268-4305-ac0d-b3807c9ff46f\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -3285,11 +3189,11 @@ interactions: cache-control: - no-cache content-length: - - '3984' + - '4047' content-type: - application/json date: - - Tue, 27 Jul 2021 06:55:04 GMT + - Thu, 19 Aug 2021 10:22:58 GMT expires: - '-1' pragma: @@ -3321,10 +3225,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\",\n @@ -3333,30 +3237,31 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": + \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n \ \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n }\n ]\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }\n ]\n + }" headers: cache-control: - no-cache content-length: - - '1861' + - '1891' content-type: - application/json date: - - Tue, 27 Jul 2021 06:55:04 GMT + - Thu, 19 Aug 2021 10:23:00 GMT expires: - '-1' pragma: @@ -3390,26 +3295,26 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3dab77ee-c49f-4d47-b234-4e0abc3c11fb?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e338707a-be2e-4ee4-8898-3772b78eb5c4?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:55:05 GMT + - Thu, 19 Aug 2021 10:23:00 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/3dab77ee-c49f-4d47-b234-4e0abc3c11fb?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e338707a-be2e-4ee4-8898-3772b78eb5c4?api-version=2016-03-30 pragma: - no-cache server: @@ -3419,7 +3324,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14998' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml index d4a54a70ee8..aa16ab5adb3 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:19:59Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:05:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:20:00 GMT + - Thu, 19 Aug 2021 10:05:44 GMT expires: - '-1' pragma: @@ -43,18 +43,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestxft6w5or5-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "c000003"}], "linuxProfile": - {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestrd2n2ixrj-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "c000003"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,61 +66,61 @@ interactions: Connection: - keep-alive Content-Length: - - '1319' + - '1353' Content-Type: - application/json ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestxft6w5or5-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestxft6w5or5-79a739-4b727f74.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestxft6w5or5-79a739-4b727f74.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrd2n2ixrj-79a739\",\n \"fqdn\": + \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2689' + - '2721' content-type: - application/json date: - - Tue, 27 Jul 2021 06:20:07 GMT + - Thu, 19 Aug 2021 10:05:50 GMT expires: - '-1' pragma: @@ -131,7 +132,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -147,75 +148,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"5a36c557-36b2-0240-b83f-3ca44cb0c318\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:08.0866666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:20:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5a36c557-36b2-0240-b83f-3ca44cb0c318\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:08.0866666Z\"\n }" + string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:08 GMT + - Thu, 19 Aug 2021 10:06:20 GMT expires: - '-1' pragma: @@ -245,26 +197,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5a36c557-36b2-0240-b83f-3ca44cb0c318\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:08.0866666Z\"\n }" + string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:21:38 GMT + - Thu, 19 Aug 2021 10:06:50 GMT expires: - '-1' pragma: @@ -294,26 +246,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5a36c557-36b2-0240-b83f-3ca44cb0c318\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:08.0866666Z\"\n }" + string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:08 GMT + - Thu, 19 Aug 2021 10:07:20 GMT expires: - '-1' pragma: @@ -343,26 +295,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5a36c557-36b2-0240-b83f-3ca44cb0c318\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:08.0866666Z\"\n }" + string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:22:38 GMT + - Thu, 19 Aug 2021 10:07:51 GMT expires: - '-1' pragma: @@ -392,26 +344,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5a36c557-36b2-0240-b83f-3ca44cb0c318\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:08.0866666Z\"\n }" + string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:08 GMT + - Thu, 19 Aug 2021 10:08:21 GMT expires: - '-1' pragma: @@ -441,26 +393,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5a36c557-36b2-0240-b83f-3ca44cb0c318\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:20:08.0866666Z\"\n }" + string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:38 GMT + - Thu, 19 Aug 2021 10:08:51 GMT expires: - '-1' pragma: @@ -490,27 +442,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/57c5365a-b236-4002-b83f-3ca44cb0c318?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5a36c557-36b2-0240-b83f-3ca44cb0c318\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:20:08.0866666Z\",\n \"endTime\": - \"2021-07-27T06:23:40.8672815Z\"\n }" + string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\",\n \"endTime\": + \"2021-08-19T10:08:56.5975969Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '164' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:09 GMT + - Thu, 19 Aug 2021 10:09:21 GMT expires: - '-1' pragma: @@ -540,40 +492,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestxft6w5or5-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestxft6w5or5-79a739-4b727f74.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestxft6w5or5-79a739-4b727f74.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrd2n2ixrj-79a739\",\n \"fqdn\": + \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b8edee58-9d15-4cc6-ab37-1ef8d663841a\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/62801a82-dd50-4d33-8807-a10ddaac6589\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -588,11 +541,11 @@ interactions: cache-control: - no-cache content-length: - - '3352' + - '3384' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:09 GMT + - Thu, 19 Aug 2021 10:09:21 GMT expires: - '-1' pragma: @@ -624,37 +577,38 @@ interactions: ParameterSetName: - -g -n --node-image-only --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestxft6w5or5-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestxft6w5or5-79a739-4b727f74.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestxft6w5or5-79a739-4b727f74.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrd2n2ixrj-79a739\",\n \"fqdn\": + \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b8edee58-9d15-4cc6-ab37-1ef8d663841a\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/62801a82-dd50-4d33-8807-a10ddaac6589\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -669,11 +623,11 @@ interactions: cache-control: - no-cache content-length: - - '3352' + - '3384' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:10 GMT + - Thu, 19 Aug 2021 10:09:22 GMT expires: - '-1' pragma: @@ -707,10 +661,10 @@ interactions: ParameterSetName: - -g -n --node-image-only --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeNodeImageVersion?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeNodeImageVersion?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003\",\n @@ -719,26 +673,26 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"UpgradingNodeImageVersion\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n + {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": - \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87a635a8-d996-4711-a3f1-b3ce9e251496?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/839e51a3-e533-4ff7-8665-5059204061fe?api-version=2016-03-30 cache-control: - no-cache content-length: - - '889' + - '888' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:12 GMT + - Thu, 19 Aug 2021 10:09:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/87a635a8-d996-4711-a3f1-b3ce9e251496?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/839e51a3-e533-4ff7-8665-5059204061fe?api-version=2016-03-30 pragma: - no-cache server: @@ -766,37 +720,38 @@ interactions: ParameterSetName: - -g -n --node-image-only --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestxft6w5or5-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestxft6w5or5-79a739-4b727f74.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestxft6w5or5-79a739-4b727f74.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrd2n2ixrj-79a739\",\n \"fqdn\": + \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"UpgradingNodeImageVersion\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b8edee58-9d15-4cc6-ab37-1ef8d663841a\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/62801a82-dd50-4d33-8807-a10ddaac6589\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -811,11 +766,11 @@ interactions: cache-control: - no-cache content-length: - - '3368' + - '3400' content-type: - application/json date: - - Tue, 27 Jul 2021 06:24:11 GMT + - Thu, 19 Aug 2021 10:09:23 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml index 870a48cd554..77c59d192b0 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml @@ -11,15 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:08:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:47:48Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:08:58 GMT + - Thu, 19 Aug 2021 09:47:51 GMT expires: - '-1' pragma: @@ -43,18 +43,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "", "dnsPrefix": "cliakstest-clitestap3hfkojx-79a739", "agentPoolProfiles": - [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "c000003"}], "linuxProfile": - {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}, - "location": "westus2"}' + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest3bqbcmdwt-79a739", + "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", + "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "c000003"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -65,61 +66,61 @@ interactions: Connection: - keep-alive Content-Length: - - '1319' + - '1353' Content-Type: - application/json ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestap3hfkojx-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestap3hfkojx-79a739-1158dad7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestap3hfkojx-79a739-1158dad7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3bqbcmdwt-79a739\",\n \"fqdn\": + \"cliakstest-clitest3bqbcmdwt-79a739-57dbfe96.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3bqbcmdwt-79a739-57dbfe96.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2689' + - '2721' content-type: - application/json date: - - Tue, 27 Jul 2021 06:09:05 GMT + - Thu, 19 Aug 2021 09:48:00 GMT expires: - '-1' pragma: @@ -147,66 +148,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"933f4342-9849-194d-9f25-ffc93153de2b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.7833333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:09:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"933f4342-9849-194d-9f25-ffc93153de2b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.7833333Z\"\n }" + string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" headers: cache-control: - no-cache @@ -215,7 +167,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:10:06 GMT + - Thu, 19 Aug 2021 09:48:31 GMT expires: - '-1' pragma: @@ -245,17 +197,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"933f4342-9849-194d-9f25-ffc93153de2b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.7833333Z\"\n }" + string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" headers: cache-control: - no-cache @@ -264,7 +216,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:10:36 GMT + - Thu, 19 Aug 2021 09:49:01 GMT expires: - '-1' pragma: @@ -294,17 +246,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"933f4342-9849-194d-9f25-ffc93153de2b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.7833333Z\"\n }" + string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +265,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:11:06 GMT + - Thu, 19 Aug 2021 09:49:31 GMT expires: - '-1' pragma: @@ -343,17 +295,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"933f4342-9849-194d-9f25-ffc93153de2b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.7833333Z\"\n }" + string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" headers: cache-control: - no-cache @@ -362,7 +314,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:11:36 GMT + - Thu, 19 Aug 2021 09:50:01 GMT expires: - '-1' pragma: @@ -392,17 +344,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"933f4342-9849-194d-9f25-ffc93153de2b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.7833333Z\"\n }" + string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" headers: cache-control: - no-cache @@ -411,7 +363,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:06 GMT + - Thu, 19 Aug 2021 09:50:30 GMT expires: - '-1' pragma: @@ -441,17 +393,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"933f4342-9849-194d-9f25-ffc93153de2b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:09:05.7833333Z\"\n }" + string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" headers: cache-control: - no-cache @@ -460,7 +412,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:12:36 GMT + - Thu, 19 Aug 2021 09:51:00 GMT expires: - '-1' pragma: @@ -490,18 +442,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/42433f93-4998-4d19-9f25-ffc93153de2b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"933f4342-9849-194d-9f25-ffc93153de2b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:09:05.7833333Z\",\n \"endTime\": - \"2021-07-27T06:13:05.0130745Z\"\n }" + string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\",\n \"endTime\": + \"2021-08-19T09:51:09.4476784Z\"\n }" headers: cache-control: - no-cache @@ -510,7 +462,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:07 GMT + - Thu, 19 Aug 2021 09:51:31 GMT expires: - '-1' pragma: @@ -540,40 +492,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --nodepool-name --generate-ssh-keys --vm-set-type - --node-count -o + - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value + -o User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.19.11\",\n \"dnsPrefix\": \"cliakstest-clitestap3hfkojx-79a739\",\n - \ \"fqdn\": \"cliakstest-clitestap3hfkojx-79a739-1158dad7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestap3hfkojx-79a739-1158dad7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3bqbcmdwt-79a739\",\n \"fqdn\": + \"cliakstest-clitest3bqbcmdwt-79a739-57dbfe96.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest3bqbcmdwt-79a739-57dbfe96.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.19.11\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n - \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/89f36908-4d6e-4642-8aeb-76f563ca1f58\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e8e789ea-2789-4e88-916b-c164d8532b18\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -588,11 +541,11 @@ interactions: cache-control: - no-cache content-length: - - '3352' + - '3384' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:07 GMT + - Thu, 19 Aug 2021 09:51:32 GMT expires: - '-1' pragma: @@ -626,10 +579,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name -n --node-image-only --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeNodeImageVersion?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeNodeImageVersion?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003\",\n @@ -638,26 +591,26 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"UpgradingNodeImageVersion\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n + {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": - \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/250c30e1-9335-4614-b1a7-b35741ac113a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d546150f-411f-4b3e-ba6e-bf46af1d7890?api-version=2016-03-30 cache-control: - no-cache content-length: - - '889' + - '888' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:08 GMT + - Thu, 19 Aug 2021 09:51:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/250c30e1-9335-4614-b1a7-b35741ac113a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/d546150f-411f-4b3e-ba6e-bf46af1d7890?api-version=2016-03-30 pragma: - no-cache server: @@ -685,10 +638,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name -n User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003\",\n @@ -697,20 +650,20 @@ interactions: \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"provisioningState\": \"UpgradingNodeImageVersion\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.19.11\",\n + {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": - \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n }" headers: cache-control: - no-cache content-length: - - '889' + - '888' content-type: - application/json date: - - Tue, 27 Jul 2021 06:13:09 GMT + - Thu, 19 Aug 2021 09:51:34 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_nodepool.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_nodepool.yaml index a96b40b4cde..859326c0f18 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_nodepool.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_nodepool.yaml @@ -13,8 +13,8 @@ interactions: ParameterSetName: - -l --query User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/orchestrators?api-version=2019-04-01&resource-type=managedClusters response: @@ -38,29 +38,33 @@ interactions: \ \"orchestratorVersion\": \"1.20.5\"\n },\n {\n \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": \"1.20.7\"\n }\n ]\n \ },\n {\n \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": - \"1.19.11\",\n \"default\": true,\n \"upgrades\": [\n {\n \"orchestratorType\": + \"1.19.11\",\n \"upgrades\": [\n {\n \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": \"1.20.5\"\n },\n {\n \ \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": \"1.20.7\"\n }\n ]\n },\n {\n \"orchestratorType\": \"Kubernetes\",\n \ \"orchestratorVersion\": \"1.20.5\",\n \"upgrades\": [\n {\n \ \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": \"1.20.7\"\n },\n {\n \"orchestratorType\": \"Kubernetes\",\n - \ \"orchestratorVersion\": \"1.21.1\",\n \"isPreview\": true\n - \ }\n ]\n },\n {\n \"orchestratorType\": \"Kubernetes\",\n - \ \"orchestratorVersion\": \"1.20.7\",\n \"upgrades\": [\n {\n + \ \"orchestratorVersion\": \"1.21.1\"\n },\n {\n \"orchestratorType\": + \"Kubernetes\",\n \"orchestratorVersion\": \"1.21.2\"\n }\n ]\n + \ },\n {\n \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": + \"1.20.7\",\n \"default\": true,\n \"upgrades\": [\n {\n \"orchestratorType\": + \"Kubernetes\",\n \"orchestratorVersion\": \"1.21.1\"\n },\n {\n + \ \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": + \"1.21.2\"\n }\n ]\n },\n {\n \"orchestratorType\": \"Kubernetes\",\n + \ \"orchestratorVersion\": \"1.21.1\",\n \"upgrades\": [\n {\n \ \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": - \"1.21.1\",\n \"isPreview\": true\n }\n ]\n },\n {\n - \ \"orchestratorType\": \"Kubernetes\",\n \"orchestratorVersion\": - \"1.21.1\",\n \"isPreview\": true\n }\n ]\n }\n }" + \"1.21.2\"\n }\n ]\n },\n {\n \"orchestratorType\": \"Kubernetes\",\n + \ \"orchestratorVersion\": \"1.21.2\"\n }\n ]\n }\n }" headers: cache-control: - no-cache content-length: - - '2414' + - '2744' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:54 GMT + - Thu, 19 Aug 2021 10:15:37 GMT expires: - '-1' pragma: @@ -90,16 +94,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-07-27T06:23:53Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:15:36Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -108,7 +112,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 27 Jul 2021 06:23:54 GMT + - Thu, 19 Aug 2021 10:15:37 GMT expires: - '-1' pragma: @@ -123,18 +127,19 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.20.7", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, - "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "1.20.7", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "replace-Password1234$"}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "azure", "outboundType": "loadBalancer", "loadBalancerSku": - "standard"}, "disableLocalAccounts": false}, "location": "westus2"}' + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser1", "adminPassword": "replace-Password1234$"}, "addonProfiles": {}, + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "azure", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": + false}}' headers: Accept: - application/json @@ -145,26 +150,26 @@ interactions: Connection: - keep-alive Content-Length: - - '1277' + - '1311' Content-Type: - application/json ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-964492be.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-964492be.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -173,34 +178,34 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n }\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": + false\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 cache-control: - no-cache content-length: - - '2692' + - '2726' content-type: - application/json date: - - Tue, 27 Jul 2021 06:23:59 GMT + - Thu, 19 Aug 2021 10:15:41 GMT expires: - '-1' pragma: @@ -212,7 +217,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -228,118 +233,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"91a5ebaa-0aa2-6748-8cb8-b5393305fe95\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:59.3233333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:24:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"91a5ebaa-0aa2-6748-8cb8-b5393305fe95\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:59.3233333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:24:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91a5ebaa-0aa2-6748-8cb8-b5393305fe95\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:59.3233333Z\"\n }" + string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" headers: cache-control: - no-cache @@ -348,7 +253,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:29 GMT + - Thu, 19 Aug 2021 10:16:12 GMT expires: - '-1' pragma: @@ -378,18 +283,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91a5ebaa-0aa2-6748-8cb8-b5393305fe95\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:59.3233333Z\"\n }" + string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" headers: cache-control: - no-cache @@ -398,7 +303,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:25:59 GMT + - Thu, 19 Aug 2021 10:16:42 GMT expires: - '-1' pragma: @@ -428,18 +333,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91a5ebaa-0aa2-6748-8cb8-b5393305fe95\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:59.3233333Z\"\n }" + string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" headers: cache-control: - no-cache @@ -448,7 +353,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:29 GMT + - Thu, 19 Aug 2021 10:17:12 GMT expires: - '-1' pragma: @@ -478,18 +383,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91a5ebaa-0aa2-6748-8cb8-b5393305fe95\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:59.3233333Z\"\n }" + string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" headers: cache-control: - no-cache @@ -498,7 +403,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:26:59 GMT + - Thu, 19 Aug 2021 10:17:42 GMT expires: - '-1' pragma: @@ -528,18 +433,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91a5ebaa-0aa2-6748-8cb8-b5393305fe95\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:23:59.3233333Z\"\n }" + string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" headers: cache-control: - no-cache @@ -548,7 +453,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:27:30 GMT + - Thu, 19 Aug 2021 10:18:13 GMT expires: - '-1' pragma: @@ -578,28 +483,28 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aaeba591-a20a-4867-8cb8-b5393305fe95?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91a5ebaa-0aa2-6748-8cb8-b5393305fe95\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:23:59.3233333Z\",\n \"endTime\": - \"2021-07-27T06:27:36.8767273Z\"\n }" + string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\",\n \"endTime\": + \"2021-08-19T10:18:41.541427Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '169' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:00 GMT + - Thu, 19 Aug 2021 10:18:43 GMT expires: - '-1' pragma: @@ -629,22 +534,22 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys - --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type - --network-plugin --kubernetes-version + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-964492be.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-964492be.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -653,18 +558,18 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/4d049439-971c-4e15-9e53-5a5d197743bc\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -678,11 +583,11 @@ interactions: cache-control: - no-cache content-length: - - '3355' + - '3389' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:00 GMT + - Thu, 19 Aug 2021 10:18:43 GMT expires: - '-1' pragma: @@ -714,10 +619,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 response: body: string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\",\n @@ -729,7 +634,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: @@ -739,7 +644,7 @@ interactions: content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:01 GMT + - Thu, 19 Aug 2021 10:18:44 GMT expires: - '-1' pragma: @@ -779,10 +684,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -790,22 +695,23 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 cache-control: - no-cache content-length: - - '845' + - '875' content-type: - application/json date: - - Tue, 27 Jul 2021 06:28:03 GMT + - Thu, 19 Aug 2021 10:18:46 GMT expires: - '-1' pragma: @@ -817,7 +723,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1193' status: code: 201 message: Created @@ -835,119 +741,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:28:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-type --node-count - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:29:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - ParameterSetName: - - --resource-group --cluster-name --name --os-type --node-count - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:29:34 GMT + - Thu, 19 Aug 2021 10:19:16 GMT expires: - '-1' pragma: @@ -979,23 +789,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:03 GMT + - Thu, 19 Aug 2021 10:19:46 GMT expires: - '-1' pragma: @@ -1027,23 +837,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:30:34 GMT + - Thu, 19 Aug 2021 10:20:16 GMT expires: - '-1' pragma: @@ -1075,23 +885,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:04 GMT + - Thu, 19 Aug 2021 10:20:46 GMT expires: - '-1' pragma: @@ -1123,23 +933,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:31:35 GMT + - Thu, 19 Aug 2021 10:21:17 GMT expires: - '-1' pragma: @@ -1171,23 +981,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:04 GMT + - Thu, 19 Aug 2021 10:21:47 GMT expires: - '-1' pragma: @@ -1219,23 +1029,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:32:34 GMT + - Thu, 19 Aug 2021 10:22:16 GMT expires: - '-1' pragma: @@ -1267,23 +1077,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:05 GMT + - Thu, 19 Aug 2021 10:22:46 GMT expires: - '-1' pragma: @@ -1315,23 +1125,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:33:34 GMT + - Thu, 19 Aug 2021 10:23:16 GMT expires: - '-1' pragma: @@ -1363,23 +1173,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:05 GMT + - Thu, 19 Aug 2021 10:23:47 GMT expires: - '-1' pragma: @@ -1411,23 +1221,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:34:35 GMT + - Thu, 19 Aug 2021 10:24:17 GMT expires: - '-1' pragma: @@ -1459,23 +1269,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:05 GMT + - Thu, 19 Aug 2021 10:24:47 GMT expires: - '-1' pragma: @@ -1507,24 +1317,24 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb17aa58-4088-4588-bcbe-28d82fa9d1b1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"58aa17fb-8840-8845-bcbe-28d82fa9d1b1\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:28:04.2366666Z\",\n \"endTime\": - \"2021-07-27T06:35:10.297098Z\"\n }" + string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\",\n \"endTime\": + \"2021-08-19T10:24:52.8784732Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:36 GMT + - Thu, 19 Aug 2021 10:25:17 GMT expires: - '-1' pragma: @@ -1556,10 +1366,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -1567,20 +1377,21 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: cache-control: - no-cache content-length: - - '846' + - '876' content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:36 GMT + - Thu, 19 Aug 2021 10:25:18 GMT expires: - '-1' pragma: @@ -1612,18 +1423,18 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-964492be.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-964492be.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1632,26 +1443,26 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/4d049439-971c-4e15-9e53-5a5d197743bc\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1665,11 +1476,11 @@ interactions: cache-control: - no-cache content-length: - - '3981' + - '4047' content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:36 GMT + - Thu, 19 Aug 2021 10:25:19 GMT expires: - '-1' pragma: @@ -1688,29 +1499,30 @@ interactions: code: 200 message: OK - request: - body: '{"identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": - "1.21.1", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, - "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": - "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.21.1", "enableNodePublicIP": false, + body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.21.2", "dnsPrefix": + "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", + "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": + 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.21.2", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}, {"count": 1, "vmSize": "Standard_D2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": - 30, "osType": "Windows", "type": "VirtualMachineScaleSets", "mode": "User", - "orchestratorVersion": "1.21.1", "upgradeSettings": {}, "enableNodePublicIP": + 30, "osType": "Windows", "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", + "mode": "User", "orchestratorVersion": "1.21.2", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf"}]}}, - "windowsProfile": {"adminUsername": "azureuser1", "enableCSIProxy": true}, "nodeResourceGroup": - "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/4d049439-971c-4e15-9e53-5a5d197743bc"}]}}, + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": + "azureuser1", "enableCSIProxy": true}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false}, "location": "westus2", "sku": {"name": "Basic", - "tier": "Free"}}' + "disableLocalAccounts": false}}' headers: Accept: - application/json @@ -1721,52 +1533,52 @@ interactions: Connection: - keep-alive Content-Length: - - '2551' + - '2612' Content-Type: - application/json ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Upgrading\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.21.1\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-964492be.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-964492be.portal.hcp.westus2.azmk8s.io\",\n + \"1.21.2\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Upgrading\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.21.1\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Upgrading\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.21.1\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/4d049439-971c-4e15-9e53-5a5d197743bc\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Upgrading\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1778,15 +1590,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3981' + - '4047' content-type: - application/json date: - - Tue, 27 Jul 2021 06:35:40 GMT + - Thu, 19 Aug 2021 10:25:23 GMT expires: - '-1' pragma: @@ -1802,55 +1614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks upgrade - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --kubernetes-version --yes - User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 27 Jul 2021 06:36:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff + - '1192' status: code: 200 message: OK @@ -1868,23 +1632,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:36:41 GMT + - Thu, 19 Aug 2021 10:25:53 GMT expires: - '-1' pragma: @@ -1916,23 +1680,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:11 GMT + - Thu, 19 Aug 2021 10:26:23 GMT expires: - '-1' pragma: @@ -1964,23 +1728,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:37:41 GMT + - Thu, 19 Aug 2021 10:26:54 GMT expires: - '-1' pragma: @@ -2012,23 +1776,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:38:12 GMT + - Thu, 19 Aug 2021 10:27:24 GMT expires: - '-1' pragma: @@ -2060,23 +1824,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:38:41 GMT + - Thu, 19 Aug 2021 10:27:53 GMT expires: - '-1' pragma: @@ -2108,23 +1872,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:12 GMT + - Thu, 19 Aug 2021 10:28:24 GMT expires: - '-1' pragma: @@ -2156,23 +1920,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:39:42 GMT + - Thu, 19 Aug 2021 10:28:54 GMT expires: - '-1' pragma: @@ -2204,23 +1968,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:12 GMT + - Thu, 19 Aug 2021 10:29:24 GMT expires: - '-1' pragma: @@ -2252,23 +2016,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:40:42 GMT + - Thu, 19 Aug 2021 10:29:54 GMT expires: - '-1' pragma: @@ -2300,23 +2064,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:12 GMT + - Thu, 19 Aug 2021 10:30:24 GMT expires: - '-1' pragma: @@ -2348,23 +2112,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:41:43 GMT + - Thu, 19 Aug 2021 10:30:54 GMT expires: - '-1' pragma: @@ -2396,23 +2160,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:12 GMT + - Thu, 19 Aug 2021 10:31:25 GMT expires: - '-1' pragma: @@ -2444,23 +2208,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:42:42 GMT + - Thu, 19 Aug 2021 10:31:55 GMT expires: - '-1' pragma: @@ -2492,23 +2256,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:43:13 GMT + - Thu, 19 Aug 2021 10:32:25 GMT expires: - '-1' pragma: @@ -2540,23 +2304,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:43:42 GMT + - Thu, 19 Aug 2021 10:32:55 GMT expires: - '-1' pragma: @@ -2588,23 +2352,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:44:13 GMT + - Thu, 19 Aug 2021 10:33:26 GMT expires: - '-1' pragma: @@ -2636,23 +2400,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:44:43 GMT + - Thu, 19 Aug 2021 10:33:56 GMT expires: - '-1' pragma: @@ -2684,23 +2448,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:45:13 GMT + - Thu, 19 Aug 2021 10:34:25 GMT expires: - '-1' pragma: @@ -2732,23 +2496,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:45:43 GMT + - Thu, 19 Aug 2021 10:34:55 GMT expires: - '-1' pragma: @@ -2780,23 +2544,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:46:14 GMT + - Thu, 19 Aug 2021 10:35:26 GMT expires: - '-1' pragma: @@ -2828,23 +2592,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:46:43 GMT + - Thu, 19 Aug 2021 10:35:56 GMT expires: - '-1' pragma: @@ -2876,23 +2640,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:47:14 GMT + - Thu, 19 Aug 2021 10:36:26 GMT expires: - '-1' pragma: @@ -2924,23 +2688,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:47:43 GMT + - Thu, 19 Aug 2021 10:36:56 GMT expires: - '-1' pragma: @@ -2972,23 +2736,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:48:14 GMT + - Thu, 19 Aug 2021 10:37:27 GMT expires: - '-1' pragma: @@ -3020,23 +2784,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:48:43 GMT + - Thu, 19 Aug 2021 10:37:57 GMT expires: - '-1' pragma: @@ -3068,23 +2832,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:49:14 GMT + - Thu, 19 Aug 2021 10:38:26 GMT expires: - '-1' pragma: @@ -3116,23 +2880,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:49:45 GMT + - Thu, 19 Aug 2021 10:38:57 GMT expires: - '-1' pragma: @@ -3164,23 +2928,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:50:14 GMT + - Thu, 19 Aug 2021 10:39:27 GMT expires: - '-1' pragma: @@ -3212,23 +2976,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:50:44 GMT + - Thu, 19 Aug 2021 10:39:57 GMT expires: - '-1' pragma: @@ -3260,23 +3024,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:51:14 GMT + - Thu, 19 Aug 2021 10:40:27 GMT expires: - '-1' pragma: @@ -3308,23 +3072,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:51:44 GMT + - Thu, 19 Aug 2021 10:40:58 GMT expires: - '-1' pragma: @@ -3356,23 +3120,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:15 GMT + - Thu, 19 Aug 2021 10:41:28 GMT expires: - '-1' pragma: @@ -3404,24 +3168,24 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d1b6a73-b336-436b-b001-f2cd49f68a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"736a1b6d-36b3-6b43-b001-f2cd49f68a50\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:35:40.6333333Z\",\n \"endTime\": - \"2021-07-27T06:52:24.1862483Z\"\n }" + string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\",\n \"endTime\": + \"2021-08-19T10:41:36.6233994Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:45 GMT + - Thu, 19 Aug 2021 10:41:57 GMT expires: - '-1' pragma: @@ -3453,46 +3217,46 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.21.1\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-964492be.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-964492be.portal.hcp.westus2.azmk8s.io\",\n + \"1.21.2\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.21.1\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n + \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.03\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.21.1\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": - \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": - false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC70C36R8eJPTA7kUX9fStjBqeeegOgRw8T0/q7gkSUO48SX1Fr2VpQqfVOUOc//xZgPMPQY6mavzWxD62It87Lp+6ZgDCAJISoDQAo0USRq6Q0tWfPwe2mZTB0QMVNKYKLyaHoGEEGSgJ+HpY/L6f+DSuX+j45dwt7NETOvhRWi5xTf1cDGSnBdS5UZbmcdmx8uuvSILI3dQeeZySU/3ilYzequF+G+L3uteOTdQLfxjRYHNZFpFyJwZWcodjkABLwKwqX2ZfVfjLfopvIz8uJfPnsjyoxSW7A42t+ZJtSmX5o/dlm1Hv0LlUsLIfusxw/V/qKbZrNz///wfJSJGuf\"\n - \ }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": - \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/4d049439-971c-4e15-9e53-5a5d197743bc\"\n + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n + \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": + {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n + \ },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": + {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -3506,11 +3270,11 @@ interactions: cache-control: - no-cache content-length: - - '3981' + - '4047' content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:45 GMT + - Thu, 19 Aug 2021 10:41:58 GMT expires: - '-1' pragma: @@ -3542,10 +3306,10 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --kubernetes-version --aks-custom-headers User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -3553,20 +3317,21 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.21.1\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: cache-control: - no-cache content-length: - - '846' + - '876' content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:46 GMT + - Thu, 19 Aug 2021 10:41:59 GMT expires: - '-1' pragma: @@ -3587,9 +3352,10 @@ interactions: - request: body: '{"properties": {"count": 1, "vmSize": "Standard_D2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 30, "osType": - "Windows", "type": "VirtualMachineScaleSets", "mode": "User", "orchestratorVersion": - "1.21.1", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false}}' + "Windows", "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", "mode": + "User", "orchestratorVersion": "1.21.2", "upgradeSettings": {}, "enableNodePublicIP": + false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false}}' headers: Accept: - application/json @@ -3600,18 +3366,18 @@ interactions: Connection: - keep-alive Content-Length: - - '379' + - '406' Content-Type: - application/json ParameterSetName: - --resource-group --cluster-name --name --kubernetes-version --aks-custom-headers User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) WindowsContainerRuntime: - containerd method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -3619,22 +3385,23 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.21.1\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/14f89acd-831d-4851-a5f3-f98b885b0f02?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e24b36a-3107-45e4-99dc-68163c5bb037?api-version=2016-03-30 cache-control: - no-cache content-length: - - '845' + - '875' content-type: - application/json date: - - Tue, 27 Jul 2021 06:52:48 GMT + - Thu, 19 Aug 2021 10:42:01 GMT expires: - '-1' pragma: @@ -3650,7 +3417,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1196' status: code: 200 message: OK @@ -3668,26 +3435,26 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --kubernetes-version --aks-custom-headers User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) WindowsContainerRuntime: - containerd method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/14f89acd-831d-4851-a5f3-f98b885b0f02?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e24b36a-3107-45e4-99dc-68163c5bb037?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"cd9af814-1d83-5148-a5f3-f98b885b0f02\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-07-27T06:52:49.08Z\",\n \"endTime\": - \"2021-07-27T06:52:54.3982117Z\"\n }" + string: "{\n \"name\": \"6ab3249e-0731-e445-99dc-68163c5bb037\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-19T10:42:02.3466666Z\",\n \"endTime\": + \"2021-08-19T10:42:06.4670991Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Tue, 27 Jul 2021 06:53:18 GMT + - Thu, 19 Aug 2021 10:42:32 GMT expires: - '-1' pragma: @@ -3719,12 +3486,12 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --kubernetes-version --aks-custom-headers User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) WindowsContainerRuntime: - containerd method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n @@ -3732,20 +3499,21 @@ interactions: \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.21.1\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": - false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": + false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": + \"AKSWindows-2019-17763.2061.210714\",\n \"upgradeSettings\": {},\n \"enableFIPS\": + false\n }\n }" headers: cache-control: - no-cache content-length: - - '846' + - '876' content-type: - application/json date: - - Tue, 27 Jul 2021 06:53:18 GMT + - Thu, 19 Aug 2021 10:42:32 GMT expires: - '-1' pragma: @@ -3779,8 +3547,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.10 - (Linux-5.4.0-1051-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 response: @@ -3788,17 +3556,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa265a6e-509d-47c4-b354-4aec7106987e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/67b10847-16ea-410a-a887-a1282883437e?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Tue, 27 Jul 2021 06:53:21 GMT + - Thu, 19 Aug 2021 10:42:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/fa265a6e-509d-47c4-b354-4aec7106987e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/67b10847-16ea-410a-a887-a1282883437e?api-version=2016-03-30 pragma: - no-cache server: @@ -3808,7 +3576,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14993' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_container_service_client.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_container_service_client.py index e869970cf5d..7c3ce487fc0 100755 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_container_service_client.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_container_service_client.py @@ -56,7 +56,7 @@ class ContainerServiceClient(MultiApiClientMixin, _SDKClient): :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2021-05-01' + DEFAULT_API_VERSION = '2021-07-01' _PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -118,6 +118,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2021-02-01: :mod:`v2021_02_01.models` * 2021-03-01: :mod:`v2021_03_01.models` * 2021-05-01: :mod:`v2021_05_01.models` + * 2021-07-01: :mod:`v2021_07_01.models` """ if api_version == '2017-07-01': from .v2017_07_01 import models @@ -194,6 +195,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2021-05-01': from .v2021_05_01 import models return models + elif api_version == '2021-07-01': + from .v2021_07_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -218,6 +222,7 @@ def agent_pools(self): * 2021-02-01: :class:`AgentPoolsOperations` * 2021-03-01: :class:`AgentPoolsOperations` * 2021-05-01: :class:`AgentPoolsOperations` + * 2021-07-01: :class:`AgentPoolsOperations` """ api_version = self._get_api_version('agent_pools') if api_version == '2019-02-01': @@ -256,6 +261,8 @@ def agent_pools(self): from .v2021_03_01.operations import AgentPoolsOperations as OperationClass elif api_version == '2021-05-01': from .v2021_05_01.operations import AgentPoolsOperations as OperationClass + elif api_version == '2021-07-01': + from .v2021_07_01.operations import AgentPoolsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -281,6 +288,7 @@ def maintenance_configurations(self): * 2021-02-01: :class:`MaintenanceConfigurationsOperations` * 2021-03-01: :class:`MaintenanceConfigurationsOperations` * 2021-05-01: :class:`MaintenanceConfigurationsOperations` + * 2021-07-01: :class:`MaintenanceConfigurationsOperations` """ api_version = self._get_api_version('maintenance_configurations') if api_version == '2020-12-01': @@ -291,6 +299,8 @@ def maintenance_configurations(self): from .v2021_03_01.operations import MaintenanceConfigurationsOperations as OperationClass elif api_version == '2021-05-01': from .v2021_05_01.operations import MaintenanceConfigurationsOperations as OperationClass + elif api_version == '2021-07-01': + from .v2021_07_01.operations import MaintenanceConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -319,6 +329,7 @@ def managed_clusters(self): * 2021-02-01: :class:`ManagedClustersOperations` * 2021-03-01: :class:`ManagedClustersOperations` * 2021-05-01: :class:`ManagedClustersOperations` + * 2021-07-01: :class:`ManagedClustersOperations` """ api_version = self._get_api_version('managed_clusters') if api_version == '2018-03-31': @@ -361,6 +372,8 @@ def managed_clusters(self): from .v2021_03_01.operations import ManagedClustersOperations as OperationClass elif api_version == '2021-05-01': from .v2021_05_01.operations import ManagedClustersOperations as OperationClass + elif api_version == '2021-07-01': + from .v2021_07_01.operations import ManagedClustersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -411,6 +424,7 @@ def operations(self): * 2021-02-01: :class:`Operations` * 2021-03-01: :class:`Operations` * 2021-05-01: :class:`Operations` + * 2021-07-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2018-03-31': @@ -453,6 +467,8 @@ def operations(self): from .v2021_03_01.operations import Operations as OperationClass elif api_version == '2021-05-01': from .v2021_05_01.operations import Operations as OperationClass + elif api_version == '2021-07-01': + from .v2021_07_01.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -469,6 +485,7 @@ def private_endpoint_connections(self): * 2021-02-01: :class:`PrivateEndpointConnectionsOperations` * 2021-03-01: :class:`PrivateEndpointConnectionsOperations` * 2021-05-01: :class:`PrivateEndpointConnectionsOperations` + * 2021-07-01: :class:`PrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('private_endpoint_connections') if api_version == '2020-06-01': @@ -487,6 +504,8 @@ def private_endpoint_connections(self): from .v2021_03_01.operations import PrivateEndpointConnectionsOperations as OperationClass elif api_version == '2021-05-01': from .v2021_05_01.operations import PrivateEndpointConnectionsOperations as OperationClass + elif api_version == '2021-07-01': + from .v2021_07_01.operations import PrivateEndpointConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -501,6 +520,7 @@ def private_link_resources(self): * 2021-02-01: :class:`PrivateLinkResourcesOperations` * 2021-03-01: :class:`PrivateLinkResourcesOperations` * 2021-05-01: :class:`PrivateLinkResourcesOperations` + * 2021-07-01: :class:`PrivateLinkResourcesOperations` """ api_version = self._get_api_version('private_link_resources') if api_version == '2020-09-01': @@ -515,6 +535,8 @@ def private_link_resources(self): from .v2021_03_01.operations import PrivateLinkResourcesOperations as OperationClass elif api_version == '2021-05-01': from .v2021_05_01.operations import PrivateLinkResourcesOperations as OperationClass + elif api_version == '2021-07-01': + from .v2021_07_01.operations import PrivateLinkResourcesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -529,6 +551,7 @@ def resolve_private_link_service_id(self): * 2021-02-01: :class:`ResolvePrivateLinkServiceIdOperations` * 2021-03-01: :class:`ResolvePrivateLinkServiceIdOperations` * 2021-05-01: :class:`ResolvePrivateLinkServiceIdOperations` + * 2021-07-01: :class:`ResolvePrivateLinkServiceIdOperations` """ api_version = self._get_api_version('resolve_private_link_service_id') if api_version == '2020-09-01': @@ -543,6 +566,8 @@ def resolve_private_link_service_id(self): from .v2021_03_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass elif api_version == '2021-05-01': from .v2021_05_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass + elif api_version == '2021-07-01': + from .v2021_07_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_version.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_version.py index ef6549b6f33..8beed36ef7e 100755 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_version.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "16.0.0" +VERSION = "16.1.0" diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/models.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/models.py index 46a4c060a97..32c068dc4de 100755 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/models.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/models.py @@ -6,4 +6,4 @@ # -------------------------------------------------------------------------- from .v2017_07_01.models import * from .v2019_04_30.models import * -from .v2021_05_01.models import * +from .v2021_07_01.models import * diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/_container_service_client.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/_container_service_client.py deleted file mode 100755 index 22aedc7879c..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/_container_service_client.py +++ /dev/null @@ -1,99 +0,0 @@ -# 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 typing import TYPE_CHECKING - -from azure.mgmt.core import ARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Optional - - from azure.core.credentials import TokenCredential - from azure.core.pipeline.transport import HttpRequest, HttpResponse - -from ._configuration import ContainerServiceClientConfiguration -from .operations import Operations -from .operations import ManagedClustersOperations -from .operations import AgentPoolsOperations -from . import models - - -class ContainerServiceClient(object): - """The Container Service Client. - - :ivar operations: Operations operations - :vartype operations: azure.mgmt.containerservice.v2019_04_01.operations.Operations - :ivar managed_clusters: ManagedClustersOperations operations - :vartype managed_clusters: azure.mgmt.containerservice.v2019_04_01.operations.ManagedClustersOperations - :ivar agent_pools: AgentPoolsOperations operations - :vartype agent_pools: azure.mgmt.containerservice.v2019_04_01.operations.AgentPoolsOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - base_url=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - if not base_url: - base_url = 'https://management.azure.com' - self._config = ContainerServiceClientConfiguration(credential, subscription_id, **kwargs) - self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.managed_clusters = ManagedClustersOperations( - self._client, self._config, self._serialize, self._deserialize) - self.agent_pools = AgentPoolsOperations( - self._client, self._config, self._serialize, self._deserialize) - - def _send_request(self, http_request, **kwargs): - # type: (HttpRequest, Any) -> HttpResponse - """Runs the network request through the client's chained policies. - - :param http_request: The network request you want to make. Required. - :type http_request: ~azure.core.pipeline.transport.HttpRequest - :keyword bool stream: Whether the response payload will be streamed. Defaults to True. - :return: The response of your network call. Does not do error handling on your response. - :rtype: ~azure.core.pipeline.transport.HttpResponse - """ - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - http_request.url = self._client.format_url(http_request.url, **path_format_arguments) - stream = kwargs.pop("stream", True) - pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) - return pipeline_response.http_response - - def close(self): - # type: () -> None - self._client.close() - - def __enter__(self): - # type: () -> ContainerServiceClient - self._client.__enter__() - return self - - def __exit__(self, *exc_details): - # type: (Any) -> None - self._client.__exit__(*exc_details) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/_container_service_client.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/_container_service_client.py deleted file mode 100755 index d5378ac4cf3..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/_container_service_client.py +++ /dev/null @@ -1,92 +0,0 @@ -# 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 typing import Any, Optional, TYPE_CHECKING - -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Deserializer, Serializer - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -from ._configuration import ContainerServiceClientConfiguration -from .operations import Operations -from .operations import ManagedClustersOperations -from .operations import AgentPoolsOperations -from .. import models - - -class ContainerServiceClient(object): - """The Container Service Client. - - :ivar operations: Operations operations - :vartype operations: azure.mgmt.containerservice.v2019_04_01.aio.operations.Operations - :ivar managed_clusters: ManagedClustersOperations operations - :vartype managed_clusters: azure.mgmt.containerservice.v2019_04_01.aio.operations.ManagedClustersOperations - :ivar agent_pools: AgentPoolsOperations operations - :vartype agent_pools: azure.mgmt.containerservice.v2019_04_01.aio.operations.AgentPoolsOperations - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - base_url: Optional[str] = None, - **kwargs: Any - ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = ContainerServiceClientConfiguration(credential, subscription_id, **kwargs) - self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - - client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False - self._deserialize = Deserializer(client_models) - - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.managed_clusters = ManagedClustersOperations( - self._client, self._config, self._serialize, self._deserialize) - self.agent_pools = AgentPoolsOperations( - self._client, self._config, self._serialize, self._deserialize) - - async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: - """Runs the network request through the client's chained policies. - - :param http_request: The network request you want to make. Required. - :type http_request: ~azure.core.pipeline.transport.HttpRequest - :keyword bool stream: Whether the response payload will be streamed. Defaults to True. - :return: The response of your network call. Does not do error handling on your response. - :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse - """ - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - http_request.url = self._client.format_url(http_request.url, **path_format_arguments) - stream = kwargs.pop("stream", True) - pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) - return pipeline_response.http_response - - async def close(self) -> None: - await self._client.close() - - async def __aenter__(self) -> "ContainerServiceClient": - await self._client.__aenter__() - return self - - async def __aexit__(self, *exc_details) -> None: - await self._client.__aexit__(*exc_details) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/__init__.py deleted file mode 100755 index 5aac40228ee..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# 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 ._operations import Operations -from ._managed_clusters_operations import ManagedClustersOperations -from ._agent_pools_operations import AgentPoolsOperations - -__all__ = [ - 'Operations', - 'ManagedClustersOperations', - 'AgentPoolsOperations', -] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_agent_pools_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_agent_pools_operations.py deleted file mode 100755 index b6f289badc9..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_agent_pools_operations.py +++ /dev/null @@ -1,439 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class AgentPoolsOperations: - """AgentPoolsOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2019_04_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name: str, - resource_name: str, - **kwargs: Any - ) -> AsyncIterable["_models.AgentPoolListResult"]: - """Gets a list of agent pools in the specified managed cluster. - - Gets a list of agent pools in the specified managed cluster. The operation returns properties - of each agent pool. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either AgentPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('AgentPoolListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools'} # type: ignore - - async def get( - self, - resource_group_name: str, - resource_name: str, - agent_pool_name: str, - **kwargs: Any - ) -> "_models.AgentPool": - """Gets the agent pool. - - Gets the details of the agent pool by managed cluster and resource group. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param agent_pool_name: The name of the agent pool. - :type agent_pool_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: AgentPool, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.AgentPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('AgentPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - resource_name: str, - agent_pool_name: str, - parameters: "_models.AgentPool", - **kwargs: Any - ) -> "_models.AgentPool": - cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'AgentPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('AgentPool', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('AgentPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - resource_name: str, - agent_pool_name: str, - parameters: "_models.AgentPool", - **kwargs: Any - ) -> AsyncLROPoller["_models.AgentPool"]: - """Creates or updates an agent pool. - - Creates or updates an agent pool in the specified managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param agent_pool_name: The name of the agent pool. - :type agent_pool_name: str - :param parameters: Parameters supplied to the Create or Update an agent pool operation. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.AgentPool - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be AsyncARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2019_04_01.models.AgentPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._create_or_update_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - agent_pool_name=agent_pool_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('AgentPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - resource_name: str, - agent_pool_name: str, - **kwargs: Any - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [202, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - resource_name: str, - agent_pool_name: str, - **kwargs: Any - ) -> AsyncLROPoller[None]: - """Deletes an agent pool. - - Deletes the agent pool in the specified managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param agent_pool_name: The name of the agent pool. - :type agent_pool_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be AsyncARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._delete_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - agent_pool_name=agent_pool_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_managed_clusters_operations.py deleted file mode 100755 index 270cecf7d03..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_managed_clusters_operations.py +++ /dev/null @@ -1,1101 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class ManagedClustersOperations: - """ManagedClustersOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2019_04_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs: Any - ) -> AsyncIterable["_models.ManagedClusterListResult"]: - """Gets a list of managed clusters in the specified subscription. - - Gets a list of managed clusters in the specified subscription. The operation returns properties - of each managed cluster. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ManagedClusterListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name: str, - **kwargs: Any - ) -> AsyncIterable["_models.ManagedClusterListResult"]: - """Lists managed clusters in the specified subscription and resource group. - - Lists managed clusters in the specified subscription and resource group. The operation returns - properties of each managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('ManagedClusterListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters'} # type: ignore - - async def get_upgrade_profile( - self, - resource_group_name: str, - resource_name: str, - **kwargs: Any - ) -> "_models.ManagedClusterUpgradeProfile": - """Gets upgrade profile for a managed cluster. - - Gets the details of the upgrade profile for a managed cluster with a specified resource group - and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedClusterUpgradeProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterUpgradeProfile - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterUpgradeProfile"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.get_upgrade_profile.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedClusterUpgradeProfile', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_upgrade_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default'} # type: ignore - - async def get_access_profile( - self, - resource_group_name: str, - resource_name: str, - role_name: str, - **kwargs: Any - ) -> "_models.ManagedClusterAccessProfile": - """Gets an access profile of a managed cluster. - - Gets the accessProfile for the specified role name of the managed cluster with a specified - resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param role_name: The name of the role for managed cluster accessProfile resource. - :type role_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedClusterAccessProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAccessProfile - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterAccessProfile"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.get_access_profile.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'roleName': self._serialize.url("role_name", role_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedClusterAccessProfile', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_access_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential'} # type: ignore - - async def list_cluster_admin_credentials( - self, - resource_group_name: str, - resource_name: str, - **kwargs: Any - ) -> "_models.CredentialResults": - """Gets cluster admin credential of a managed cluster. - - Gets cluster admin credential of the managed cluster with a specified resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.CredentialResults - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.list_cluster_admin_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CredentialResults', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_cluster_admin_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential'} # type: ignore - - async def list_cluster_user_credentials( - self, - resource_group_name: str, - resource_name: str, - **kwargs: Any - ) -> "_models.CredentialResults": - """Gets cluster user credential of a managed cluster. - - Gets cluster user credential of the managed cluster with a specified resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.CredentialResults - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.list_cluster_user_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CredentialResults', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'} # type: ignore - - async def get( - self, - resource_group_name: str, - resource_name: str, - **kwargs: Any - ) -> "_models.ManagedCluster": - """Gets a managed cluster. - - Gets the details of the managed cluster with a specified resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedCluster, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - async def _create_or_update_initial( - self, - resource_group_name: str, - resource_name: str, - parameters: "_models.ManagedCluster", - **kwargs: Any - ) -> "_models.ManagedCluster": - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'ManagedCluster') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - async def begin_create_or_update( - self, - resource_group_name: str, - resource_name: str, - parameters: "_models.ManagedCluster", - **kwargs: Any - ) -> AsyncLROPoller["_models.ManagedCluster"]: - """Creates or updates a managed cluster. - - Creates or updates a managed cluster with the specified configuration for agents and Kubernetes - version. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param parameters: Parameters supplied to the Create or Update a Managed Cluster operation. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be AsyncARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._create_or_update_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - async def _update_tags_initial( - self, - resource_group_name: str, - resource_name: str, - parameters: "_models.TagsObject", - **kwargs: Any - ) -> "_models.ManagedCluster": - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._update_tags_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'TagsObject') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - async def begin_update_tags( - self, - resource_group_name: str, - resource_name: str, - parameters: "_models.TagsObject", - **kwargs: Any - ) -> AsyncLROPoller["_models.ManagedCluster"]: - """Updates tags on a managed cluster. - - Updates a managed cluster with the specified tags. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param parameters: Parameters supplied to the Update Managed Cluster Tags operation. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.TagsObject - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be AsyncARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._update_tags_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - async def _delete_initial( - self, - resource_group_name: str, - resource_name: str, - **kwargs: Any - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [202, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - async def begin_delete( - self, - resource_group_name: str, - resource_name: str, - **kwargs: Any - ) -> AsyncLROPoller[None]: - """Deletes a managed cluster. - - Deletes the managed cluster with a specified resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be AsyncARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._delete_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - async def _reset_service_principal_profile_initial( - self, - resource_group_name: str, - resource_name: str, - parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs: Any - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._reset_service_principal_profile_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'ManagedClusterServicePrincipalProfile') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _reset_service_principal_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'} # type: ignore - - async def begin_reset_service_principal_profile( - self, - resource_group_name: str, - resource_name: str, - parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs: Any - ) -> AsyncLROPoller[None]: - """Reset Service Principal Profile of a managed cluster. - - Update the service principal Profile for a managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param parameters: Parameters supplied to the Reset Service Principal Profile operation for a - Managed Cluster. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterServicePrincipalProfile - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be AsyncARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._reset_service_principal_profile_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_reset_service_principal_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'} # type: ignore - - async def _reset_aad_profile_initial( - self, - resource_group_name: str, - resource_name: str, - parameters: "_models.ManagedClusterAADProfile", - **kwargs: Any - ) -> None: - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._reset_aad_profile_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'ManagedClusterAADProfile') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _reset_aad_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'} # type: ignore - - async def begin_reset_aad_profile( - self, - resource_group_name: str, - resource_name: str, - parameters: "_models.ManagedClusterAADProfile", - **kwargs: Any - ) -> AsyncLROPoller[None]: - """Reset AAD Profile of a managed cluster. - - Update the AAD Profile for a managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param parameters: Parameters supplied to the Reset AAD Profile operation for a Managed - Cluster. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be AsyncARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = await self._reset_aad_profile_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = AsyncNoPolling() - else: polling_method = polling - if cont_token: - return AsyncLROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_reset_aad_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/__init__.py deleted file mode 100755 index 1a2e8eac670..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/__init__.py +++ /dev/null @@ -1,124 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -try: - from ._models_py3 import AgentPool - from ._models_py3 import AgentPoolListResult - from ._models_py3 import CloudErrorBody - from ._models_py3 import ContainerServiceDiagnosticsProfile - from ._models_py3 import ContainerServiceLinuxProfile - from ._models_py3 import ContainerServiceMasterProfile - from ._models_py3 import ContainerServiceNetworkProfile - from ._models_py3 import ContainerServiceSshConfiguration - from ._models_py3 import ContainerServiceSshPublicKey - from ._models_py3 import ContainerServiceVMDiagnostics - from ._models_py3 import CredentialResult - from ._models_py3 import CredentialResults - from ._models_py3 import ManagedCluster - from ._models_py3 import ManagedClusterAADProfile - from ._models_py3 import ManagedClusterAccessProfile - from ._models_py3 import ManagedClusterAddonProfile - from ._models_py3 import ManagedClusterAgentPoolProfile - from ._models_py3 import ManagedClusterAgentPoolProfileProperties - from ._models_py3 import ManagedClusterIdentity - from ._models_py3 import ManagedClusterListResult - from ._models_py3 import ManagedClusterPoolUpgradeProfile - from ._models_py3 import ManagedClusterPoolUpgradeProfileUpgradesItem - from ._models_py3 import ManagedClusterServicePrincipalProfile - from ._models_py3 import ManagedClusterUpgradeProfile - from ._models_py3 import ManagedClusterWindowsProfile - from ._models_py3 import OperationListResult - from ._models_py3 import OperationValue - from ._models_py3 import Resource - from ._models_py3 import SubResource - from ._models_py3 import TagsObject -except (SyntaxError, ImportError): - from ._models import AgentPool # type: ignore - from ._models import AgentPoolListResult # type: ignore - from ._models import CloudErrorBody # type: ignore - from ._models import ContainerServiceDiagnosticsProfile # type: ignore - from ._models import ContainerServiceLinuxProfile # type: ignore - from ._models import ContainerServiceMasterProfile # type: ignore - from ._models import ContainerServiceNetworkProfile # type: ignore - from ._models import ContainerServiceSshConfiguration # type: ignore - from ._models import ContainerServiceSshPublicKey # type: ignore - from ._models import ContainerServiceVMDiagnostics # type: ignore - from ._models import CredentialResult # type: ignore - from ._models import CredentialResults # type: ignore - from ._models import ManagedCluster # type: ignore - from ._models import ManagedClusterAADProfile # type: ignore - from ._models import ManagedClusterAccessProfile # type: ignore - from ._models import ManagedClusterAddonProfile # type: ignore - from ._models import ManagedClusterAgentPoolProfile # type: ignore - from ._models import ManagedClusterAgentPoolProfileProperties # type: ignore - from ._models import ManagedClusterIdentity # type: ignore - from ._models import ManagedClusterListResult # type: ignore - from ._models import ManagedClusterPoolUpgradeProfile # type: ignore - from ._models import ManagedClusterPoolUpgradeProfileUpgradesItem # type: ignore - from ._models import ManagedClusterServicePrincipalProfile # type: ignore - from ._models import ManagedClusterUpgradeProfile # type: ignore - from ._models import ManagedClusterWindowsProfile # type: ignore - from ._models import OperationListResult # type: ignore - from ._models import OperationValue # type: ignore - from ._models import Resource # type: ignore - from ._models import SubResource # type: ignore - from ._models import TagsObject # type: ignore - -from ._container_service_client_enums import ( - AgentPoolType, - ContainerServiceStorageProfileTypes, - ContainerServiceVMSizeTypes, - Count, - LoadBalancerSku, - NetworkPlugin, - NetworkPolicy, - OSType, - ResourceIdentityType, -) - -__all__ = [ - 'AgentPool', - 'AgentPoolListResult', - 'CloudErrorBody', - 'ContainerServiceDiagnosticsProfile', - 'ContainerServiceLinuxProfile', - 'ContainerServiceMasterProfile', - 'ContainerServiceNetworkProfile', - 'ContainerServiceSshConfiguration', - 'ContainerServiceSshPublicKey', - 'ContainerServiceVMDiagnostics', - 'CredentialResult', - 'CredentialResults', - 'ManagedCluster', - 'ManagedClusterAADProfile', - 'ManagedClusterAccessProfile', - 'ManagedClusterAddonProfile', - 'ManagedClusterAgentPoolProfile', - 'ManagedClusterAgentPoolProfileProperties', - 'ManagedClusterIdentity', - 'ManagedClusterListResult', - 'ManagedClusterPoolUpgradeProfile', - 'ManagedClusterPoolUpgradeProfileUpgradesItem', - 'ManagedClusterServicePrincipalProfile', - 'ManagedClusterUpgradeProfile', - 'ManagedClusterWindowsProfile', - 'OperationListResult', - 'OperationValue', - 'Resource', - 'SubResource', - 'TagsObject', - 'AgentPoolType', - 'ContainerServiceStorageProfileTypes', - 'ContainerServiceVMSizeTypes', - 'Count', - 'LoadBalancerSku', - 'NetworkPlugin', - 'NetworkPolicy', - 'OSType', - 'ResourceIdentityType', -] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_container_service_client_enums.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_container_service_client_enums.py deleted file mode 100755 index 02e7ae312cd..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_container_service_client_enums.py +++ /dev/null @@ -1,269 +0,0 @@ -# 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 enum import Enum, EnumMeta -from six import with_metaclass - -class _CaseInsensitiveEnumMeta(EnumMeta): - def __getitem__(self, name): - return super().__getitem__(name.upper()) - - def __getattr__(cls, name): - """Return the enum member matching `name` - We use __getattr__ instead of descriptors or inserting into the enum - class' __dict__ in order to support `name` and `value` being both - properties for enum members (which live in the class' __dict__) and - enum members themselves. - """ - try: - return cls._member_map_[name.upper()] - except KeyError: - raise AttributeError(name) - - -class AgentPoolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """AgentPoolType represents types of an agent pool. VirtualMachineScaleSets type is still in - PREVIEW. - """ - - VIRTUAL_MACHINE_SCALE_SETS = "VirtualMachineScaleSets" - AVAILABILITY_SET = "AvailabilitySet" - -class ContainerServiceStorageProfileTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Storage profile specifies what kind of storage used. Choose from StorageAccount and - ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice. - """ - - STORAGE_ACCOUNT = "StorageAccount" - MANAGED_DISKS = "ManagedDisks" - -class ContainerServiceVMSizeTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Size of agent VMs. - """ - - STANDARD_A1 = "Standard_A1" - STANDARD_A10 = "Standard_A10" - STANDARD_A11 = "Standard_A11" - STANDARD_A1_V2 = "Standard_A1_v2" - STANDARD_A2 = "Standard_A2" - STANDARD_A2_V2 = "Standard_A2_v2" - STANDARD_A2_M_V2 = "Standard_A2m_v2" - STANDARD_A3 = "Standard_A3" - STANDARD_A4 = "Standard_A4" - STANDARD_A4_V2 = "Standard_A4_v2" - STANDARD_A4_M_V2 = "Standard_A4m_v2" - STANDARD_A5 = "Standard_A5" - STANDARD_A6 = "Standard_A6" - STANDARD_A7 = "Standard_A7" - STANDARD_A8 = "Standard_A8" - STANDARD_A8_V2 = "Standard_A8_v2" - STANDARD_A8_M_V2 = "Standard_A8m_v2" - STANDARD_A9 = "Standard_A9" - STANDARD_B2_MS = "Standard_B2ms" - STANDARD_B2_S = "Standard_B2s" - STANDARD_B4_MS = "Standard_B4ms" - STANDARD_B8_MS = "Standard_B8ms" - STANDARD_D1 = "Standard_D1" - STANDARD_D11 = "Standard_D11" - STANDARD_D11_V2 = "Standard_D11_v2" - STANDARD_D11_V2_PROMO = "Standard_D11_v2_Promo" - STANDARD_D12 = "Standard_D12" - STANDARD_D12_V2 = "Standard_D12_v2" - STANDARD_D12_V2_PROMO = "Standard_D12_v2_Promo" - STANDARD_D13 = "Standard_D13" - STANDARD_D13_V2 = "Standard_D13_v2" - STANDARD_D13_V2_PROMO = "Standard_D13_v2_Promo" - STANDARD_D14 = "Standard_D14" - STANDARD_D14_V2 = "Standard_D14_v2" - STANDARD_D14_V2_PROMO = "Standard_D14_v2_Promo" - STANDARD_D15_V2 = "Standard_D15_v2" - STANDARD_D16_V3 = "Standard_D16_v3" - STANDARD_D16_S_V3 = "Standard_D16s_v3" - STANDARD_D1_V2 = "Standard_D1_v2" - STANDARD_D2 = "Standard_D2" - STANDARD_D2_V2 = "Standard_D2_v2" - STANDARD_D2_V2_PROMO = "Standard_D2_v2_Promo" - STANDARD_D2_V3 = "Standard_D2_v3" - STANDARD_D2_S_V3 = "Standard_D2s_v3" - STANDARD_D3 = "Standard_D3" - STANDARD_D32_V3 = "Standard_D32_v3" - STANDARD_D32_S_V3 = "Standard_D32s_v3" - STANDARD_D3_V2 = "Standard_D3_v2" - STANDARD_D3_V2_PROMO = "Standard_D3_v2_Promo" - STANDARD_D4 = "Standard_D4" - STANDARD_D4_V2 = "Standard_D4_v2" - STANDARD_D4_V2_PROMO = "Standard_D4_v2_Promo" - STANDARD_D4_V3 = "Standard_D4_v3" - STANDARD_D4_S_V3 = "Standard_D4s_v3" - STANDARD_D5_V2 = "Standard_D5_v2" - STANDARD_D5_V2_PROMO = "Standard_D5_v2_Promo" - STANDARD_D64_V3 = "Standard_D64_v3" - STANDARD_D64_S_V3 = "Standard_D64s_v3" - STANDARD_D8_V3 = "Standard_D8_v3" - STANDARD_D8_S_V3 = "Standard_D8s_v3" - STANDARD_DS1 = "Standard_DS1" - STANDARD_DS11 = "Standard_DS11" - STANDARD_DS11_V2 = "Standard_DS11_v2" - STANDARD_DS11_V2_PROMO = "Standard_DS11_v2_Promo" - STANDARD_DS12 = "Standard_DS12" - STANDARD_DS12_V2 = "Standard_DS12_v2" - STANDARD_DS12_V2_PROMO = "Standard_DS12_v2_Promo" - STANDARD_DS13 = "Standard_DS13" - STANDARD_DS13_2_V2 = "Standard_DS13-2_v2" - STANDARD_DS13_4_V2 = "Standard_DS13-4_v2" - STANDARD_DS13_V2 = "Standard_DS13_v2" - STANDARD_DS13_V2_PROMO = "Standard_DS13_v2_Promo" - STANDARD_DS14 = "Standard_DS14" - STANDARD_DS14_4_V2 = "Standard_DS14-4_v2" - STANDARD_DS14_8_V2 = "Standard_DS14-8_v2" - STANDARD_DS14_V2 = "Standard_DS14_v2" - STANDARD_DS14_V2_PROMO = "Standard_DS14_v2_Promo" - STANDARD_DS15_V2 = "Standard_DS15_v2" - STANDARD_DS1_V2 = "Standard_DS1_v2" - STANDARD_DS2 = "Standard_DS2" - STANDARD_DS2_V2 = "Standard_DS2_v2" - STANDARD_DS2_V2_PROMO = "Standard_DS2_v2_Promo" - STANDARD_DS3 = "Standard_DS3" - STANDARD_DS3_V2 = "Standard_DS3_v2" - STANDARD_DS3_V2_PROMO = "Standard_DS3_v2_Promo" - STANDARD_DS4 = "Standard_DS4" - STANDARD_DS4_V2 = "Standard_DS4_v2" - STANDARD_DS4_V2_PROMO = "Standard_DS4_v2_Promo" - STANDARD_DS5_V2 = "Standard_DS5_v2" - STANDARD_DS5_V2_PROMO = "Standard_DS5_v2_Promo" - STANDARD_E16_V3 = "Standard_E16_v3" - STANDARD_E16_S_V3 = "Standard_E16s_v3" - STANDARD_E2_V3 = "Standard_E2_v3" - STANDARD_E2_S_V3 = "Standard_E2s_v3" - STANDARD_E32_16_S_V3 = "Standard_E32-16s_v3" - STANDARD_E32_8_S_V3 = "Standard_E32-8s_v3" - STANDARD_E32_V3 = "Standard_E32_v3" - STANDARD_E32_S_V3 = "Standard_E32s_v3" - STANDARD_E4_V3 = "Standard_E4_v3" - STANDARD_E4_S_V3 = "Standard_E4s_v3" - STANDARD_E64_16_S_V3 = "Standard_E64-16s_v3" - STANDARD_E64_32_S_V3 = "Standard_E64-32s_v3" - STANDARD_E64_V3 = "Standard_E64_v3" - STANDARD_E64_S_V3 = "Standard_E64s_v3" - STANDARD_E8_V3 = "Standard_E8_v3" - STANDARD_E8_S_V3 = "Standard_E8s_v3" - STANDARD_F1 = "Standard_F1" - STANDARD_F16 = "Standard_F16" - STANDARD_F16_S = "Standard_F16s" - STANDARD_F16_S_V2 = "Standard_F16s_v2" - STANDARD_F1_S = "Standard_F1s" - STANDARD_F2 = "Standard_F2" - STANDARD_F2_S = "Standard_F2s" - STANDARD_F2_S_V2 = "Standard_F2s_v2" - STANDARD_F32_S_V2 = "Standard_F32s_v2" - STANDARD_F4 = "Standard_F4" - STANDARD_F4_S = "Standard_F4s" - STANDARD_F4_S_V2 = "Standard_F4s_v2" - STANDARD_F64_S_V2 = "Standard_F64s_v2" - STANDARD_F72_S_V2 = "Standard_F72s_v2" - STANDARD_F8 = "Standard_F8" - STANDARD_F8_S = "Standard_F8s" - STANDARD_F8_S_V2 = "Standard_F8s_v2" - STANDARD_G1 = "Standard_G1" - STANDARD_G2 = "Standard_G2" - STANDARD_G3 = "Standard_G3" - STANDARD_G4 = "Standard_G4" - STANDARD_G5 = "Standard_G5" - STANDARD_GS1 = "Standard_GS1" - STANDARD_GS2 = "Standard_GS2" - STANDARD_GS3 = "Standard_GS3" - STANDARD_GS4 = "Standard_GS4" - STANDARD_GS4_4 = "Standard_GS4-4" - STANDARD_GS4_8 = "Standard_GS4-8" - STANDARD_GS5 = "Standard_GS5" - STANDARD_GS5_16 = "Standard_GS5-16" - STANDARD_GS5_8 = "Standard_GS5-8" - STANDARD_H16 = "Standard_H16" - STANDARD_H16_M = "Standard_H16m" - STANDARD_H16_MR = "Standard_H16mr" - STANDARD_H16_R = "Standard_H16r" - STANDARD_H8 = "Standard_H8" - STANDARD_H8_M = "Standard_H8m" - STANDARD_L16_S = "Standard_L16s" - STANDARD_L32_S = "Standard_L32s" - STANDARD_L4_S = "Standard_L4s" - STANDARD_L8_S = "Standard_L8s" - STANDARD_M128_32_MS = "Standard_M128-32ms" - STANDARD_M128_64_MS = "Standard_M128-64ms" - STANDARD_M128_MS = "Standard_M128ms" - STANDARD_M128_S = "Standard_M128s" - STANDARD_M64_16_MS = "Standard_M64-16ms" - STANDARD_M64_32_MS = "Standard_M64-32ms" - STANDARD_M64_MS = "Standard_M64ms" - STANDARD_M64_S = "Standard_M64s" - STANDARD_NC12 = "Standard_NC12" - STANDARD_NC12_S_V2 = "Standard_NC12s_v2" - STANDARD_NC12_S_V3 = "Standard_NC12s_v3" - STANDARD_NC24 = "Standard_NC24" - STANDARD_NC24_R = "Standard_NC24r" - STANDARD_NC24_RS_V2 = "Standard_NC24rs_v2" - STANDARD_NC24_RS_V3 = "Standard_NC24rs_v3" - STANDARD_NC24_S_V2 = "Standard_NC24s_v2" - STANDARD_NC24_S_V3 = "Standard_NC24s_v3" - STANDARD_NC6 = "Standard_NC6" - STANDARD_NC6_S_V2 = "Standard_NC6s_v2" - STANDARD_NC6_S_V3 = "Standard_NC6s_v3" - STANDARD_ND12_S = "Standard_ND12s" - STANDARD_ND24_RS = "Standard_ND24rs" - STANDARD_ND24_S = "Standard_ND24s" - STANDARD_ND6_S = "Standard_ND6s" - STANDARD_NV12 = "Standard_NV12" - STANDARD_NV24 = "Standard_NV24" - STANDARD_NV6 = "Standard_NV6" - -class Count(with_metaclass(_CaseInsensitiveEnumMeta, int, Enum)): - """Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The - default value is 1. - """ - - ONE = 1 - THREE = 3 - FIVE = 5 - -class LoadBalancerSku(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The load balancer sku for the managed cluster. - """ - - STANDARD = "standard" - BASIC = "basic" - -class NetworkPlugin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Network plugin used for building Kubernetes network. - """ - - AZURE = "azure" - KUBENET = "kubenet" - -class NetworkPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Network policy used for building Kubernetes network. - """ - - CALICO = "calico" - AZURE = "azure" - -class OSType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. - """ - - LINUX = "Linux" - WINDOWS = "Windows" - -class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly - created identity in master components and an auto-created user assigned identity in MC_ - resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service - principal will be used instead. - """ - - SYSTEM_ASSIGNED = "SystemAssigned" - NONE = "None" diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_models.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_models.py deleted file mode 100755 index df83703d36e..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_models.py +++ /dev/null @@ -1,1466 +0,0 @@ -# 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. -# -------------------------------------------------------------------------- - -import msrest.serialization - - -class SubResource(msrest.serialization.Model): - """Reference to another subresource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Resource ID. - :vartype id: str - :ivar name: The name of the resource that is unique within a resource group. This name can be - used to access the resource. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SubResource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class AgentPool(SubResource): - """Agent Pool. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Resource ID. - :vartype id: str - :ivar name: The name of the resource that is unique within a resource group. This name can be - used to access the resource. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param count: Number of agents (VMs) to host docker containers. Allowed values must be in the - range of 1 to 100 (inclusive). The default value is 1. - :type count: int - :param vm_size: Size of agent VMs. Possible values include: "Standard_A1", "Standard_A10", - "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", "Standard_A2m_v2", - "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", "Standard_A5", - "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", "Standard_A8m_v2", - "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", "Standard_B8ms", - "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", "Standard_D12", - "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", - "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", - "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", - "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", - "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", - "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", - "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", - "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", - "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", - "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", - "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", - "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", - "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", - "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", - "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", - "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", - "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", - "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", - "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", - "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", - "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", - "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", - "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", - "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", - "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", - "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", - "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", - "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", - "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", - "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", - "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", - "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". - :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes - :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size - according to the vmSize specified. - :type os_disk_size_gb: int - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. - :type vnet_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. - :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2019_04_01.models.OSType - :param max_count: Maximum number of nodes for auto-scaling. - :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. - :type min_count: int - :param enable_auto_scaling: Whether to enable auto-scaler. - :type enable_auto_scaling: bool - :param type_properties_type: AgentPoolType represents types of an agent pool. Possible values - include: "VirtualMachineScaleSets", "AvailabilitySet". - :type type_properties_type: str or - ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. - :type orchestrator_version: str - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :param availability_zones: (PREVIEW) Availability zones for nodes. Must use - VirtualMachineScaleSets AgentPoolType. - :type availability_zones: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'count': {'maximum': 100, 'minimum': 1}, - 'os_disk_size_gb': {'maximum': 1023, 'minimum': 0}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'count': {'key': 'properties.count', 'type': 'int'}, - 'vm_size': {'key': 'properties.vmSize', 'type': 'str'}, - 'os_disk_size_gb': {'key': 'properties.osDiskSizeGB', 'type': 'int'}, - 'vnet_subnet_id': {'key': 'properties.vnetSubnetID', 'type': 'str'}, - 'max_pods': {'key': 'properties.maxPods', 'type': 'int'}, - 'os_type': {'key': 'properties.osType', 'type': 'str'}, - 'max_count': {'key': 'properties.maxCount', 'type': 'int'}, - 'min_count': {'key': 'properties.minCount', 'type': 'int'}, - 'enable_auto_scaling': {'key': 'properties.enableAutoScaling', 'type': 'bool'}, - 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, - 'orchestrator_version': {'key': 'properties.orchestratorVersion', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(AgentPool, self).__init__(**kwargs) - self.count = kwargs.get('count', 1) - self.vm_size = kwargs.get('vm_size', None) - self.os_disk_size_gb = kwargs.get('os_disk_size_gb', None) - self.vnet_subnet_id = kwargs.get('vnet_subnet_id', None) - self.max_pods = kwargs.get('max_pods', None) - self.os_type = kwargs.get('os_type', "Linux") - self.max_count = kwargs.get('max_count', None) - self.min_count = kwargs.get('min_count', None) - self.enable_auto_scaling = kwargs.get('enable_auto_scaling', None) - self.type_properties_type = kwargs.get('type_properties_type', None) - self.orchestrator_version = kwargs.get('orchestrator_version', None) - self.provisioning_state = None - self.availability_zones = kwargs.get('availability_zones', None) - - -class AgentPoolListResult(msrest.serialization.Model): - """The response from the List Agent Pools operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param value: The list of agent pools. - :type value: list[~azure.mgmt.containerservice.v2019_04_01.models.AgentPool] - :ivar next_link: The URL to get the next set of agent pool results. - :vartype next_link: str - """ - - _validation = { - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[AgentPool]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(AgentPoolListResult, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class CloudErrorBody(msrest.serialization.Model): - """An error response from the Container service. - - :param code: An identifier for the error. Codes are invariant and are intended to be consumed - programmatically. - :type code: str - :param message: A message describing the error, intended to be suitable for display in a user - interface. - :type message: str - :param target: The target of the particular error. For example, the name of the property in - error. - :type target: str - :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.containerservice.v2019_04_01.models.CloudErrorBody] - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, - } - - def __init__( - self, - **kwargs - ): - super(CloudErrorBody, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) - self.target = kwargs.get('target', None) - self.details = kwargs.get('details', None) - - -class ContainerServiceDiagnosticsProfile(msrest.serialization.Model): - """Profile for diagnostics on the container service cluster. - - All required parameters must be populated in order to send to Azure. - - :param vm_diagnostics: Required. Profile for diagnostics on the container service VMs. - :type vm_diagnostics: - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMDiagnostics - """ - - _validation = { - 'vm_diagnostics': {'required': True}, - } - - _attribute_map = { - 'vm_diagnostics': {'key': 'vmDiagnostics', 'type': 'ContainerServiceVMDiagnostics'}, - } - - def __init__( - self, - **kwargs - ): - super(ContainerServiceDiagnosticsProfile, self).__init__(**kwargs) - self.vm_diagnostics = kwargs['vm_diagnostics'] - - -class ContainerServiceLinuxProfile(msrest.serialization.Model): - """Profile for Linux VMs in the container service cluster. - - All required parameters must be populated in order to send to Azure. - - :param admin_username: Required. The administrator username to use for Linux VMs. - :type admin_username: str - :param ssh: Required. SSH configuration for Linux-based VMs running on Azure. - :type ssh: ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceSshConfiguration - """ - - _validation = { - 'admin_username': {'required': True, 'pattern': r'^[A-Za-z][-A-Za-z0-9_]*$'}, - 'ssh': {'required': True}, - } - - _attribute_map = { - 'admin_username': {'key': 'adminUsername', 'type': 'str'}, - 'ssh': {'key': 'ssh', 'type': 'ContainerServiceSshConfiguration'}, - } - - def __init__( - self, - **kwargs - ): - super(ContainerServiceLinuxProfile, self).__init__(**kwargs) - self.admin_username = kwargs['admin_username'] - self.ssh = kwargs['ssh'] - - -class ContainerServiceMasterProfile(msrest.serialization.Model): - """Profile for the container service master. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param count: Number of masters (VMs) in the container service cluster. Allowed values are 1, - 3, and 5. The default value is 1. Possible values include: 1, 3, 5. Default value: "1". - :type count: str or ~azure.mgmt.containerservice.v2019_04_01.models.Count - :param dns_prefix: Required. DNS prefix to be used to create the FQDN for the master pool. - :type dns_prefix: str - :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", - "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", - "Standard_A2m_v2", "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", - "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", - "Standard_A8m_v2", "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", - "Standard_B8ms", "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", - "Standard_D12", "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", - "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", - "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", - "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", - "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", - "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", - "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", - "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", - "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", - "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", - "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", - "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", - "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", - "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", - "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", - "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", - "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", - "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", - "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", - "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", - "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", - "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", - "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", - "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", - "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", - "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", - "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", - "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", - "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", - "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", - "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", - "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". - :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes - :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size - according to the vmSize specified. - :type os_disk_size_gb: int - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. - :type vnet_subnet_id: str - :param first_consecutive_static_ip: FirstConsecutiveStaticIP used to specify the first static - ip of masters. - :type first_consecutive_static_ip: str - :param storage_profile: Storage profile specifies what kind of storage used. Choose from - StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the - orchestrator choice. Possible values include: "StorageAccount", "ManagedDisks". - :type storage_profile: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceStorageProfileTypes - :ivar fqdn: FQDN for the master pool. - :vartype fqdn: str - """ - - _validation = { - 'dns_prefix': {'required': True}, - 'vm_size': {'required': True}, - 'os_disk_size_gb': {'maximum': 1023, 'minimum': 0}, - 'fqdn': {'readonly': True}, - } - - _attribute_map = { - 'count': {'key': 'count', 'type': 'int'}, - 'dns_prefix': {'key': 'dnsPrefix', 'type': 'str'}, - 'vm_size': {'key': 'vmSize', 'type': 'str'}, - 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, - 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, - 'first_consecutive_static_ip': {'key': 'firstConsecutiveStaticIP', 'type': 'str'}, - 'storage_profile': {'key': 'storageProfile', 'type': 'str'}, - 'fqdn': {'key': 'fqdn', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ContainerServiceMasterProfile, self).__init__(**kwargs) - self.count = kwargs.get('count', "1") - self.dns_prefix = kwargs['dns_prefix'] - self.vm_size = kwargs['vm_size'] - self.os_disk_size_gb = kwargs.get('os_disk_size_gb', None) - self.vnet_subnet_id = kwargs.get('vnet_subnet_id', None) - self.first_consecutive_static_ip = kwargs.get('first_consecutive_static_ip', "10.240.255.5") - self.storage_profile = kwargs.get('storage_profile', None) - self.fqdn = None - - -class ContainerServiceNetworkProfile(msrest.serialization.Model): - """Profile of network configuration. - - :param network_plugin: Network plugin used for building Kubernetes network. Possible values - include: "azure", "kubenet". Default value: "kubenet". - :type network_plugin: str or ~azure.mgmt.containerservice.v2019_04_01.models.NetworkPlugin - :param network_policy: Network policy used for building Kubernetes network. Possible values - include: "calico", "azure". - :type network_policy: str or ~azure.mgmt.containerservice.v2019_04_01.models.NetworkPolicy - :param pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. - :type pod_cidr: str - :param service_cidr: A CIDR notation IP range from which to assign service cluster IPs. It must - not overlap with any Subnet IP ranges. - :type service_cidr: str - :param dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within - the Kubernetes service address range specified in serviceCidr. - :type dns_service_ip: str - :param docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It - must not overlap with any Subnet IP ranges or the Kubernetes service address range. - :type docker_bridge_cidr: str - :param load_balancer_sku: The load balancer sku for the managed cluster. Possible values - include: "standard", "basic". - :type load_balancer_sku: str or ~azure.mgmt.containerservice.v2019_04_01.models.LoadBalancerSku - """ - - _validation = { - 'pod_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, - 'service_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, - 'dns_service_ip': {'pattern': r'^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'}, - 'docker_bridge_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, - } - - _attribute_map = { - 'network_plugin': {'key': 'networkPlugin', 'type': 'str'}, - 'network_policy': {'key': 'networkPolicy', 'type': 'str'}, - 'pod_cidr': {'key': 'podCidr', 'type': 'str'}, - 'service_cidr': {'key': 'serviceCidr', 'type': 'str'}, - 'dns_service_ip': {'key': 'dnsServiceIP', 'type': 'str'}, - 'docker_bridge_cidr': {'key': 'dockerBridgeCidr', 'type': 'str'}, - 'load_balancer_sku': {'key': 'loadBalancerSku', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ContainerServiceNetworkProfile, self).__init__(**kwargs) - self.network_plugin = kwargs.get('network_plugin', "kubenet") - self.network_policy = kwargs.get('network_policy', None) - self.pod_cidr = kwargs.get('pod_cidr', "10.244.0.0/16") - self.service_cidr = kwargs.get('service_cidr', "10.0.0.0/16") - self.dns_service_ip = kwargs.get('dns_service_ip', "10.0.0.10") - self.docker_bridge_cidr = kwargs.get('docker_bridge_cidr', "172.17.0.1/16") - self.load_balancer_sku = kwargs.get('load_balancer_sku', None) - - -class ContainerServiceSshConfiguration(msrest.serialization.Model): - """SSH configuration for Linux-based VMs running on Azure. - - All required parameters must be populated in order to send to Azure. - - :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based - VMs. Only expect one key specified. - :type public_keys: - list[~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceSshPublicKey] - """ - - _validation = { - 'public_keys': {'required': True}, - } - - _attribute_map = { - 'public_keys': {'key': 'publicKeys', 'type': '[ContainerServiceSshPublicKey]'}, - } - - def __init__( - self, - **kwargs - ): - super(ContainerServiceSshConfiguration, self).__init__(**kwargs) - self.public_keys = kwargs['public_keys'] - - -class ContainerServiceSshPublicKey(msrest.serialization.Model): - """Contains information about SSH certificate public key data. - - All required parameters must be populated in order to send to Azure. - - :param key_data: Required. Certificate public key used to authenticate with VMs through SSH. - The certificate must be in PEM format with or without headers. - :type key_data: str - """ - - _validation = { - 'key_data': {'required': True}, - } - - _attribute_map = { - 'key_data': {'key': 'keyData', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ContainerServiceSshPublicKey, self).__init__(**kwargs) - self.key_data = kwargs['key_data'] - - -class ContainerServiceVMDiagnostics(msrest.serialization.Model): - """Profile for diagnostics on the container service VMs. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Whether the VM diagnostic agent is provisioned on the VM. - :type enabled: bool - :ivar storage_uri: The URI of the storage account where diagnostics are stored. - :vartype storage_uri: str - """ - - _validation = { - 'enabled': {'required': True}, - 'storage_uri': {'readonly': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'storage_uri': {'key': 'storageUri', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ContainerServiceVMDiagnostics, self).__init__(**kwargs) - self.enabled = kwargs['enabled'] - self.storage_uri = None - - -class CredentialResult(msrest.serialization.Model): - """The credential result response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: The name of the credential. - :vartype name: str - :ivar value: Base64-encoded Kubernetes configuration file. - :vartype value: bytearray - """ - - _validation = { - 'name': {'readonly': True}, - 'value': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'bytearray'}, - } - - def __init__( - self, - **kwargs - ): - super(CredentialResult, self).__init__(**kwargs) - self.name = None - self.value = None - - -class CredentialResults(msrest.serialization.Model): - """The list of credential result response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. - :vartype kubeconfigs: list[~azure.mgmt.containerservice.v2019_04_01.models.CredentialResult] - """ - - _validation = { - 'kubeconfigs': {'readonly': True}, - } - - _attribute_map = { - 'kubeconfigs': {'key': 'kubeconfigs', 'type': '[CredentialResult]'}, - } - - def __init__( - self, - **kwargs - ): - super(CredentialResults, self).__init__(**kwargs) - self.kubeconfigs = None - - -class Resource(msrest.serialization.Model): - """The Resource model definition. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Resource Id. - :vartype id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.location = kwargs['location'] - self.tags = kwargs.get('tags', None) - - -class ManagedCluster(Resource): - """Managed cluster. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Resource Id. - :vartype id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param identity: The identity of the managed cluster, if configured. - :type identity: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterIdentity - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :ivar max_agent_pools: The max number of agent pools for the managed cluster. - :vartype max_agent_pools: int - :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. - :type kubernetes_version: str - :param dns_prefix: DNS prefix specified when creating the managed cluster. - :type dns_prefix: str - :ivar fqdn: FQDN for the master pool. - :vartype fqdn: str - :param agent_pool_profiles: Properties of the agent pool. - :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAgentPoolProfile] - :param linux_profile: Profile for Linux VMs in the container service cluster. - :type linux_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceLinuxProfile - :param windows_profile: Profile for Windows VMs in the container service cluster. - :type windows_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterWindowsProfile - :param service_principal_profile: Information about a service principal identity for the - cluster to use for manipulating Azure APIs. - :type service_principal_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterServicePrincipalProfile - :param addon_profiles: Profile of managed cluster add-on. - :type addon_profiles: dict[str, - ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAddonProfile] - :param node_resource_group: Name of the resource group containing agent pool nodes. - :type node_resource_group: str - :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. - :type enable_rbac: bool - :param enable_pod_security_policy: (DEPRECATING) Whether to enable Kubernetes pod security - policy (preview). This feature is set for removal on October 15th, 2020. Learn more at - aka.ms/aks/azpodpolicy. - :type enable_pod_security_policy: bool - :param network_profile: Profile of network configuration. - :type network_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceNetworkProfile - :param aad_profile: Profile of Azure Active Directory configuration. - :type aad_profile: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile - :param api_server_authorized_ip_ranges: (PREVIEW) Authorized IP Ranges to kubernetes API - server. - :type api_server_authorized_ip_ranges: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'provisioning_state': {'readonly': True}, - 'max_agent_pools': {'readonly': True}, - 'fqdn': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'max_agent_pools': {'key': 'properties.maxAgentPools', 'type': 'int'}, - 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, - 'dns_prefix': {'key': 'properties.dnsPrefix', 'type': 'str'}, - 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, - 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterAgentPoolProfile]'}, - 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, - 'windows_profile': {'key': 'properties.windowsProfile', 'type': 'ManagedClusterWindowsProfile'}, - 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ManagedClusterServicePrincipalProfile'}, - 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, - 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, - 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, - 'enable_pod_security_policy': {'key': 'properties.enablePodSecurityPolicy', 'type': 'bool'}, - 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, - 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, - 'api_server_authorized_ip_ranges': {'key': 'properties.apiServerAuthorizedIPRanges', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedCluster, self).__init__(**kwargs) - self.identity = kwargs.get('identity', None) - self.provisioning_state = None - self.max_agent_pools = None - self.kubernetes_version = kwargs.get('kubernetes_version', None) - self.dns_prefix = kwargs.get('dns_prefix', None) - self.fqdn = None - self.agent_pool_profiles = kwargs.get('agent_pool_profiles', None) - self.linux_profile = kwargs.get('linux_profile', None) - self.windows_profile = kwargs.get('windows_profile', None) - self.service_principal_profile = kwargs.get('service_principal_profile', None) - self.addon_profiles = kwargs.get('addon_profiles', None) - self.node_resource_group = kwargs.get('node_resource_group', None) - self.enable_rbac = kwargs.get('enable_rbac', None) - self.enable_pod_security_policy = kwargs.get('enable_pod_security_policy', None) - self.network_profile = kwargs.get('network_profile', None) - self.aad_profile = kwargs.get('aad_profile', None) - self.api_server_authorized_ip_ranges = kwargs.get('api_server_authorized_ip_ranges', None) - - -class ManagedClusterAADProfile(msrest.serialization.Model): - """AADProfile specifies attributes for Azure Active Directory integration. - - All required parameters must be populated in order to send to Azure. - - :param client_app_id: Required. The client AAD application ID. - :type client_app_id: str - :param server_app_id: Required. The server AAD application ID. - :type server_app_id: str - :param server_app_secret: The server AAD application secret. - :type server_app_secret: str - :param tenant_id: The AAD tenant ID to use for authentication. If not specified, will use the - tenant of the deployment subscription. - :type tenant_id: str - """ - - _validation = { - 'client_app_id': {'required': True}, - 'server_app_id': {'required': True}, - } - - _attribute_map = { - 'client_app_id': {'key': 'clientAppID', 'type': 'str'}, - 'server_app_id': {'key': 'serverAppID', 'type': 'str'}, - 'server_app_secret': {'key': 'serverAppSecret', 'type': 'str'}, - 'tenant_id': {'key': 'tenantID', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterAADProfile, self).__init__(**kwargs) - self.client_app_id = kwargs['client_app_id'] - self.server_app_id = kwargs['server_app_id'] - self.server_app_secret = kwargs.get('server_app_secret', None) - self.tenant_id = kwargs.get('tenant_id', None) - - -class ManagedClusterAccessProfile(Resource): - """Managed cluster Access Profile. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Resource Id. - :vartype id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param kube_config: Base64-encoded Kubernetes configuration file. - :type kube_config: bytearray - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'kube_config': {'key': 'properties.kubeConfig', 'type': 'bytearray'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterAccessProfile, self).__init__(**kwargs) - self.kube_config = kwargs.get('kube_config', None) - - -class ManagedClusterAddonProfile(msrest.serialization.Model): - """A Kubernetes add-on profile for a managed cluster. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Whether the add-on is enabled or not. - :type enabled: bool - :param config: Key-value pairs for configuring an add-on. - :type config: dict[str, str] - """ - - _validation = { - 'enabled': {'required': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'config': {'key': 'config', 'type': '{str}'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterAddonProfile, self).__init__(**kwargs) - self.enabled = kwargs['enabled'] - self.config = kwargs.get('config', None) - - -class ManagedClusterAgentPoolProfileProperties(msrest.serialization.Model): - """Properties for the container service agent pool profile. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param count: Required. Number of agents (VMs) to host docker containers. Allowed values must - be in the range of 1 to 100 (inclusive). The default value is 1. - :type count: int - :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", - "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", - "Standard_A2m_v2", "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", - "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", - "Standard_A8m_v2", "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", - "Standard_B8ms", "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", - "Standard_D12", "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", - "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", - "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", - "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", - "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", - "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", - "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", - "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", - "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", - "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", - "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", - "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", - "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", - "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", - "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", - "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", - "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", - "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", - "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", - "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", - "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", - "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", - "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", - "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", - "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", - "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", - "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", - "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", - "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", - "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", - "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", - "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". - :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes - :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size - according to the vmSize specified. - :type os_disk_size_gb: int - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. - :type vnet_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. - :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2019_04_01.models.OSType - :param max_count: Maximum number of nodes for auto-scaling. - :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. - :type min_count: int - :param enable_auto_scaling: Whether to enable auto-scaler. - :type enable_auto_scaling: bool - :param type: AgentPoolType represents types of an agent pool. Possible values include: - "VirtualMachineScaleSets", "AvailabilitySet". - :type type: str or ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. - :type orchestrator_version: str - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :param availability_zones: (PREVIEW) Availability zones for nodes. Must use - VirtualMachineScaleSets AgentPoolType. - :type availability_zones: list[str] - """ - - _validation = { - 'count': {'required': True, 'maximum': 100, 'minimum': 1}, - 'vm_size': {'required': True}, - 'os_disk_size_gb': {'maximum': 1023, 'minimum': 0}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'count': {'key': 'count', 'type': 'int'}, - 'vm_size': {'key': 'vmSize', 'type': 'str'}, - 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, - 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, - 'max_pods': {'key': 'maxPods', 'type': 'int'}, - 'os_type': {'key': 'osType', 'type': 'str'}, - 'max_count': {'key': 'maxCount', 'type': 'int'}, - 'min_count': {'key': 'minCount', 'type': 'int'}, - 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, - 'type': {'key': 'type', 'type': 'str'}, - 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, - 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterAgentPoolProfileProperties, self).__init__(**kwargs) - self.count = kwargs.get('count', 1) - self.vm_size = kwargs['vm_size'] - self.os_disk_size_gb = kwargs.get('os_disk_size_gb', None) - self.vnet_subnet_id = kwargs.get('vnet_subnet_id', None) - self.max_pods = kwargs.get('max_pods', None) - self.os_type = kwargs.get('os_type', "Linux") - self.max_count = kwargs.get('max_count', None) - self.min_count = kwargs.get('min_count', None) - self.enable_auto_scaling = kwargs.get('enable_auto_scaling', None) - self.type = kwargs.get('type', None) - self.orchestrator_version = kwargs.get('orchestrator_version', None) - self.provisioning_state = None - self.availability_zones = kwargs.get('availability_zones', None) - - -class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): - """Profile for the container service agent pool. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param count: Required. Number of agents (VMs) to host docker containers. Allowed values must - be in the range of 1 to 100 (inclusive). The default value is 1. - :type count: int - :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", - "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", - "Standard_A2m_v2", "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", - "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", - "Standard_A8m_v2", "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", - "Standard_B8ms", "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", - "Standard_D12", "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", - "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", - "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", - "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", - "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", - "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", - "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", - "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", - "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", - "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", - "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", - "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", - "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", - "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", - "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", - "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", - "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", - "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", - "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", - "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", - "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", - "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", - "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", - "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", - "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", - "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", - "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", - "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", - "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", - "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", - "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", - "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". - :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes - :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size - according to the vmSize specified. - :type os_disk_size_gb: int - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. - :type vnet_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. - :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2019_04_01.models.OSType - :param max_count: Maximum number of nodes for auto-scaling. - :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. - :type min_count: int - :param enable_auto_scaling: Whether to enable auto-scaler. - :type enable_auto_scaling: bool - :param type: AgentPoolType represents types of an agent pool. Possible values include: - "VirtualMachineScaleSets", "AvailabilitySet". - :type type: str or ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. - :type orchestrator_version: str - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :param availability_zones: (PREVIEW) Availability zones for nodes. Must use - VirtualMachineScaleSets AgentPoolType. - :type availability_zones: list[str] - :param name: Required. Unique name of the agent pool profile in the context of the subscription - and resource group. - :type name: str - """ - - _validation = { - 'count': {'required': True, 'maximum': 100, 'minimum': 1}, - 'vm_size': {'required': True}, - 'os_disk_size_gb': {'maximum': 1023, 'minimum': 0}, - 'provisioning_state': {'readonly': True}, - 'name': {'required': True, 'pattern': r'^[a-z][a-z0-9]{0,11}$'}, - } - - _attribute_map = { - 'count': {'key': 'count', 'type': 'int'}, - 'vm_size': {'key': 'vmSize', 'type': 'str'}, - 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, - 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, - 'max_pods': {'key': 'maxPods', 'type': 'int'}, - 'os_type': {'key': 'osType', 'type': 'str'}, - 'max_count': {'key': 'maxCount', 'type': 'int'}, - 'min_count': {'key': 'minCount', 'type': 'int'}, - 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, - 'type': {'key': 'type', 'type': 'str'}, - 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, - 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, - 'name': {'key': 'name', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterAgentPoolProfile, self).__init__(**kwargs) - self.name = kwargs['name'] - - -class ManagedClusterIdentity(msrest.serialization.Model): - """Identity for the managed cluster. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The principal id of the system assigned identity which is used by master - components. - :vartype principal_id: str - :ivar tenant_id: The tenant id of the system assigned identity which is used by master - components. - :vartype tenant_id: str - :param type: The type of identity used for the managed cluster. Type 'SystemAssigned' will use - an implicitly created identity in master components and an auto-created user assigned identity - in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, - service principal will be used instead. Possible values include: "SystemAssigned", "None". - :type type: str or ~azure.mgmt.containerservice.v2019_04_01.models.ResourceIdentityType - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'tenant_id': {'readonly': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterIdentity, self).__init__(**kwargs) - self.principal_id = None - self.tenant_id = None - self.type = kwargs.get('type', None) - - -class ManagedClusterListResult(msrest.serialization.Model): - """The response from the List Managed Clusters operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param value: The list of managed clusters. - :type value: list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] - :ivar next_link: The URL to get the next set of managed cluster results. - :vartype next_link: str - """ - - _validation = { - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ManagedCluster]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterListResult, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class ManagedClusterPoolUpgradeProfile(msrest.serialization.Model): - """The list of available upgrade versions. - - All required parameters must be populated in order to send to Azure. - - :param kubernetes_version: Required. Kubernetes version (major, minor, patch). - :type kubernetes_version: str - :param name: Pool name. - :type name: str - :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. - Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2019_04_01.models.OSType - :param upgrades: List of orchestrator types and versions available for upgrade. - :type upgrades: - list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] - """ - - _validation = { - 'kubernetes_version': {'required': True}, - 'os_type': {'required': True}, - } - - _attribute_map = { - 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'os_type': {'key': 'osType', 'type': 'str'}, - 'upgrades': {'key': 'upgrades', 'type': '[ManagedClusterPoolUpgradeProfileUpgradesItem]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterPoolUpgradeProfile, self).__init__(**kwargs) - self.kubernetes_version = kwargs['kubernetes_version'] - self.name = kwargs.get('name', None) - self.os_type = kwargs.get('os_type', "Linux") - self.upgrades = kwargs.get('upgrades', None) - - -class ManagedClusterPoolUpgradeProfileUpgradesItem(msrest.serialization.Model): - """ManagedClusterPoolUpgradeProfileUpgradesItem. - - :param kubernetes_version: Kubernetes version (major, minor, patch). - :type kubernetes_version: str - :param is_preview: Whether Kubernetes version is currently in preview. - :type is_preview: bool - """ - - _attribute_map = { - 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, - 'is_preview': {'key': 'isPreview', 'type': 'bool'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterPoolUpgradeProfileUpgradesItem, self).__init__(**kwargs) - self.kubernetes_version = kwargs.get('kubernetes_version', None) - self.is_preview = kwargs.get('is_preview', None) - - -class ManagedClusterServicePrincipalProfile(msrest.serialization.Model): - """Information about a service principal identity for the cluster to use for manipulating Azure APIs. - - All required parameters must be populated in order to send to Azure. - - :param client_id: Required. The ID for the service principal. - :type client_id: str - :param secret: The secret password associated with the service principal in plain text. - :type secret: str - """ - - _validation = { - 'client_id': {'required': True}, - } - - _attribute_map = { - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'secret': {'key': 'secret', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterServicePrincipalProfile, self).__init__(**kwargs) - self.client_id = kwargs['client_id'] - self.secret = kwargs.get('secret', None) - - -class ManagedClusterUpgradeProfile(msrest.serialization.Model): - """The list of available upgrades for compute pools. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Id of upgrade profile. - :vartype id: str - :ivar name: Name of upgrade profile. - :vartype name: str - :ivar type: Type of upgrade profile. - :vartype type: str - :param control_plane_profile: Required. The list of available upgrade versions for the control - plane. - :type control_plane_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfile - :param agent_pool_profiles: Required. The list of available upgrade versions for agent pools. - :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfile] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'control_plane_profile': {'required': True}, - 'agent_pool_profiles': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'control_plane_profile': {'key': 'properties.controlPlaneProfile', 'type': 'ManagedClusterPoolUpgradeProfile'}, - 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterPoolUpgradeProfile]'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterUpgradeProfile, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.control_plane_profile = kwargs['control_plane_profile'] - self.agent_pool_profiles = kwargs['agent_pool_profiles'] - - -class ManagedClusterWindowsProfile(msrest.serialization.Model): - """Profile for Windows VMs in the container service cluster. - - All required parameters must be populated in order to send to Azure. - - :param admin_username: Required. Specifies the name of the administrator account. - :code:`
`:code:`
` **restriction:** Cannot end in "." :code:`
`:code:`
` - **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", - "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", - "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", - "sys", "test2", "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length:** 1 - character :code:`
`:code:`
` **Max-length:** 20 characters. - :type admin_username: str - :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` - **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 - conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper - characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) - :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", - "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!". - :type admin_password: str - """ - - _validation = { - 'admin_username': {'required': True}, - } - - _attribute_map = { - 'admin_username': {'key': 'adminUsername', 'type': 'str'}, - 'admin_password': {'key': 'adminPassword', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ManagedClusterWindowsProfile, self).__init__(**kwargs) - self.admin_username = kwargs['admin_username'] - self.admin_password = kwargs.get('admin_password', None) - - -class OperationListResult(msrest.serialization.Model): - """The List Compute Operation operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: The list of compute operations. - :vartype value: list[~azure.mgmt.containerservice.v2019_04_01.models.OperationValue] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[OperationValue]'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationListResult, self).__init__(**kwargs) - self.value = None - - -class OperationValue(msrest.serialization.Model): - """Describes the properties of a Compute Operation value. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar origin: The origin of the compute operation. - :vartype origin: str - :ivar name: The name of the compute operation. - :vartype name: str - :ivar operation: The display name of the compute operation. - :vartype operation: str - :ivar resource: The display name of the resource the operation applies to. - :vartype resource: str - :ivar description: The description of the operation. - :vartype description: str - :ivar provider: The resource provider for the operation. - :vartype provider: str - """ - - _validation = { - 'origin': {'readonly': True}, - 'name': {'readonly': True}, - 'operation': {'readonly': True}, - 'resource': {'readonly': True}, - 'description': {'readonly': True}, - 'provider': {'readonly': True}, - } - - _attribute_map = { - 'origin': {'key': 'origin', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'operation': {'key': 'display.operation', 'type': 'str'}, - 'resource': {'key': 'display.resource', 'type': 'str'}, - 'description': {'key': 'display.description', 'type': 'str'}, - 'provider': {'key': 'display.provider', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationValue, self).__init__(**kwargs) - self.origin = None - self.name = None - self.operation = None - self.resource = None - self.description = None - self.provider = None - - -class TagsObject(msrest.serialization.Model): - """Tags object for patch operations. - - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__( - self, - **kwargs - ): - super(TagsObject, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_models_py3.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_models_py3.py deleted file mode 100755 index 169658545b0..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/models/_models_py3.py +++ /dev/null @@ -1,1599 +0,0 @@ -# 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 typing import Dict, List, Optional, Union - -import msrest.serialization - -from ._container_service_client_enums import * - - -class SubResource(msrest.serialization.Model): - """Reference to another subresource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Resource ID. - :vartype id: str - :ivar name: The name of the resource that is unique within a resource group. This name can be - used to access the resource. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SubResource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class AgentPool(SubResource): - """Agent Pool. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Resource ID. - :vartype id: str - :ivar name: The name of the resource that is unique within a resource group. This name can be - used to access the resource. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param count: Number of agents (VMs) to host docker containers. Allowed values must be in the - range of 1 to 100 (inclusive). The default value is 1. - :type count: int - :param vm_size: Size of agent VMs. Possible values include: "Standard_A1", "Standard_A10", - "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", "Standard_A2m_v2", - "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", "Standard_A5", - "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", "Standard_A8m_v2", - "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", "Standard_B8ms", - "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", "Standard_D12", - "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", - "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", - "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", - "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", - "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", - "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", - "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", - "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", - "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", - "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", - "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", - "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", - "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", - "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", - "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", - "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", - "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", - "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", - "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", - "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", - "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", - "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", - "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", - "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", - "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", - "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", - "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", - "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", - "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", - "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", - "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", - "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". - :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes - :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size - according to the vmSize specified. - :type os_disk_size_gb: int - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. - :type vnet_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. - :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2019_04_01.models.OSType - :param max_count: Maximum number of nodes for auto-scaling. - :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. - :type min_count: int - :param enable_auto_scaling: Whether to enable auto-scaler. - :type enable_auto_scaling: bool - :param type_properties_type: AgentPoolType represents types of an agent pool. Possible values - include: "VirtualMachineScaleSets", "AvailabilitySet". - :type type_properties_type: str or - ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. - :type orchestrator_version: str - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :param availability_zones: (PREVIEW) Availability zones for nodes. Must use - VirtualMachineScaleSets AgentPoolType. - :type availability_zones: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'count': {'maximum': 100, 'minimum': 1}, - 'os_disk_size_gb': {'maximum': 1023, 'minimum': 0}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'count': {'key': 'properties.count', 'type': 'int'}, - 'vm_size': {'key': 'properties.vmSize', 'type': 'str'}, - 'os_disk_size_gb': {'key': 'properties.osDiskSizeGB', 'type': 'int'}, - 'vnet_subnet_id': {'key': 'properties.vnetSubnetID', 'type': 'str'}, - 'max_pods': {'key': 'properties.maxPods', 'type': 'int'}, - 'os_type': {'key': 'properties.osType', 'type': 'str'}, - 'max_count': {'key': 'properties.maxCount', 'type': 'int'}, - 'min_count': {'key': 'properties.minCount', 'type': 'int'}, - 'enable_auto_scaling': {'key': 'properties.enableAutoScaling', 'type': 'bool'}, - 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, - 'orchestrator_version': {'key': 'properties.orchestratorVersion', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, - } - - def __init__( - self, - *, - count: Optional[int] = 1, - vm_size: Optional[Union[str, "ContainerServiceVMSizeTypes"]] = None, - os_disk_size_gb: Optional[int] = None, - vnet_subnet_id: Optional[str] = None, - max_pods: Optional[int] = None, - os_type: Optional[Union[str, "OSType"]] = "Linux", - max_count: Optional[int] = None, - min_count: Optional[int] = None, - enable_auto_scaling: Optional[bool] = None, - type_properties_type: Optional[Union[str, "AgentPoolType"]] = None, - orchestrator_version: Optional[str] = None, - availability_zones: Optional[List[str]] = None, - **kwargs - ): - super(AgentPool, self).__init__(**kwargs) - self.count = count - self.vm_size = vm_size - self.os_disk_size_gb = os_disk_size_gb - self.vnet_subnet_id = vnet_subnet_id - self.max_pods = max_pods - self.os_type = os_type - self.max_count = max_count - self.min_count = min_count - self.enable_auto_scaling = enable_auto_scaling - self.type_properties_type = type_properties_type - self.orchestrator_version = orchestrator_version - self.provisioning_state = None - self.availability_zones = availability_zones - - -class AgentPoolListResult(msrest.serialization.Model): - """The response from the List Agent Pools operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param value: The list of agent pools. - :type value: list[~azure.mgmt.containerservice.v2019_04_01.models.AgentPool] - :ivar next_link: The URL to get the next set of agent pool results. - :vartype next_link: str - """ - - _validation = { - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[AgentPool]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: Optional[List["AgentPool"]] = None, - **kwargs - ): - super(AgentPoolListResult, self).__init__(**kwargs) - self.value = value - self.next_link = None - - -class CloudErrorBody(msrest.serialization.Model): - """An error response from the Container service. - - :param code: An identifier for the error. Codes are invariant and are intended to be consumed - programmatically. - :type code: str - :param message: A message describing the error, intended to be suitable for display in a user - interface. - :type message: str - :param target: The target of the particular error. For example, the name of the property in - error. - :type target: str - :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.containerservice.v2019_04_01.models.CloudErrorBody] - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, - } - - def __init__( - self, - *, - code: Optional[str] = None, - message: Optional[str] = None, - target: Optional[str] = None, - details: Optional[List["CloudErrorBody"]] = None, - **kwargs - ): - super(CloudErrorBody, self).__init__(**kwargs) - self.code = code - self.message = message - self.target = target - self.details = details - - -class ContainerServiceDiagnosticsProfile(msrest.serialization.Model): - """Profile for diagnostics on the container service cluster. - - All required parameters must be populated in order to send to Azure. - - :param vm_diagnostics: Required. Profile for diagnostics on the container service VMs. - :type vm_diagnostics: - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMDiagnostics - """ - - _validation = { - 'vm_diagnostics': {'required': True}, - } - - _attribute_map = { - 'vm_diagnostics': {'key': 'vmDiagnostics', 'type': 'ContainerServiceVMDiagnostics'}, - } - - def __init__( - self, - *, - vm_diagnostics: "ContainerServiceVMDiagnostics", - **kwargs - ): - super(ContainerServiceDiagnosticsProfile, self).__init__(**kwargs) - self.vm_diagnostics = vm_diagnostics - - -class ContainerServiceLinuxProfile(msrest.serialization.Model): - """Profile for Linux VMs in the container service cluster. - - All required parameters must be populated in order to send to Azure. - - :param admin_username: Required. The administrator username to use for Linux VMs. - :type admin_username: str - :param ssh: Required. SSH configuration for Linux-based VMs running on Azure. - :type ssh: ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceSshConfiguration - """ - - _validation = { - 'admin_username': {'required': True, 'pattern': r'^[A-Za-z][-A-Za-z0-9_]*$'}, - 'ssh': {'required': True}, - } - - _attribute_map = { - 'admin_username': {'key': 'adminUsername', 'type': 'str'}, - 'ssh': {'key': 'ssh', 'type': 'ContainerServiceSshConfiguration'}, - } - - def __init__( - self, - *, - admin_username: str, - ssh: "ContainerServiceSshConfiguration", - **kwargs - ): - super(ContainerServiceLinuxProfile, self).__init__(**kwargs) - self.admin_username = admin_username - self.ssh = ssh - - -class ContainerServiceMasterProfile(msrest.serialization.Model): - """Profile for the container service master. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param count: Number of masters (VMs) in the container service cluster. Allowed values are 1, - 3, and 5. The default value is 1. Possible values include: 1, 3, 5. Default value: "1". - :type count: str or ~azure.mgmt.containerservice.v2019_04_01.models.Count - :param dns_prefix: Required. DNS prefix to be used to create the FQDN for the master pool. - :type dns_prefix: str - :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", - "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", - "Standard_A2m_v2", "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", - "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", - "Standard_A8m_v2", "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", - "Standard_B8ms", "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", - "Standard_D12", "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", - "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", - "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", - "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", - "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", - "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", - "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", - "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", - "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", - "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", - "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", - "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", - "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", - "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", - "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", - "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", - "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", - "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", - "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", - "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", - "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", - "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", - "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", - "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", - "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", - "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", - "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", - "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", - "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", - "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", - "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", - "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". - :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes - :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size - according to the vmSize specified. - :type os_disk_size_gb: int - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. - :type vnet_subnet_id: str - :param first_consecutive_static_ip: FirstConsecutiveStaticIP used to specify the first static - ip of masters. - :type first_consecutive_static_ip: str - :param storage_profile: Storage profile specifies what kind of storage used. Choose from - StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the - orchestrator choice. Possible values include: "StorageAccount", "ManagedDisks". - :type storage_profile: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceStorageProfileTypes - :ivar fqdn: FQDN for the master pool. - :vartype fqdn: str - """ - - _validation = { - 'dns_prefix': {'required': True}, - 'vm_size': {'required': True}, - 'os_disk_size_gb': {'maximum': 1023, 'minimum': 0}, - 'fqdn': {'readonly': True}, - } - - _attribute_map = { - 'count': {'key': 'count', 'type': 'int'}, - 'dns_prefix': {'key': 'dnsPrefix', 'type': 'str'}, - 'vm_size': {'key': 'vmSize', 'type': 'str'}, - 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, - 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, - 'first_consecutive_static_ip': {'key': 'firstConsecutiveStaticIP', 'type': 'str'}, - 'storage_profile': {'key': 'storageProfile', 'type': 'str'}, - 'fqdn': {'key': 'fqdn', 'type': 'str'}, - } - - def __init__( - self, - *, - dns_prefix: str, - vm_size: Union[str, "ContainerServiceVMSizeTypes"], - count: Optional[Union[int, "Count"]] = "1", - os_disk_size_gb: Optional[int] = None, - vnet_subnet_id: Optional[str] = None, - first_consecutive_static_ip: Optional[str] = "10.240.255.5", - storage_profile: Optional[Union[str, "ContainerServiceStorageProfileTypes"]] = None, - **kwargs - ): - super(ContainerServiceMasterProfile, self).__init__(**kwargs) - self.count = count - self.dns_prefix = dns_prefix - self.vm_size = vm_size - self.os_disk_size_gb = os_disk_size_gb - self.vnet_subnet_id = vnet_subnet_id - self.first_consecutive_static_ip = first_consecutive_static_ip - self.storage_profile = storage_profile - self.fqdn = None - - -class ContainerServiceNetworkProfile(msrest.serialization.Model): - """Profile of network configuration. - - :param network_plugin: Network plugin used for building Kubernetes network. Possible values - include: "azure", "kubenet". Default value: "kubenet". - :type network_plugin: str or ~azure.mgmt.containerservice.v2019_04_01.models.NetworkPlugin - :param network_policy: Network policy used for building Kubernetes network. Possible values - include: "calico", "azure". - :type network_policy: str or ~azure.mgmt.containerservice.v2019_04_01.models.NetworkPolicy - :param pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. - :type pod_cidr: str - :param service_cidr: A CIDR notation IP range from which to assign service cluster IPs. It must - not overlap with any Subnet IP ranges. - :type service_cidr: str - :param dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within - the Kubernetes service address range specified in serviceCidr. - :type dns_service_ip: str - :param docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It - must not overlap with any Subnet IP ranges or the Kubernetes service address range. - :type docker_bridge_cidr: str - :param load_balancer_sku: The load balancer sku for the managed cluster. Possible values - include: "standard", "basic". - :type load_balancer_sku: str or ~azure.mgmt.containerservice.v2019_04_01.models.LoadBalancerSku - """ - - _validation = { - 'pod_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, - 'service_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, - 'dns_service_ip': {'pattern': r'^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'}, - 'docker_bridge_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, - } - - _attribute_map = { - 'network_plugin': {'key': 'networkPlugin', 'type': 'str'}, - 'network_policy': {'key': 'networkPolicy', 'type': 'str'}, - 'pod_cidr': {'key': 'podCidr', 'type': 'str'}, - 'service_cidr': {'key': 'serviceCidr', 'type': 'str'}, - 'dns_service_ip': {'key': 'dnsServiceIP', 'type': 'str'}, - 'docker_bridge_cidr': {'key': 'dockerBridgeCidr', 'type': 'str'}, - 'load_balancer_sku': {'key': 'loadBalancerSku', 'type': 'str'}, - } - - def __init__( - self, - *, - network_plugin: Optional[Union[str, "NetworkPlugin"]] = "kubenet", - network_policy: Optional[Union[str, "NetworkPolicy"]] = None, - pod_cidr: Optional[str] = "10.244.0.0/16", - service_cidr: Optional[str] = "10.0.0.0/16", - dns_service_ip: Optional[str] = "10.0.0.10", - docker_bridge_cidr: Optional[str] = "172.17.0.1/16", - load_balancer_sku: Optional[Union[str, "LoadBalancerSku"]] = None, - **kwargs - ): - super(ContainerServiceNetworkProfile, self).__init__(**kwargs) - self.network_plugin = network_plugin - self.network_policy = network_policy - self.pod_cidr = pod_cidr - self.service_cidr = service_cidr - self.dns_service_ip = dns_service_ip - self.docker_bridge_cidr = docker_bridge_cidr - self.load_balancer_sku = load_balancer_sku - - -class ContainerServiceSshConfiguration(msrest.serialization.Model): - """SSH configuration for Linux-based VMs running on Azure. - - All required parameters must be populated in order to send to Azure. - - :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based - VMs. Only expect one key specified. - :type public_keys: - list[~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceSshPublicKey] - """ - - _validation = { - 'public_keys': {'required': True}, - } - - _attribute_map = { - 'public_keys': {'key': 'publicKeys', 'type': '[ContainerServiceSshPublicKey]'}, - } - - def __init__( - self, - *, - public_keys: List["ContainerServiceSshPublicKey"], - **kwargs - ): - super(ContainerServiceSshConfiguration, self).__init__(**kwargs) - self.public_keys = public_keys - - -class ContainerServiceSshPublicKey(msrest.serialization.Model): - """Contains information about SSH certificate public key data. - - All required parameters must be populated in order to send to Azure. - - :param key_data: Required. Certificate public key used to authenticate with VMs through SSH. - The certificate must be in PEM format with or without headers. - :type key_data: str - """ - - _validation = { - 'key_data': {'required': True}, - } - - _attribute_map = { - 'key_data': {'key': 'keyData', 'type': 'str'}, - } - - def __init__( - self, - *, - key_data: str, - **kwargs - ): - super(ContainerServiceSshPublicKey, self).__init__(**kwargs) - self.key_data = key_data - - -class ContainerServiceVMDiagnostics(msrest.serialization.Model): - """Profile for diagnostics on the container service VMs. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Whether the VM diagnostic agent is provisioned on the VM. - :type enabled: bool - :ivar storage_uri: The URI of the storage account where diagnostics are stored. - :vartype storage_uri: str - """ - - _validation = { - 'enabled': {'required': True}, - 'storage_uri': {'readonly': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'storage_uri': {'key': 'storageUri', 'type': 'str'}, - } - - def __init__( - self, - *, - enabled: bool, - **kwargs - ): - super(ContainerServiceVMDiagnostics, self).__init__(**kwargs) - self.enabled = enabled - self.storage_uri = None - - -class CredentialResult(msrest.serialization.Model): - """The credential result response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: The name of the credential. - :vartype name: str - :ivar value: Base64-encoded Kubernetes configuration file. - :vartype value: bytearray - """ - - _validation = { - 'name': {'readonly': True}, - 'value': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'bytearray'}, - } - - def __init__( - self, - **kwargs - ): - super(CredentialResult, self).__init__(**kwargs) - self.name = None - self.value = None - - -class CredentialResults(msrest.serialization.Model): - """The list of credential result response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. - :vartype kubeconfigs: list[~azure.mgmt.containerservice.v2019_04_01.models.CredentialResult] - """ - - _validation = { - 'kubeconfigs': {'readonly': True}, - } - - _attribute_map = { - 'kubeconfigs': {'key': 'kubeconfigs', 'type': '[CredentialResult]'}, - } - - def __init__( - self, - **kwargs - ): - super(CredentialResults, self).__init__(**kwargs) - self.kubeconfigs = None - - -class Resource(msrest.serialization.Model): - """The Resource model definition. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Resource Id. - :vartype id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.location = location - self.tags = tags - - -class ManagedCluster(Resource): - """Managed cluster. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Resource Id. - :vartype id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param identity: The identity of the managed cluster, if configured. - :type identity: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterIdentity - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :ivar max_agent_pools: The max number of agent pools for the managed cluster. - :vartype max_agent_pools: int - :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. - :type kubernetes_version: str - :param dns_prefix: DNS prefix specified when creating the managed cluster. - :type dns_prefix: str - :ivar fqdn: FQDN for the master pool. - :vartype fqdn: str - :param agent_pool_profiles: Properties of the agent pool. - :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAgentPoolProfile] - :param linux_profile: Profile for Linux VMs in the container service cluster. - :type linux_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceLinuxProfile - :param windows_profile: Profile for Windows VMs in the container service cluster. - :type windows_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterWindowsProfile - :param service_principal_profile: Information about a service principal identity for the - cluster to use for manipulating Azure APIs. - :type service_principal_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterServicePrincipalProfile - :param addon_profiles: Profile of managed cluster add-on. - :type addon_profiles: dict[str, - ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAddonProfile] - :param node_resource_group: Name of the resource group containing agent pool nodes. - :type node_resource_group: str - :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. - :type enable_rbac: bool - :param enable_pod_security_policy: (DEPRECATING) Whether to enable Kubernetes pod security - policy (preview). This feature is set for removal on October 15th, 2020. Learn more at - aka.ms/aks/azpodpolicy. - :type enable_pod_security_policy: bool - :param network_profile: Profile of network configuration. - :type network_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceNetworkProfile - :param aad_profile: Profile of Azure Active Directory configuration. - :type aad_profile: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile - :param api_server_authorized_ip_ranges: (PREVIEW) Authorized IP Ranges to kubernetes API - server. - :type api_server_authorized_ip_ranges: list[str] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'provisioning_state': {'readonly': True}, - 'max_agent_pools': {'readonly': True}, - 'fqdn': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'max_agent_pools': {'key': 'properties.maxAgentPools', 'type': 'int'}, - 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, - 'dns_prefix': {'key': 'properties.dnsPrefix', 'type': 'str'}, - 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, - 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterAgentPoolProfile]'}, - 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, - 'windows_profile': {'key': 'properties.windowsProfile', 'type': 'ManagedClusterWindowsProfile'}, - 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ManagedClusterServicePrincipalProfile'}, - 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, - 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, - 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, - 'enable_pod_security_policy': {'key': 'properties.enablePodSecurityPolicy', 'type': 'bool'}, - 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, - 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, - 'api_server_authorized_ip_ranges': {'key': 'properties.apiServerAuthorizedIPRanges', 'type': '[str]'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - identity: Optional["ManagedClusterIdentity"] = None, - kubernetes_version: Optional[str] = None, - dns_prefix: Optional[str] = None, - agent_pool_profiles: Optional[List["ManagedClusterAgentPoolProfile"]] = None, - linux_profile: Optional["ContainerServiceLinuxProfile"] = None, - windows_profile: Optional["ManagedClusterWindowsProfile"] = None, - service_principal_profile: Optional["ManagedClusterServicePrincipalProfile"] = None, - addon_profiles: Optional[Dict[str, "ManagedClusterAddonProfile"]] = None, - node_resource_group: Optional[str] = None, - enable_rbac: Optional[bool] = None, - enable_pod_security_policy: Optional[bool] = None, - network_profile: Optional["ContainerServiceNetworkProfile"] = None, - aad_profile: Optional["ManagedClusterAADProfile"] = None, - api_server_authorized_ip_ranges: Optional[List[str]] = None, - **kwargs - ): - super(ManagedCluster, self).__init__(location=location, tags=tags, **kwargs) - self.identity = identity - self.provisioning_state = None - self.max_agent_pools = None - self.kubernetes_version = kubernetes_version - self.dns_prefix = dns_prefix - self.fqdn = None - self.agent_pool_profiles = agent_pool_profiles - self.linux_profile = linux_profile - self.windows_profile = windows_profile - self.service_principal_profile = service_principal_profile - self.addon_profiles = addon_profiles - self.node_resource_group = node_resource_group - self.enable_rbac = enable_rbac - self.enable_pod_security_policy = enable_pod_security_policy - self.network_profile = network_profile - self.aad_profile = aad_profile - self.api_server_authorized_ip_ranges = api_server_authorized_ip_ranges - - -class ManagedClusterAADProfile(msrest.serialization.Model): - """AADProfile specifies attributes for Azure Active Directory integration. - - All required parameters must be populated in order to send to Azure. - - :param client_app_id: Required. The client AAD application ID. - :type client_app_id: str - :param server_app_id: Required. The server AAD application ID. - :type server_app_id: str - :param server_app_secret: The server AAD application secret. - :type server_app_secret: str - :param tenant_id: The AAD tenant ID to use for authentication. If not specified, will use the - tenant of the deployment subscription. - :type tenant_id: str - """ - - _validation = { - 'client_app_id': {'required': True}, - 'server_app_id': {'required': True}, - } - - _attribute_map = { - 'client_app_id': {'key': 'clientAppID', 'type': 'str'}, - 'server_app_id': {'key': 'serverAppID', 'type': 'str'}, - 'server_app_secret': {'key': 'serverAppSecret', 'type': 'str'}, - 'tenant_id': {'key': 'tenantID', 'type': 'str'}, - } - - def __init__( - self, - *, - client_app_id: str, - server_app_id: str, - server_app_secret: Optional[str] = None, - tenant_id: Optional[str] = None, - **kwargs - ): - super(ManagedClusterAADProfile, self).__init__(**kwargs) - self.client_app_id = client_app_id - self.server_app_id = server_app_id - self.server_app_secret = server_app_secret - self.tenant_id = tenant_id - - -class ManagedClusterAccessProfile(Resource): - """Managed cluster Access Profile. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Resource Id. - :vartype id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param kube_config: Base64-encoded Kubernetes configuration file. - :type kube_config: bytearray - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'kube_config': {'key': 'properties.kubeConfig', 'type': 'bytearray'}, - } - - def __init__( - self, - *, - location: str, - tags: Optional[Dict[str, str]] = None, - kube_config: Optional[bytearray] = None, - **kwargs - ): - super(ManagedClusterAccessProfile, self).__init__(location=location, tags=tags, **kwargs) - self.kube_config = kube_config - - -class ManagedClusterAddonProfile(msrest.serialization.Model): - """A Kubernetes add-on profile for a managed cluster. - - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Whether the add-on is enabled or not. - :type enabled: bool - :param config: Key-value pairs for configuring an add-on. - :type config: dict[str, str] - """ - - _validation = { - 'enabled': {'required': True}, - } - - _attribute_map = { - 'enabled': {'key': 'enabled', 'type': 'bool'}, - 'config': {'key': 'config', 'type': '{str}'}, - } - - def __init__( - self, - *, - enabled: bool, - config: Optional[Dict[str, str]] = None, - **kwargs - ): - super(ManagedClusterAddonProfile, self).__init__(**kwargs) - self.enabled = enabled - self.config = config - - -class ManagedClusterAgentPoolProfileProperties(msrest.serialization.Model): - """Properties for the container service agent pool profile. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param count: Required. Number of agents (VMs) to host docker containers. Allowed values must - be in the range of 1 to 100 (inclusive). The default value is 1. - :type count: int - :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", - "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", - "Standard_A2m_v2", "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", - "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", - "Standard_A8m_v2", "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", - "Standard_B8ms", "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", - "Standard_D12", "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", - "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", - "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", - "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", - "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", - "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", - "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", - "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", - "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", - "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", - "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", - "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", - "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", - "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", - "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", - "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", - "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", - "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", - "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", - "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", - "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", - "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", - "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", - "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", - "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", - "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", - "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", - "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", - "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", - "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", - "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", - "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". - :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes - :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size - according to the vmSize specified. - :type os_disk_size_gb: int - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. - :type vnet_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. - :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2019_04_01.models.OSType - :param max_count: Maximum number of nodes for auto-scaling. - :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. - :type min_count: int - :param enable_auto_scaling: Whether to enable auto-scaler. - :type enable_auto_scaling: bool - :param type: AgentPoolType represents types of an agent pool. Possible values include: - "VirtualMachineScaleSets", "AvailabilitySet". - :type type: str or ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. - :type orchestrator_version: str - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :param availability_zones: (PREVIEW) Availability zones for nodes. Must use - VirtualMachineScaleSets AgentPoolType. - :type availability_zones: list[str] - """ - - _validation = { - 'count': {'required': True, 'maximum': 100, 'minimum': 1}, - 'vm_size': {'required': True}, - 'os_disk_size_gb': {'maximum': 1023, 'minimum': 0}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'count': {'key': 'count', 'type': 'int'}, - 'vm_size': {'key': 'vmSize', 'type': 'str'}, - 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, - 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, - 'max_pods': {'key': 'maxPods', 'type': 'int'}, - 'os_type': {'key': 'osType', 'type': 'str'}, - 'max_count': {'key': 'maxCount', 'type': 'int'}, - 'min_count': {'key': 'minCount', 'type': 'int'}, - 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, - 'type': {'key': 'type', 'type': 'str'}, - 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, - 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, - } - - def __init__( - self, - *, - count: int = 1, - vm_size: Union[str, "ContainerServiceVMSizeTypes"], - os_disk_size_gb: Optional[int] = None, - vnet_subnet_id: Optional[str] = None, - max_pods: Optional[int] = None, - os_type: Optional[Union[str, "OSType"]] = "Linux", - max_count: Optional[int] = None, - min_count: Optional[int] = None, - enable_auto_scaling: Optional[bool] = None, - type: Optional[Union[str, "AgentPoolType"]] = None, - orchestrator_version: Optional[str] = None, - availability_zones: Optional[List[str]] = None, - **kwargs - ): - super(ManagedClusterAgentPoolProfileProperties, self).__init__(**kwargs) - self.count = count - self.vm_size = vm_size - self.os_disk_size_gb = os_disk_size_gb - self.vnet_subnet_id = vnet_subnet_id - self.max_pods = max_pods - self.os_type = os_type - self.max_count = max_count - self.min_count = min_count - self.enable_auto_scaling = enable_auto_scaling - self.type = type - self.orchestrator_version = orchestrator_version - self.provisioning_state = None - self.availability_zones = availability_zones - - -class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): - """Profile for the container service agent pool. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :param count: Required. Number of agents (VMs) to host docker containers. Allowed values must - be in the range of 1 to 100 (inclusive). The default value is 1. - :type count: int - :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", - "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", - "Standard_A2m_v2", "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", - "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", - "Standard_A8m_v2", "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", - "Standard_B8ms", "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", - "Standard_D12", "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", - "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", - "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", - "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", - "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", - "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", - "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", - "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", - "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", - "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", - "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", - "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", - "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", - "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", - "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", - "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", - "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", - "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", - "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", - "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", - "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", - "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", - "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", - "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", - "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", - "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", - "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", - "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", - "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", - "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", - "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", - "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". - :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes - :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size - according to the vmSize specified. - :type os_disk_size_gb: int - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. - :type vnet_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. - :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2019_04_01.models.OSType - :param max_count: Maximum number of nodes for auto-scaling. - :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. - :type min_count: int - :param enable_auto_scaling: Whether to enable auto-scaler. - :type enable_auto_scaling: bool - :param type: AgentPoolType represents types of an agent pool. Possible values include: - "VirtualMachineScaleSets", "AvailabilitySet". - :type type: str or ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. - :type orchestrator_version: str - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :param availability_zones: (PREVIEW) Availability zones for nodes. Must use - VirtualMachineScaleSets AgentPoolType. - :type availability_zones: list[str] - :param name: Required. Unique name of the agent pool profile in the context of the subscription - and resource group. - :type name: str - """ - - _validation = { - 'count': {'required': True, 'maximum': 100, 'minimum': 1}, - 'vm_size': {'required': True}, - 'os_disk_size_gb': {'maximum': 1023, 'minimum': 0}, - 'provisioning_state': {'readonly': True}, - 'name': {'required': True, 'pattern': r'^[a-z][a-z0-9]{0,11}$'}, - } - - _attribute_map = { - 'count': {'key': 'count', 'type': 'int'}, - 'vm_size': {'key': 'vmSize', 'type': 'str'}, - 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, - 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, - 'max_pods': {'key': 'maxPods', 'type': 'int'}, - 'os_type': {'key': 'osType', 'type': 'str'}, - 'max_count': {'key': 'maxCount', 'type': 'int'}, - 'min_count': {'key': 'minCount', 'type': 'int'}, - 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, - 'type': {'key': 'type', 'type': 'str'}, - 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, - 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, - 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, - 'name': {'key': 'name', 'type': 'str'}, - } - - def __init__( - self, - *, - count: int = 1, - vm_size: Union[str, "ContainerServiceVMSizeTypes"], - name: str, - os_disk_size_gb: Optional[int] = None, - vnet_subnet_id: Optional[str] = None, - max_pods: Optional[int] = None, - os_type: Optional[Union[str, "OSType"]] = "Linux", - max_count: Optional[int] = None, - min_count: Optional[int] = None, - enable_auto_scaling: Optional[bool] = None, - type: Optional[Union[str, "AgentPoolType"]] = None, - orchestrator_version: Optional[str] = None, - availability_zones: Optional[List[str]] = None, - **kwargs - ): - super(ManagedClusterAgentPoolProfile, self).__init__(count=count, vm_size=vm_size, os_disk_size_gb=os_disk_size_gb, vnet_subnet_id=vnet_subnet_id, max_pods=max_pods, os_type=os_type, max_count=max_count, min_count=min_count, enable_auto_scaling=enable_auto_scaling, type=type, orchestrator_version=orchestrator_version, availability_zones=availability_zones, **kwargs) - self.name = name - - -class ManagedClusterIdentity(msrest.serialization.Model): - """Identity for the managed cluster. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The principal id of the system assigned identity which is used by master - components. - :vartype principal_id: str - :ivar tenant_id: The tenant id of the system assigned identity which is used by master - components. - :vartype tenant_id: str - :param type: The type of identity used for the managed cluster. Type 'SystemAssigned' will use - an implicitly created identity in master components and an auto-created user assigned identity - in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, - service principal will be used instead. Possible values include: "SystemAssigned", "None". - :type type: str or ~azure.mgmt.containerservice.v2019_04_01.models.ResourceIdentityType - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'tenant_id': {'readonly': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - *, - type: Optional[Union[str, "ResourceIdentityType"]] = None, - **kwargs - ): - super(ManagedClusterIdentity, self).__init__(**kwargs) - self.principal_id = None - self.tenant_id = None - self.type = type - - -class ManagedClusterListResult(msrest.serialization.Model): - """The response from the List Managed Clusters operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param value: The list of managed clusters. - :type value: list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] - :ivar next_link: The URL to get the next set of managed cluster results. - :vartype next_link: str - """ - - _validation = { - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[ManagedCluster]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - *, - value: Optional[List["ManagedCluster"]] = None, - **kwargs - ): - super(ManagedClusterListResult, self).__init__(**kwargs) - self.value = value - self.next_link = None - - -class ManagedClusterPoolUpgradeProfile(msrest.serialization.Model): - """The list of available upgrade versions. - - All required parameters must be populated in order to send to Azure. - - :param kubernetes_version: Required. Kubernetes version (major, minor, patch). - :type kubernetes_version: str - :param name: Pool name. - :type name: str - :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. - Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2019_04_01.models.OSType - :param upgrades: List of orchestrator types and versions available for upgrade. - :type upgrades: - list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] - """ - - _validation = { - 'kubernetes_version': {'required': True}, - 'os_type': {'required': True}, - } - - _attribute_map = { - 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'os_type': {'key': 'osType', 'type': 'str'}, - 'upgrades': {'key': 'upgrades', 'type': '[ManagedClusterPoolUpgradeProfileUpgradesItem]'}, - } - - def __init__( - self, - *, - kubernetes_version: str, - os_type: Union[str, "OSType"] = "Linux", - name: Optional[str] = None, - upgrades: Optional[List["ManagedClusterPoolUpgradeProfileUpgradesItem"]] = None, - **kwargs - ): - super(ManagedClusterPoolUpgradeProfile, self).__init__(**kwargs) - self.kubernetes_version = kubernetes_version - self.name = name - self.os_type = os_type - self.upgrades = upgrades - - -class ManagedClusterPoolUpgradeProfileUpgradesItem(msrest.serialization.Model): - """ManagedClusterPoolUpgradeProfileUpgradesItem. - - :param kubernetes_version: Kubernetes version (major, minor, patch). - :type kubernetes_version: str - :param is_preview: Whether Kubernetes version is currently in preview. - :type is_preview: bool - """ - - _attribute_map = { - 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, - 'is_preview': {'key': 'isPreview', 'type': 'bool'}, - } - - def __init__( - self, - *, - kubernetes_version: Optional[str] = None, - is_preview: Optional[bool] = None, - **kwargs - ): - super(ManagedClusterPoolUpgradeProfileUpgradesItem, self).__init__(**kwargs) - self.kubernetes_version = kubernetes_version - self.is_preview = is_preview - - -class ManagedClusterServicePrincipalProfile(msrest.serialization.Model): - """Information about a service principal identity for the cluster to use for manipulating Azure APIs. - - All required parameters must be populated in order to send to Azure. - - :param client_id: Required. The ID for the service principal. - :type client_id: str - :param secret: The secret password associated with the service principal in plain text. - :type secret: str - """ - - _validation = { - 'client_id': {'required': True}, - } - - _attribute_map = { - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'secret': {'key': 'secret', 'type': 'str'}, - } - - def __init__( - self, - *, - client_id: str, - secret: Optional[str] = None, - **kwargs - ): - super(ManagedClusterServicePrincipalProfile, self).__init__(**kwargs) - self.client_id = client_id - self.secret = secret - - -class ManagedClusterUpgradeProfile(msrest.serialization.Model): - """The list of available upgrades for compute pools. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Id of upgrade profile. - :vartype id: str - :ivar name: Name of upgrade profile. - :vartype name: str - :ivar type: Type of upgrade profile. - :vartype type: str - :param control_plane_profile: Required. The list of available upgrade versions for the control - plane. - :type control_plane_profile: - ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfile - :param agent_pool_profiles: Required. The list of available upgrade versions for agent pools. - :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfile] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'control_plane_profile': {'required': True}, - 'agent_pool_profiles': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'control_plane_profile': {'key': 'properties.controlPlaneProfile', 'type': 'ManagedClusterPoolUpgradeProfile'}, - 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterPoolUpgradeProfile]'}, - } - - def __init__( - self, - *, - control_plane_profile: "ManagedClusterPoolUpgradeProfile", - agent_pool_profiles: List["ManagedClusterPoolUpgradeProfile"], - **kwargs - ): - super(ManagedClusterUpgradeProfile, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.control_plane_profile = control_plane_profile - self.agent_pool_profiles = agent_pool_profiles - - -class ManagedClusterWindowsProfile(msrest.serialization.Model): - """Profile for Windows VMs in the container service cluster. - - All required parameters must be populated in order to send to Azure. - - :param admin_username: Required. Specifies the name of the administrator account. - :code:`
`:code:`
` **restriction:** Cannot end in "." :code:`
`:code:`
` - **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", - "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", - "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", - "sys", "test2", "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length:** 1 - character :code:`
`:code:`
` **Max-length:** 20 characters. - :type admin_username: str - :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` - **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 - conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper - characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) - :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", - "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!". - :type admin_password: str - """ - - _validation = { - 'admin_username': {'required': True}, - } - - _attribute_map = { - 'admin_username': {'key': 'adminUsername', 'type': 'str'}, - 'admin_password': {'key': 'adminPassword', 'type': 'str'}, - } - - def __init__( - self, - *, - admin_username: str, - admin_password: Optional[str] = None, - **kwargs - ): - super(ManagedClusterWindowsProfile, self).__init__(**kwargs) - self.admin_username = admin_username - self.admin_password = admin_password - - -class OperationListResult(msrest.serialization.Model): - """The List Compute Operation operation response. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: The list of compute operations. - :vartype value: list[~azure.mgmt.containerservice.v2019_04_01.models.OperationValue] - """ - - _validation = { - 'value': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[OperationValue]'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationListResult, self).__init__(**kwargs) - self.value = None - - -class OperationValue(msrest.serialization.Model): - """Describes the properties of a Compute Operation value. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar origin: The origin of the compute operation. - :vartype origin: str - :ivar name: The name of the compute operation. - :vartype name: str - :ivar operation: The display name of the compute operation. - :vartype operation: str - :ivar resource: The display name of the resource the operation applies to. - :vartype resource: str - :ivar description: The description of the operation. - :vartype description: str - :ivar provider: The resource provider for the operation. - :vartype provider: str - """ - - _validation = { - 'origin': {'readonly': True}, - 'name': {'readonly': True}, - 'operation': {'readonly': True}, - 'resource': {'readonly': True}, - 'description': {'readonly': True}, - 'provider': {'readonly': True}, - } - - _attribute_map = { - 'origin': {'key': 'origin', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'operation': {'key': 'display.operation', 'type': 'str'}, - 'resource': {'key': 'display.resource', 'type': 'str'}, - 'description': {'key': 'display.description', 'type': 'str'}, - 'provider': {'key': 'display.provider', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationValue, self).__init__(**kwargs) - self.origin = None - self.name = None - self.operation = None - self.resource = None - self.description = None - self.provider = None - - -class TagsObject(msrest.serialization.Model): - """Tags object for patch operations. - - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__( - self, - *, - tags: Optional[Dict[str, str]] = None, - **kwargs - ): - super(TagsObject, self).__init__(**kwargs) - self.tags = tags diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/__init__.py deleted file mode 100755 index 5aac40228ee..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -# 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 ._operations import Operations -from ._managed_clusters_operations import ManagedClustersOperations -from ._agent_pools_operations import AgentPoolsOperations - -__all__ = [ - 'Operations', - 'ManagedClustersOperations', - 'AgentPoolsOperations', -] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_agent_pools_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_agent_pools_operations.py deleted file mode 100755 index 726d0444d0b..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_agent_pools_operations.py +++ /dev/null @@ -1,449 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class AgentPoolsOperations(object): - """AgentPoolsOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2019_04_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.AgentPoolListResult"] - """Gets a list of agent pools in the specified managed cluster. - - Gets a list of agent pools in the specified managed cluster. The operation returns properties - of each agent pool. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either AgentPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('AgentPoolListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools'} # type: ignore - - def get( - self, - resource_group_name, # type: str - resource_name, # type: str - agent_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.AgentPool" - """Gets the agent pool. - - Gets the details of the agent pool by managed cluster and resource group. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param agent_pool_name: The name of the agent pool. - :type agent_pool_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: AgentPool, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.AgentPool - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('AgentPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - resource_name, # type: str - agent_pool_name, # type: str - parameters, # type: "_models.AgentPool" - **kwargs # type: Any - ): - # type: (...) -> "_models.AgentPool" - cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'AgentPool') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('AgentPool', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('AgentPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - resource_name, # type: str - agent_pool_name, # type: str - parameters, # type: "_models.AgentPool" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.AgentPool"] - """Creates or updates an agent pool. - - Creates or updates an agent pool in the specified managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param agent_pool_name: The name of the agent pool. - :type agent_pool_name: str - :param parameters: Parameters supplied to the Create or Update an agent pool operation. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.AgentPool - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2019_04_01.models.AgentPool] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._create_or_update_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - agent_pool_name=agent_pool_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('AgentPool', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore - - def _delete_initial( - self, - resource_group_name, # type: str - resource_name, # type: str - agent_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [202, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - resource_name, # type: str - agent_pool_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Deletes an agent pool. - - Deletes the agent pool in the specified managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param agent_pool_name: The name of the agent pool. - :type agent_pool_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._delete_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - agent_pool_name=agent_pool_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_managed_clusters_operations.py deleted file mode 100755 index 31e63da00d3..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_managed_clusters_operations.py +++ /dev/null @@ -1,1122 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class ManagedClustersOperations(object): - """ManagedClustersOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2019_04_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ManagedClusterListResult"] - """Gets a list of managed clusters in the specified subscription. - - Gets a list of managed clusters in the specified subscription. The operation returns properties - of each managed cluster. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ManagedClusterListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ManagedClusterListResult"] - """Lists managed clusters in the specified subscription and resource group. - - Lists managed clusters in the specified subscription and resource group. The operation returns - properties of each managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ManagedClusterListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return deserialized.next_link or None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters'} # type: ignore - - def get_upgrade_profile( - self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ManagedClusterUpgradeProfile" - """Gets upgrade profile for a managed cluster. - - Gets the details of the upgrade profile for a managed cluster with a specified resource group - and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedClusterUpgradeProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterUpgradeProfile - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterUpgradeProfile"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.get_upgrade_profile.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedClusterUpgradeProfile', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_upgrade_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default'} # type: ignore - - def get_access_profile( - self, - resource_group_name, # type: str - resource_name, # type: str - role_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ManagedClusterAccessProfile" - """Gets an access profile of a managed cluster. - - Gets the accessProfile for the specified role name of the managed cluster with a specified - resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param role_name: The name of the role for managed cluster accessProfile resource. - :type role_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedClusterAccessProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAccessProfile - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterAccessProfile"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.get_access_profile.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - 'roleName': self._serialize.url("role_name", role_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedClusterAccessProfile', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get_access_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential'} # type: ignore - - def list_cluster_admin_credentials( - self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.CredentialResults" - """Gets cluster admin credential of a managed cluster. - - Gets cluster admin credential of the managed cluster with a specified resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.CredentialResults - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.list_cluster_admin_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CredentialResults', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_cluster_admin_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential'} # type: ignore - - def list_cluster_user_credentials( - self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.CredentialResults" - """Gets cluster user credential of a managed cluster. - - Gets cluster user credential of the managed cluster with a specified resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.CredentialResults - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.list_cluster_user_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CredentialResults', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'} # type: ignore - - def get( - self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ManagedCluster" - """Gets a managed cluster. - - Gets the details of the managed cluster with a specified resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ManagedCluster, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - def _create_or_update_initial( - self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.ManagedCluster" - **kwargs # type: Any - ): - # type: (...) -> "_models.ManagedCluster" - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'ManagedCluster') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - def begin_create_or_update( - self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.ManagedCluster" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.ManagedCluster"] - """Creates or updates a managed cluster. - - Creates or updates a managed cluster with the specified configuration for agents and Kubernetes - version. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param parameters: Parameters supplied to the Create or Update a Managed Cluster operation. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._create_or_update_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - def _update_tags_initial( - self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.TagsObject" - **kwargs # type: Any - ): - # type: (...) -> "_models.ManagedCluster" - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._update_tags_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'TagsObject') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - def begin_update_tags( - self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.TagsObject" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.ManagedCluster"] - """Updates tags on a managed cluster. - - Updates a managed cluster with the specified tags. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param parameters: Parameters supplied to the Update Managed Cluster Tags operation. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.TagsObject - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('ManagedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - def _delete_initial( - self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [202, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Deletes a managed cluster. - - Deletes the managed cluster with a specified resource group and name. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._delete_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore - - def _reset_service_principal_profile_initial( - self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.ManagedClusterServicePrincipalProfile" - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._reset_service_principal_profile_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'ManagedClusterServicePrincipalProfile') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _reset_service_principal_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'} # type: ignore - - def begin_reset_service_principal_profile( - self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.ManagedClusterServicePrincipalProfile" - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Reset Service Principal Profile of a managed cluster. - - Update the service principal Profile for a managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param parameters: Parameters supplied to the Reset Service Principal Profile operation for a - Managed Cluster. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterServicePrincipalProfile - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._reset_service_principal_profile_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_reset_service_principal_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'} # type: ignore - - def _reset_aad_profile_initial( - self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.ManagedClusterAADProfile" - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._reset_aad_profile_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'ManagedClusterAADProfile') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _reset_aad_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'} # type: ignore - - def begin_reset_aad_profile( - self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.ManagedClusterAADProfile" - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Reset AAD Profile of a managed cluster. - - Update the AAD Profile for a managed cluster. - - :param resource_group_name: The name of the resource group. - :type resource_group_name: str - :param resource_name: The name of the managed cluster resource. - :type resource_name: str - :param parameters: Parameters supplied to the Reset AAD Profile operation for a Managed - Cluster. - :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._reset_aad_profile_initial( - resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_reset_aad_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_operations.py deleted file mode 100755 index 5019cf30003..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/operations/_operations.py +++ /dev/null @@ -1,109 +0,0 @@ -# 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 typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.mgmt.core.exceptions import ARMErrorFormat - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class Operations(object): - """Operations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2019_04_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.OperationListResult"] - """Gets a list of compute operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2019_04_01.models.OperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('OperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, iter(list_of_elem) - - def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/providers/Microsoft.ContainerService/operations'} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/__init__.py deleted file mode 100755 index eb3d7ba7a26..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -# 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 ._container_service_client import ContainerServiceClient -__all__ = ['ContainerServiceClient'] - -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/_configuration.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/_configuration.py deleted file mode 100755 index 9a90721ebc2..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/_configuration.py +++ /dev/null @@ -1,70 +0,0 @@ -# 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 typing import TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any - - from azure.core.credentials import TokenCredential - -VERSION = "unknown" - -class ContainerServiceClientConfiguration(Configuration): - """Configuration for ContainerServiceClient. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials.TokenCredential - :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - :type subscription_id: str - """ - - def __init__( - self, - credential, # type: "TokenCredential" - subscription_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(ContainerServiceClientConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2021-05-01" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'mgmt-containerservice/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs # type: Any - ): - # type: (...) -> None - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/__init__.py deleted file mode 100755 index 4ad2bb20096..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/__init__.py +++ /dev/null @@ -1,10 +0,0 @@ -# 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 ._container_service_client import ContainerServiceClient -__all__ = ['ContainerServiceClient'] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/_configuration.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/_configuration.py deleted file mode 100755 index de11b983ca1..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/_configuration.py +++ /dev/null @@ -1,66 +0,0 @@ -# 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 typing import Any, TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential - -VERSION = "unknown" - -class ContainerServiceClientConfiguration(Configuration): - """Configuration for ContainerServiceClient. - - Note that all parameters used to create this instance are saved as instance - attributes. - - :param credential: Credential needed for the client to connect to Azure. - :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. - :type subscription_id: str - """ - - def __init__( - self, - credential: "AsyncTokenCredential", - subscription_id: str, - **kwargs: Any - ) -> None: - if credential is None: - raise ValueError("Parameter 'credential' must not be None.") - if subscription_id is None: - raise ValueError("Parameter 'subscription_id' must not be None.") - super(ContainerServiceClientConfiguration, self).__init__(**kwargs) - - self.credential = credential - self.subscription_id = subscription_id - self.api_version = "2021-05-01" - self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'mgmt-containerservice/{}'.format(VERSION)) - self._configure(**kwargs) - - def _configure( - self, - **kwargs: Any - ) -> None: - self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) - self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) - self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) - self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) - self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) - self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) - self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) - self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) - self.authentication_policy = kwargs.get('authentication_policy') - if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_operations.py deleted file mode 100755 index 5bb49c542c2..00000000000 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_operations.py +++ /dev/null @@ -1,104 +0,0 @@ -# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings - -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core.exceptions import ARMErrorFormat - -from ... import models as _models - -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] - -class Operations: - """Operations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def list( - self, - **kwargs: Any - ) -> AsyncIterable["_models.OperationListResult"]: - """Gets a list of compute operations. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.OperationListResult] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - async def extract_data(pipeline_response): - deserialized = self._deserialize('OperationListResult', pipeline_response) - list_of_elem = deserialized.value - if cls: - list_of_elem = cls(list_of_elem) - return None, AsyncList(list_of_elem) - - async def get_next(next_link=None): - request = prepare_request(next_link) - - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, error_format=ARMErrorFormat) - - return pipeline_response - - return AsyncItemPaged( - get_next, extract_data - ) - list.metadata = {'url': '/providers/Microsoft.ContainerService/operations'} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/__init__.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/__init__.py diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/_configuration.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/_configuration.py old mode 100755 new mode 100644 similarity index 98% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/_configuration.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/_configuration.py index 838d4fe4a5c..07afbf85a15 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/_configuration.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/_configuration.py @@ -47,7 +47,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2019-04-01" + self.api_version = "2021-07-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-containerservice/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/_container_service_client.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/_container_service_client.py old mode 100755 new mode 100644 similarity index 93% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/_container_service_client.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/_container_service_client.py index c6f8ea5a9a8..f6d6b5c7484 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/_container_service_client.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/_container_service_client.py @@ -33,19 +33,19 @@ class ContainerServiceClient(object): """The Container Service Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.containerservice.v2021_05_01.operations.Operations + :vartype operations: azure.mgmt.containerservice.v2021_07_01.operations.Operations :ivar managed_clusters: ManagedClustersOperations operations - :vartype managed_clusters: azure.mgmt.containerservice.v2021_05_01.operations.ManagedClustersOperations + :vartype managed_clusters: azure.mgmt.containerservice.v2021_07_01.operations.ManagedClustersOperations :ivar maintenance_configurations: MaintenanceConfigurationsOperations operations - :vartype maintenance_configurations: azure.mgmt.containerservice.v2021_05_01.operations.MaintenanceConfigurationsOperations + :vartype maintenance_configurations: azure.mgmt.containerservice.v2021_07_01.operations.MaintenanceConfigurationsOperations :ivar agent_pools: AgentPoolsOperations operations - :vartype agent_pools: azure.mgmt.containerservice.v2021_05_01.operations.AgentPoolsOperations + :vartype agent_pools: azure.mgmt.containerservice.v2021_07_01.operations.AgentPoolsOperations :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations - :vartype private_endpoint_connections: azure.mgmt.containerservice.v2021_05_01.operations.PrivateEndpointConnectionsOperations + :vartype private_endpoint_connections: azure.mgmt.containerservice.v2021_07_01.operations.PrivateEndpointConnectionsOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: azure.mgmt.containerservice.v2021_05_01.operations.PrivateLinkResourcesOperations + :vartype private_link_resources: azure.mgmt.containerservice.v2021_07_01.operations.PrivateLinkResourcesOperations :ivar resolve_private_link_service_id: ResolvePrivateLinkServiceIdOperations operations - :vartype resolve_private_link_service_id: azure.mgmt.containerservice.v2021_05_01.operations.ResolvePrivateLinkServiceIdOperations + :vartype resolve_private_link_service_id: azure.mgmt.containerservice.v2021_07_01.operations.ResolvePrivateLinkServiceIdOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/__init__.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/__init__.py diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/_configuration.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/_configuration.py old mode 100755 new mode 100644 similarity index 98% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/_configuration.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/_configuration.py index 6e83b5c7716..f7e266a3188 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/_configuration.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/_configuration.py @@ -44,7 +44,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2019-04-01" + self.api_version = "2021-07-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-containerservice/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/_container_service_client.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/_container_service_client.py old mode 100755 new mode 100644 similarity index 93% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/_container_service_client.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/_container_service_client.py index 6134e940c07..169392b48bf --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/_container_service_client.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/_container_service_client.py @@ -31,19 +31,19 @@ class ContainerServiceClient(object): """The Container Service Client. :ivar operations: Operations operations - :vartype operations: azure.mgmt.containerservice.v2021_05_01.aio.operations.Operations + :vartype operations: azure.mgmt.containerservice.v2021_07_01.aio.operations.Operations :ivar managed_clusters: ManagedClustersOperations operations - :vartype managed_clusters: azure.mgmt.containerservice.v2021_05_01.aio.operations.ManagedClustersOperations + :vartype managed_clusters: azure.mgmt.containerservice.v2021_07_01.aio.operations.ManagedClustersOperations :ivar maintenance_configurations: MaintenanceConfigurationsOperations operations - :vartype maintenance_configurations: azure.mgmt.containerservice.v2021_05_01.aio.operations.MaintenanceConfigurationsOperations + :vartype maintenance_configurations: azure.mgmt.containerservice.v2021_07_01.aio.operations.MaintenanceConfigurationsOperations :ivar agent_pools: AgentPoolsOperations operations - :vartype agent_pools: azure.mgmt.containerservice.v2021_05_01.aio.operations.AgentPoolsOperations + :vartype agent_pools: azure.mgmt.containerservice.v2021_07_01.aio.operations.AgentPoolsOperations :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations - :vartype private_endpoint_connections: azure.mgmt.containerservice.v2021_05_01.aio.operations.PrivateEndpointConnectionsOperations + :vartype private_endpoint_connections: azure.mgmt.containerservice.v2021_07_01.aio.operations.PrivateEndpointConnectionsOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: azure.mgmt.containerservice.v2021_05_01.aio.operations.PrivateLinkResourcesOperations + :vartype private_link_resources: azure.mgmt.containerservice.v2021_07_01.aio.operations.PrivateLinkResourcesOperations :ivar resolve_private_link_service_id: ResolvePrivateLinkServiceIdOperations operations - :vartype resolve_private_link_service_id: azure.mgmt.containerservice.v2021_05_01.aio.operations.ResolvePrivateLinkServiceIdOperations + :vartype resolve_private_link_service_id: azure.mgmt.containerservice.v2021_07_01.aio.operations.ResolvePrivateLinkServiceIdOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/__init__.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/__init__.py diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_agent_pools_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_agent_pools_operations.py old mode 100755 new mode 100644 similarity index 94% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_agent_pools_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_agent_pools_operations.py index 0509972712f..1d91c5f9a22 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_agent_pools_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_agent_pools_operations.py @@ -28,7 +28,7 @@ class AgentPoolsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -51,8 +51,7 @@ def list( ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. - Gets a list of agent pools in the specified managed cluster. The operation returns properties - of each agent pool. + Gets a list of agent pools in the specified managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -60,7 +59,7 @@ def list( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AgentPoolListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolListResult"] @@ -68,7 +67,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -127,9 +126,9 @@ async def get( agent_pool_name: str, **kwargs: Any ) -> "_models.AgentPool": - """Gets the agent pool. + """Gets the specified managed cluster agent pool. - Gets the details of the agent pool by managed cluster and resource group. + Gets the specified managed cluster agent pool. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -139,7 +138,7 @@ async def get( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AgentPool, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.AgentPool :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] @@ -147,7 +146,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -197,7 +196,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -251,7 +250,7 @@ async def begin_create_or_update( parameters: "_models.AgentPool", **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: - """Creates or updates an agent pool. + """Creates or updates an agent pool in the specified managed cluster. Creates or updates an agent pool in the specified managed cluster. @@ -261,8 +260,8 @@ async def begin_create_or_update( :type resource_name: str :param agent_pool_name: The name of the agent pool. :type agent_pool_name: str - :param parameters: Parameters supplied to the Create or Update an agent pool operation. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool + :param parameters: The agent pool to create or update. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncARMPolling. @@ -270,7 +269,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_05_01.models.AgentPool] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_07_01.models.AgentPool] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -333,7 +332,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -374,9 +373,9 @@ async def begin_delete( agent_pool_name: str, **kwargs: Any ) -> AsyncLROPoller[None]: - """Deletes an agent pool. + """Deletes an agent pool in the specified managed cluster. - Deletes the agent pool in the specified managed cluster. + Deletes an agent pool in the specified managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -445,10 +444,9 @@ async def get_upgrade_profile( agent_pool_name: str, **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": - """Gets upgrade profile for an agent pool. + """Gets the upgrade profile for an agent pool. - Gets the details of the upgrade profile for an agent pool with a specified resource group and - managed cluster name. + Gets the upgrade profile for an agent pool. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -458,7 +456,7 @@ async def get_upgrade_profile( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AgentPoolUpgradeProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeProfile + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolUpgradeProfile"] @@ -466,7 +464,7 @@ async def get_upgrade_profile( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -509,9 +507,11 @@ async def get_available_agent_pool_versions( resource_name: str, **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": - """Gets a list of supported versions for the specified agent pool. + """Gets a list of supported Kubernetes versions for the specified agent pool. - Gets a list of supported versions for the specified agent pool. + See `supported Kubernetes versions + `_ for more details about + the version lifecycle. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -519,7 +519,7 @@ async def get_available_agent_pool_versions( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AgentPoolAvailableVersions, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolAvailableVersions + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolAvailableVersions :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolAvailableVersions"] @@ -527,7 +527,7 @@ async def get_available_agent_pool_versions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -575,7 +575,7 @@ async def _upgrade_node_image_version_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -621,9 +621,11 @@ async def begin_upgrade_node_image_version( agent_pool_name: str, **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: - """Upgrade node image version of an agent pool to the latest. + """Upgrades the node image version of an agent pool to the latest. - Upgrade node image version of an agent pool to the latest. + Upgrading the node image version of an agent pool applies the newest OS and runtime updates to + the nodes. AKS provides one new image per week with the latest updates. For more details on + node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade. :param resource_group_name: The name of the resource group. :type resource_group_name: str diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_maintenance_configurations_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_maintenance_configurations_operations.py old mode 100755 new mode 100644 similarity index 94% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_maintenance_configurations_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_maintenance_configurations_operations.py index b10621f7b93..ac3341c5a79 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_maintenance_configurations_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_maintenance_configurations_operations.py @@ -26,7 +26,7 @@ class MaintenanceConfigurationsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,8 +49,7 @@ def list_by_managed_cluster( ) -> AsyncIterable["_models.MaintenanceConfigurationListResult"]: """Gets a list of maintenance configurations in the specified managed cluster. - Gets a list of maintenance configurations in the specified managed cluster. The operation - returns properties of each maintenance configuration. + Gets a list of maintenance configurations in the specified managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -58,7 +57,7 @@ def list_by_managed_cluster( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either MaintenanceConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfigurationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfigurationListResult"] @@ -66,7 +65,7 @@ def list_by_managed_cluster( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -125,9 +124,9 @@ async def get( config_name: str, **kwargs: Any ) -> "_models.MaintenanceConfiguration": - """Gets the maintenance configuration. + """Gets the specified maintenance configuration of a managed cluster. - Gets the details of maintenance configurations by managed cluster and resource group. + Gets the specified maintenance configuration of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -137,7 +136,7 @@ async def get( :type config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: MaintenanceConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfiguration"] @@ -145,7 +144,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -190,7 +189,7 @@ async def create_or_update( parameters: "_models.MaintenanceConfiguration", **kwargs: Any ) -> "_models.MaintenanceConfiguration": - """Creates or updates a maintenance configurations. + """Creates or updates a maintenance configuration in the specified managed cluster. Creates or updates a maintenance configuration in the specified managed cluster. @@ -200,12 +199,11 @@ async def create_or_update( :type resource_name: str :param config_name: The name of the maintenance configuration. :type config_name: str - :param parameters: Parameters supplied to the Create or Update a default maintenance - configuration. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :param parameters: The maintenance configuration to create or update. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :return: MaintenanceConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfiguration"] @@ -213,7 +211,7 @@ async def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -264,7 +262,7 @@ async def delete( ) -> None: """Deletes a maintenance configuration. - Deletes the maintenance configuration in the specified managed cluster. + Deletes a maintenance configuration. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -282,7 +280,7 @@ async def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_managed_clusters_operations.py old mode 100755 new mode 100644 similarity index 94% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_managed_clusters_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_managed_clusters_operations.py index 4fc5b8a6549..d8a9e18ee86 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_managed_clusters_operations.py @@ -28,7 +28,7 @@ class ManagedClustersOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,11 +55,11 @@ async def get_os_options( :param location: The name of a supported Azure region. :type location: str - :param resource_type: resource type for which the OS options needs to be returned. + :param resource_type: The resource type for which the OS options needs to be returned. :type resource_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: OSOptionProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.OSOptionProfile + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.OSOptionProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OSOptionProfile"] @@ -67,7 +67,7 @@ async def get_os_options( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -110,12 +110,11 @@ def list( ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. - Gets a list of managed clusters in the specified subscription. The operation returns properties - of each managed cluster. + Gets a list of managed clusters in the specified subscription. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] @@ -123,7 +122,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -180,14 +179,13 @@ def list_by_resource_group( ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. - Lists managed clusters in the specified subscription and resource group. The operation returns - properties of each managed cluster. + Lists managed clusters in the specified subscription and resource group. :param resource_group_name: The name of the resource group. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] @@ -195,7 +193,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -252,10 +250,9 @@ async def get_upgrade_profile( resource_name: str, **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": - """Gets upgrade profile for a managed cluster. + """Gets the upgrade profile of a managed cluster. - Gets the details of the upgrade profile for a managed cluster with a specified resource group - and name. + Gets the upgrade profile of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -263,7 +260,7 @@ async def get_upgrade_profile( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedClusterUpgradeProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterUpgradeProfile + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterUpgradeProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterUpgradeProfile"] @@ -271,7 +268,7 @@ async def get_upgrade_profile( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -316,12 +313,10 @@ async def get_access_profile( ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. - Gets the accessProfile for the specified role name of the managed cluster with a specified - resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials - `_ or + **WARNING**\ : This API will be deprecated. Instead use `ListClusterUserCredentials + `_ or `ListClusterAdminCredentials - `_ . + `_ . :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -331,7 +326,7 @@ async def get_access_profile( :type role_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedClusterAccessProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAccessProfile + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAccessProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterAccessProfile"] @@ -339,7 +334,7 @@ async def get_access_profile( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -383,9 +378,9 @@ async def list_cluster_admin_credentials( server_fqdn: Optional[str] = None, **kwargs: Any ) -> "_models.CredentialResults": - """Gets cluster admin credential of a managed cluster. + """Lists the admin credentials of a managed cluster. - Gets cluster admin credential of the managed cluster with a specified resource group and name. + Lists the admin credentials of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -395,7 +390,7 @@ async def list_cluster_admin_credentials( :type server_fqdn: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.CredentialResults :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] @@ -403,7 +398,7 @@ async def list_cluster_admin_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -448,9 +443,9 @@ async def list_cluster_user_credentials( server_fqdn: Optional[str] = None, **kwargs: Any ) -> "_models.CredentialResults": - """Gets cluster user credential of a managed cluster. + """Lists the user credentials of a managed cluster. - Gets cluster user credential of the managed cluster with a specified resource group and name. + Lists the user credentials of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -460,7 +455,7 @@ async def list_cluster_user_credentials( :type server_fqdn: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.CredentialResults :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] @@ -468,7 +463,7 @@ async def list_cluster_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -513,10 +508,9 @@ async def list_cluster_monitoring_user_credentials( server_fqdn: Optional[str] = None, **kwargs: Any ) -> "_models.CredentialResults": - """Gets cluster monitoring user credential of a managed cluster. + """Lists the cluster monitoring user credentials of a managed cluster. - Gets cluster monitoring user credential of the managed cluster with a specified resource group - and name. + Lists the cluster monitoring user credentials of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -526,7 +520,7 @@ async def list_cluster_monitoring_user_credentials( :type server_fqdn: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.CredentialResults :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] @@ -534,7 +528,7 @@ async def list_cluster_monitoring_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -580,7 +574,7 @@ async def get( ) -> "_models.ManagedCluster": """Gets a managed cluster. - Gets the details of the managed cluster with a specified resource group and name. + Gets a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -588,7 +582,7 @@ async def get( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedCluster, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] @@ -596,7 +590,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -644,7 +638,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -698,15 +692,14 @@ async def begin_create_or_update( ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. - Creates or updates a managed cluster with the specified configuration for agents and Kubernetes - version. + Creates or updates a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param parameters: Parameters supplied to the Create or Update a Managed Cluster operation. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster + :param parameters: The managed cluster to create or update. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncARMPolling. @@ -714,7 +707,7 @@ async def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -775,7 +768,7 @@ async def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -825,14 +818,14 @@ async def begin_update_tags( ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. - Updates a managed cluster with the specified tags. + Updates tags on a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str :param parameters: Parameters supplied to the Update Managed Cluster Tags operation. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.TagsObject + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncARMPolling. @@ -840,7 +833,7 @@ async def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -900,7 +893,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -941,7 +934,7 @@ async def begin_delete( ) -> AsyncLROPoller[None]: """Deletes a managed cluster. - Deletes the managed cluster with a specified resource group and name. + Deletes a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1011,7 +1004,7 @@ async def _reset_service_principal_profile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1056,17 +1049,16 @@ async def begin_reset_service_principal_profile( parameters: "_models.ManagedClusterServicePrincipalProfile", **kwargs: Any ) -> AsyncLROPoller[None]: - """Reset Service Principal Profile of a managed cluster. + """Reset the Service Principal Profile of a managed cluster. - Update the service principal Profile for a managed cluster. + This action cannot be performed on a cluster that is not using a service principal. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param parameters: Parameters supplied to the Reset Service Principal Profile operation for a - Managed Cluster. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile + :param parameters: The service principal profile to set on the managed cluster. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncARMPolling. @@ -1132,7 +1124,7 @@ async def _reset_aad_profile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1177,17 +1169,16 @@ async def begin_reset_aad_profile( parameters: "_models.ManagedClusterAADProfile", **kwargs: Any ) -> AsyncLROPoller[None]: - """Reset AAD Profile of a managed cluster. + """Reset the AAD Profile of a managed cluster. - Update the AAD Profile for a managed cluster. + Reset the AAD Profile of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param parameters: Parameters supplied to the Reset AAD Profile operation for a Managed - Cluster. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile + :param parameters: The AAD profile to set on the Managed Cluster. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncARMPolling. @@ -1252,7 +1243,7 @@ async def _rotate_cluster_certificates_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -1291,9 +1282,10 @@ async def begin_rotate_cluster_certificates( resource_name: str, **kwargs: Any ) -> AsyncLROPoller[None]: - """Rotate certificates of a managed cluster. + """Rotates the certificates of a managed cluster. - Rotate certificates of a managed cluster. + See `Certificate rotation `_ for + more details about rotating managed cluster certificates. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1362,7 +1354,7 @@ async def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -1401,9 +1393,13 @@ async def begin_stop( resource_name: str, **kwargs: Any ) -> AsyncLROPoller[None]: - """Stop Managed Cluster. + """Stops a Managed Cluster. - Stops a Running Managed Cluster. + This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a + cluster stops the control plane and agent nodes entirely, while maintaining all object and + cluster state. A cluster does not accrue charges while it is stopped. See `stopping a cluster + `_ for more details about stopping a + cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1472,7 +1468,7 @@ async def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -1511,9 +1507,10 @@ async def begin_start( resource_name: str, **kwargs: Any ) -> AsyncLROPoller[None]: - """Start Managed Cluster. + """Starts a previously stopped Managed Cluster. - Starts a Stopped Managed Cluster. + See `starting a cluster `_ for more + details about starting a cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1583,7 +1580,7 @@ async def _run_command_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1633,17 +1630,18 @@ async def begin_run_command( request_payload: "_models.RunCommandRequest", **kwargs: Any ) -> AsyncLROPoller["_models.RunCommandResult"]: - """Run Command against Managed Kubernetes Service. + """Submits a command to run against the Managed Cluster. - Submit a command to run against managed kubernetes service, it will create a pod to run the - command. + AKS will create a pod to run the command. This is primarily useful for private clusters. For + more information see `AKS Run Command + `_. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param request_payload: Parameters supplied to the RunCommand operation. - :type request_payload: ~azure.mgmt.containerservice.v2021_05_01.models.RunCommandRequest + :param request_payload: The run command request. + :type request_payload: ~azure.mgmt.containerservice.v2021_07_01.models.RunCommandRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncARMPolling. @@ -1651,7 +1649,7 @@ async def begin_run_command( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RunCommandResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_05_01.models.RunCommandResult] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_07_01.models.RunCommandResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1707,19 +1705,19 @@ async def get_command_result( command_id: str, **kwargs: Any ) -> Optional["_models.RunCommandResult"]: - """Get command result. + """Gets the results of a command which has been run on the Managed Cluster. - Get command result from previous runCommand invoke. + Gets the results of a command which has been run on the Managed Cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param command_id: Id of the command request. + :param command_id: Id of the command. :type command_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: RunCommandResult, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.RunCommandResult or None + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.RunCommandResult or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.RunCommandResult"]] @@ -1727,7 +1725,7 @@ async def get_command_result( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -1783,7 +1781,7 @@ def list_outbound_network_dependencies_endpoints( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OutboundEnvironmentEndpointCollection or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.OutboundEnvironmentEndpointCollection] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.OutboundEnvironmentEndpointCollection] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OutboundEnvironmentEndpointCollection"] @@ -1791,7 +1789,7 @@ def list_outbound_network_dependencies_endpoints( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_operations.py old mode 100755 new mode 100644 similarity index 95% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_operations.py index 88f0e670aba..91b99d99e7f --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2019_04_01/aio/operations/_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_operations.py @@ -26,7 +26,7 @@ class Operations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2019_04_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -45,11 +45,13 @@ def list( self, **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: - """Gets a list of compute operations. + """Gets a list of operations. + + Gets a list of operations. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2019_04_01.models.OperationListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.OperationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] @@ -57,7 +59,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2019-04-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_private_endpoint_connections_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_private_endpoint_connections_operations.py old mode 100755 new mode 100644 similarity index 94% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_private_endpoint_connections_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_private_endpoint_connections_operations.py index 5881a84458d..3a44043241a --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_private_endpoint_connections_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_private_endpoint_connections_operations.py @@ -27,7 +27,7 @@ class PrivateEndpointConnectionsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -50,8 +50,8 @@ async def list( ) -> "_models.PrivateEndpointConnectionListResult": """Gets a list of private endpoint connections in the specified managed cluster. - Gets a list of private endpoint connections in the specified managed cluster. The operation - returns properties of each private endpoint connection. + To learn more about private clusters, see: + https://docs.microsoft.com/azure/aks/private-clusters. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -59,7 +59,7 @@ async def list( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnectionListResult, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnectionListResult + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnectionListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] @@ -67,7 +67,7 @@ async def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -110,9 +110,10 @@ async def get( private_endpoint_connection_name: str, **kwargs: Any ) -> "_models.PrivateEndpointConnection": - """Gets the private endpoint connection. + """Gets the specified private endpoint connection. - Gets the details of the private endpoint connection by managed cluster and resource group. + To learn more about private clusters, see: + https://docs.microsoft.com/azure/aks/private-clusters. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -122,7 +123,7 @@ async def get( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] @@ -130,7 +131,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -177,7 +178,7 @@ async def update( ) -> "_models.PrivateEndpointConnection": """Updates a private endpoint connection. - Updates a private endpoint connection in the specified managed cluster. + Updates a private endpoint connection. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -185,11 +186,11 @@ async def update( :type resource_name: str :param private_endpoint_connection_name: The name of the private endpoint connection. :type private_endpoint_connection_name: str - :param parameters: Parameters supplied to the Update a private endpoint connection operation. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :param parameters: The updated private endpoint connection. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] @@ -197,7 +198,7 @@ async def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -251,7 +252,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -294,7 +295,7 @@ async def begin_delete( ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. - Deletes the private endpoint connection in the specified managed cluster. + Deletes a private endpoint connection. :param resource_group_name: The name of the resource group. :type resource_group_name: str diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_private_link_resources_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_private_link_resources_operations.py old mode 100755 new mode 100644 similarity index 93% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_private_link_resources_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_private_link_resources_operations.py index dd9f79796f6..e42908b0f50 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_private_link_resources_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_private_link_resources_operations.py @@ -25,7 +25,7 @@ class PrivateLinkResourcesOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -48,8 +48,8 @@ async def list( ) -> "_models.PrivateLinkResourcesListResult": """Gets a list of private link resources in the specified managed cluster. - Gets a list of private link resources in the specified managed cluster. The operation returns - properties of each private link resource. + To learn more about private clusters, see: + https://docs.microsoft.com/azure/aks/private-clusters. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -57,7 +57,7 @@ async def list( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourcesListResult, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResourcesListResult + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResourcesListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResourcesListResult"] @@ -65,7 +65,7 @@ async def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_resolve_private_link_service_id_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_resolve_private_link_service_id_operations.py old mode 100755 new mode 100644 similarity index 92% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_resolve_private_link_service_id_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_resolve_private_link_service_id_operations.py index 930df4ecfc5..a2569183ede --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/aio/operations/_resolve_private_link_service_id_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/aio/operations/_resolve_private_link_service_id_operations.py @@ -25,7 +25,7 @@ class ResolvePrivateLinkServiceIdOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -49,18 +49,17 @@ async def post( ) -> "_models.PrivateLinkResource": """Gets the private link service ID for the specified managed cluster. - Gets the private link service ID the specified managed cluster. + Gets the private link service ID for the specified managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param parameters: Parameters (name, groupId) supplied in order to resolve a private link - service ID. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource + :param parameters: Parameters required in order to resolve a private link service ID. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResource :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResource, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResource"] @@ -68,7 +67,7 @@ async def post( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/__init__.py old mode 100755 new mode 100644 similarity index 90% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/__init__.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/__init__.py index 5ef1b816ad0..ee70a6503d8 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/__init__.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/__init__.py @@ -14,11 +14,7 @@ from ._models_py3 import AgentPoolUpgradeProfile from ._models_py3 import AgentPoolUpgradeProfilePropertiesUpgradesItem from ._models_py3 import AgentPoolUpgradeSettings - from ._models_py3 import CloudError from ._models_py3 import CloudErrorBody - from ._models_py3 import Components1Q1Og48SchemasManagedclusterAllof1 - from ._models_py3 import Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties - from ._models_py3 import ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties from ._models_py3 import ContainerServiceDiagnosticsProfile from ._models_py3 import ContainerServiceLinuxProfile from ._models_py3 import ContainerServiceMasterProfile @@ -51,17 +47,24 @@ from ._models_py3 import ManagedClusterLoadBalancerProfileManagedOutboundIPs from ._models_py3 import ManagedClusterLoadBalancerProfileOutboundIPPrefixes from ._models_py3 import ManagedClusterLoadBalancerProfileOutboundIPs + from ._models_py3 import ManagedClusterManagedOutboundIPProfile + from ._models_py3 import ManagedClusterNATGatewayProfile from ._models_py3 import ManagedClusterPodIdentity from ._models_py3 import ManagedClusterPodIdentityException from ._models_py3 import ManagedClusterPodIdentityProfile + from ._models_py3 import ManagedClusterPodIdentityProvisioningError + from ._models_py3 import ManagedClusterPodIdentityProvisioningErrorBody from ._models_py3 import ManagedClusterPodIdentityProvisioningInfo from ._models_py3 import ManagedClusterPoolUpgradeProfile from ._models_py3 import ManagedClusterPoolUpgradeProfileUpgradesItem from ._models_py3 import ManagedClusterPropertiesAutoScalerProfile from ._models_py3 import ManagedClusterSKU + from ._models_py3 import ManagedClusterSecurityProfile + from ._models_py3 import ManagedClusterSecurityProfileAzureDefender from ._models_py3 import ManagedClusterServicePrincipalProfile from ._models_py3 import ManagedClusterUpgradeProfile from ._models_py3 import ManagedClusterWindowsProfile + from ._models_py3 import ManagedServiceIdentityUserAssignedIdentitiesValue from ._models_py3 import OSOptionProfile from ._models_py3 import OSOptionProperty from ._models_py3 import OperationListResult @@ -94,11 +97,7 @@ from ._models import AgentPoolUpgradeProfile # type: ignore from ._models import AgentPoolUpgradeProfilePropertiesUpgradesItem # type: ignore from ._models import AgentPoolUpgradeSettings # type: ignore - from ._models import CloudError # type: ignore from ._models import CloudErrorBody # type: ignore - from ._models import Components1Q1Og48SchemasManagedclusterAllof1 # type: ignore - from ._models import Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties # type: ignore - from ._models import ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties # type: ignore from ._models import ContainerServiceDiagnosticsProfile # type: ignore from ._models import ContainerServiceLinuxProfile # type: ignore from ._models import ContainerServiceMasterProfile # type: ignore @@ -131,17 +130,24 @@ from ._models import ManagedClusterLoadBalancerProfileManagedOutboundIPs # type: ignore from ._models import ManagedClusterLoadBalancerProfileOutboundIPPrefixes # type: ignore from ._models import ManagedClusterLoadBalancerProfileOutboundIPs # type: ignore + from ._models import ManagedClusterManagedOutboundIPProfile # type: ignore + from ._models import ManagedClusterNATGatewayProfile # type: ignore from ._models import ManagedClusterPodIdentity # type: ignore from ._models import ManagedClusterPodIdentityException # type: ignore from ._models import ManagedClusterPodIdentityProfile # type: ignore + from ._models import ManagedClusterPodIdentityProvisioningError # type: ignore + from ._models import ManagedClusterPodIdentityProvisioningErrorBody # type: ignore from ._models import ManagedClusterPodIdentityProvisioningInfo # type: ignore from ._models import ManagedClusterPoolUpgradeProfile # type: ignore from ._models import ManagedClusterPoolUpgradeProfileUpgradesItem # type: ignore from ._models import ManagedClusterPropertiesAutoScalerProfile # type: ignore from ._models import ManagedClusterSKU # type: ignore + from ._models import ManagedClusterSecurityProfile # type: ignore + from ._models import ManagedClusterSecurityProfileAzureDefender # type: ignore from ._models import ManagedClusterServicePrincipalProfile # type: ignore from ._models import ManagedClusterUpgradeProfile # type: ignore from ._models import ManagedClusterWindowsProfile # type: ignore + from ._models import ManagedServiceIdentityUserAssignedIdentitiesValue # type: ignore from ._models import OSOptionProfile # type: ignore from ._models import OSOptionProperty # type: ignore from ._models import OperationListResult # type: ignore @@ -194,6 +200,7 @@ OutboundType, PrivateEndpointConnectionProvisioningState, ResourceIdentityType, + ScaleDownMode, ScaleSetEvictionPolicy, ScaleSetPriority, UpgradeChannel, @@ -208,11 +215,7 @@ 'AgentPoolUpgradeProfile', 'AgentPoolUpgradeProfilePropertiesUpgradesItem', 'AgentPoolUpgradeSettings', - 'CloudError', 'CloudErrorBody', - 'Components1Q1Og48SchemasManagedclusterAllof1', - 'Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties', - 'ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties', 'ContainerServiceDiagnosticsProfile', 'ContainerServiceLinuxProfile', 'ContainerServiceMasterProfile', @@ -245,17 +248,24 @@ 'ManagedClusterLoadBalancerProfileManagedOutboundIPs', 'ManagedClusterLoadBalancerProfileOutboundIPPrefixes', 'ManagedClusterLoadBalancerProfileOutboundIPs', + 'ManagedClusterManagedOutboundIPProfile', + 'ManagedClusterNATGatewayProfile', 'ManagedClusterPodIdentity', 'ManagedClusterPodIdentityException', 'ManagedClusterPodIdentityProfile', + 'ManagedClusterPodIdentityProvisioningError', + 'ManagedClusterPodIdentityProvisioningErrorBody', 'ManagedClusterPodIdentityProvisioningInfo', 'ManagedClusterPoolUpgradeProfile', 'ManagedClusterPoolUpgradeProfileUpgradesItem', 'ManagedClusterPropertiesAutoScalerProfile', 'ManagedClusterSKU', + 'ManagedClusterSecurityProfile', + 'ManagedClusterSecurityProfileAzureDefender', 'ManagedClusterServicePrincipalProfile', 'ManagedClusterUpgradeProfile', 'ManagedClusterWindowsProfile', + 'ManagedServiceIdentityUserAssignedIdentitiesValue', 'OSOptionProfile', 'OSOptionProperty', 'OperationListResult', @@ -306,6 +316,7 @@ 'OutboundType', 'PrivateEndpointConnectionProvisioningState', 'ResourceIdentityType', + 'ScaleDownMode', 'ScaleSetEvictionPolicy', 'ScaleSetPriority', 'UpgradeChannel', diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_container_service_client_enums.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_container_service_client_enums.py old mode 100755 new mode 100644 similarity index 54% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_container_service_client_enums.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_container_service_client_enums.py index bdf1668dad1..0aa1a761f14 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_container_service_client_enums.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_container_service_client_enums.py @@ -27,24 +27,34 @@ def __getattr__(cls, name): class AgentPoolMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """AgentPoolMode represents mode of an agent pool. + """A cluster must have at least one 'System' Agent Pool at all times. For additional information + on agent pool restrictions and best practices, see: + https://docs.microsoft.com/azure/aks/use-system-pools """ + #: System agent pools are primarily for hosting critical system pods such as CoreDNS and + #: metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at + #: least 2vCPUs and 4GB of memory. SYSTEM = "System" + #: User agent pools are primarily for hosting your application pods. USER = "User" class AgentPoolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """AgentPoolType represents types of an agent pool. + """The type of Agent Pool. """ + #: Create an Agent Pool backed by a Virtual Machine Scale Set. VIRTUAL_MACHINE_SCALE_SETS = "VirtualMachineScaleSets" + #: Use of this is strongly discouraged. AVAILABILITY_SET = "AvailabilitySet" class Code(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Tells whether the cluster is Running or Stopped """ + #: The cluster is running. RUNNING = "Running" + #: The cluster is stopped. STOPPED = "Stopped" class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): @@ -57,15 +67,15 @@ class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): DISCONNECTED = "Disconnected" class ContainerServiceStorageProfileTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Storage profile specifies what kind of storage used. Choose from StorageAccount and - ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice. + """Specifies what kind of storage to use. If omitted, the default will be chosen on your behalf + based on the choice of orchestrator. """ STORAGE_ACCOUNT = "StorageAccount" MANAGED_DISKS = "ManagedDisks" class ContainerServiceVMSizeTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Size of agent VMs. + """Size of agent VMs. Note: This is no longer maintained. """ STANDARD_A1 = "Standard_A1" @@ -262,10 +272,26 @@ class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): KEY = "Key" class Expander(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """If not specified, the default is 'random'. See `expanders + `_ + for more information. + """ + #: Selects the node group that will have the least idle CPU (if tied, unused memory) after + #: scale-up. This is useful when you have different classes of nodes, for example, high CPU or + #: high memory nodes, and only want to expand those when there are pending pods that need a lot of + #: those resources. LEAST_WASTE = "least-waste" + #: Selects the node group that would be able to schedule the most pods when scaling up. This is + #: useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note + #: that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple + #: smaller nodes at once. MOST_PODS = "most-pods" + #: Selects the node group that has the highest priority assigned by the user. It's configuration + #: is described in more details `here + #: `_. PRIORITY = "priority" + #: Used when you don't have a particular need for the node groups to scale differently. RANDOM = "random" class ExtendedLocationTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): @@ -276,7 +302,6 @@ class ExtendedLocationTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)) class GPUInstanceProfile(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. - Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. """ MIG1_G = "MIG1g" @@ -286,26 +311,36 @@ class GPUInstanceProfile(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): MIG7_G = "MIG7g" class KubeletDiskType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and - Kubelet ephemeral storage. Allowed values: 'OS', 'Temporary' (preview). + """Determines the placement of emptyDir volumes, container runtime data root, and Kubelet + ephemeral storage. """ + #: Kubelet will use the OS disk for its data. OS = "OS" + #: Kubelet will use the temporary disk for its data. TEMPORARY = "Temporary" class LicenseType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User - Benefits for Windows VMs. + """The license type to use for Windows VMs. See `Azure Hybrid User Benefits + `_ for more details. """ + #: No additional licensing is applied. NONE = "None" + #: Enables Azure Hybrid User Benefits for Windows VMs. WINDOWS_SERVER = "Windows_Server" class LoadBalancerSku(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The load balancer sku for the managed cluster. + """The default is 'standard'. See `Azure Load Balancer SKUs + `_ for more information about the + differences between load balancer SKUs. """ + #: Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information + #: about on working with the load balancer in the managed cluster, see the `standard Load Balancer + #: `_ article. STANDARD = "standard" + #: Use a basic Load Balancer with limited functionality. BASIC = "basic" class ManagedClusterPodIdentityProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): @@ -318,67 +353,110 @@ class ManagedClusterPodIdentityProvisioningState(with_metaclass(_CaseInsensitive FAILED = "Failed" class ManagedClusterSKUName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Name of a managed cluster SKU. + """The name of a managed cluster SKU. """ BASIC = "Basic" class ManagedClusterSKUTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Tier of a managed cluster SKU. + """If not specified, the default is 'Free'. See `uptime SLA + `_ for more details. """ + #: Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use + #: Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. PAID = "Paid" + #: No guaranteed SLA, no additional charges. Free tier clusters have an SLO of 99.5%. FREE = "Free" class NetworkMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Network mode used for building Kubernetes network. + """This cannot be specified if networkPlugin is anything other than 'azure'. """ + #: No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure + #: CNI. See `Transparent Mode `_ for + #: more information. TRANSPARENT = "transparent" + #: This is no longer supported. BRIDGE = "bridge" class NetworkPlugin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Network plugin used for building Kubernetes network. + """Network plugin used for building the Kubernetes network. """ + #: Use the Azure CNI network plugin. See `Azure CNI (advanced) networking + #: `_ for + #: more information. AZURE = "azure" + #: Use the Kubenet network plugin. See `Kubenet (basic) networking + #: `_ for more + #: information. KUBENET = "kubenet" class NetworkPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Network policy used for building Kubernetes network. + """Network policy used for building the Kubernetes network. """ + #: Use Calico network policies. See `differences between Azure and Calico policies + #: `_ + #: for more information. CALICO = "calico" + #: Use Azure network policies. See `differences between Azure and Calico policies + #: `_ + #: for more information. AZURE = "azure" class OSDiskType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """OSDiskType represents the type of an OS disk on an agent pool. + """The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested + OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more + information see `Ephemeral OS + `_. """ + #: Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data + #: loss should the VM need to be relocated to another host. Since containers aren't designed to + #: have local state persisted, this behavior offers limited value while providing some drawbacks, + #: including slower node provisioning and higher read/write latency. MANAGED = "Managed" + #: Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This + #: provides lower read/write latency, along with faster node scaling and cluster upgrades. EPHEMERAL = "Ephemeral" class OSSKU(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner for Linux - OSType. Not applicable to Windows OSType. + """Specifies an OS SKU. This value must not be specified if OSType is Windows. """ UBUNTU = "Ubuntu" CBL_MARINER = "CBLMariner" class OSType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. + """The operating system type. The default is Linux. """ + #: Use Linux. LINUX = "Linux" + #: Use Windows. WINDOWS = "Windows" class OutboundType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The outbound (egress) routing method. + """This can only be set at cluster creation time and cannot be changed later. For more information + see `egress outbound type `_. """ + #: The load balancer is used for egress through an AKS assigned public IP. This supports + #: Kubernetes services of type 'loadBalancer'. For more information see `outbound type + #: loadbalancer + #: `_. LOAD_BALANCER = "loadBalancer" + #: Egress paths must be defined by the user. This is an advanced scenario and requires proper + #: network configuration. For more information see `outbound type userDefinedRouting + #: `_. USER_DEFINED_ROUTING = "userDefinedRouting" + #: The AKS-managed NAT gateway is used for egress. + MANAGED_NAT_GATEWAY = "managedNATGateway" + #: The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an + #: advanced scenario and requires proper network configuration. + USER_ASSIGNED_NAT_GATEWAY = "userAssignedNATGateway" class PrivateEndpointConnectionProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The current provisioning state. @@ -390,39 +468,83 @@ class PrivateEndpointConnectionProvisioningState(with_metaclass(_CaseInsensitive FAILED = "Failed" class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly - created identity in master components and an auto-created user assigned identity in MC_ - resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service - principal will be used instead. + """For more information see `use managed identities in AKS + `_. """ + #: Use an implicitly created system assigned managed identity to manage cluster resources. Master + #: components in the control plane such as kube-controller-manager will use the system assigned + #: managed identity to manipulate Azure resources. SYSTEM_ASSIGNED = "SystemAssigned" + #: Use a user-specified identity to manage cluster resources. Master components in the control + #: plane such as kube-controller-manager will use the specified user assigned managed identity to + #: manipulate Azure resources. USER_ASSIGNED = "UserAssigned" + #: Do not use a managed identity for the Managed Cluster, service principal will be used instead. NONE = "None" +class ScaleDownMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Describes how VMs are added to or removed from Agent Pools. See `billing states + `_. + """ + + #: Create new instances during scale up and remove instances during scale down. + DELETE = "Delete" + #: Attempt to start deallocated instances (if they exist) during scale up and deallocate instances + #: during scale down. + DEALLOCATE = "Deallocate" + class ScaleSetEvictionPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale - set. Default to Delete. + """The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. + For more information about eviction see `spot VMs + `_ """ + #: Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. DELETE = "Delete" + #: Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state + #: upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can + #: cause issues with cluster scaling or upgrading. DEALLOCATE = "Deallocate" class ScaleSetPriority(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular. + """The Virtual Machine Scale Set priority. """ + #: Spot priority VMs will be used. There is no SLA for spot nodes. See `spot on AKS + #: `_ for more information. SPOT = "Spot" + #: Regular VMs will be used. REGULAR = "Regular" class UpgradeChannel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """upgrade channel for auto upgrade. + """For more information see `setting the AKS cluster auto-upgrade channel + `_. """ + #: Automatically upgrade the cluster to the latest supported patch release on the latest supported + #: minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor + #: version where N is the latest supported minor version, the cluster first upgrades to the latest + #: supported patch version on N-1 minor version. For example, if a cluster is running version + #: 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is + #: upgraded to 1.18.6, then is upgraded to 1.19.1. RAPID = "rapid" + #: Automatically upgrade the cluster to the latest supported patch release on minor version N-1, + #: where N is the latest supported minor version. For example, if a cluster is running version + #: 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded + #: to 1.18.6. STABLE = "stable" + #: Automatically upgrade the cluster to the latest supported patch version when it becomes + #: available while keeping the minor version the same. For example, if a cluster is running + #: version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is + #: upgraded to 1.17.9. PATCH = "patch" + #: Automatically upgrade the node image to the latest version available. Microsoft provides + #: patches and new images for image nodes frequently (usually weekly), but your running nodes + #: won't get the new images unless you do a node image upgrade. Turning on the node-image channel + #: will automatically update your node images whenever a new version is available. NODE_IMAGE = "node-image" + #: Disables auto-upgrades and keeps the cluster at its current version of Kubernetes. NONE = "none" class WeekDay(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_models.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_models.py old mode 100755 new mode 100644 similarity index 71% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_models.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_models.py index 0df038e3e8e..3bab9266939 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_models.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_models.py @@ -61,109 +61,128 @@ class AgentPool(SubResource): range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. :type count: int - :param vm_size: Size of agent VMs. + :param vm_size: VM size availability varies by region. If a node contains insufficient compute + resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted + VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions. :type vm_size: str :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. :type os_disk_size_gb: int - :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values - are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports - ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults - to 'Managed'. May not be changed after creation. Possible values include: "Managed", - "Ephemeral". - :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType - :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, - container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, - resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". - :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe - pods. + :param os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk + larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed + after creation. For more information see `Ephemeral OS + `_. Possible values + include: "Managed", "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSDiskType + :param kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data + root, and Kubelet ephemeral storage. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.KubeletDiskType + :param vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. + If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just + nodes. This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type vnet_subnet_id: str - :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :param pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see + vnetSubnetID for more details). This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type pod_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. + :param max_pods: The maximum number of pods that can run on a node. :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType - :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner - for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", - "CBLMariner". - :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU - :param max_count: Maximum number of nodes for auto-scaling. + :param os_type: The operating system type. The default is Linux. Possible values include: + "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType + :param os_sku: Specifies an OS SKU. This value must not be specified if OSType is Windows. + Possible values include: "Ubuntu", "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSSKU + :param max_count: The maximum number of nodes for auto-scaling. :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. + :param min_count: The minimum number of nodes for auto-scaling. :type min_count: int :param enable_auto_scaling: Whether to enable auto-scaler. :type enable_auto_scaling: bool - :param type_properties_type: AgentPoolType represents types of an agent pool. Possible values - include: "VirtualMachineScaleSets", "AvailabilitySet". + :param scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it + defaults to Delete. Possible values include: "Delete", "Deallocate". + :type scale_down_mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.ScaleDownMode + :param type_properties_type: The type of Agent Pool. Possible values include: + "VirtualMachineScaleSets", "AvailabilitySet". :type type_properties_type: str or - ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType - :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolType + :param mode: A cluster must have at least one 'System' Agent Pool at all times. For additional + information on agent pool restrictions and best practices, see: + https://docs.microsoft.com/azure/aks/use-system-pools. Possible values include: "System", "User". - :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. + :type mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolMode + :param orchestrator_version: As a best practice, you should upgrade all node pools in an AKS + cluster to the same Kubernetes version. The node pool version must have the same major version + as the control plane. The node pool minor version must be within two minor versions of the + control plane version. The node pool version cannot be greater than the control plane version. + For more information see `upgrading a node pool + `_. :type orchestrator_version: str - :ivar node_image_version: Version of node image. + :ivar node_image_version: The version of node image. :vartype node_image_version: str :param upgrade_settings: Settings for upgrading the agentpool. :type upgrade_settings: - ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. + ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state. :vartype provisioning_state: str :ivar power_state: Describes whether the Agent Pool is Running or Stopped. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState - :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets - AgentPoolType. + :vartype power_state: ~azure.mgmt.containerservice.v2021_07_01.models.PowerState + :param availability_zones: The list of Availability zones to use for nodes. This can only be + specified if the AgentPoolType property is 'VirtualMachineScaleSets'. :type availability_zones: list[str] - :param enable_node_public_ip: Enable public IP for nodes. + :param enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their + own dedicated public IP addresses. A common scenario is for gaming workloads, where a console + needs to make a direct connection to a cloud virtual machine to minimize hops. For more + information see `assigning a public IP per node + `_. + The default is false. :type enable_node_public_ip: bool - :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this - Public IP Prefix. + :param node_public_ip_prefix_id: This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}. :type node_public_ip_prefix_id: str - :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set - priority. Default to regular. Possible values include: "Spot", "Regular". Default value: - "Regular". + :param scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the + default is 'Regular'. Possible values include: "Spot", "Regular". Default value: "Regular". :type scale_set_priority: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority - :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy - for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetPriority + :param scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is + 'Spot'. If not specified, the default is 'Delete'. Possible values include: "Delete", "Deallocate". Default value: "Delete". :type scale_set_eviction_policy: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy - :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to - pay in US Dollars. Possible values are any decimal value greater than zero or -1 which - indicates default price to be up-to on-demand. + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetEvictionPolicy + :param spot_max_price: Possible values are any decimal value greater than zero or -1 which + indicates the willingness to pay any on-demand price. For more details on spot pricing, see + `spot VMs pricing `_. :type spot_max_price: float - :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine - scale set. + :param tags: A set of tags. The tags to be persisted on the agent pool virtual machine scale + set. :type tags: dict[str, str] - :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :param node_labels: The node labels to be persisted across all nodes in agent pool. :type node_labels: dict[str, str] - :param node_taints: Taints added to new nodes during node pool create and scale. For example, - key=value:NoSchedule. + :param node_taints: The taints added to new nodes during node pool create and scale. For + example, key=value:NoSchedule. :type node_taints: list[str] :param proximity_placement_group_id: The ID for Proximity Placement Group. :type proximity_placement_group_id: str - :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. - :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig - :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. - :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig - :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :param kubelet_config: The Kubelet configuration on the agent pool nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_07_01.models.KubeletConfig + :param linux_os_config: The OS configuration of Linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_07_01.models.LinuxOSConfig + :param enable_encryption_at_host: This is only supported on certain VM sizes and in certain + Azure regions. For more information, see: + https://docs.microsoft.com/azure/aks/enable-host-encryption. :type enable_encryption_at_host: bool :param enable_ultra_ssd: Whether to enable UltraSSD. :type enable_ultra_ssd: bool - :param enable_fips: Whether to use FIPS enabled OS. + :param enable_fips: See `Add a FIPS-enabled node pool + `_ + for more details. :type enable_fips: bool :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile - for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible - values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + for supported GPU VM SKU. Possible values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". :type gpu_instance_profile: str or - ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + ~azure.mgmt.containerservice.v2021_07_01.models.GPUInstanceProfile """ _validation = { @@ -193,6 +212,7 @@ class AgentPool(SubResource): 'max_count': {'key': 'properties.maxCount', 'type': 'int'}, 'min_count': {'key': 'properties.minCount', 'type': 'int'}, 'enable_auto_scaling': {'key': 'properties.enableAutoScaling', 'type': 'bool'}, + 'scale_down_mode': {'key': 'properties.scaleDownMode', 'type': 'str'}, 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, 'mode': {'key': 'properties.mode', 'type': 'str'}, 'orchestrator_version': {'key': 'properties.orchestratorVersion', 'type': 'str'}, @@ -236,6 +256,7 @@ def __init__( self.max_count = kwargs.get('max_count', None) self.min_count = kwargs.get('min_count', None) self.enable_auto_scaling = kwargs.get('enable_auto_scaling', None) + self.scale_down_mode = kwargs.get('scale_down_mode', None) self.type_properties_type = kwargs.get('type_properties_type', None) self.mode = kwargs.get('mode', None) self.orchestrator_version = kwargs.get('orchestrator_version', None) @@ -266,15 +287,15 @@ class AgentPoolAvailableVersions(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Id of the agent pool available versions. + :ivar id: The ID of the agent pool version list. :vartype id: str - :ivar name: Name of the agent pool available versions. + :ivar name: The name of the agent pool version list. :vartype name: str - :ivar type: Type of the agent pool available versions. + :ivar type: Type of the agent pool version list. :vartype type: str :param agent_pool_versions: List of versions available for agent pool. :type agent_pool_versions: - list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem] + list[~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem] """ _validation = { @@ -306,7 +327,7 @@ class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem(msrest.serializa :param default: Whether this version is the default agent pool version. :type default: bool - :param kubernetes_version: Kubernetes version (major, minor, patch). + :param kubernetes_version: The Kubernetes version (major.minor.patch). :type kubernetes_version: str :param is_preview: Whether Kubernetes version is currently in preview. :type is_preview: bool @@ -334,7 +355,7 @@ class AgentPoolListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The list of agent pools. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPool] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.AgentPool] :ivar next_link: The URL to get the next set of agent pool results. :vartype next_link: str """ @@ -364,22 +385,21 @@ class AgentPoolUpgradeProfile(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :ivar id: Id of the agent pool upgrade profile. + :ivar id: The ID of the agent pool upgrade profile. :vartype id: str - :ivar name: Name of the agent pool upgrade profile. + :ivar name: The name of the agent pool upgrade profile. :vartype name: str - :ivar type: Type of the agent pool upgrade profile. + :ivar type: The type of the agent pool upgrade profile. :vartype type: str - :param kubernetes_version: Required. Kubernetes version (major, minor, patch). + :param kubernetes_version: Required. The Kubernetes version (major.minor.patch). :type kubernetes_version: str - :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. - Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_type: Required. The operating system type. The default is Linux. Possible values + include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType :param upgrades: List of orchestrator types and versions available for upgrade. :type upgrades: - list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeProfilePropertiesUpgradesItem] - :param latest_node_image_version: LatestNodeImageVersion is the latest AKS supported node image - version. + list[~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeProfilePropertiesUpgradesItem] + :param latest_node_image_version: The latest AKS supported node image version. :type latest_node_image_version: str """ @@ -418,9 +438,9 @@ def __init__( class AgentPoolUpgradeProfilePropertiesUpgradesItem(msrest.serialization.Model): """AgentPoolUpgradeProfilePropertiesUpgradesItem. - :param kubernetes_version: Kubernetes version (major, minor, patch). + :param kubernetes_version: The Kubernetes version (major.minor.patch). :type kubernetes_version: str - :param is_preview: Whether Kubernetes version is currently in preview. + :param is_preview: Whether the Kubernetes version is currently in preview. :type is_preview: bool """ @@ -441,8 +461,11 @@ def __init__( class AgentPoolUpgradeSettings(msrest.serialization.Model): """Settings for upgrading an agentpool. - :param max_surge: Count or percentage of additional nodes to be added during upgrade. If empty - uses AKS default. + :param max_surge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). + If a percentage is specified, it is the percentage of the total agent pool size at the time of + the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is + 1. For more information, including best practices, see: + https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade. :type max_surge: str """ @@ -458,25 +481,6 @@ def __init__( self.max_surge = kwargs.get('max_surge', None) -class CloudError(msrest.serialization.Model): - """An error response from the Container service. - - :param error: Details about the error. - :type error: ~azure.mgmt.containerservice.v2021_05_01.models.CloudErrorBody - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'CloudErrorBody'}, - } - - def __init__( - self, - **kwargs - ): - super(CloudError, self).__init__(**kwargs) - self.error = kwargs.get('error', None) - - class CloudErrorBody(msrest.serialization.Model): """An error response from the Container service. @@ -490,7 +494,7 @@ class CloudErrorBody(msrest.serialization.Model): error. :type target: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.containerservice.v2021_05_01.models.CloudErrorBody] + :type details: list[~azure.mgmt.containerservice.v2021_07_01.models.CloudErrorBody] """ _attribute_map = { @@ -511,249 +515,6 @@ def __init__( self.details = kwargs.get('details', None) -class Components1Q1Og48SchemasManagedclusterAllof1(msrest.serialization.Model): - """Components1Q1Og48SchemasManagedclusterAllof1. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param identity: The identity of the managed cluster, if configured. - :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterIdentity - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :ivar power_state: Represents the Power State of the cluster. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState - :ivar max_agent_pools: The max number of agent pools for the managed cluster. - :vartype max_agent_pools: int - :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. - :type kubernetes_version: str - :param dns_prefix: DNS prefix specified when creating the managed cluster. - :type dns_prefix: str - :param fqdn_subdomain: FQDN subdomain specified when creating private cluster with custom - private dns zone. - :type fqdn_subdomain: str - :ivar fqdn: FQDN for the master pool. - :vartype fqdn: str - :ivar private_fqdn: FQDN of private cluster. - :vartype private_fqdn: str - :ivar azure_portal_fqdn: FQDN for the master pool which used by proxy config. - :vartype azure_portal_fqdn: str - :param agent_pool_profiles: Properties of the agent pool. - :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAgentPoolProfile] - :param linux_profile: Profile for Linux VMs in the container service cluster. - :type linux_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceLinuxProfile - :param windows_profile: Profile for Windows VMs in the container service cluster. - :type windows_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterWindowsProfile - :param service_principal_profile: Information about a service principal identity for the - cluster to use for manipulating Azure APIs. - :type service_principal_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile - :param addon_profiles: Profile of managed cluster add-on. - :type addon_profiles: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfile] - :param pod_identity_profile: Profile of managed cluster pod identity. - :type pod_identity_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProfile - :param node_resource_group: Name of the resource group containing agent pool nodes. - :type node_resource_group: str - :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. - :type enable_rbac: bool - :param enable_pod_security_policy: (DEPRECATING) Whether to enable Kubernetes pod security - policy (preview). This feature is set for removal on October 15th, 2020. Learn more at - aka.ms/aks/azpodpolicy. - :type enable_pod_security_policy: bool - :param network_profile: Profile of network configuration. - :type network_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceNetworkProfile - :param aad_profile: Profile of Azure Active Directory configuration. - :type aad_profile: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile - :param auto_upgrade_profile: Profile of auto upgrade configuration. - :type auto_upgrade_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAutoUpgradeProfile - :param auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled. - :type auto_scaler_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPropertiesAutoScalerProfile - :param api_server_access_profile: Access profile for managed cluster API server. - :type api_server_access_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAPIServerAccessProfile - :param disk_encryption_set_id: ResourceId of the disk encryption set to use for enabling - encryption at rest. - :type disk_encryption_set_id: str - :param identity_profile: Identities associated with the cluster. - :type identity_profile: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties] - :param private_link_resources: Private link resources associated with the cluster. - :type private_link_resources: - list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] - :param disable_local_accounts: If set to true, getting static credential will be disabled for - this cluster. Expected to only be used for AAD clusters. - :type disable_local_accounts: bool - :param http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. - :type http_proxy_config: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterHTTPProxyConfig - """ - - _validation = { - 'provisioning_state': {'readonly': True}, - 'power_state': {'readonly': True}, - 'max_agent_pools': {'readonly': True}, - 'fqdn': {'readonly': True}, - 'private_fqdn': {'readonly': True}, - 'azure_portal_fqdn': {'readonly': True}, - } - - _attribute_map = { - 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, - 'max_agent_pools': {'key': 'properties.maxAgentPools', 'type': 'int'}, - 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, - 'dns_prefix': {'key': 'properties.dnsPrefix', 'type': 'str'}, - 'fqdn_subdomain': {'key': 'properties.fqdnSubdomain', 'type': 'str'}, - 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, - 'private_fqdn': {'key': 'properties.privateFQDN', 'type': 'str'}, - 'azure_portal_fqdn': {'key': 'properties.azurePortalFQDN', 'type': 'str'}, - 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterAgentPoolProfile]'}, - 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, - 'windows_profile': {'key': 'properties.windowsProfile', 'type': 'ManagedClusterWindowsProfile'}, - 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ManagedClusterServicePrincipalProfile'}, - 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, - 'pod_identity_profile': {'key': 'properties.podIdentityProfile', 'type': 'ManagedClusterPodIdentityProfile'}, - 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, - 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, - 'enable_pod_security_policy': {'key': 'properties.enablePodSecurityPolicy', 'type': 'bool'}, - 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, - 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, - 'auto_upgrade_profile': {'key': 'properties.autoUpgradeProfile', 'type': 'ManagedClusterAutoUpgradeProfile'}, - 'auto_scaler_profile': {'key': 'properties.autoScalerProfile', 'type': 'ManagedClusterPropertiesAutoScalerProfile'}, - 'api_server_access_profile': {'key': 'properties.apiServerAccessProfile', 'type': 'ManagedClusterAPIServerAccessProfile'}, - 'disk_encryption_set_id': {'key': 'properties.diskEncryptionSetID', 'type': 'str'}, - 'identity_profile': {'key': 'properties.identityProfile', 'type': '{ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties}'}, - 'private_link_resources': {'key': 'properties.privateLinkResources', 'type': '[PrivateLinkResource]'}, - 'disable_local_accounts': {'key': 'properties.disableLocalAccounts', 'type': 'bool'}, - 'http_proxy_config': {'key': 'properties.httpProxyConfig', 'type': 'ManagedClusterHTTPProxyConfig'}, - } - - def __init__( - self, - **kwargs - ): - super(Components1Q1Og48SchemasManagedclusterAllof1, self).__init__(**kwargs) - self.identity = kwargs.get('identity', None) - self.provisioning_state = None - self.power_state = None - self.max_agent_pools = None - self.kubernetes_version = kwargs.get('kubernetes_version', None) - self.dns_prefix = kwargs.get('dns_prefix', None) - self.fqdn_subdomain = kwargs.get('fqdn_subdomain', None) - self.fqdn = None - self.private_fqdn = None - self.azure_portal_fqdn = None - self.agent_pool_profiles = kwargs.get('agent_pool_profiles', None) - self.linux_profile = kwargs.get('linux_profile', None) - self.windows_profile = kwargs.get('windows_profile', None) - self.service_principal_profile = kwargs.get('service_principal_profile', None) - self.addon_profiles = kwargs.get('addon_profiles', None) - self.pod_identity_profile = kwargs.get('pod_identity_profile', None) - self.node_resource_group = kwargs.get('node_resource_group', None) - self.enable_rbac = kwargs.get('enable_rbac', None) - self.enable_pod_security_policy = kwargs.get('enable_pod_security_policy', None) - self.network_profile = kwargs.get('network_profile', None) - self.aad_profile = kwargs.get('aad_profile', None) - self.auto_upgrade_profile = kwargs.get('auto_upgrade_profile', None) - self.auto_scaler_profile = kwargs.get('auto_scaler_profile', None) - self.api_server_access_profile = kwargs.get('api_server_access_profile', None) - self.disk_encryption_set_id = kwargs.get('disk_encryption_set_id', None) - self.identity_profile = kwargs.get('identity_profile', None) - self.private_link_resources = kwargs.get('private_link_resources', None) - self.disable_local_accounts = kwargs.get('disable_local_accounts', None) - self.http_proxy_config = kwargs.get('http_proxy_config', None) - - -class Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): - """Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The principal id of user assigned identity. - :vartype principal_id: str - :ivar client_id: The client id of user assigned identity. - :vartype client_id: str - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'client_id': {'readonly': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties, self).__init__(**kwargs) - self.principal_id = None - self.client_id = None - - -class UserAssignedIdentity(msrest.serialization.Model): - """UserAssignedIdentity. - - :param resource_id: The resource id of the user assigned identity. - :type resource_id: str - :param client_id: The client id of the user assigned identity. - :type client_id: str - :param object_id: The object id of the user assigned identity. - :type object_id: str - """ - - _attribute_map = { - 'resource_id': {'key': 'resourceId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'object_id': {'key': 'objectId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(UserAssignedIdentity, self).__init__(**kwargs) - self.resource_id = kwargs.get('resource_id', None) - self.client_id = kwargs.get('client_id', None) - self.object_id = kwargs.get('object_id', None) - - -class ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties(UserAssignedIdentity): - """ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties. - - :param resource_id: The resource id of the user assigned identity. - :type resource_id: str - :param client_id: The client id of the user assigned identity. - :type client_id: str - :param object_id: The object id of the user assigned identity. - :type object_id: str - """ - - _attribute_map = { - 'resource_id': {'key': 'resourceId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'object_id': {'key': 'objectId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties, self).__init__(**kwargs) - - class ContainerServiceDiagnosticsProfile(msrest.serialization.Model): """Profile for diagnostics on the container service cluster. @@ -761,7 +522,7 @@ class ContainerServiceDiagnosticsProfile(msrest.serialization.Model): :param vm_diagnostics: Required. Profile for diagnostics on the container service VMs. :type vm_diagnostics: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceVMDiagnostics + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceVMDiagnostics """ _validation = { @@ -787,8 +548,8 @@ class ContainerServiceLinuxProfile(msrest.serialization.Model): :param admin_username: Required. The administrator username to use for Linux VMs. :type admin_username: str - :param ssh: Required. SSH configuration for Linux-based VMs running on Azure. - :type ssh: ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceSshConfiguration + :param ssh: Required. The SSH configuration for Linux-based VMs running on Azure. + :type ssh: ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceSshConfiguration """ _validation = { @@ -819,7 +580,7 @@ class ContainerServiceMasterProfile(msrest.serialization.Model): :param count: Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1. Possible values include: 1, 3, 5. Default value: "1". - :type count: str or ~azure.mgmt.containerservice.v2021_05_01.models.Count + :type count: str or ~azure.mgmt.containerservice.v2021_07_01.models.Count :param dns_prefix: Required. DNS prefix to be used to create the FQDN for the master pool. :type dns_prefix: str :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", @@ -861,7 +622,7 @@ class ContainerServiceMasterProfile(msrest.serialization.Model): "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". :type vm_size: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -875,7 +636,7 @@ class ContainerServiceMasterProfile(msrest.serialization.Model): StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice. Possible values include: "StorageAccount", "ManagedDisks". :type storage_profile: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceStorageProfileTypes + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceStorageProfileTypes :ivar fqdn: FQDN for the master pool. :vartype fqdn: str """ @@ -916,15 +677,15 @@ def __init__( class ContainerServiceNetworkProfile(msrest.serialization.Model): """Profile of network configuration. - :param network_plugin: Network plugin used for building Kubernetes network. Possible values + :param network_plugin: Network plugin used for building the Kubernetes network. Possible values include: "azure", "kubenet". Default value: "kubenet". - :type network_plugin: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkPlugin - :param network_policy: Network policy used for building Kubernetes network. Possible values + :type network_plugin: str or ~azure.mgmt.containerservice.v2021_07_01.models.NetworkPlugin + :param network_policy: Network policy used for building the Kubernetes network. Possible values include: "calico", "azure". - :type network_policy: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkPolicy - :param network_mode: Network mode used for building Kubernetes network. Possible values - include: "transparent", "bridge". - :type network_mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkMode + :type network_policy: str or ~azure.mgmt.containerservice.v2021_07_01.models.NetworkPolicy + :param network_mode: This cannot be specified if networkPlugin is anything other than 'azure'. + Possible values include: "transparent", "bridge". + :type network_mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.NetworkMode :param pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. :type pod_cidr: str :param service_cidr: A CIDR notation IP range from which to assign service cluster IPs. It must @@ -936,15 +697,22 @@ class ContainerServiceNetworkProfile(msrest.serialization.Model): :param docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. :type docker_bridge_cidr: str - :param outbound_type: The outbound (egress) routing method. Possible values include: - "loadBalancer", "userDefinedRouting". Default value: "loadBalancer". - :type outbound_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OutboundType - :param load_balancer_sku: The load balancer sku for the managed cluster. Possible values - include: "standard", "basic". - :type load_balancer_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.LoadBalancerSku + :param outbound_type: This can only be set at cluster creation time and cannot be changed + later. For more information see `egress outbound type + `_. Possible values include: + "loadBalancer", "userDefinedRouting", "managedNATGateway", "userAssignedNATGateway". Default + value: "loadBalancer". + :type outbound_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OutboundType + :param load_balancer_sku: The default is 'standard'. See `Azure Load Balancer SKUs + `_ for more information about the + differences between load balancer SKUs. Possible values include: "standard", "basic". + :type load_balancer_sku: str or ~azure.mgmt.containerservice.v2021_07_01.models.LoadBalancerSku :param load_balancer_profile: Profile of the cluster load balancer. :type load_balancer_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfile + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterLoadBalancerProfile + :param nat_gateway_profile: Profile of the cluster NAT gateway. + :type nat_gateway_profile: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterNATGatewayProfile """ _validation = { @@ -965,6 +733,7 @@ class ContainerServiceNetworkProfile(msrest.serialization.Model): 'outbound_type': {'key': 'outboundType', 'type': 'str'}, 'load_balancer_sku': {'key': 'loadBalancerSku', 'type': 'str'}, 'load_balancer_profile': {'key': 'loadBalancerProfile', 'type': 'ManagedClusterLoadBalancerProfile'}, + 'nat_gateway_profile': {'key': 'natGatewayProfile', 'type': 'ManagedClusterNATGatewayProfile'}, } def __init__( @@ -982,6 +751,7 @@ def __init__( self.outbound_type = kwargs.get('outbound_type', "loadBalancer") self.load_balancer_sku = kwargs.get('load_balancer_sku', None) self.load_balancer_profile = kwargs.get('load_balancer_profile', None) + self.nat_gateway_profile = kwargs.get('nat_gateway_profile', None) class ContainerServiceSshConfiguration(msrest.serialization.Model): @@ -990,9 +760,9 @@ class ContainerServiceSshConfiguration(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based - VMs. Only expect one key specified. + VMs. A maximum of 1 key may be specified. :type public_keys: - list[~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceSshPublicKey] + list[~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceSshPublicKey] """ _validation = { @@ -1100,12 +870,12 @@ def __init__( class CredentialResults(msrest.serialization.Model): - """The list of credential result response. + """The list credential result response. Variables are only populated by the server, and will be ignored when sending a request. :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. - :vartype kubeconfigs: list[~azure.mgmt.containerservice.v2021_05_01.models.CredentialResult] + :vartype kubeconfigs: list[~azure.mgmt.containerservice.v2021_07_01.models.CredentialResult] """ _validation = { @@ -1130,7 +900,7 @@ class EndpointDependency(msrest.serialization.Model): :param domain_name: The domain name of the dependency. :type domain_name: str :param endpoint_details: The Ports and Protocols used when connecting to domainName. - :type endpoint_details: list[~azure.mgmt.containerservice.v2021_05_01.models.EndpointDetail] + :type endpoint_details: list[~azure.mgmt.containerservice.v2021_07_01.models.EndpointDetail] """ _attribute_map = { @@ -1184,7 +954,7 @@ class ExtendedLocation(msrest.serialization.Model): :param name: The name of the extended location. :type name: str :param type: The type of the extended location. Possible values include: "EdgeZone". - :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.ExtendedLocationTypes + :type type: str or ~azure.mgmt.containerservice.v2021_07_01.models.ExtendedLocationTypes """ _attribute_map = { @@ -1202,24 +972,30 @@ def __init__( class KubeletConfig(msrest.serialization.Model): - """Kubelet configurations of agent nodes. + """See `AKS custom node configuration `_ for more details. - :param cpu_manager_policy: CPU Manager policy to use. + :param cpu_manager_policy: The default is 'none'. See `Kubernetes CPU management policies + `_ + for more information. Allowed values are 'none' and 'static'. :type cpu_manager_policy: str - :param cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits. + :param cpu_cfs_quota: The default is true. :type cpu_cfs_quota: bool - :param cpu_cfs_quota_period: Sets CPU CFS quota period value. + :param cpu_cfs_quota_period: The default is '100ms.' Valid values are a sequence of decimal + numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported + units are 'ns', 'us', 'ms', 's', 'm', and 'h'. :type cpu_cfs_quota_period: str - :param image_gc_high_threshold: The percent of disk usage after which image garbage collection - is always run. + :param image_gc_high_threshold: To disable image garbage collection, set to 100. The default is + 85%. :type image_gc_high_threshold: int - :param image_gc_low_threshold: The percent of disk usage before which image garbage collection - is never run. + :param image_gc_low_threshold: This cannot be set higher than imageGcHighThreshold. The default + is 80%. :type image_gc_low_threshold: int - :param topology_manager_policy: Topology Manager policy to use. + :param topology_manager_policy: For more information see `Kubernetes Topology Manager + `_. The default is + 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. :type topology_manager_policy: str - :param allowed_unsafe_sysctls: Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in - ``*``\ ). + :param allowed_unsafe_sysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending + in ``*``\ ). :type allowed_unsafe_sysctls: list[str] :param fail_swap_on: If set to true it will make the Kubelet fail to start if swap is enabled on the node. @@ -1271,16 +1047,20 @@ def __init__( class LinuxOSConfig(msrest.serialization.Model): - """OS configurations of Linux agent nodes. + """See `AKS custom node configuration `_ for more details. :param sysctls: Sysctl settings for Linux agent nodes. - :type sysctls: ~azure.mgmt.containerservice.v2021_05_01.models.SysctlConfig - :param transparent_huge_page_enabled: Transparent Huge Page enabled configuration. + :type sysctls: ~azure.mgmt.containerservice.v2021_07_01.models.SysctlConfig + :param transparent_huge_page_enabled: Valid values are 'always', 'madvise', and 'never'. The + default is 'always'. For more information see `Transparent Hugepages + `_. :type transparent_huge_page_enabled: str - :param transparent_huge_page_defrag: Transparent Huge Page defrag configuration. + :param transparent_huge_page_defrag: Valid values are 'always', 'defer', 'defer+madvise', + 'madvise' and 'never'. The default is 'madvise'. For more information see `Transparent + Hugepages + `_. :type transparent_huge_page_defrag: str - :param swap_file_size_mb: SwapFileSizeMB specifies size in MB of a swap file will be created on - each node. + :param swap_file_size_mb: The size in MB of a swap file that will be created on each node. :type swap_file_size_mb: int """ @@ -1303,7 +1083,7 @@ def __init__( class MaintenanceConfiguration(SubResource): - """maintenance configuration. + """See `planned maintenance `_ for more information about planned maintenance. Variables are only populated by the server, and will be ignored when sending a request. @@ -1314,12 +1094,13 @@ class MaintenanceConfiguration(SubResource): :vartype name: str :ivar type: Resource type. :vartype type: str - :ivar system_data: The system meta data relating to this resource. - :vartype system_data: ~azure.mgmt.containerservice.v2021_05_01.models.SystemData - :param time_in_week: Weekday time slots allowed to upgrade. - :type time_in_week: list[~azure.mgmt.containerservice.v2021_05_01.models.TimeInWeek] + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~azure.mgmt.containerservice.v2021_07_01.models.SystemData + :param time_in_week: If two array entries specify the same day of the week, the applied + configuration is the union of times in both entries. + :type time_in_week: list[~azure.mgmt.containerservice.v2021_07_01.models.TimeInWeek] :param not_allowed_time: Time slots on which upgrade is not allowed. - :type not_allowed_time: list[~azure.mgmt.containerservice.v2021_05_01.models.TimeSpan] + :type not_allowed_time: list[~azure.mgmt.containerservice.v2021_07_01.models.TimeSpan] """ _validation = { @@ -1354,7 +1135,7 @@ class MaintenanceConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The list of maintenance configurations. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfiguration] :ivar next_link: The URL to get the next set of maintenance configuration results. :vartype next_link: str """ @@ -1423,55 +1204,75 @@ def __init__( self.tags = kwargs.get('tags', None) -class ManagedCluster(Resource, Components1Q1Og48SchemasManagedclusterAllof1): +class ManagedCluster(Resource): """Managed cluster. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :ivar id: Resource Id. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Required. Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param sku: The managed cluster SKU. + :type sku: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSKU + :param extended_location: The extended location of the Virtual Machine. + :type extended_location: ~azure.mgmt.containerservice.v2021_07_01.models.ExtendedLocation :param identity: The identity of the managed cluster, if configured. - :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterIdentity - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. + :type identity: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterIdentity + :ivar provisioning_state: The current provisioning state. :vartype provisioning_state: str - :ivar power_state: Represents the Power State of the cluster. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :ivar power_state: The Power State of the cluster. + :vartype power_state: ~azure.mgmt.containerservice.v2021_07_01.models.PowerState :ivar max_agent_pools: The max number of agent pools for the managed cluster. :vartype max_agent_pools: int - :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. + :param kubernetes_version: When you upgrade a supported AKS cluster, Kubernetes minor versions + cannot be skipped. All upgrades must be performed sequentially by major version number. For + example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> + 1.16.x is not allowed. See `upgrading an AKS cluster + `_ for more details. :type kubernetes_version: str - :param dns_prefix: DNS prefix specified when creating the managed cluster. + :param dns_prefix: This cannot be updated once the Managed Cluster has been created. :type dns_prefix: str - :param fqdn_subdomain: FQDN subdomain specified when creating private cluster with custom - private dns zone. + :param fqdn_subdomain: This cannot be updated once the Managed Cluster has been created. :type fqdn_subdomain: str - :ivar fqdn: FQDN for the master pool. + :ivar fqdn: The FQDN of the master pool. :vartype fqdn: str - :ivar private_fqdn: FQDN of private cluster. + :ivar private_fqdn: The FQDN of private cluster. :vartype private_fqdn: str - :ivar azure_portal_fqdn: FQDN for the master pool which used by proxy config. + :ivar azure_portal_fqdn: The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) + headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. + This special FQDN supports CORS, allowing the Azure Portal to function properly. :vartype azure_portal_fqdn: str - :param agent_pool_profiles: Properties of the agent pool. + :param agent_pool_profiles: The agent pool properties. :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAgentPoolProfile] - :param linux_profile: Profile for Linux VMs in the container service cluster. + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAgentPoolProfile] + :param linux_profile: The profile for Linux VMs in the Managed Cluster. :type linux_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceLinuxProfile - :param windows_profile: Profile for Windows VMs in the container service cluster. + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceLinuxProfile + :param windows_profile: The profile for Windows VMs in the Managed Cluster. :type windows_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterWindowsProfile + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterWindowsProfile :param service_principal_profile: Information about a service principal identity for the cluster to use for manipulating Azure APIs. :type service_principal_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile - :param addon_profiles: Profile of managed cluster add-on. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterServicePrincipalProfile + :param addon_profiles: The profile of managed cluster add-on. :type addon_profiles: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfile] - :param pod_identity_profile: Profile of managed cluster pod identity. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAddonProfile] + :param pod_identity_profile: See `use AAD pod identity + `_ for more details on AAD pod + identity integration. :type pod_identity_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProfile - :param node_resource_group: Name of the resource group containing agent pool nodes. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProfile + :param node_resource_group: The name of the resource group containing agent pool nodes. :type node_resource_group: str :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. :type enable_rbac: bool @@ -1479,65 +1280,63 @@ class ManagedCluster(Resource, Components1Q1Og48SchemasManagedclusterAllof1): policy (preview). This feature is set for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy. :type enable_pod_security_policy: bool - :param network_profile: Profile of network configuration. + :param network_profile: The network configuration profile. :type network_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceNetworkProfile - :param aad_profile: Profile of Azure Active Directory configuration. - :type aad_profile: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile - :param auto_upgrade_profile: Profile of auto upgrade configuration. + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceNetworkProfile + :param aad_profile: The Azure Active Directory configuration. + :type aad_profile: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAADProfile + :param auto_upgrade_profile: The auto upgrade configuration. :type auto_upgrade_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAutoUpgradeProfile + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAutoUpgradeProfile :param auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled. :type auto_scaler_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPropertiesAutoScalerProfile - :param api_server_access_profile: Access profile for managed cluster API server. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPropertiesAutoScalerProfile + :param api_server_access_profile: The access profile for managed cluster API server. :type api_server_access_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAPIServerAccessProfile - :param disk_encryption_set_id: ResourceId of the disk encryption set to use for enabling - encryption at rest. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAPIServerAccessProfile + :param disk_encryption_set_id: This is of the form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'. :type disk_encryption_set_id: str :param identity_profile: Identities associated with the cluster. :type identity_profile: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties] + ~azure.mgmt.containerservice.v2021_07_01.models.UserAssignedIdentity] :param private_link_resources: Private link resources associated with the cluster. :type private_link_resources: - list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] - :param disable_local_accounts: If set to true, getting static credential will be disabled for - this cluster. Expected to only be used for AAD clusters. + list[~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResource] + :param disable_local_accounts: If set to true, getting static credentials will be disabled for + this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details + see `disable local accounts + `_. :type disable_local_accounts: bool :param http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. :type http_proxy_config: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterHTTPProxyConfig - :ivar id: Resource Id. - :vartype id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param sku: The managed cluster SKU. - :type sku: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKU - :param extended_location: The extended location of the Virtual Machine. - :type extended_location: ~azure.mgmt.containerservice.v2021_05_01.models.ExtendedLocation + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterHTTPProxyConfig + :param security_profile: Security profile for the managed cluster. + :type security_profile: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSecurityProfile """ _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'power_state': {'readonly': True}, 'max_agent_pools': {'readonly': True}, 'fqdn': {'readonly': True}, 'private_fqdn': {'readonly': True}, 'azure_portal_fqdn': {'readonly': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, } _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'ManagedClusterSKU'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, @@ -1563,17 +1362,11 @@ class ManagedCluster(Resource, Components1Q1Og48SchemasManagedclusterAllof1): 'auto_scaler_profile': {'key': 'properties.autoScalerProfile', 'type': 'ManagedClusterPropertiesAutoScalerProfile'}, 'api_server_access_profile': {'key': 'properties.apiServerAccessProfile', 'type': 'ManagedClusterAPIServerAccessProfile'}, 'disk_encryption_set_id': {'key': 'properties.diskEncryptionSetID', 'type': 'str'}, - 'identity_profile': {'key': 'properties.identityProfile', 'type': '{ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties}'}, + 'identity_profile': {'key': 'properties.identityProfile', 'type': '{UserAssignedIdentity}'}, 'private_link_resources': {'key': 'properties.privateLinkResources', 'type': '[PrivateLinkResource]'}, 'disable_local_accounts': {'key': 'properties.disableLocalAccounts', 'type': 'bool'}, 'http_proxy_config': {'key': 'properties.httpProxyConfig', 'type': 'ManagedClusterHTTPProxyConfig'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'sku': {'key': 'sku', 'type': 'ManagedClusterSKU'}, - 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'security_profile': {'key': 'properties.securityProfile', 'type': 'ManagedClusterSecurityProfile'}, } def __init__( @@ -1581,6 +1374,8 @@ def __init__( **kwargs ): super(ManagedCluster, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) + self.extended_location = kwargs.get('extended_location', None) self.identity = kwargs.get('identity', None) self.provisioning_state = None self.power_state = None @@ -1610,25 +1405,18 @@ def __init__( self.private_link_resources = kwargs.get('private_link_resources', None) self.disable_local_accounts = kwargs.get('disable_local_accounts', None) self.http_proxy_config = kwargs.get('http_proxy_config', None) - self.sku = kwargs.get('sku', None) - self.extended_location = kwargs.get('extended_location', None) - self.id = None - self.name = None - self.type = None - self.location = kwargs['location'] - self.tags = kwargs.get('tags', None) - self.sku = kwargs.get('sku', None) - self.extended_location = kwargs.get('extended_location', None) + self.security_profile = kwargs.get('security_profile', None) class ManagedClusterAADProfile(msrest.serialization.Model): - """AADProfile specifies attributes for Azure Active Directory integration. + """For more details see `managed AAD on AKS `_. :param managed: Whether to enable managed AAD. :type managed: bool :param enable_azure_rbac: Whether to enable Azure RBAC for Kubernetes authorization. :type enable_azure_rbac: bool - :param admin_group_object_i_ds: AAD group object IDs that will have admin role of the cluster. + :param admin_group_object_i_ds: The list of AAD group object IDs that will have admin role of + the cluster. :type admin_group_object_i_ds: list[str] :param client_app_id: The client AAD application ID. :type client_app_id: str @@ -1723,7 +1511,7 @@ class ManagedClusterAddonProfile(msrest.serialization.Model): :type config: dict[str, str] :ivar identity: Information of user assigned identity used by this add-on. :vartype identity: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfileIdentity + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAddonProfileIdentity """ _validation = { @@ -1747,14 +1535,41 @@ def __init__( self.identity = None +class UserAssignedIdentity(msrest.serialization.Model): + """Details about a user assigned identity. + + :param resource_id: The resource ID of the user assigned identity. + :type resource_id: str + :param client_id: The client ID of the user assigned identity. + :type client_id: str + :param object_id: The object ID of the user assigned identity. + :type object_id: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'object_id': {'key': 'objectId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserAssignedIdentity, self).__init__(**kwargs) + self.resource_id = kwargs.get('resource_id', None) + self.client_id = kwargs.get('client_id', None) + self.object_id = kwargs.get('object_id', None) + + class ManagedClusterAddonProfileIdentity(UserAssignedIdentity): """Information of user assigned identity used by this add-on. - :param resource_id: The resource id of the user assigned identity. + :param resource_id: The resource ID of the user assigned identity. :type resource_id: str - :param client_id: The client id of the user assigned identity. + :param client_id: The client ID of the user assigned identity. :type client_id: str - :param object_id: The object id of the user assigned identity. + :param object_id: The object ID of the user assigned identity. :type object_id: str """ @@ -1780,108 +1595,127 @@ class ManagedClusterAgentPoolProfileProperties(msrest.serialization.Model): range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. :type count: int - :param vm_size: Size of agent VMs. + :param vm_size: VM size availability varies by region. If a node contains insufficient compute + resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted + VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions. :type vm_size: str :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. :type os_disk_size_gb: int - :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values - are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports - ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults - to 'Managed'. May not be changed after creation. Possible values include: "Managed", - "Ephemeral". - :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType - :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, - container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, - resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". - :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe - pods. + :param os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk + larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed + after creation. For more information see `Ephemeral OS + `_. Possible values + include: "Managed", "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSDiskType + :param kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data + root, and Kubelet ephemeral storage. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.KubeletDiskType + :param vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. + If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just + nodes. This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type vnet_subnet_id: str - :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :param pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see + vnetSubnetID for more details). This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type pod_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. + :param max_pods: The maximum number of pods that can run on a node. :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType - :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner - for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", - "CBLMariner". - :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU - :param max_count: Maximum number of nodes for auto-scaling. + :param os_type: The operating system type. The default is Linux. Possible values include: + "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType + :param os_sku: Specifies an OS SKU. This value must not be specified if OSType is Windows. + Possible values include: "Ubuntu", "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSSKU + :param max_count: The maximum number of nodes for auto-scaling. :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. + :param min_count: The minimum number of nodes for auto-scaling. :type min_count: int :param enable_auto_scaling: Whether to enable auto-scaler. :type enable_auto_scaling: bool - :param type: AgentPoolType represents types of an agent pool. Possible values include: - "VirtualMachineScaleSets", "AvailabilitySet". - :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType - :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + :param scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it + defaults to Delete. Possible values include: "Delete", "Deallocate". + :type scale_down_mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.ScaleDownMode + :param type: The type of Agent Pool. Possible values include: "VirtualMachineScaleSets", + "AvailabilitySet". + :type type: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolType + :param mode: A cluster must have at least one 'System' Agent Pool at all times. For additional + information on agent pool restrictions and best practices, see: + https://docs.microsoft.com/azure/aks/use-system-pools. Possible values include: "System", "User". - :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. + :type mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolMode + :param orchestrator_version: As a best practice, you should upgrade all node pools in an AKS + cluster to the same Kubernetes version. The node pool version must have the same major version + as the control plane. The node pool minor version must be within two minor versions of the + control plane version. The node pool version cannot be greater than the control plane version. + For more information see `upgrading a node pool + `_. :type orchestrator_version: str - :ivar node_image_version: Version of node image. + :ivar node_image_version: The version of node image. :vartype node_image_version: str :param upgrade_settings: Settings for upgrading the agentpool. :type upgrade_settings: - ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. + ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state. :vartype provisioning_state: str :ivar power_state: Describes whether the Agent Pool is Running or Stopped. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState - :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets - AgentPoolType. + :vartype power_state: ~azure.mgmt.containerservice.v2021_07_01.models.PowerState + :param availability_zones: The list of Availability zones to use for nodes. This can only be + specified if the AgentPoolType property is 'VirtualMachineScaleSets'. :type availability_zones: list[str] - :param enable_node_public_ip: Enable public IP for nodes. + :param enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their + own dedicated public IP addresses. A common scenario is for gaming workloads, where a console + needs to make a direct connection to a cloud virtual machine to minimize hops. For more + information see `assigning a public IP per node + `_. + The default is false. :type enable_node_public_ip: bool - :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this - Public IP Prefix. + :param node_public_ip_prefix_id: This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}. :type node_public_ip_prefix_id: str - :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set - priority. Default to regular. Possible values include: "Spot", "Regular". Default value: - "Regular". + :param scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the + default is 'Regular'. Possible values include: "Spot", "Regular". Default value: "Regular". :type scale_set_priority: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority - :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy - for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetPriority + :param scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is + 'Spot'. If not specified, the default is 'Delete'. Possible values include: "Delete", "Deallocate". Default value: "Delete". :type scale_set_eviction_policy: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy - :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to - pay in US Dollars. Possible values are any decimal value greater than zero or -1 which - indicates default price to be up-to on-demand. + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetEvictionPolicy + :param spot_max_price: Possible values are any decimal value greater than zero or -1 which + indicates the willingness to pay any on-demand price. For more details on spot pricing, see + `spot VMs pricing `_. :type spot_max_price: float - :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine - scale set. + :param tags: A set of tags. The tags to be persisted on the agent pool virtual machine scale + set. :type tags: dict[str, str] - :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :param node_labels: The node labels to be persisted across all nodes in agent pool. :type node_labels: dict[str, str] - :param node_taints: Taints added to new nodes during node pool create and scale. For example, - key=value:NoSchedule. + :param node_taints: The taints added to new nodes during node pool create and scale. For + example, key=value:NoSchedule. :type node_taints: list[str] :param proximity_placement_group_id: The ID for Proximity Placement Group. :type proximity_placement_group_id: str - :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. - :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig - :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. - :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig - :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :param kubelet_config: The Kubelet configuration on the agent pool nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_07_01.models.KubeletConfig + :param linux_os_config: The OS configuration of Linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_07_01.models.LinuxOSConfig + :param enable_encryption_at_host: This is only supported on certain VM sizes and in certain + Azure regions. For more information, see: + https://docs.microsoft.com/azure/aks/enable-host-encryption. :type enable_encryption_at_host: bool :param enable_ultra_ssd: Whether to enable UltraSSD. :type enable_ultra_ssd: bool - :param enable_fips: Whether to use FIPS enabled OS. + :param enable_fips: See `Add a FIPS-enabled node pool + `_ + for more details. :type enable_fips: bool :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile - for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible - values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + for supported GPU VM SKU. Possible values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". :type gpu_instance_profile: str or - ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + ~azure.mgmt.containerservice.v2021_07_01.models.GPUInstanceProfile """ _validation = { @@ -1905,6 +1739,7 @@ class ManagedClusterAgentPoolProfileProperties(msrest.serialization.Model): 'max_count': {'key': 'maxCount', 'type': 'int'}, 'min_count': {'key': 'minCount', 'type': 'int'}, 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, + 'scale_down_mode': {'key': 'scaleDownMode', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'mode': {'key': 'mode', 'type': 'str'}, 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, @@ -1948,6 +1783,7 @@ def __init__( self.max_count = kwargs.get('max_count', None) self.min_count = kwargs.get('min_count', None) self.enable_auto_scaling = kwargs.get('enable_auto_scaling', None) + self.scale_down_mode = kwargs.get('scale_down_mode', None) self.type = kwargs.get('type', None) self.mode = kwargs.get('mode', None) self.orchestrator_version = kwargs.get('orchestrator_version', None) @@ -1984,110 +1820,128 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. :type count: int - :param vm_size: Size of agent VMs. + :param vm_size: VM size availability varies by region. If a node contains insufficient compute + resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted + VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions. :type vm_size: str :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. :type os_disk_size_gb: int - :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values - are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports - ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults - to 'Managed'. May not be changed after creation. Possible values include: "Managed", - "Ephemeral". - :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType - :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, - container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, - resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". - :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe - pods. + :param os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk + larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed + after creation. For more information see `Ephemeral OS + `_. Possible values + include: "Managed", "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSDiskType + :param kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data + root, and Kubelet ephemeral storage. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.KubeletDiskType + :param vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. + If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just + nodes. This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type vnet_subnet_id: str - :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :param pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see + vnetSubnetID for more details). This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type pod_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. + :param max_pods: The maximum number of pods that can run on a node. :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType - :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner - for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", - "CBLMariner". - :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU - :param max_count: Maximum number of nodes for auto-scaling. + :param os_type: The operating system type. The default is Linux. Possible values include: + "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType + :param os_sku: Specifies an OS SKU. This value must not be specified if OSType is Windows. + Possible values include: "Ubuntu", "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSSKU + :param max_count: The maximum number of nodes for auto-scaling. :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. + :param min_count: The minimum number of nodes for auto-scaling. :type min_count: int :param enable_auto_scaling: Whether to enable auto-scaler. :type enable_auto_scaling: bool - :param type: AgentPoolType represents types of an agent pool. Possible values include: - "VirtualMachineScaleSets", "AvailabilitySet". - :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType - :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + :param scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it + defaults to Delete. Possible values include: "Delete", "Deallocate". + :type scale_down_mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.ScaleDownMode + :param type: The type of Agent Pool. Possible values include: "VirtualMachineScaleSets", + "AvailabilitySet". + :type type: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolType + :param mode: A cluster must have at least one 'System' Agent Pool at all times. For additional + information on agent pool restrictions and best practices, see: + https://docs.microsoft.com/azure/aks/use-system-pools. Possible values include: "System", "User". - :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. + :type mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolMode + :param orchestrator_version: As a best practice, you should upgrade all node pools in an AKS + cluster to the same Kubernetes version. The node pool version must have the same major version + as the control plane. The node pool minor version must be within two minor versions of the + control plane version. The node pool version cannot be greater than the control plane version. + For more information see `upgrading a node pool + `_. :type orchestrator_version: str - :ivar node_image_version: Version of node image. + :ivar node_image_version: The version of node image. :vartype node_image_version: str :param upgrade_settings: Settings for upgrading the agentpool. :type upgrade_settings: - ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. + ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state. :vartype provisioning_state: str :ivar power_state: Describes whether the Agent Pool is Running or Stopped. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState - :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets - AgentPoolType. + :vartype power_state: ~azure.mgmt.containerservice.v2021_07_01.models.PowerState + :param availability_zones: The list of Availability zones to use for nodes. This can only be + specified if the AgentPoolType property is 'VirtualMachineScaleSets'. :type availability_zones: list[str] - :param enable_node_public_ip: Enable public IP for nodes. + :param enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their + own dedicated public IP addresses. A common scenario is for gaming workloads, where a console + needs to make a direct connection to a cloud virtual machine to minimize hops. For more + information see `assigning a public IP per node + `_. + The default is false. :type enable_node_public_ip: bool - :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this - Public IP Prefix. + :param node_public_ip_prefix_id: This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}. :type node_public_ip_prefix_id: str - :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set - priority. Default to regular. Possible values include: "Spot", "Regular". Default value: - "Regular". + :param scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the + default is 'Regular'. Possible values include: "Spot", "Regular". Default value: "Regular". :type scale_set_priority: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority - :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy - for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetPriority + :param scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is + 'Spot'. If not specified, the default is 'Delete'. Possible values include: "Delete", "Deallocate". Default value: "Delete". :type scale_set_eviction_policy: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy - :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to - pay in US Dollars. Possible values are any decimal value greater than zero or -1 which - indicates default price to be up-to on-demand. + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetEvictionPolicy + :param spot_max_price: Possible values are any decimal value greater than zero or -1 which + indicates the willingness to pay any on-demand price. For more details on spot pricing, see + `spot VMs pricing `_. :type spot_max_price: float - :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine - scale set. + :param tags: A set of tags. The tags to be persisted on the agent pool virtual machine scale + set. :type tags: dict[str, str] - :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :param node_labels: The node labels to be persisted across all nodes in agent pool. :type node_labels: dict[str, str] - :param node_taints: Taints added to new nodes during node pool create and scale. For example, - key=value:NoSchedule. + :param node_taints: The taints added to new nodes during node pool create and scale. For + example, key=value:NoSchedule. :type node_taints: list[str] :param proximity_placement_group_id: The ID for Proximity Placement Group. :type proximity_placement_group_id: str - :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. - :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig - :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. - :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig - :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :param kubelet_config: The Kubelet configuration on the agent pool nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_07_01.models.KubeletConfig + :param linux_os_config: The OS configuration of Linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_07_01.models.LinuxOSConfig + :param enable_encryption_at_host: This is only supported on certain VM sizes and in certain + Azure regions. For more information, see: + https://docs.microsoft.com/azure/aks/enable-host-encryption. :type enable_encryption_at_host: bool :param enable_ultra_ssd: Whether to enable UltraSSD. :type enable_ultra_ssd: bool - :param enable_fips: Whether to use FIPS enabled OS. + :param enable_fips: See `Add a FIPS-enabled node pool + `_ + for more details. :type enable_fips: bool :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile - for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible - values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + for supported GPU VM SKU. Possible values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". :type gpu_instance_profile: str or - ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile - :param name: Required. Unique name of the agent pool profile in the context of the subscription - and resource group. + ~azure.mgmt.containerservice.v2021_07_01.models.GPUInstanceProfile + :param name: Required. Windows agent pool names must be 6 characters or less. :type name: str """ @@ -2113,6 +1967,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): 'max_count': {'key': 'maxCount', 'type': 'int'}, 'min_count': {'key': 'minCount', 'type': 'int'}, 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, + 'scale_down_mode': {'key': 'scaleDownMode', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'mode': {'key': 'mode', 'type': 'str'}, 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, @@ -2150,11 +2005,17 @@ def __init__( class ManagedClusterAPIServerAccessProfile(msrest.serialization.Model): """Access profile for managed cluster API server. - :param authorized_ip_ranges: Authorized IP Ranges to kubernetes API server. + :param authorized_ip_ranges: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. + This feature is not compatible with clusters that use Public IP Per Node, or clusters that are + using a Basic Load Balancer. For more information see `API server authorized IP ranges + `_. :type authorized_ip_ranges: list[str] - :param enable_private_cluster: Whether to create the cluster as a private cluster or not. + :param enable_private_cluster: For more details, see `Creating a private AKS cluster + `_. :type enable_private_cluster: bool - :param private_dns_zone: Private dns zone mode for private cluster. + :param private_dns_zone: The default is System. For more details see `configure private DNS + zone `_. + Allowed values are 'system' and 'none'. :type private_dns_zone: str :param enable_private_cluster_public_fqdn: Whether to create additional public FQDN for private cluster or not. @@ -2182,9 +2043,10 @@ def __init__( class ManagedClusterAutoUpgradeProfile(msrest.serialization.Model): """Auto upgrade profile for a managed cluster. - :param upgrade_channel: upgrade channel for auto upgrade. Possible values include: "rapid", - "stable", "patch", "node-image", "none". - :type upgrade_channel: str or ~azure.mgmt.containerservice.v2021_05_01.models.UpgradeChannel + :param upgrade_channel: For more information see `setting the AKS cluster auto-upgrade channel + `_. Possible + values include: "rapid", "stable", "patch", "node-image", "none". + :type upgrade_channel: str or ~azure.mgmt.containerservice.v2021_07_01.models.UpgradeChannel """ _attribute_map = { @@ -2200,13 +2062,13 @@ def __init__( class ManagedClusterHTTPProxyConfig(msrest.serialization.Model): - """Configurations for provisioning the cluster with HTTP proxy servers. + """Cluster HTTP proxy configuration. - :param http_proxy: HTTP proxy server endpoint to use. + :param http_proxy: The HTTP proxy server endpoint to use. :type http_proxy: str - :param https_proxy: HTTPS proxy server endpoint to use. + :param https_proxy: The HTTPS proxy server endpoint to use. :type https_proxy: str - :param no_proxy: Endpoints that should not go through proxy. + :param no_proxy: The endpoints that should not go through proxy. :type no_proxy: list[str] :param trusted_ca: Alternative CA cert to use for connecting to proxy servers. :type trusted_ca: str @@ -2241,18 +2103,14 @@ class ManagedClusterIdentity(msrest.serialization.Model): :ivar tenant_id: The tenant id of the system assigned identity which is used by master components. :vartype tenant_id: str - :param type: The type of identity used for the managed cluster. Type 'SystemAssigned' will use - an implicitly created identity in master components and an auto-created user assigned identity - in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, - service principal will be used instead. Possible values include: "SystemAssigned", - "UserAssigned", "None". - :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.ResourceIdentityType - :param user_assigned_identities: The user identity associated with the managed cluster. This - identity will be used in control plane and only one user assigned identity is allowed. The user - identity dictionary key references will be ARM resource ids in the form: + :param type: For more information see `use managed identities in AKS + `_. Possible values include: + "SystemAssigned", "UserAssigned", "None". + :type type: str or ~azure.mgmt.containerservice.v2021_07_01.models.ResourceIdentityType + :param user_assigned_identities: The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. :type user_assigned_identities: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties] + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedServiceIdentityUserAssignedIdentitiesValue] """ _validation = { @@ -2264,7 +2122,7 @@ class ManagedClusterIdentity(msrest.serialization.Model): 'principal_id': {'key': 'principalId', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties}'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ManagedServiceIdentityUserAssignedIdentitiesValue}'}, } def __init__( @@ -2284,7 +2142,7 @@ class ManagedClusterListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The list of managed clusters. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster] :ivar next_link: The URL to get the next set of managed cluster results. :vartype next_link: str """ @@ -2312,24 +2170,24 @@ class ManagedClusterLoadBalancerProfile(msrest.serialization.Model): :param managed_outbound_i_ps: Desired managed outbound IPs for the cluster load balancer. :type managed_outbound_i_ps: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs :param outbound_ip_prefixes: Desired outbound IP Prefix resources for the cluster load balancer. :type outbound_ip_prefixes: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileOutboundIPPrefixes + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterLoadBalancerProfileOutboundIPPrefixes :param outbound_i_ps: Desired outbound IP resources for the cluster load balancer. :type outbound_i_ps: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileOutboundIPs + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterLoadBalancerProfileOutboundIPs :param effective_outbound_i_ps: The effective outbound IP resources of the cluster load balancer. :type effective_outbound_i_ps: - list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] - :param allocated_outbound_ports: Desired number of allocated SNAT ports per VM. Allowed values - must be in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure - dynamically allocating ports. + list[~azure.mgmt.containerservice.v2021_07_01.models.ResourceReference] + :param allocated_outbound_ports: The desired number of allocated SNAT ports per VM. Allowed + values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in + Azure dynamically allocating ports. :type allocated_outbound_ports: int :param idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values - must be in the range of 4 to 120 (inclusive). The default value is 30 minutes. + are in the range of 4 to 120 (inclusive). The default value is 30 minutes. :type idle_timeout_in_minutes: int """ @@ -2363,7 +2221,7 @@ def __init__( class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.Model): """Desired managed outbound IPs for the cluster load balancer. - :param count: Desired number of outbound IP created/managed by Azure for the cluster load + :param count: The desired number of outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. :type count: int """ @@ -2389,7 +2247,7 @@ class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.M :param public_ip_prefixes: A list of public IP prefix resources. :type public_ip_prefixes: - list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + list[~azure.mgmt.containerservice.v2021_07_01.models.ResourceReference] """ _attribute_map = { @@ -2408,7 +2266,7 @@ class ManagedClusterLoadBalancerProfileOutboundIPs(msrest.serialization.Model): """Desired outbound IP resources for the cluster load balancer. :param public_i_ps: A list of public IP resources. - :type public_i_ps: list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + :type public_i_ps: list[~azure.mgmt.containerservice.v2021_07_01.models.ResourceReference] """ _attribute_map = { @@ -2423,28 +2281,87 @@ def __init__( self.public_i_ps = kwargs.get('public_i_ps', None) +class ManagedClusterManagedOutboundIPProfile(msrest.serialization.Model): + """Profile of the managed outbound IP resources of the managed cluster. + + :param count: The desired number of outbound IPs created/managed by Azure. Allowed values must + be in the range of 1 to 16 (inclusive). The default value is 1. + :type count: int + """ + + _validation = { + 'count': {'maximum': 16, 'minimum': 1}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterManagedOutboundIPProfile, self).__init__(**kwargs) + self.count = kwargs.get('count', 1) + + +class ManagedClusterNATGatewayProfile(msrest.serialization.Model): + """Profile of the managed cluster NAT gateway. + + :param managed_outbound_ip_profile: Profile of the managed outbound IP resources of the cluster + NAT gateway. + :type managed_outbound_ip_profile: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterManagedOutboundIPProfile + :param effective_outbound_i_ps: The effective outbound IP resources of the cluster NAT gateway. + :type effective_outbound_i_ps: + list[~azure.mgmt.containerservice.v2021_07_01.models.ResourceReference] + :param idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values + are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + :type idle_timeout_in_minutes: int + """ + + _validation = { + 'idle_timeout_in_minutes': {'maximum': 120, 'minimum': 4}, + } + + _attribute_map = { + 'managed_outbound_ip_profile': {'key': 'managedOutboundIPProfile', 'type': 'ManagedClusterManagedOutboundIPProfile'}, + 'effective_outbound_i_ps': {'key': 'effectiveOutboundIPs', 'type': '[ResourceReference]'}, + 'idle_timeout_in_minutes': {'key': 'idleTimeoutInMinutes', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterNATGatewayProfile, self).__init__(**kwargs) + self.managed_outbound_ip_profile = kwargs.get('managed_outbound_ip_profile', None) + self.effective_outbound_i_ps = kwargs.get('effective_outbound_i_ps', None) + self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', 4) + + class ManagedClusterPodIdentity(msrest.serialization.Model): - """ManagedClusterPodIdentity. + """Details about the pod identity assigned to the Managed Cluster. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :param name: Required. Name of the pod identity. + :param name: Required. The name of the pod identity. :type name: str - :param namespace: Required. Namespace of the pod identity. + :param namespace: Required. The namespace of the pod identity. :type namespace: str - :param binding_selector: Binding selector to use for the AzureIdentityBinding resource. + :param binding_selector: The binding selector to use for the AzureIdentityBinding resource. :type binding_selector: str - :param identity: Required. Information of the user assigned identity. - :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.UserAssignedIdentity + :param identity: Required. The user assigned identity details. + :type identity: ~azure.mgmt.containerservice.v2021_07_01.models.UserAssignedIdentity :ivar provisioning_state: The current provisioning state of the pod identity. Possible values include: "Assigned", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProvisioningState + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningState :ivar provisioning_info: :vartype provisioning_info: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProvisioningInfo + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningInfo """ _validation = { @@ -2478,15 +2395,15 @@ def __init__( class ManagedClusterPodIdentityException(msrest.serialization.Model): - """ManagedClusterPodIdentityException. + """See `disable AAD Pod Identity for a specific Pod/Application `_ for more details. All required parameters must be populated in order to send to Azure. - :param name: Required. Name of the pod identity exception. + :param name: Required. The name of the pod identity exception. :type name: str - :param namespace: Required. Namespace of the pod identity exception. + :param namespace: Required. The namespace of the pod identity exception. :type namespace: str - :param pod_labels: Required. Pod labels to match. + :param pod_labels: Required. The pod labels to match. :type pod_labels: dict[str, str] """ @@ -2513,19 +2430,22 @@ def __init__( class ManagedClusterPodIdentityProfile(msrest.serialization.Model): - """ManagedClusterPodIdentityProfile. + """See `use AAD pod identity `_ for more details on pod identity integration. :param enabled: Whether the pod identity addon is enabled. :type enabled: bool - :param allow_network_plugin_kubenet: Customer consent for enabling AAD pod identity addon in - cluster using Kubenet network plugin. + :param allow_network_plugin_kubenet: Running in Kubenet is disabled by default due to the + security related nature of AAD Pod Identity and the risks of IP spoofing. See `using Kubenet + network plugin with AAD Pod Identity + `_ + for more information. :type allow_network_plugin_kubenet: bool - :param user_assigned_identities: User assigned pod identity settings. + :param user_assigned_identities: The pod identities to use in the cluster. :type user_assigned_identities: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentity] - :param user_assigned_identity_exceptions: User assigned pod identity exception settings. + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentity] + :param user_assigned_identity_exceptions: The pod identity exceptions to allow. :type user_assigned_identity_exceptions: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityException] + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityException] """ _attribute_map = { @@ -2546,15 +2466,71 @@ def __init__( self.user_assigned_identity_exceptions = kwargs.get('user_assigned_identity_exceptions', None) +class ManagedClusterPodIdentityProvisioningError(msrest.serialization.Model): + """An error response from the pod identity provisioning. + + :param error: Details about the error. + :type error: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningErrorBody + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ManagedClusterPodIdentityProvisioningErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPodIdentityProvisioningError, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class ManagedClusterPodIdentityProvisioningErrorBody(msrest.serialization.Model): + """An error response from the pod identity provisioning. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param target: The target of the particular error. For example, the name of the property in + error. + :type target: str + :param details: A list of additional details about the error. + :type details: + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ManagedClusterPodIdentityProvisioningErrorBody]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPodIdentityProvisioningErrorBody, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.target = kwargs.get('target', None) + self.details = kwargs.get('details', None) + + class ManagedClusterPodIdentityProvisioningInfo(msrest.serialization.Model): """ManagedClusterPodIdentityProvisioningInfo. :param error: Pod identity assignment error (if any). - :type error: ~azure.mgmt.containerservice.v2021_05_01.models.CloudError + :type error: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningError """ _attribute_map = { - 'error': {'key': 'error', 'type': 'CloudError'}, + 'error': {'key': 'error', 'type': 'ManagedClusterPodIdentityProvisioningError'}, } def __init__( @@ -2570,16 +2546,16 @@ class ManagedClusterPoolUpgradeProfile(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param kubernetes_version: Required. Kubernetes version (major, minor, patch). + :param kubernetes_version: Required. The Kubernetes version (major.minor.patch). :type kubernetes_version: str - :param name: Pool name. + :param name: The Agent Pool name. :type name: str - :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. - Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_type: Required. The operating system type. The default is Linux. Possible values + include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType :param upgrades: List of orchestrator types and versions available for upgrade. :type upgrades: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] """ _validation = { @@ -2608,9 +2584,9 @@ def __init__( class ManagedClusterPoolUpgradeProfileUpgradesItem(msrest.serialization.Model): """ManagedClusterPoolUpgradeProfileUpgradesItem. - :param kubernetes_version: Kubernetes version (major, minor, patch). + :param kubernetes_version: The Kubernetes version (major.minor.patch). :type kubernetes_version: str - :param is_preview: Whether Kubernetes version is currently in preview. + :param is_preview: Whether the Kubernetes version is currently in preview. :type is_preview: bool """ @@ -2631,39 +2607,52 @@ def __init__( class ManagedClusterPropertiesAutoScalerProfile(msrest.serialization.Model): """Parameters to be applied to the cluster-autoscaler when enabled. - :param balance_similar_node_groups: + :param balance_similar_node_groups: Valid values are 'true' and 'false'. :type balance_similar_node_groups: str - :param expander: Possible values include: "least-waste", "most-pods", "priority", "random". - :type expander: str or ~azure.mgmt.containerservice.v2021_05_01.models.Expander - :param max_empty_bulk_delete: + :param expander: If not specified, the default is 'random'. See `expanders + `_ + for more information. Possible values include: "least-waste", "most-pods", "priority", + "random". + :type expander: str or ~azure.mgmt.containerservice.v2021_07_01.models.Expander + :param max_empty_bulk_delete: The default is 10. :type max_empty_bulk_delete: str - :param max_graceful_termination_sec: + :param max_graceful_termination_sec: The default is 600. :type max_graceful_termination_sec: str - :param max_node_provision_time: + :param max_node_provision_time: The default is '15m'. Values must be an integer followed by an + 'm'. No unit of time other than minutes (m) is supported. :type max_node_provision_time: str - :param max_total_unready_percentage: + :param max_total_unready_percentage: The default is 45. The maximum is 100 and the minimum is + 0. :type max_total_unready_percentage: str - :param new_pod_scale_up_delay: + :param new_pod_scale_up_delay: For scenarios like burst/batch scale where you don't want CA to + act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore + unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer + followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). :type new_pod_scale_up_delay: str - :param ok_total_unready_count: + :param ok_total_unready_count: This must be an integer. The default is 3. :type ok_total_unready_count: str - :param scan_interval: + :param scan_interval: The default is '10'. Values must be an integer number of seconds. :type scan_interval: str - :param scale_down_delay_after_add: + :param scale_down_delay_after_add: The default is '10m'. Values must be an integer followed by + an 'm'. No unit of time other than minutes (m) is supported. :type scale_down_delay_after_add: str - :param scale_down_delay_after_delete: + :param scale_down_delay_after_delete: The default is the scan-interval. Values must be an + integer followed by an 'm'. No unit of time other than minutes (m) is supported. :type scale_down_delay_after_delete: str - :param scale_down_delay_after_failure: + :param scale_down_delay_after_failure: The default is '3m'. Values must be an integer followed + by an 'm'. No unit of time other than minutes (m) is supported. :type scale_down_delay_after_failure: str - :param scale_down_unneeded_time: + :param scale_down_unneeded_time: The default is '10m'. Values must be an integer followed by an + 'm'. No unit of time other than minutes (m) is supported. :type scale_down_unneeded_time: str - :param scale_down_unready_time: + :param scale_down_unready_time: The default is '20m'. Values must be an integer followed by an + 'm'. No unit of time other than minutes (m) is supported. :type scale_down_unready_time: str - :param scale_down_utilization_threshold: + :param scale_down_utilization_threshold: The default is '0.5'. :type scale_down_utilization_threshold: str - :param skip_nodes_with_local_storage: + :param skip_nodes_with_local_storage: The default is true. :type skip_nodes_with_local_storage: str - :param skip_nodes_with_system_pods: + :param skip_nodes_with_system_pods: The default is true. :type skip_nodes_with_system_pods: str """ @@ -2711,6 +2700,51 @@ def __init__( self.skip_nodes_with_system_pods = kwargs.get('skip_nodes_with_system_pods', None) +class ManagedClusterSecurityProfile(msrest.serialization.Model): + """Security profile for the container service cluster. + + :param azure_defender: Azure Defender settings for the security profile. + :type azure_defender: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSecurityProfileAzureDefender + """ + + _attribute_map = { + 'azure_defender': {'key': 'azureDefender', 'type': 'ManagedClusterSecurityProfileAzureDefender'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterSecurityProfile, self).__init__(**kwargs) + self.azure_defender = kwargs.get('azure_defender', None) + + +class ManagedClusterSecurityProfileAzureDefender(msrest.serialization.Model): + """Azure Defender settings for the security profile. + + :param enabled: Whether to enable Azure Defender. + :type enabled: bool + :param log_analytics_workspace_resource_id: Resource ID of the Log Analytics workspace to be + associated with Azure Defender. When Azure Defender is enabled, this field is required and + must be a valid workspace resource ID. When Azure Defender is disabled, leave the field empty. + :type log_analytics_workspace_resource_id: str + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'log_analytics_workspace_resource_id': {'key': 'logAnalyticsWorkspaceResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterSecurityProfileAzureDefender, self).__init__(**kwargs) + self.enabled = kwargs.get('enabled', None) + self.log_analytics_workspace_resource_id = kwargs.get('log_analytics_workspace_resource_id', None) + + class ManagedClusterServicePrincipalProfile(msrest.serialization.Model): """Information about a service principal identity for the cluster to use for manipulating Azure APIs. @@ -2741,12 +2775,14 @@ def __init__( class ManagedClusterSKU(msrest.serialization.Model): - """ManagedClusterSKU. + """The SKU of a Managed Cluster. - :param name: Name of a managed cluster SKU. Possible values include: "Basic". - :type name: str or ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKUName - :param tier: Tier of a managed cluster SKU. Possible values include: "Paid", "Free". - :type tier: str or ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKUTier + :param name: The name of a managed cluster SKU. Possible values include: "Basic". + :type name: str or ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSKUName + :param tier: If not specified, the default is 'Free'. See `uptime SLA + `_ for more details. Possible values include: + "Paid", "Free". + :type tier: str or ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSKUTier """ _attribute_map = { @@ -2770,19 +2806,19 @@ class ManagedClusterUpgradeProfile(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :ivar id: Id of upgrade profile. + :ivar id: The ID of the upgrade profile. :vartype id: str - :ivar name: Name of upgrade profile. + :ivar name: The name of the upgrade profile. :vartype name: str - :ivar type: Type of upgrade profile. + :ivar type: The type of the upgrade profile. :vartype type: str :param control_plane_profile: Required. The list of available upgrade versions for the control plane. :type control_plane_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfile + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPoolUpgradeProfile :param agent_pool_profiles: Required. The list of available upgrade versions for agent pools. :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfile] + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPoolUpgradeProfile] """ _validation = { @@ -2814,12 +2850,12 @@ def __init__( class ManagedClusterWindowsProfile(msrest.serialization.Model): - """Profile for Windows VMs in the container service cluster. + """Profile for Windows VMs in the managed cluster. All required parameters must be populated in order to send to Azure. :param admin_username: Required. Specifies the name of the administrator account. - :code:`
`:code:`
` **restriction:** Cannot end in "." :code:`
`:code:`
` + :code:`
`:code:`
` **Restriction:** Cannot end in "." :code:`
`:code:`
` **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", @@ -2834,10 +2870,12 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!". :type admin_password: str - :param license_type: The licenseType to use for Windows VMs. Windows_Server is used to enable - Azure Hybrid User Benefits for Windows VMs. Possible values include: "None", "Windows_Server". - :type license_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.LicenseType - :param enable_csi_proxy: Whether to enable CSI proxy. + :param license_type: The license type to use for Windows VMs. See `Azure Hybrid User Benefits + `_ for more details. Possible values + include: "None", "Windows_Server". + :type license_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.LicenseType + :param enable_csi_proxy: For more details on CSI proxy, see the `CSI proxy GitHub repo + `_. :type enable_csi_proxy: bool """ @@ -2863,13 +2901,43 @@ def __init__( self.enable_csi_proxy = kwargs.get('enable_csi_proxy', None) +class ManagedServiceIdentityUserAssignedIdentitiesValue(msrest.serialization.Model): + """ManagedServiceIdentityUserAssignedIdentitiesValue. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of user assigned identity. + :vartype principal_id: str + :ivar client_id: The client id of user assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedServiceIdentityUserAssignedIdentitiesValue, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + class OperationListResult(msrest.serialization.Model): - """The List Compute Operation operation response. + """The List Operation response. Variables are only populated by the server, and will be ignored when sending a request. - :ivar value: The list of compute operations. - :vartype value: list[~azure.mgmt.containerservice.v2021_05_01.models.OperationValue] + :ivar value: The list of operations. + :vartype value: list[~azure.mgmt.containerservice.v2021_07_01.models.OperationValue] """ _validation = { @@ -2889,15 +2957,15 @@ def __init__( class OperationValue(msrest.serialization.Model): - """Describes the properties of a Compute Operation value. + """Describes the properties of a Operation value. Variables are only populated by the server, and will be ignored when sending a request. - :ivar origin: The origin of the compute operation. + :ivar origin: The origin of the operation. :vartype origin: str - :ivar name: The name of the compute operation. + :ivar name: The name of the operation. :vartype name: str - :ivar operation: The display name of the compute operation. + :ivar operation: The display name of the operation. :vartype operation: str :ivar resource: The display name of the resource the operation applies to. :vartype resource: str @@ -2945,15 +3013,15 @@ class OSOptionProfile(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :ivar id: Id of the OS option profile. + :ivar id: The ID of the OS option resource. :vartype id: str - :ivar name: Name of the OS option profile. + :ivar name: The name of the OS option resource. :vartype name: str - :ivar type: Type of the OS option profile. + :ivar type: The type of the OS option resource. :vartype type: str - :param os_option_property_list: Required. The list of OS option properties. + :param os_option_property_list: Required. The list of OS options. :type os_option_property_list: - list[~azure.mgmt.containerservice.v2021_05_01.models.OSOptionProperty] + list[~azure.mgmt.containerservice.v2021_07_01.models.OSOptionProperty] """ _validation = { @@ -2986,9 +3054,9 @@ class OSOptionProperty(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param os_type: Required. OS type. + :param os_type: Required. The OS type. :type os_type: str - :param enable_fips_image: Required. Whether FIPS image is enabled. + :param enable_fips_image: Required. Whether the image is FIPS-enabled. :type enable_fips_image: bool """ @@ -3018,7 +3086,7 @@ class OutboundEnvironmentEndpoint(msrest.serialization.Model): azure-resource-management, apiserver, etc. :type category: str :param endpoints: The endpoints that AKS agent nodes connect to. - :type endpoints: list[~azure.mgmt.containerservice.v2021_05_01.models.EndpointDependency] + :type endpoints: list[~azure.mgmt.containerservice.v2021_07_01.models.EndpointDependency] """ _attribute_map = { @@ -3043,7 +3111,7 @@ class OutboundEnvironmentEndpointCollection(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. Collection of resources. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.OutboundEnvironmentEndpoint] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.OutboundEnvironmentEndpoint] :ivar next_link: Link to next page of resources. :vartype next_link: str """ @@ -3072,7 +3140,7 @@ class PowerState(msrest.serialization.Model): :param code: Tells whether the cluster is Running or Stopped. Possible values include: "Running", "Stopped". - :type code: str or ~azure.mgmt.containerservice.v2021_05_01.models.Code + :type code: str or ~azure.mgmt.containerservice.v2021_07_01.models.Code """ _attribute_map = { @@ -3090,7 +3158,7 @@ def __init__( class PrivateEndpoint(msrest.serialization.Model): """Private endpoint which a connection belongs to. - :param id: The resource Id for private endpoint. + :param id: The resource ID of the private endpoint. :type id: str """ @@ -3120,13 +3188,13 @@ class PrivateEndpointConnection(msrest.serialization.Model): :ivar provisioning_state: The current provisioning state. Possible values include: "Succeeded", "Creating", "Deleting", "Failed". :vartype provisioning_state: str or - ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnectionProvisioningState + ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnectionProvisioningState :param private_endpoint: The resource of private endpoint. - :type private_endpoint: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpoint + :type private_endpoint: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpoint :param private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. :type private_link_service_connection_state: - ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkServiceConnectionState """ _validation = { @@ -3162,7 +3230,7 @@ class PrivateEndpointConnectionListResult(msrest.serialization.Model): """A list of private endpoint connections. :param value: The collection value. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnection] """ _attribute_map = { @@ -3190,7 +3258,7 @@ class PrivateLinkResource(msrest.serialization.Model): :type type: str :param group_id: The group ID of the resource. :type group_id: str - :param required_members: RequiredMembers of the resource. + :param required_members: The RequiredMembers of the resource. :type required_members: list[str] :ivar private_link_service_id: The private link service ID of the resource, this field is exposed only to NRP internally. @@ -3227,7 +3295,7 @@ class PrivateLinkResourcesListResult(msrest.serialization.Model): """A list of private link resources. :param value: The collection value. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResource] """ _attribute_map = { @@ -3247,7 +3315,7 @@ class PrivateLinkServiceConnectionState(msrest.serialization.Model): :param status: The private link service connection status. Possible values include: "Pending", "Approved", "Rejected", "Disconnected". - :type status: str or ~azure.mgmt.containerservice.v2021_05_01.models.ConnectionStatus + :type status: str or ~azure.mgmt.containerservice.v2021_07_01.models.ConnectionStatus :param description: The private link service connection description. :type description: str """ @@ -3286,13 +3354,13 @@ def __init__( class RunCommandRequest(msrest.serialization.Model): - """run command request. + """A run command request. All required parameters must be populated in order to send to Azure. - :param command: Required. command to run. + :param command: Required. The command to run. :type command: str - :param context: base64 encoded zip file, contains files required by the command. + :param context: A base64 encoded zip file containing the files required by the command. :type context: str :param cluster_token: AuthToken issued for AKS AAD Server App. :type cluster_token: str @@ -3323,19 +3391,19 @@ class RunCommandResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: command id. + :ivar id: The command id. :vartype id: str :ivar provisioning_state: provisioning State. :vartype provisioning_state: str - :ivar exit_code: exit code of the command. + :ivar exit_code: The exit code of the command. :vartype exit_code: int - :ivar started_at: time when the command started. + :ivar started_at: The time when the command started. :vartype started_at: ~datetime.datetime - :ivar finished_at: time when the command finished. + :ivar finished_at: The time when the command finished. :vartype finished_at: ~datetime.datetime - :ivar logs: command output. + :ivar logs: The command output. :vartype logs: str - :ivar reason: explain why provisioningState is set to failed (if so). + :ivar reason: An explanation of why provisioningState is set to failed (if so). :vartype reason: str """ @@ -3507,15 +3575,15 @@ class SystemData(msrest.serialization.Model): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.CreatedByType - :param created_at: The timestamp of resource creation (UTC). + :type created_by_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.CreatedByType + :param created_at: The UTC timestamp of resource creation. :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". :type last_modified_by_type: str or - ~azure.mgmt.containerservice.v2021_05_01.models.CreatedByType + ~azure.mgmt.containerservice.v2021_07_01.models.CreatedByType :param last_modified_at: The type of identity that last modified the resource. :type last_modified_at: ~datetime.datetime """ @@ -3564,10 +3632,12 @@ def __init__( class TimeInWeek(msrest.serialization.Model): """Time in a week. - :param day: A day in a week. Possible values include: "Sunday", "Monday", "Tuesday", + :param day: The day of the week. Possible values include: "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday". - :type day: str or ~azure.mgmt.containerservice.v2021_05_01.models.WeekDay - :param hour_slots: hour slots in a day. + :type day: str or ~azure.mgmt.containerservice.v2021_07_01.models.WeekDay + :param hour_slots: Each integer hour represents a time range beginning at 0m after the hour + ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 + UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. :type hour_slots: list[int] """ @@ -3586,7 +3656,7 @@ def __init__( class TimeSpan(msrest.serialization.Model): - """The time span with start and end properties. + """For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. :param start: The start of a time span. :type start: ~datetime.datetime diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_models_py3.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_models_py3.py old mode 100755 new mode 100644 similarity index 72% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_models_py3.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_models_py3.py index db1b9190e9b..da9735f9064 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/models/_models_py3.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/models/_models_py3.py @@ -66,109 +66,128 @@ class AgentPool(SubResource): range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. :type count: int - :param vm_size: Size of agent VMs. + :param vm_size: VM size availability varies by region. If a node contains insufficient compute + resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted + VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions. :type vm_size: str :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. :type os_disk_size_gb: int - :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values - are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports - ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults - to 'Managed'. May not be changed after creation. Possible values include: "Managed", - "Ephemeral". - :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType - :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, - container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, - resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". - :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe - pods. + :param os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk + larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed + after creation. For more information see `Ephemeral OS + `_. Possible values + include: "Managed", "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSDiskType + :param kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data + root, and Kubelet ephemeral storage. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.KubeletDiskType + :param vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. + If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just + nodes. This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type vnet_subnet_id: str - :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :param pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see + vnetSubnetID for more details). This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type pod_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. + :param max_pods: The maximum number of pods that can run on a node. :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType - :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner - for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", - "CBLMariner". - :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU - :param max_count: Maximum number of nodes for auto-scaling. + :param os_type: The operating system type. The default is Linux. Possible values include: + "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType + :param os_sku: Specifies an OS SKU. This value must not be specified if OSType is Windows. + Possible values include: "Ubuntu", "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSSKU + :param max_count: The maximum number of nodes for auto-scaling. :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. + :param min_count: The minimum number of nodes for auto-scaling. :type min_count: int :param enable_auto_scaling: Whether to enable auto-scaler. :type enable_auto_scaling: bool - :param type_properties_type: AgentPoolType represents types of an agent pool. Possible values - include: "VirtualMachineScaleSets", "AvailabilitySet". + :param scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it + defaults to Delete. Possible values include: "Delete", "Deallocate". + :type scale_down_mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.ScaleDownMode + :param type_properties_type: The type of Agent Pool. Possible values include: + "VirtualMachineScaleSets", "AvailabilitySet". :type type_properties_type: str or - ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType - :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolType + :param mode: A cluster must have at least one 'System' Agent Pool at all times. For additional + information on agent pool restrictions and best practices, see: + https://docs.microsoft.com/azure/aks/use-system-pools. Possible values include: "System", "User". - :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. + :type mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolMode + :param orchestrator_version: As a best practice, you should upgrade all node pools in an AKS + cluster to the same Kubernetes version. The node pool version must have the same major version + as the control plane. The node pool minor version must be within two minor versions of the + control plane version. The node pool version cannot be greater than the control plane version. + For more information see `upgrading a node pool + `_. :type orchestrator_version: str - :ivar node_image_version: Version of node image. + :ivar node_image_version: The version of node image. :vartype node_image_version: str :param upgrade_settings: Settings for upgrading the agentpool. :type upgrade_settings: - ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. + ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state. :vartype provisioning_state: str :ivar power_state: Describes whether the Agent Pool is Running or Stopped. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState - :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets - AgentPoolType. + :vartype power_state: ~azure.mgmt.containerservice.v2021_07_01.models.PowerState + :param availability_zones: The list of Availability zones to use for nodes. This can only be + specified if the AgentPoolType property is 'VirtualMachineScaleSets'. :type availability_zones: list[str] - :param enable_node_public_ip: Enable public IP for nodes. + :param enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their + own dedicated public IP addresses. A common scenario is for gaming workloads, where a console + needs to make a direct connection to a cloud virtual machine to minimize hops. For more + information see `assigning a public IP per node + `_. + The default is false. :type enable_node_public_ip: bool - :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this - Public IP Prefix. + :param node_public_ip_prefix_id: This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}. :type node_public_ip_prefix_id: str - :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set - priority. Default to regular. Possible values include: "Spot", "Regular". Default value: - "Regular". + :param scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the + default is 'Regular'. Possible values include: "Spot", "Regular". Default value: "Regular". :type scale_set_priority: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority - :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy - for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetPriority + :param scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is + 'Spot'. If not specified, the default is 'Delete'. Possible values include: "Delete", "Deallocate". Default value: "Delete". :type scale_set_eviction_policy: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy - :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to - pay in US Dollars. Possible values are any decimal value greater than zero or -1 which - indicates default price to be up-to on-demand. + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetEvictionPolicy + :param spot_max_price: Possible values are any decimal value greater than zero or -1 which + indicates the willingness to pay any on-demand price. For more details on spot pricing, see + `spot VMs pricing `_. :type spot_max_price: float - :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine - scale set. + :param tags: A set of tags. The tags to be persisted on the agent pool virtual machine scale + set. :type tags: dict[str, str] - :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :param node_labels: The node labels to be persisted across all nodes in agent pool. :type node_labels: dict[str, str] - :param node_taints: Taints added to new nodes during node pool create and scale. For example, - key=value:NoSchedule. + :param node_taints: The taints added to new nodes during node pool create and scale. For + example, key=value:NoSchedule. :type node_taints: list[str] :param proximity_placement_group_id: The ID for Proximity Placement Group. :type proximity_placement_group_id: str - :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. - :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig - :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. - :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig - :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :param kubelet_config: The Kubelet configuration on the agent pool nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_07_01.models.KubeletConfig + :param linux_os_config: The OS configuration of Linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_07_01.models.LinuxOSConfig + :param enable_encryption_at_host: This is only supported on certain VM sizes and in certain + Azure regions. For more information, see: + https://docs.microsoft.com/azure/aks/enable-host-encryption. :type enable_encryption_at_host: bool :param enable_ultra_ssd: Whether to enable UltraSSD. :type enable_ultra_ssd: bool - :param enable_fips: Whether to use FIPS enabled OS. + :param enable_fips: See `Add a FIPS-enabled node pool + `_ + for more details. :type enable_fips: bool :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile - for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible - values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + for supported GPU VM SKU. Possible values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". :type gpu_instance_profile: str or - ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + ~azure.mgmt.containerservice.v2021_07_01.models.GPUInstanceProfile """ _validation = { @@ -198,6 +217,7 @@ class AgentPool(SubResource): 'max_count': {'key': 'properties.maxCount', 'type': 'int'}, 'min_count': {'key': 'properties.minCount', 'type': 'int'}, 'enable_auto_scaling': {'key': 'properties.enableAutoScaling', 'type': 'bool'}, + 'scale_down_mode': {'key': 'properties.scaleDownMode', 'type': 'str'}, 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, 'mode': {'key': 'properties.mode', 'type': 'str'}, 'orchestrator_version': {'key': 'properties.orchestratorVersion', 'type': 'str'}, @@ -239,6 +259,7 @@ def __init__( max_count: Optional[int] = None, min_count: Optional[int] = None, enable_auto_scaling: Optional[bool] = None, + scale_down_mode: Optional[Union[str, "ScaleDownMode"]] = None, type_properties_type: Optional[Union[str, "AgentPoolType"]] = None, mode: Optional[Union[str, "AgentPoolMode"]] = None, orchestrator_version: Optional[str] = None, @@ -275,6 +296,7 @@ def __init__( self.max_count = max_count self.min_count = min_count self.enable_auto_scaling = enable_auto_scaling + self.scale_down_mode = scale_down_mode self.type_properties_type = type_properties_type self.mode = mode self.orchestrator_version = orchestrator_version @@ -305,15 +327,15 @@ class AgentPoolAvailableVersions(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Id of the agent pool available versions. + :ivar id: The ID of the agent pool version list. :vartype id: str - :ivar name: Name of the agent pool available versions. + :ivar name: The name of the agent pool version list. :vartype name: str - :ivar type: Type of the agent pool available versions. + :ivar type: Type of the agent pool version list. :vartype type: str :param agent_pool_versions: List of versions available for agent pool. :type agent_pool_versions: - list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem] + list[~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem] """ _validation = { @@ -347,7 +369,7 @@ class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem(msrest.serializa :param default: Whether this version is the default agent pool version. :type default: bool - :param kubernetes_version: Kubernetes version (major, minor, patch). + :param kubernetes_version: The Kubernetes version (major.minor.patch). :type kubernetes_version: str :param is_preview: Whether Kubernetes version is currently in preview. :type is_preview: bool @@ -379,7 +401,7 @@ class AgentPoolListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The list of agent pools. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPool] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.AgentPool] :ivar next_link: The URL to get the next set of agent pool results. :vartype next_link: str """ @@ -411,22 +433,21 @@ class AgentPoolUpgradeProfile(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :ivar id: Id of the agent pool upgrade profile. + :ivar id: The ID of the agent pool upgrade profile. :vartype id: str - :ivar name: Name of the agent pool upgrade profile. + :ivar name: The name of the agent pool upgrade profile. :vartype name: str - :ivar type: Type of the agent pool upgrade profile. + :ivar type: The type of the agent pool upgrade profile. :vartype type: str - :param kubernetes_version: Required. Kubernetes version (major, minor, patch). + :param kubernetes_version: Required. The Kubernetes version (major.minor.patch). :type kubernetes_version: str - :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. - Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_type: Required. The operating system type. The default is Linux. Possible values + include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType :param upgrades: List of orchestrator types and versions available for upgrade. :type upgrades: - list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeProfilePropertiesUpgradesItem] - :param latest_node_image_version: LatestNodeImageVersion is the latest AKS supported node image - version. + list[~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeProfilePropertiesUpgradesItem] + :param latest_node_image_version: The latest AKS supported node image version. :type latest_node_image_version: str """ @@ -470,9 +491,9 @@ def __init__( class AgentPoolUpgradeProfilePropertiesUpgradesItem(msrest.serialization.Model): """AgentPoolUpgradeProfilePropertiesUpgradesItem. - :param kubernetes_version: Kubernetes version (major, minor, patch). + :param kubernetes_version: The Kubernetes version (major.minor.patch). :type kubernetes_version: str - :param is_preview: Whether Kubernetes version is currently in preview. + :param is_preview: Whether the Kubernetes version is currently in preview. :type is_preview: bool """ @@ -496,8 +517,11 @@ def __init__( class AgentPoolUpgradeSettings(msrest.serialization.Model): """Settings for upgrading an agentpool. - :param max_surge: Count or percentage of additional nodes to be added during upgrade. If empty - uses AKS default. + :param max_surge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). + If a percentage is specified, it is the percentage of the total agent pool size at the time of + the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is + 1. For more information, including best practices, see: + https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade. :type max_surge: str """ @@ -515,27 +539,6 @@ def __init__( self.max_surge = max_surge -class CloudError(msrest.serialization.Model): - """An error response from the Container service. - - :param error: Details about the error. - :type error: ~azure.mgmt.containerservice.v2021_05_01.models.CloudErrorBody - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'CloudErrorBody'}, - } - - def __init__( - self, - *, - error: Optional["CloudErrorBody"] = None, - **kwargs - ): - super(CloudError, self).__init__(**kwargs) - self.error = error - - class CloudErrorBody(msrest.serialization.Model): """An error response from the Container service. @@ -549,7 +552,7 @@ class CloudErrorBody(msrest.serialization.Model): error. :type target: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.containerservice.v2021_05_01.models.CloudErrorBody] + :type details: list[~azure.mgmt.containerservice.v2021_07_01.models.CloudErrorBody] """ _attribute_map = { @@ -575,281 +578,6 @@ def __init__( self.details = details -class Components1Q1Og48SchemasManagedclusterAllof1(msrest.serialization.Model): - """Components1Q1Og48SchemasManagedclusterAllof1. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param identity: The identity of the managed cluster, if configured. - :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterIdentity - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. - :vartype provisioning_state: str - :ivar power_state: Represents the Power State of the cluster. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState - :ivar max_agent_pools: The max number of agent pools for the managed cluster. - :vartype max_agent_pools: int - :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. - :type kubernetes_version: str - :param dns_prefix: DNS prefix specified when creating the managed cluster. - :type dns_prefix: str - :param fqdn_subdomain: FQDN subdomain specified when creating private cluster with custom - private dns zone. - :type fqdn_subdomain: str - :ivar fqdn: FQDN for the master pool. - :vartype fqdn: str - :ivar private_fqdn: FQDN of private cluster. - :vartype private_fqdn: str - :ivar azure_portal_fqdn: FQDN for the master pool which used by proxy config. - :vartype azure_portal_fqdn: str - :param agent_pool_profiles: Properties of the agent pool. - :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAgentPoolProfile] - :param linux_profile: Profile for Linux VMs in the container service cluster. - :type linux_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceLinuxProfile - :param windows_profile: Profile for Windows VMs in the container service cluster. - :type windows_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterWindowsProfile - :param service_principal_profile: Information about a service principal identity for the - cluster to use for manipulating Azure APIs. - :type service_principal_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile - :param addon_profiles: Profile of managed cluster add-on. - :type addon_profiles: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfile] - :param pod_identity_profile: Profile of managed cluster pod identity. - :type pod_identity_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProfile - :param node_resource_group: Name of the resource group containing agent pool nodes. - :type node_resource_group: str - :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. - :type enable_rbac: bool - :param enable_pod_security_policy: (DEPRECATING) Whether to enable Kubernetes pod security - policy (preview). This feature is set for removal on October 15th, 2020. Learn more at - aka.ms/aks/azpodpolicy. - :type enable_pod_security_policy: bool - :param network_profile: Profile of network configuration. - :type network_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceNetworkProfile - :param aad_profile: Profile of Azure Active Directory configuration. - :type aad_profile: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile - :param auto_upgrade_profile: Profile of auto upgrade configuration. - :type auto_upgrade_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAutoUpgradeProfile - :param auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled. - :type auto_scaler_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPropertiesAutoScalerProfile - :param api_server_access_profile: Access profile for managed cluster API server. - :type api_server_access_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAPIServerAccessProfile - :param disk_encryption_set_id: ResourceId of the disk encryption set to use for enabling - encryption at rest. - :type disk_encryption_set_id: str - :param identity_profile: Identities associated with the cluster. - :type identity_profile: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties] - :param private_link_resources: Private link resources associated with the cluster. - :type private_link_resources: - list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] - :param disable_local_accounts: If set to true, getting static credential will be disabled for - this cluster. Expected to only be used for AAD clusters. - :type disable_local_accounts: bool - :param http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. - :type http_proxy_config: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterHTTPProxyConfig - """ - - _validation = { - 'provisioning_state': {'readonly': True}, - 'power_state': {'readonly': True}, - 'max_agent_pools': {'readonly': True}, - 'fqdn': {'readonly': True}, - 'private_fqdn': {'readonly': True}, - 'azure_portal_fqdn': {'readonly': True}, - } - - _attribute_map = { - 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, - 'max_agent_pools': {'key': 'properties.maxAgentPools', 'type': 'int'}, - 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, - 'dns_prefix': {'key': 'properties.dnsPrefix', 'type': 'str'}, - 'fqdn_subdomain': {'key': 'properties.fqdnSubdomain', 'type': 'str'}, - 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, - 'private_fqdn': {'key': 'properties.privateFQDN', 'type': 'str'}, - 'azure_portal_fqdn': {'key': 'properties.azurePortalFQDN', 'type': 'str'}, - 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterAgentPoolProfile]'}, - 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, - 'windows_profile': {'key': 'properties.windowsProfile', 'type': 'ManagedClusterWindowsProfile'}, - 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ManagedClusterServicePrincipalProfile'}, - 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, - 'pod_identity_profile': {'key': 'properties.podIdentityProfile', 'type': 'ManagedClusterPodIdentityProfile'}, - 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, - 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, - 'enable_pod_security_policy': {'key': 'properties.enablePodSecurityPolicy', 'type': 'bool'}, - 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, - 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, - 'auto_upgrade_profile': {'key': 'properties.autoUpgradeProfile', 'type': 'ManagedClusterAutoUpgradeProfile'}, - 'auto_scaler_profile': {'key': 'properties.autoScalerProfile', 'type': 'ManagedClusterPropertiesAutoScalerProfile'}, - 'api_server_access_profile': {'key': 'properties.apiServerAccessProfile', 'type': 'ManagedClusterAPIServerAccessProfile'}, - 'disk_encryption_set_id': {'key': 'properties.diskEncryptionSetID', 'type': 'str'}, - 'identity_profile': {'key': 'properties.identityProfile', 'type': '{ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties}'}, - 'private_link_resources': {'key': 'properties.privateLinkResources', 'type': '[PrivateLinkResource]'}, - 'disable_local_accounts': {'key': 'properties.disableLocalAccounts', 'type': 'bool'}, - 'http_proxy_config': {'key': 'properties.httpProxyConfig', 'type': 'ManagedClusterHTTPProxyConfig'}, - } - - def __init__( - self, - *, - identity: Optional["ManagedClusterIdentity"] = None, - kubernetes_version: Optional[str] = None, - dns_prefix: Optional[str] = None, - fqdn_subdomain: Optional[str] = None, - agent_pool_profiles: Optional[List["ManagedClusterAgentPoolProfile"]] = None, - linux_profile: Optional["ContainerServiceLinuxProfile"] = None, - windows_profile: Optional["ManagedClusterWindowsProfile"] = None, - service_principal_profile: Optional["ManagedClusterServicePrincipalProfile"] = None, - addon_profiles: Optional[Dict[str, "ManagedClusterAddonProfile"]] = None, - pod_identity_profile: Optional["ManagedClusterPodIdentityProfile"] = None, - node_resource_group: Optional[str] = None, - enable_rbac: Optional[bool] = None, - enable_pod_security_policy: Optional[bool] = None, - network_profile: Optional["ContainerServiceNetworkProfile"] = None, - aad_profile: Optional["ManagedClusterAADProfile"] = None, - auto_upgrade_profile: Optional["ManagedClusterAutoUpgradeProfile"] = None, - auto_scaler_profile: Optional["ManagedClusterPropertiesAutoScalerProfile"] = None, - api_server_access_profile: Optional["ManagedClusterAPIServerAccessProfile"] = None, - disk_encryption_set_id: Optional[str] = None, - identity_profile: Optional[Dict[str, "ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties"]] = None, - private_link_resources: Optional[List["PrivateLinkResource"]] = None, - disable_local_accounts: Optional[bool] = None, - http_proxy_config: Optional["ManagedClusterHTTPProxyConfig"] = None, - **kwargs - ): - super(Components1Q1Og48SchemasManagedclusterAllof1, self).__init__(**kwargs) - self.identity = identity - self.provisioning_state = None - self.power_state = None - self.max_agent_pools = None - self.kubernetes_version = kubernetes_version - self.dns_prefix = dns_prefix - self.fqdn_subdomain = fqdn_subdomain - self.fqdn = None - self.private_fqdn = None - self.azure_portal_fqdn = None - self.agent_pool_profiles = agent_pool_profiles - self.linux_profile = linux_profile - self.windows_profile = windows_profile - self.service_principal_profile = service_principal_profile - self.addon_profiles = addon_profiles - self.pod_identity_profile = pod_identity_profile - self.node_resource_group = node_resource_group - self.enable_rbac = enable_rbac - self.enable_pod_security_policy = enable_pod_security_policy - self.network_profile = network_profile - self.aad_profile = aad_profile - self.auto_upgrade_profile = auto_upgrade_profile - self.auto_scaler_profile = auto_scaler_profile - self.api_server_access_profile = api_server_access_profile - self.disk_encryption_set_id = disk_encryption_set_id - self.identity_profile = identity_profile - self.private_link_resources = private_link_resources - self.disable_local_accounts = disable_local_accounts - self.http_proxy_config = http_proxy_config - - -class Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): - """Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The principal id of user assigned identity. - :vartype principal_id: str - :ivar client_id: The client id of user assigned identity. - :vartype client_id: str - """ - - _validation = { - 'principal_id': {'readonly': True}, - 'client_id': {'readonly': True}, - } - - _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties, self).__init__(**kwargs) - self.principal_id = None - self.client_id = None - - -class UserAssignedIdentity(msrest.serialization.Model): - """UserAssignedIdentity. - - :param resource_id: The resource id of the user assigned identity. - :type resource_id: str - :param client_id: The client id of the user assigned identity. - :type client_id: str - :param object_id: The object id of the user assigned identity. - :type object_id: str - """ - - _attribute_map = { - 'resource_id': {'key': 'resourceId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'object_id': {'key': 'objectId', 'type': 'str'}, - } - - def __init__( - self, - *, - resource_id: Optional[str] = None, - client_id: Optional[str] = None, - object_id: Optional[str] = None, - **kwargs - ): - super(UserAssignedIdentity, self).__init__(**kwargs) - self.resource_id = resource_id - self.client_id = client_id - self.object_id = object_id - - -class ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties(UserAssignedIdentity): - """ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties. - - :param resource_id: The resource id of the user assigned identity. - :type resource_id: str - :param client_id: The client id of the user assigned identity. - :type client_id: str - :param object_id: The object id of the user assigned identity. - :type object_id: str - """ - - _attribute_map = { - 'resource_id': {'key': 'resourceId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'object_id': {'key': 'objectId', 'type': 'str'}, - } - - def __init__( - self, - *, - resource_id: Optional[str] = None, - client_id: Optional[str] = None, - object_id: Optional[str] = None, - **kwargs - ): - super(ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties, self).__init__(resource_id=resource_id, client_id=client_id, object_id=object_id, **kwargs) - - class ContainerServiceDiagnosticsProfile(msrest.serialization.Model): """Profile for diagnostics on the container service cluster. @@ -857,7 +585,7 @@ class ContainerServiceDiagnosticsProfile(msrest.serialization.Model): :param vm_diagnostics: Required. Profile for diagnostics on the container service VMs. :type vm_diagnostics: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceVMDiagnostics + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceVMDiagnostics """ _validation = { @@ -885,8 +613,8 @@ class ContainerServiceLinuxProfile(msrest.serialization.Model): :param admin_username: Required. The administrator username to use for Linux VMs. :type admin_username: str - :param ssh: Required. SSH configuration for Linux-based VMs running on Azure. - :type ssh: ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceSshConfiguration + :param ssh: Required. The SSH configuration for Linux-based VMs running on Azure. + :type ssh: ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceSshConfiguration """ _validation = { @@ -920,7 +648,7 @@ class ContainerServiceMasterProfile(msrest.serialization.Model): :param count: Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1. Possible values include: 1, 3, 5. Default value: "1". - :type count: str or ~azure.mgmt.containerservice.v2021_05_01.models.Count + :type count: str or ~azure.mgmt.containerservice.v2021_07_01.models.Count :param dns_prefix: Required. DNS prefix to be used to create the FQDN for the master pool. :type dns_prefix: str :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", @@ -962,7 +690,7 @@ class ContainerServiceMasterProfile(msrest.serialization.Model): "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". :type vm_size: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -976,7 +704,7 @@ class ContainerServiceMasterProfile(msrest.serialization.Model): StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice. Possible values include: "StorageAccount", "ManagedDisks". :type storage_profile: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceStorageProfileTypes + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceStorageProfileTypes :ivar fqdn: FQDN for the master pool. :vartype fqdn: str """ @@ -1025,15 +753,15 @@ def __init__( class ContainerServiceNetworkProfile(msrest.serialization.Model): """Profile of network configuration. - :param network_plugin: Network plugin used for building Kubernetes network. Possible values + :param network_plugin: Network plugin used for building the Kubernetes network. Possible values include: "azure", "kubenet". Default value: "kubenet". - :type network_plugin: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkPlugin - :param network_policy: Network policy used for building Kubernetes network. Possible values + :type network_plugin: str or ~azure.mgmt.containerservice.v2021_07_01.models.NetworkPlugin + :param network_policy: Network policy used for building the Kubernetes network. Possible values include: "calico", "azure". - :type network_policy: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkPolicy - :param network_mode: Network mode used for building Kubernetes network. Possible values - include: "transparent", "bridge". - :type network_mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkMode + :type network_policy: str or ~azure.mgmt.containerservice.v2021_07_01.models.NetworkPolicy + :param network_mode: This cannot be specified if networkPlugin is anything other than 'azure'. + Possible values include: "transparent", "bridge". + :type network_mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.NetworkMode :param pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. :type pod_cidr: str :param service_cidr: A CIDR notation IP range from which to assign service cluster IPs. It must @@ -1045,15 +773,22 @@ class ContainerServiceNetworkProfile(msrest.serialization.Model): :param docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range. :type docker_bridge_cidr: str - :param outbound_type: The outbound (egress) routing method. Possible values include: - "loadBalancer", "userDefinedRouting". Default value: "loadBalancer". - :type outbound_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OutboundType - :param load_balancer_sku: The load balancer sku for the managed cluster. Possible values - include: "standard", "basic". - :type load_balancer_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.LoadBalancerSku + :param outbound_type: This can only be set at cluster creation time and cannot be changed + later. For more information see `egress outbound type + `_. Possible values include: + "loadBalancer", "userDefinedRouting", "managedNATGateway", "userAssignedNATGateway". Default + value: "loadBalancer". + :type outbound_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OutboundType + :param load_balancer_sku: The default is 'standard'. See `Azure Load Balancer SKUs + `_ for more information about the + differences between load balancer SKUs. Possible values include: "standard", "basic". + :type load_balancer_sku: str or ~azure.mgmt.containerservice.v2021_07_01.models.LoadBalancerSku :param load_balancer_profile: Profile of the cluster load balancer. :type load_balancer_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfile + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterLoadBalancerProfile + :param nat_gateway_profile: Profile of the cluster NAT gateway. + :type nat_gateway_profile: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterNATGatewayProfile """ _validation = { @@ -1074,6 +809,7 @@ class ContainerServiceNetworkProfile(msrest.serialization.Model): 'outbound_type': {'key': 'outboundType', 'type': 'str'}, 'load_balancer_sku': {'key': 'loadBalancerSku', 'type': 'str'}, 'load_balancer_profile': {'key': 'loadBalancerProfile', 'type': 'ManagedClusterLoadBalancerProfile'}, + 'nat_gateway_profile': {'key': 'natGatewayProfile', 'type': 'ManagedClusterNATGatewayProfile'}, } def __init__( @@ -1089,6 +825,7 @@ def __init__( outbound_type: Optional[Union[str, "OutboundType"]] = "loadBalancer", load_balancer_sku: Optional[Union[str, "LoadBalancerSku"]] = None, load_balancer_profile: Optional["ManagedClusterLoadBalancerProfile"] = None, + nat_gateway_profile: Optional["ManagedClusterNATGatewayProfile"] = None, **kwargs ): super(ContainerServiceNetworkProfile, self).__init__(**kwargs) @@ -1102,6 +839,7 @@ def __init__( self.outbound_type = outbound_type self.load_balancer_sku = load_balancer_sku self.load_balancer_profile = load_balancer_profile + self.nat_gateway_profile = nat_gateway_profile class ContainerServiceSshConfiguration(msrest.serialization.Model): @@ -1110,9 +848,9 @@ class ContainerServiceSshConfiguration(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based - VMs. Only expect one key specified. + VMs. A maximum of 1 key may be specified. :type public_keys: - list[~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceSshPublicKey] + list[~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceSshPublicKey] """ _validation = { @@ -1226,12 +964,12 @@ def __init__( class CredentialResults(msrest.serialization.Model): - """The list of credential result response. + """The list credential result response. Variables are only populated by the server, and will be ignored when sending a request. :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. - :vartype kubeconfigs: list[~azure.mgmt.containerservice.v2021_05_01.models.CredentialResult] + :vartype kubeconfigs: list[~azure.mgmt.containerservice.v2021_07_01.models.CredentialResult] """ _validation = { @@ -1256,7 +994,7 @@ class EndpointDependency(msrest.serialization.Model): :param domain_name: The domain name of the dependency. :type domain_name: str :param endpoint_details: The Ports and Protocols used when connecting to domainName. - :type endpoint_details: list[~azure.mgmt.containerservice.v2021_05_01.models.EndpointDetail] + :type endpoint_details: list[~azure.mgmt.containerservice.v2021_07_01.models.EndpointDetail] """ _attribute_map = { @@ -1318,7 +1056,7 @@ class ExtendedLocation(msrest.serialization.Model): :param name: The name of the extended location. :type name: str :param type: The type of the extended location. Possible values include: "EdgeZone". - :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.ExtendedLocationTypes + :type type: str or ~azure.mgmt.containerservice.v2021_07_01.models.ExtendedLocationTypes """ _attribute_map = { @@ -1339,24 +1077,30 @@ def __init__( class KubeletConfig(msrest.serialization.Model): - """Kubelet configurations of agent nodes. + """See `AKS custom node configuration `_ for more details. - :param cpu_manager_policy: CPU Manager policy to use. + :param cpu_manager_policy: The default is 'none'. See `Kubernetes CPU management policies + `_ + for more information. Allowed values are 'none' and 'static'. :type cpu_manager_policy: str - :param cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits. + :param cpu_cfs_quota: The default is true. :type cpu_cfs_quota: bool - :param cpu_cfs_quota_period: Sets CPU CFS quota period value. + :param cpu_cfs_quota_period: The default is '100ms.' Valid values are a sequence of decimal + numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported + units are 'ns', 'us', 'ms', 's', 'm', and 'h'. :type cpu_cfs_quota_period: str - :param image_gc_high_threshold: The percent of disk usage after which image garbage collection - is always run. + :param image_gc_high_threshold: To disable image garbage collection, set to 100. The default is + 85%. :type image_gc_high_threshold: int - :param image_gc_low_threshold: The percent of disk usage before which image garbage collection - is never run. + :param image_gc_low_threshold: This cannot be set higher than imageGcHighThreshold. The default + is 80%. :type image_gc_low_threshold: int - :param topology_manager_policy: Topology Manager policy to use. + :param topology_manager_policy: For more information see `Kubernetes Topology Manager + `_. The default is + 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. :type topology_manager_policy: str - :param allowed_unsafe_sysctls: Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in - ``*``\ ). + :param allowed_unsafe_sysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending + in ``*``\ ). :type allowed_unsafe_sysctls: list[str] :param fail_swap_on: If set to true it will make the Kubelet fail to start if swap is enabled on the node. @@ -1420,16 +1164,20 @@ def __init__( class LinuxOSConfig(msrest.serialization.Model): - """OS configurations of Linux agent nodes. + """See `AKS custom node configuration `_ for more details. :param sysctls: Sysctl settings for Linux agent nodes. - :type sysctls: ~azure.mgmt.containerservice.v2021_05_01.models.SysctlConfig - :param transparent_huge_page_enabled: Transparent Huge Page enabled configuration. + :type sysctls: ~azure.mgmt.containerservice.v2021_07_01.models.SysctlConfig + :param transparent_huge_page_enabled: Valid values are 'always', 'madvise', and 'never'. The + default is 'always'. For more information see `Transparent Hugepages + `_. :type transparent_huge_page_enabled: str - :param transparent_huge_page_defrag: Transparent Huge Page defrag configuration. + :param transparent_huge_page_defrag: Valid values are 'always', 'defer', 'defer+madvise', + 'madvise' and 'never'. The default is 'madvise'. For more information see `Transparent + Hugepages + `_. :type transparent_huge_page_defrag: str - :param swap_file_size_mb: SwapFileSizeMB specifies size in MB of a swap file will be created on - each node. + :param swap_file_size_mb: The size in MB of a swap file that will be created on each node. :type swap_file_size_mb: int """ @@ -1457,7 +1205,7 @@ def __init__( class MaintenanceConfiguration(SubResource): - """maintenance configuration. + """See `planned maintenance `_ for more information about planned maintenance. Variables are only populated by the server, and will be ignored when sending a request. @@ -1468,12 +1216,13 @@ class MaintenanceConfiguration(SubResource): :vartype name: str :ivar type: Resource type. :vartype type: str - :ivar system_data: The system meta data relating to this resource. - :vartype system_data: ~azure.mgmt.containerservice.v2021_05_01.models.SystemData - :param time_in_week: Weekday time slots allowed to upgrade. - :type time_in_week: list[~azure.mgmt.containerservice.v2021_05_01.models.TimeInWeek] + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~azure.mgmt.containerservice.v2021_07_01.models.SystemData + :param time_in_week: If two array entries specify the same day of the week, the applied + configuration is the union of times in both entries. + :type time_in_week: list[~azure.mgmt.containerservice.v2021_07_01.models.TimeInWeek] :param not_allowed_time: Time slots on which upgrade is not allowed. - :type not_allowed_time: list[~azure.mgmt.containerservice.v2021_05_01.models.TimeSpan] + :type not_allowed_time: list[~azure.mgmt.containerservice.v2021_07_01.models.TimeSpan] """ _validation = { @@ -1511,7 +1260,7 @@ class MaintenanceConfigurationListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The list of maintenance configurations. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfiguration] :ivar next_link: The URL to get the next set of maintenance configuration results. :vartype next_link: str """ @@ -1585,55 +1334,75 @@ def __init__( self.tags = tags -class ManagedCluster(Resource, Components1Q1Og48SchemasManagedclusterAllof1): +class ManagedCluster(Resource): """Managed cluster. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. + :ivar id: Resource Id. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Required. Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param sku: The managed cluster SKU. + :type sku: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSKU + :param extended_location: The extended location of the Virtual Machine. + :type extended_location: ~azure.mgmt.containerservice.v2021_07_01.models.ExtendedLocation :param identity: The identity of the managed cluster, if configured. - :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterIdentity - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. + :type identity: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterIdentity + :ivar provisioning_state: The current provisioning state. :vartype provisioning_state: str - :ivar power_state: Represents the Power State of the cluster. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :ivar power_state: The Power State of the cluster. + :vartype power_state: ~azure.mgmt.containerservice.v2021_07_01.models.PowerState :ivar max_agent_pools: The max number of agent pools for the managed cluster. :vartype max_agent_pools: int - :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. + :param kubernetes_version: When you upgrade a supported AKS cluster, Kubernetes minor versions + cannot be skipped. All upgrades must be performed sequentially by major version number. For + example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> + 1.16.x is not allowed. See `upgrading an AKS cluster + `_ for more details. :type kubernetes_version: str - :param dns_prefix: DNS prefix specified when creating the managed cluster. + :param dns_prefix: This cannot be updated once the Managed Cluster has been created. :type dns_prefix: str - :param fqdn_subdomain: FQDN subdomain specified when creating private cluster with custom - private dns zone. + :param fqdn_subdomain: This cannot be updated once the Managed Cluster has been created. :type fqdn_subdomain: str - :ivar fqdn: FQDN for the master pool. + :ivar fqdn: The FQDN of the master pool. :vartype fqdn: str - :ivar private_fqdn: FQDN of private cluster. + :ivar private_fqdn: The FQDN of private cluster. :vartype private_fqdn: str - :ivar azure_portal_fqdn: FQDN for the master pool which used by proxy config. + :ivar azure_portal_fqdn: The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) + headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. + This special FQDN supports CORS, allowing the Azure Portal to function properly. :vartype azure_portal_fqdn: str - :param agent_pool_profiles: Properties of the agent pool. + :param agent_pool_profiles: The agent pool properties. :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAgentPoolProfile] - :param linux_profile: Profile for Linux VMs in the container service cluster. + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAgentPoolProfile] + :param linux_profile: The profile for Linux VMs in the Managed Cluster. :type linux_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceLinuxProfile - :param windows_profile: Profile for Windows VMs in the container service cluster. + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceLinuxProfile + :param windows_profile: The profile for Windows VMs in the Managed Cluster. :type windows_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterWindowsProfile + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterWindowsProfile :param service_principal_profile: Information about a service principal identity for the cluster to use for manipulating Azure APIs. :type service_principal_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile - :param addon_profiles: Profile of managed cluster add-on. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterServicePrincipalProfile + :param addon_profiles: The profile of managed cluster add-on. :type addon_profiles: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfile] - :param pod_identity_profile: Profile of managed cluster pod identity. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAddonProfile] + :param pod_identity_profile: See `use AAD pod identity + `_ for more details on AAD pod + identity integration. :type pod_identity_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProfile - :param node_resource_group: Name of the resource group containing agent pool nodes. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProfile + :param node_resource_group: The name of the resource group containing agent pool nodes. :type node_resource_group: str :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. :type enable_rbac: bool @@ -1641,65 +1410,63 @@ class ManagedCluster(Resource, Components1Q1Og48SchemasManagedclusterAllof1): policy (preview). This feature is set for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy. :type enable_pod_security_policy: bool - :param network_profile: Profile of network configuration. + :param network_profile: The network configuration profile. :type network_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceNetworkProfile - :param aad_profile: Profile of Azure Active Directory configuration. - :type aad_profile: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile - :param auto_upgrade_profile: Profile of auto upgrade configuration. + ~azure.mgmt.containerservice.v2021_07_01.models.ContainerServiceNetworkProfile + :param aad_profile: The Azure Active Directory configuration. + :type aad_profile: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAADProfile + :param auto_upgrade_profile: The auto upgrade configuration. :type auto_upgrade_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAutoUpgradeProfile + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAutoUpgradeProfile :param auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled. :type auto_scaler_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPropertiesAutoScalerProfile - :param api_server_access_profile: Access profile for managed cluster API server. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPropertiesAutoScalerProfile + :param api_server_access_profile: The access profile for managed cluster API server. :type api_server_access_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAPIServerAccessProfile - :param disk_encryption_set_id: ResourceId of the disk encryption set to use for enabling - encryption at rest. + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAPIServerAccessProfile + :param disk_encryption_set_id: This is of the form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'. :type disk_encryption_set_id: str :param identity_profile: Identities associated with the cluster. :type identity_profile: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties] + ~azure.mgmt.containerservice.v2021_07_01.models.UserAssignedIdentity] :param private_link_resources: Private link resources associated with the cluster. :type private_link_resources: - list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] - :param disable_local_accounts: If set to true, getting static credential will be disabled for - this cluster. Expected to only be used for AAD clusters. + list[~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResource] + :param disable_local_accounts: If set to true, getting static credentials will be disabled for + this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details + see `disable local accounts + `_. :type disable_local_accounts: bool :param http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. :type http_proxy_config: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterHTTPProxyConfig - :ivar id: Resource Id. - :vartype id: str - :ivar name: Resource name. - :vartype name: str - :ivar type: Resource type. - :vartype type: str - :param location: Required. Resource location. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param sku: The managed cluster SKU. - :type sku: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKU - :param extended_location: The extended location of the Virtual Machine. - :type extended_location: ~azure.mgmt.containerservice.v2021_05_01.models.ExtendedLocation + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterHTTPProxyConfig + :param security_profile: Security profile for the managed cluster. + :type security_profile: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSecurityProfile """ _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'power_state': {'readonly': True}, 'max_agent_pools': {'readonly': True}, 'fqdn': {'readonly': True}, 'private_fqdn': {'readonly': True}, 'azure_portal_fqdn': {'readonly': True}, - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, } _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'ManagedClusterSKU'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, @@ -1725,23 +1492,20 @@ class ManagedCluster(Resource, Components1Q1Og48SchemasManagedclusterAllof1): 'auto_scaler_profile': {'key': 'properties.autoScalerProfile', 'type': 'ManagedClusterPropertiesAutoScalerProfile'}, 'api_server_access_profile': {'key': 'properties.apiServerAccessProfile', 'type': 'ManagedClusterAPIServerAccessProfile'}, 'disk_encryption_set_id': {'key': 'properties.diskEncryptionSetID', 'type': 'str'}, - 'identity_profile': {'key': 'properties.identityProfile', 'type': '{ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties}'}, + 'identity_profile': {'key': 'properties.identityProfile', 'type': '{UserAssignedIdentity}'}, 'private_link_resources': {'key': 'properties.privateLinkResources', 'type': '[PrivateLinkResource]'}, 'disable_local_accounts': {'key': 'properties.disableLocalAccounts', 'type': 'bool'}, 'http_proxy_config': {'key': 'properties.httpProxyConfig', 'type': 'ManagedClusterHTTPProxyConfig'}, - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'sku': {'key': 'sku', 'type': 'ManagedClusterSKU'}, - 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'security_profile': {'key': 'properties.securityProfile', 'type': 'ManagedClusterSecurityProfile'}, } def __init__( self, *, location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["ManagedClusterSKU"] = None, + extended_location: Optional["ExtendedLocation"] = None, identity: Optional["ManagedClusterIdentity"] = None, kubernetes_version: Optional[str] = None, dns_prefix: Optional[str] = None, @@ -1761,16 +1525,16 @@ def __init__( auto_scaler_profile: Optional["ManagedClusterPropertiesAutoScalerProfile"] = None, api_server_access_profile: Optional["ManagedClusterAPIServerAccessProfile"] = None, disk_encryption_set_id: Optional[str] = None, - identity_profile: Optional[Dict[str, "ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties"]] = None, + identity_profile: Optional[Dict[str, "UserAssignedIdentity"]] = None, private_link_resources: Optional[List["PrivateLinkResource"]] = None, disable_local_accounts: Optional[bool] = None, http_proxy_config: Optional["ManagedClusterHTTPProxyConfig"] = None, - tags: Optional[Dict[str, str]] = None, - sku: Optional["ManagedClusterSKU"] = None, - extended_location: Optional["ExtendedLocation"] = None, + security_profile: Optional["ManagedClusterSecurityProfile"] = None, **kwargs ): - super(ManagedCluster, self).__init__(location=location, tags=tags, identity=identity, kubernetes_version=kubernetes_version, dns_prefix=dns_prefix, fqdn_subdomain=fqdn_subdomain, agent_pool_profiles=agent_pool_profiles, linux_profile=linux_profile, windows_profile=windows_profile, service_principal_profile=service_principal_profile, addon_profiles=addon_profiles, pod_identity_profile=pod_identity_profile, node_resource_group=node_resource_group, enable_rbac=enable_rbac, enable_pod_security_policy=enable_pod_security_policy, network_profile=network_profile, aad_profile=aad_profile, auto_upgrade_profile=auto_upgrade_profile, auto_scaler_profile=auto_scaler_profile, api_server_access_profile=api_server_access_profile, disk_encryption_set_id=disk_encryption_set_id, identity_profile=identity_profile, private_link_resources=private_link_resources, disable_local_accounts=disable_local_accounts, http_proxy_config=http_proxy_config, **kwargs) + super(ManagedCluster, self).__init__(location=location, tags=tags, **kwargs) + self.sku = sku + self.extended_location = extended_location self.identity = identity self.provisioning_state = None self.power_state = None @@ -1800,25 +1564,18 @@ def __init__( self.private_link_resources = private_link_resources self.disable_local_accounts = disable_local_accounts self.http_proxy_config = http_proxy_config - self.sku = sku - self.extended_location = extended_location - self.id = None - self.name = None - self.type = None - self.location = location - self.tags = tags - self.sku = sku - self.extended_location = extended_location + self.security_profile = security_profile class ManagedClusterAADProfile(msrest.serialization.Model): - """AADProfile specifies attributes for Azure Active Directory integration. + """For more details see `managed AAD on AKS `_. :param managed: Whether to enable managed AAD. :type managed: bool :param enable_azure_rbac: Whether to enable Azure RBAC for Kubernetes authorization. :type enable_azure_rbac: bool - :param admin_group_object_i_ds: AAD group object IDs that will have admin role of the cluster. + :param admin_group_object_i_ds: The list of AAD group object IDs that will have admin role of + the cluster. :type admin_group_object_i_ds: list[str] :param client_app_id: The client AAD application ID. :type client_app_id: str @@ -1925,7 +1682,7 @@ class ManagedClusterAddonProfile(msrest.serialization.Model): :type config: dict[str, str] :ivar identity: Information of user assigned identity used by this add-on. :vartype identity: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfileIdentity + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAddonProfileIdentity """ _validation = { @@ -1952,14 +1709,45 @@ def __init__( self.identity = None +class UserAssignedIdentity(msrest.serialization.Model): + """Details about a user assigned identity. + + :param resource_id: The resource ID of the user assigned identity. + :type resource_id: str + :param client_id: The client ID of the user assigned identity. + :type client_id: str + :param object_id: The object ID of the user assigned identity. + :type object_id: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'object_id': {'key': 'objectId', 'type': 'str'}, + } + + def __init__( + self, + *, + resource_id: Optional[str] = None, + client_id: Optional[str] = None, + object_id: Optional[str] = None, + **kwargs + ): + super(UserAssignedIdentity, self).__init__(**kwargs) + self.resource_id = resource_id + self.client_id = client_id + self.object_id = object_id + + class ManagedClusterAddonProfileIdentity(UserAssignedIdentity): """Information of user assigned identity used by this add-on. - :param resource_id: The resource id of the user assigned identity. + :param resource_id: The resource ID of the user assigned identity. :type resource_id: str - :param client_id: The client id of the user assigned identity. + :param client_id: The client ID of the user assigned identity. :type client_id: str - :param object_id: The object id of the user assigned identity. + :param object_id: The object ID of the user assigned identity. :type object_id: str """ @@ -1989,108 +1777,127 @@ class ManagedClusterAgentPoolProfileProperties(msrest.serialization.Model): range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. :type count: int - :param vm_size: Size of agent VMs. + :param vm_size: VM size availability varies by region. If a node contains insufficient compute + resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted + VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions. :type vm_size: str :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. :type os_disk_size_gb: int - :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values - are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports - ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults - to 'Managed'. May not be changed after creation. Possible values include: "Managed", - "Ephemeral". - :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType - :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, - container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, - resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". - :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe - pods. + :param os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk + larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed + after creation. For more information see `Ephemeral OS + `_. Possible values + include: "Managed", "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSDiskType + :param kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data + root, and Kubelet ephemeral storage. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.KubeletDiskType + :param vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. + If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just + nodes. This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type vnet_subnet_id: str - :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :param pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see + vnetSubnetID for more details). This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type pod_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. + :param max_pods: The maximum number of pods that can run on a node. :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType - :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner - for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", - "CBLMariner". - :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU - :param max_count: Maximum number of nodes for auto-scaling. + :param os_type: The operating system type. The default is Linux. Possible values include: + "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType + :param os_sku: Specifies an OS SKU. This value must not be specified if OSType is Windows. + Possible values include: "Ubuntu", "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSSKU + :param max_count: The maximum number of nodes for auto-scaling. :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. + :param min_count: The minimum number of nodes for auto-scaling. :type min_count: int :param enable_auto_scaling: Whether to enable auto-scaler. :type enable_auto_scaling: bool - :param type: AgentPoolType represents types of an agent pool. Possible values include: - "VirtualMachineScaleSets", "AvailabilitySet". - :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType - :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + :param scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it + defaults to Delete. Possible values include: "Delete", "Deallocate". + :type scale_down_mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.ScaleDownMode + :param type: The type of Agent Pool. Possible values include: "VirtualMachineScaleSets", + "AvailabilitySet". + :type type: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolType + :param mode: A cluster must have at least one 'System' Agent Pool at all times. For additional + information on agent pool restrictions and best practices, see: + https://docs.microsoft.com/azure/aks/use-system-pools. Possible values include: "System", "User". - :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. + :type mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolMode + :param orchestrator_version: As a best practice, you should upgrade all node pools in an AKS + cluster to the same Kubernetes version. The node pool version must have the same major version + as the control plane. The node pool minor version must be within two minor versions of the + control plane version. The node pool version cannot be greater than the control plane version. + For more information see `upgrading a node pool + `_. :type orchestrator_version: str - :ivar node_image_version: Version of node image. + :ivar node_image_version: The version of node image. :vartype node_image_version: str :param upgrade_settings: Settings for upgrading the agentpool. :type upgrade_settings: - ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. + ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state. :vartype provisioning_state: str :ivar power_state: Describes whether the Agent Pool is Running or Stopped. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState - :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets - AgentPoolType. + :vartype power_state: ~azure.mgmt.containerservice.v2021_07_01.models.PowerState + :param availability_zones: The list of Availability zones to use for nodes. This can only be + specified if the AgentPoolType property is 'VirtualMachineScaleSets'. :type availability_zones: list[str] - :param enable_node_public_ip: Enable public IP for nodes. + :param enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their + own dedicated public IP addresses. A common scenario is for gaming workloads, where a console + needs to make a direct connection to a cloud virtual machine to minimize hops. For more + information see `assigning a public IP per node + `_. + The default is false. :type enable_node_public_ip: bool - :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this - Public IP Prefix. + :param node_public_ip_prefix_id: This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}. :type node_public_ip_prefix_id: str - :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set - priority. Default to regular. Possible values include: "Spot", "Regular". Default value: - "Regular". + :param scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the + default is 'Regular'. Possible values include: "Spot", "Regular". Default value: "Regular". :type scale_set_priority: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority - :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy - for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetPriority + :param scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is + 'Spot'. If not specified, the default is 'Delete'. Possible values include: "Delete", "Deallocate". Default value: "Delete". :type scale_set_eviction_policy: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy - :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to - pay in US Dollars. Possible values are any decimal value greater than zero or -1 which - indicates default price to be up-to on-demand. + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetEvictionPolicy + :param spot_max_price: Possible values are any decimal value greater than zero or -1 which + indicates the willingness to pay any on-demand price. For more details on spot pricing, see + `spot VMs pricing `_. :type spot_max_price: float - :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine - scale set. + :param tags: A set of tags. The tags to be persisted on the agent pool virtual machine scale + set. :type tags: dict[str, str] - :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :param node_labels: The node labels to be persisted across all nodes in agent pool. :type node_labels: dict[str, str] - :param node_taints: Taints added to new nodes during node pool create and scale. For example, - key=value:NoSchedule. + :param node_taints: The taints added to new nodes during node pool create and scale. For + example, key=value:NoSchedule. :type node_taints: list[str] :param proximity_placement_group_id: The ID for Proximity Placement Group. :type proximity_placement_group_id: str - :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. - :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig - :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. - :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig - :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :param kubelet_config: The Kubelet configuration on the agent pool nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_07_01.models.KubeletConfig + :param linux_os_config: The OS configuration of Linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_07_01.models.LinuxOSConfig + :param enable_encryption_at_host: This is only supported on certain VM sizes and in certain + Azure regions. For more information, see: + https://docs.microsoft.com/azure/aks/enable-host-encryption. :type enable_encryption_at_host: bool :param enable_ultra_ssd: Whether to enable UltraSSD. :type enable_ultra_ssd: bool - :param enable_fips: Whether to use FIPS enabled OS. + :param enable_fips: See `Add a FIPS-enabled node pool + `_ + for more details. :type enable_fips: bool :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile - for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible - values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + for supported GPU VM SKU. Possible values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". :type gpu_instance_profile: str or - ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + ~azure.mgmt.containerservice.v2021_07_01.models.GPUInstanceProfile """ _validation = { @@ -2114,6 +1921,7 @@ class ManagedClusterAgentPoolProfileProperties(msrest.serialization.Model): 'max_count': {'key': 'maxCount', 'type': 'int'}, 'min_count': {'key': 'minCount', 'type': 'int'}, 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, + 'scale_down_mode': {'key': 'scaleDownMode', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'mode': {'key': 'mode', 'type': 'str'}, 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, @@ -2155,6 +1963,7 @@ def __init__( max_count: Optional[int] = None, min_count: Optional[int] = None, enable_auto_scaling: Optional[bool] = None, + scale_down_mode: Optional[Union[str, "ScaleDownMode"]] = None, type: Optional[Union[str, "AgentPoolType"]] = None, mode: Optional[Union[str, "AgentPoolMode"]] = None, orchestrator_version: Optional[str] = None, @@ -2191,6 +2000,7 @@ def __init__( self.max_count = max_count self.min_count = min_count self.enable_auto_scaling = enable_auto_scaling + self.scale_down_mode = scale_down_mode self.type = type self.mode = mode self.orchestrator_version = orchestrator_version @@ -2227,110 +2037,128 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. :type count: int - :param vm_size: Size of agent VMs. + :param vm_size: VM size availability varies by region. If a node contains insufficient compute + resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted + VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions. :type vm_size: str :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every - machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. :type os_disk_size_gb: int - :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values - are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports - ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults - to 'Managed'. May not be changed after creation. Possible values include: "Managed", - "Ephemeral". - :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType - :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, - container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, - resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". - :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType - :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe - pods. + :param os_disk_type: The default is 'Ephemeral' if the VM supports it and has a cache disk + larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed + after creation. For more information see `Ephemeral OS + `_. Possible values + include: "Managed", "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSDiskType + :param kubelet_disk_type: Determines the placement of emptyDir volumes, container runtime data + root, and Kubelet ephemeral storage. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.KubeletDiskType + :param vnet_subnet_id: If this is not specified, a VNET and subnet will be generated and used. + If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just + nodes. This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type vnet_subnet_id: str - :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :param pod_subnet_id: If omitted, pod IPs are statically assigned on the node subnet (see + vnetSubnetID for more details). This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. :type pod_subnet_id: str - :param max_pods: Maximum number of pods that can run on a node. + :param max_pods: The maximum number of pods that can run on a node. :type max_pods: int - :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to - Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType - :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner - for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", - "CBLMariner". - :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU - :param max_count: Maximum number of nodes for auto-scaling. + :param os_type: The operating system type. The default is Linux. Possible values include: + "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType + :param os_sku: Specifies an OS SKU. This value must not be specified if OSType is Windows. + Possible values include: "Ubuntu", "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSSKU + :param max_count: The maximum number of nodes for auto-scaling. :type max_count: int - :param min_count: Minimum number of nodes for auto-scaling. + :param min_count: The minimum number of nodes for auto-scaling. :type min_count: int :param enable_auto_scaling: Whether to enable auto-scaler. :type enable_auto_scaling: bool - :param type: AgentPoolType represents types of an agent pool. Possible values include: - "VirtualMachineScaleSets", "AvailabilitySet". - :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType - :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + :param scale_down_mode: This also effects the cluster autoscaler behavior. If not specified, it + defaults to Delete. Possible values include: "Delete", "Deallocate". + :type scale_down_mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.ScaleDownMode + :param type: The type of Agent Pool. Possible values include: "VirtualMachineScaleSets", + "AvailabilitySet". + :type type: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolType + :param mode: A cluster must have at least one 'System' Agent Pool at all times. For additional + information on agent pool restrictions and best practices, see: + https://docs.microsoft.com/azure/aks/use-system-pools. Possible values include: "System", "User". - :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode - :param orchestrator_version: Version of orchestrator specified when creating the managed - cluster. + :type mode: str or ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolMode + :param orchestrator_version: As a best practice, you should upgrade all node pools in an AKS + cluster to the same Kubernetes version. The node pool version must have the same major version + as the control plane. The node pool minor version must be within two minor versions of the + control plane version. The node pool version cannot be greater than the control plane version. + For more information see `upgrading a node pool + `_. :type orchestrator_version: str - :ivar node_image_version: Version of node image. + :ivar node_image_version: The version of node image. :vartype node_image_version: str :param upgrade_settings: Settings for upgrading the agentpool. :type upgrade_settings: - ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings - :ivar provisioning_state: The current deployment or provisioning state, which only appears in - the response. + ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state. :vartype provisioning_state: str :ivar power_state: Describes whether the Agent Pool is Running or Stopped. - :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState - :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets - AgentPoolType. + :vartype power_state: ~azure.mgmt.containerservice.v2021_07_01.models.PowerState + :param availability_zones: The list of Availability zones to use for nodes. This can only be + specified if the AgentPoolType property is 'VirtualMachineScaleSets'. :type availability_zones: list[str] - :param enable_node_public_ip: Enable public IP for nodes. + :param enable_node_public_ip: Some scenarios may require nodes in a node pool to receive their + own dedicated public IP addresses. A common scenario is for gaming workloads, where a console + needs to make a direct connection to a cloud virtual machine to minimize hops. For more + information see `assigning a public IP per node + `_. + The default is false. :type enable_node_public_ip: bool - :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this - Public IP Prefix. + :param node_public_ip_prefix_id: This is of the form: + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}. :type node_public_ip_prefix_id: str - :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set - priority. Default to regular. Possible values include: "Spot", "Regular". Default value: - "Regular". + :param scale_set_priority: The Virtual Machine Scale Set priority. If not specified, the + default is 'Regular'. Possible values include: "Spot", "Regular". Default value: "Regular". :type scale_set_priority: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority - :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy - for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetPriority + :param scale_set_eviction_policy: This cannot be specified unless the scaleSetPriority is + 'Spot'. If not specified, the default is 'Delete'. Possible values include: "Delete", "Deallocate". Default value: "Delete". :type scale_set_eviction_policy: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy - :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to - pay in US Dollars. Possible values are any decimal value greater than zero or -1 which - indicates default price to be up-to on-demand. + ~azure.mgmt.containerservice.v2021_07_01.models.ScaleSetEvictionPolicy + :param spot_max_price: Possible values are any decimal value greater than zero or -1 which + indicates the willingness to pay any on-demand price. For more details on spot pricing, see + `spot VMs pricing `_. :type spot_max_price: float - :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine - scale set. + :param tags: A set of tags. The tags to be persisted on the agent pool virtual machine scale + set. :type tags: dict[str, str] - :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :param node_labels: The node labels to be persisted across all nodes in agent pool. :type node_labels: dict[str, str] - :param node_taints: Taints added to new nodes during node pool create and scale. For example, - key=value:NoSchedule. + :param node_taints: The taints added to new nodes during node pool create and scale. For + example, key=value:NoSchedule. :type node_taints: list[str] :param proximity_placement_group_id: The ID for Proximity Placement Group. :type proximity_placement_group_id: str - :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. - :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig - :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. - :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig - :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :param kubelet_config: The Kubelet configuration on the agent pool nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_07_01.models.KubeletConfig + :param linux_os_config: The OS configuration of Linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_07_01.models.LinuxOSConfig + :param enable_encryption_at_host: This is only supported on certain VM sizes and in certain + Azure regions. For more information, see: + https://docs.microsoft.com/azure/aks/enable-host-encryption. :type enable_encryption_at_host: bool :param enable_ultra_ssd: Whether to enable UltraSSD. :type enable_ultra_ssd: bool - :param enable_fips: Whether to use FIPS enabled OS. + :param enable_fips: See `Add a FIPS-enabled node pool + `_ + for more details. :type enable_fips: bool :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile - for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible - values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + for supported GPU VM SKU. Possible values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". :type gpu_instance_profile: str or - ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile - :param name: Required. Unique name of the agent pool profile in the context of the subscription - and resource group. + ~azure.mgmt.containerservice.v2021_07_01.models.GPUInstanceProfile + :param name: Required. Windows agent pool names must be 6 characters or less. :type name: str """ @@ -2356,6 +2184,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): 'max_count': {'key': 'maxCount', 'type': 'int'}, 'min_count': {'key': 'minCount', 'type': 'int'}, 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, + 'scale_down_mode': {'key': 'scaleDownMode', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'mode': {'key': 'mode', 'type': 'str'}, 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, @@ -2399,6 +2228,7 @@ def __init__( max_count: Optional[int] = None, min_count: Optional[int] = None, enable_auto_scaling: Optional[bool] = None, + scale_down_mode: Optional[Union[str, "ScaleDownMode"]] = None, type: Optional[Union[str, "AgentPoolType"]] = None, mode: Optional[Union[str, "AgentPoolMode"]] = None, orchestrator_version: Optional[str] = None, @@ -2421,18 +2251,24 @@ def __init__( gpu_instance_profile: Optional[Union[str, "GPUInstanceProfile"]] = None, **kwargs ): - super(ManagedClusterAgentPoolProfile, self).__init__(count=count, vm_size=vm_size, os_disk_size_gb=os_disk_size_gb, os_disk_type=os_disk_type, kubelet_disk_type=kubelet_disk_type, vnet_subnet_id=vnet_subnet_id, pod_subnet_id=pod_subnet_id, max_pods=max_pods, os_type=os_type, os_sku=os_sku, max_count=max_count, min_count=min_count, enable_auto_scaling=enable_auto_scaling, type=type, mode=mode, orchestrator_version=orchestrator_version, upgrade_settings=upgrade_settings, availability_zones=availability_zones, enable_node_public_ip=enable_node_public_ip, node_public_ip_prefix_id=node_public_ip_prefix_id, scale_set_priority=scale_set_priority, scale_set_eviction_policy=scale_set_eviction_policy, spot_max_price=spot_max_price, tags=tags, node_labels=node_labels, node_taints=node_taints, proximity_placement_group_id=proximity_placement_group_id, kubelet_config=kubelet_config, linux_os_config=linux_os_config, enable_encryption_at_host=enable_encryption_at_host, enable_ultra_ssd=enable_ultra_ssd, enable_fips=enable_fips, gpu_instance_profile=gpu_instance_profile, **kwargs) + super(ManagedClusterAgentPoolProfile, self).__init__(count=count, vm_size=vm_size, os_disk_size_gb=os_disk_size_gb, os_disk_type=os_disk_type, kubelet_disk_type=kubelet_disk_type, vnet_subnet_id=vnet_subnet_id, pod_subnet_id=pod_subnet_id, max_pods=max_pods, os_type=os_type, os_sku=os_sku, max_count=max_count, min_count=min_count, enable_auto_scaling=enable_auto_scaling, scale_down_mode=scale_down_mode, type=type, mode=mode, orchestrator_version=orchestrator_version, upgrade_settings=upgrade_settings, availability_zones=availability_zones, enable_node_public_ip=enable_node_public_ip, node_public_ip_prefix_id=node_public_ip_prefix_id, scale_set_priority=scale_set_priority, scale_set_eviction_policy=scale_set_eviction_policy, spot_max_price=spot_max_price, tags=tags, node_labels=node_labels, node_taints=node_taints, proximity_placement_group_id=proximity_placement_group_id, kubelet_config=kubelet_config, linux_os_config=linux_os_config, enable_encryption_at_host=enable_encryption_at_host, enable_ultra_ssd=enable_ultra_ssd, enable_fips=enable_fips, gpu_instance_profile=gpu_instance_profile, **kwargs) self.name = name class ManagedClusterAPIServerAccessProfile(msrest.serialization.Model): """Access profile for managed cluster API server. - :param authorized_ip_ranges: Authorized IP Ranges to kubernetes API server. + :param authorized_ip_ranges: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. + This feature is not compatible with clusters that use Public IP Per Node, or clusters that are + using a Basic Load Balancer. For more information see `API server authorized IP ranges + `_. :type authorized_ip_ranges: list[str] - :param enable_private_cluster: Whether to create the cluster as a private cluster or not. + :param enable_private_cluster: For more details, see `Creating a private AKS cluster + `_. :type enable_private_cluster: bool - :param private_dns_zone: Private dns zone mode for private cluster. + :param private_dns_zone: The default is System. For more details see `configure private DNS + zone `_. + Allowed values are 'system' and 'none'. :type private_dns_zone: str :param enable_private_cluster_public_fqdn: Whether to create additional public FQDN for private cluster or not. @@ -2465,9 +2301,10 @@ def __init__( class ManagedClusterAutoUpgradeProfile(msrest.serialization.Model): """Auto upgrade profile for a managed cluster. - :param upgrade_channel: upgrade channel for auto upgrade. Possible values include: "rapid", - "stable", "patch", "node-image", "none". - :type upgrade_channel: str or ~azure.mgmt.containerservice.v2021_05_01.models.UpgradeChannel + :param upgrade_channel: For more information see `setting the AKS cluster auto-upgrade channel + `_. Possible + values include: "rapid", "stable", "patch", "node-image", "none". + :type upgrade_channel: str or ~azure.mgmt.containerservice.v2021_07_01.models.UpgradeChannel """ _attribute_map = { @@ -2485,13 +2322,13 @@ def __init__( class ManagedClusterHTTPProxyConfig(msrest.serialization.Model): - """Configurations for provisioning the cluster with HTTP proxy servers. + """Cluster HTTP proxy configuration. - :param http_proxy: HTTP proxy server endpoint to use. + :param http_proxy: The HTTP proxy server endpoint to use. :type http_proxy: str - :param https_proxy: HTTPS proxy server endpoint to use. + :param https_proxy: The HTTPS proxy server endpoint to use. :type https_proxy: str - :param no_proxy: Endpoints that should not go through proxy. + :param no_proxy: The endpoints that should not go through proxy. :type no_proxy: list[str] :param trusted_ca: Alternative CA cert to use for connecting to proxy servers. :type trusted_ca: str @@ -2531,18 +2368,14 @@ class ManagedClusterIdentity(msrest.serialization.Model): :ivar tenant_id: The tenant id of the system assigned identity which is used by master components. :vartype tenant_id: str - :param type: The type of identity used for the managed cluster. Type 'SystemAssigned' will use - an implicitly created identity in master components and an auto-created user assigned identity - in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, - service principal will be used instead. Possible values include: "SystemAssigned", - "UserAssigned", "None". - :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.ResourceIdentityType - :param user_assigned_identities: The user identity associated with the managed cluster. This - identity will be used in control plane and only one user assigned identity is allowed. The user - identity dictionary key references will be ARM resource ids in the form: + :param type: For more information see `use managed identities in AKS + `_. Possible values include: + "SystemAssigned", "UserAssigned", "None". + :type type: str or ~azure.mgmt.containerservice.v2021_07_01.models.ResourceIdentityType + :param user_assigned_identities: The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. :type user_assigned_identities: dict[str, - ~azure.mgmt.containerservice.v2021_05_01.models.Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties] + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedServiceIdentityUserAssignedIdentitiesValue] """ _validation = { @@ -2554,14 +2387,14 @@ class ManagedClusterIdentity(msrest.serialization.Model): 'principal_id': {'key': 'principalId', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties}'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ManagedServiceIdentityUserAssignedIdentitiesValue}'}, } def __init__( self, *, type: Optional[Union[str, "ResourceIdentityType"]] = None, - user_assigned_identities: Optional[Dict[str, "Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties"]] = None, + user_assigned_identities: Optional[Dict[str, "ManagedServiceIdentityUserAssignedIdentitiesValue"]] = None, **kwargs ): super(ManagedClusterIdentity, self).__init__(**kwargs) @@ -2577,7 +2410,7 @@ class ManagedClusterListResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :param value: The list of managed clusters. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster] :ivar next_link: The URL to get the next set of managed cluster results. :vartype next_link: str """ @@ -2607,24 +2440,24 @@ class ManagedClusterLoadBalancerProfile(msrest.serialization.Model): :param managed_outbound_i_ps: Desired managed outbound IPs for the cluster load balancer. :type managed_outbound_i_ps: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs :param outbound_ip_prefixes: Desired outbound IP Prefix resources for the cluster load balancer. :type outbound_ip_prefixes: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileOutboundIPPrefixes + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterLoadBalancerProfileOutboundIPPrefixes :param outbound_i_ps: Desired outbound IP resources for the cluster load balancer. :type outbound_i_ps: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileOutboundIPs + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterLoadBalancerProfileOutboundIPs :param effective_outbound_i_ps: The effective outbound IP resources of the cluster load balancer. :type effective_outbound_i_ps: - list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] - :param allocated_outbound_ports: Desired number of allocated SNAT ports per VM. Allowed values - must be in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure - dynamically allocating ports. + list[~azure.mgmt.containerservice.v2021_07_01.models.ResourceReference] + :param allocated_outbound_ports: The desired number of allocated SNAT ports per VM. Allowed + values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in + Azure dynamically allocating ports. :type allocated_outbound_ports: int :param idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values - must be in the range of 4 to 120 (inclusive). The default value is 30 minutes. + are in the range of 4 to 120 (inclusive). The default value is 30 minutes. :type idle_timeout_in_minutes: int """ @@ -2665,7 +2498,7 @@ def __init__( class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.Model): """Desired managed outbound IPs for the cluster load balancer. - :param count: Desired number of outbound IP created/managed by Azure for the cluster load + :param count: The desired number of outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. :type count: int """ @@ -2693,7 +2526,7 @@ class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.M :param public_ip_prefixes: A list of public IP prefix resources. :type public_ip_prefixes: - list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + list[~azure.mgmt.containerservice.v2021_07_01.models.ResourceReference] """ _attribute_map = { @@ -2714,7 +2547,7 @@ class ManagedClusterLoadBalancerProfileOutboundIPs(msrest.serialization.Model): """Desired outbound IP resources for the cluster load balancer. :param public_i_ps: A list of public IP resources. - :type public_i_ps: list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + :type public_i_ps: list[~azure.mgmt.containerservice.v2021_07_01.models.ResourceReference] """ _attribute_map = { @@ -2731,28 +2564,93 @@ def __init__( self.public_i_ps = public_i_ps +class ManagedClusterManagedOutboundIPProfile(msrest.serialization.Model): + """Profile of the managed outbound IP resources of the managed cluster. + + :param count: The desired number of outbound IPs created/managed by Azure. Allowed values must + be in the range of 1 to 16 (inclusive). The default value is 1. + :type count: int + """ + + _validation = { + 'count': {'maximum': 16, 'minimum': 1}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + } + + def __init__( + self, + *, + count: Optional[int] = 1, + **kwargs + ): + super(ManagedClusterManagedOutboundIPProfile, self).__init__(**kwargs) + self.count = count + + +class ManagedClusterNATGatewayProfile(msrest.serialization.Model): + """Profile of the managed cluster NAT gateway. + + :param managed_outbound_ip_profile: Profile of the managed outbound IP resources of the cluster + NAT gateway. + :type managed_outbound_ip_profile: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterManagedOutboundIPProfile + :param effective_outbound_i_ps: The effective outbound IP resources of the cluster NAT gateway. + :type effective_outbound_i_ps: + list[~azure.mgmt.containerservice.v2021_07_01.models.ResourceReference] + :param idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values + are in the range of 4 to 120 (inclusive). The default value is 4 minutes. + :type idle_timeout_in_minutes: int + """ + + _validation = { + 'idle_timeout_in_minutes': {'maximum': 120, 'minimum': 4}, + } + + _attribute_map = { + 'managed_outbound_ip_profile': {'key': 'managedOutboundIPProfile', 'type': 'ManagedClusterManagedOutboundIPProfile'}, + 'effective_outbound_i_ps': {'key': 'effectiveOutboundIPs', 'type': '[ResourceReference]'}, + 'idle_timeout_in_minutes': {'key': 'idleTimeoutInMinutes', 'type': 'int'}, + } + + def __init__( + self, + *, + managed_outbound_ip_profile: Optional["ManagedClusterManagedOutboundIPProfile"] = None, + effective_outbound_i_ps: Optional[List["ResourceReference"]] = None, + idle_timeout_in_minutes: Optional[int] = 4, + **kwargs + ): + super(ManagedClusterNATGatewayProfile, self).__init__(**kwargs) + self.managed_outbound_ip_profile = managed_outbound_ip_profile + self.effective_outbound_i_ps = effective_outbound_i_ps + self.idle_timeout_in_minutes = idle_timeout_in_minutes + + class ManagedClusterPodIdentity(msrest.serialization.Model): - """ManagedClusterPodIdentity. + """Details about the pod identity assigned to the Managed Cluster. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :param name: Required. Name of the pod identity. + :param name: Required. The name of the pod identity. :type name: str - :param namespace: Required. Namespace of the pod identity. + :param namespace: Required. The namespace of the pod identity. :type namespace: str - :param binding_selector: Binding selector to use for the AzureIdentityBinding resource. + :param binding_selector: The binding selector to use for the AzureIdentityBinding resource. :type binding_selector: str - :param identity: Required. Information of the user assigned identity. - :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.UserAssignedIdentity + :param identity: Required. The user assigned identity details. + :type identity: ~azure.mgmt.containerservice.v2021_07_01.models.UserAssignedIdentity :ivar provisioning_state: The current provisioning state of the pod identity. Possible values include: "Assigned", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProvisioningState + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningState :ivar provisioning_info: :vartype provisioning_info: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProvisioningInfo + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningInfo """ _validation = { @@ -2791,15 +2689,15 @@ def __init__( class ManagedClusterPodIdentityException(msrest.serialization.Model): - """ManagedClusterPodIdentityException. + """See `disable AAD Pod Identity for a specific Pod/Application `_ for more details. All required parameters must be populated in order to send to Azure. - :param name: Required. Name of the pod identity exception. + :param name: Required. The name of the pod identity exception. :type name: str - :param namespace: Required. Namespace of the pod identity exception. + :param namespace: Required. The namespace of the pod identity exception. :type namespace: str - :param pod_labels: Required. Pod labels to match. + :param pod_labels: Required. The pod labels to match. :type pod_labels: dict[str, str] """ @@ -2830,19 +2728,22 @@ def __init__( class ManagedClusterPodIdentityProfile(msrest.serialization.Model): - """ManagedClusterPodIdentityProfile. + """See `use AAD pod identity `_ for more details on pod identity integration. :param enabled: Whether the pod identity addon is enabled. :type enabled: bool - :param allow_network_plugin_kubenet: Customer consent for enabling AAD pod identity addon in - cluster using Kubenet network plugin. + :param allow_network_plugin_kubenet: Running in Kubenet is disabled by default due to the + security related nature of AAD Pod Identity and the risks of IP spoofing. See `using Kubenet + network plugin with AAD Pod Identity + `_ + for more information. :type allow_network_plugin_kubenet: bool - :param user_assigned_identities: User assigned pod identity settings. + :param user_assigned_identities: The pod identities to use in the cluster. :type user_assigned_identities: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentity] - :param user_assigned_identity_exceptions: User assigned pod identity exception settings. + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentity] + :param user_assigned_identity_exceptions: The pod identity exceptions to allow. :type user_assigned_identity_exceptions: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityException] + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityException] """ _attribute_map = { @@ -2868,21 +2769,84 @@ def __init__( self.user_assigned_identity_exceptions = user_assigned_identity_exceptions +class ManagedClusterPodIdentityProvisioningError(msrest.serialization.Model): + """An error response from the pod identity provisioning. + + :param error: Details about the error. + :type error: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningErrorBody + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ManagedClusterPodIdentityProvisioningErrorBody'}, + } + + def __init__( + self, + *, + error: Optional["ManagedClusterPodIdentityProvisioningErrorBody"] = None, + **kwargs + ): + super(ManagedClusterPodIdentityProvisioningError, self).__init__(**kwargs) + self.error = error + + +class ManagedClusterPodIdentityProvisioningErrorBody(msrest.serialization.Model): + """An error response from the pod identity provisioning. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param target: The target of the particular error. For example, the name of the property in + error. + :type target: str + :param details: A list of additional details about the error. + :type details: + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ManagedClusterPodIdentityProvisioningErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["ManagedClusterPodIdentityProvisioningErrorBody"]] = None, + **kwargs + ): + super(ManagedClusterPodIdentityProvisioningErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + class ManagedClusterPodIdentityProvisioningInfo(msrest.serialization.Model): """ManagedClusterPodIdentityProvisioningInfo. :param error: Pod identity assignment error (if any). - :type error: ~azure.mgmt.containerservice.v2021_05_01.models.CloudError + :type error: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPodIdentityProvisioningError """ _attribute_map = { - 'error': {'key': 'error', 'type': 'CloudError'}, + 'error': {'key': 'error', 'type': 'ManagedClusterPodIdentityProvisioningError'}, } def __init__( self, *, - error: Optional["CloudError"] = None, + error: Optional["ManagedClusterPodIdentityProvisioningError"] = None, **kwargs ): super(ManagedClusterPodIdentityProvisioningInfo, self).__init__(**kwargs) @@ -2894,16 +2858,16 @@ class ManagedClusterPoolUpgradeProfile(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param kubernetes_version: Required. Kubernetes version (major, minor, patch). + :param kubernetes_version: Required. The Kubernetes version (major.minor.patch). :type kubernetes_version: str - :param name: Pool name. + :param name: The Agent Pool name. :type name: str - :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. - Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". - :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_type: Required. The operating system type. The default is Linux. Possible values + include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.OSType :param upgrades: List of orchestrator types and versions available for upgrade. :type upgrades: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] """ _validation = { @@ -2937,9 +2901,9 @@ def __init__( class ManagedClusterPoolUpgradeProfileUpgradesItem(msrest.serialization.Model): """ManagedClusterPoolUpgradeProfileUpgradesItem. - :param kubernetes_version: Kubernetes version (major, minor, patch). + :param kubernetes_version: The Kubernetes version (major.minor.patch). :type kubernetes_version: str - :param is_preview: Whether Kubernetes version is currently in preview. + :param is_preview: Whether the Kubernetes version is currently in preview. :type is_preview: bool """ @@ -2963,39 +2927,52 @@ def __init__( class ManagedClusterPropertiesAutoScalerProfile(msrest.serialization.Model): """Parameters to be applied to the cluster-autoscaler when enabled. - :param balance_similar_node_groups: + :param balance_similar_node_groups: Valid values are 'true' and 'false'. :type balance_similar_node_groups: str - :param expander: Possible values include: "least-waste", "most-pods", "priority", "random". - :type expander: str or ~azure.mgmt.containerservice.v2021_05_01.models.Expander - :param max_empty_bulk_delete: + :param expander: If not specified, the default is 'random'. See `expanders + `_ + for more information. Possible values include: "least-waste", "most-pods", "priority", + "random". + :type expander: str or ~azure.mgmt.containerservice.v2021_07_01.models.Expander + :param max_empty_bulk_delete: The default is 10. :type max_empty_bulk_delete: str - :param max_graceful_termination_sec: + :param max_graceful_termination_sec: The default is 600. :type max_graceful_termination_sec: str - :param max_node_provision_time: + :param max_node_provision_time: The default is '15m'. Values must be an integer followed by an + 'm'. No unit of time other than minutes (m) is supported. :type max_node_provision_time: str - :param max_total_unready_percentage: + :param max_total_unready_percentage: The default is 45. The maximum is 100 and the minimum is + 0. :type max_total_unready_percentage: str - :param new_pod_scale_up_delay: + :param new_pod_scale_up_delay: For scenarios like burst/batch scale where you don't want CA to + act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore + unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer + followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). :type new_pod_scale_up_delay: str - :param ok_total_unready_count: + :param ok_total_unready_count: This must be an integer. The default is 3. :type ok_total_unready_count: str - :param scan_interval: + :param scan_interval: The default is '10'. Values must be an integer number of seconds. :type scan_interval: str - :param scale_down_delay_after_add: + :param scale_down_delay_after_add: The default is '10m'. Values must be an integer followed by + an 'm'. No unit of time other than minutes (m) is supported. :type scale_down_delay_after_add: str - :param scale_down_delay_after_delete: + :param scale_down_delay_after_delete: The default is the scan-interval. Values must be an + integer followed by an 'm'. No unit of time other than minutes (m) is supported. :type scale_down_delay_after_delete: str - :param scale_down_delay_after_failure: + :param scale_down_delay_after_failure: The default is '3m'. Values must be an integer followed + by an 'm'. No unit of time other than minutes (m) is supported. :type scale_down_delay_after_failure: str - :param scale_down_unneeded_time: + :param scale_down_unneeded_time: The default is '10m'. Values must be an integer followed by an + 'm'. No unit of time other than minutes (m) is supported. :type scale_down_unneeded_time: str - :param scale_down_unready_time: + :param scale_down_unready_time: The default is '20m'. Values must be an integer followed by an + 'm'. No unit of time other than minutes (m) is supported. :type scale_down_unready_time: str - :param scale_down_utilization_threshold: + :param scale_down_utilization_threshold: The default is '0.5'. :type scale_down_utilization_threshold: str - :param skip_nodes_with_local_storage: + :param skip_nodes_with_local_storage: The default is true. :type skip_nodes_with_local_storage: str - :param skip_nodes_with_system_pods: + :param skip_nodes_with_system_pods: The default is true. :type skip_nodes_with_system_pods: str """ @@ -3061,6 +3038,56 @@ def __init__( self.skip_nodes_with_system_pods = skip_nodes_with_system_pods +class ManagedClusterSecurityProfile(msrest.serialization.Model): + """Security profile for the container service cluster. + + :param azure_defender: Azure Defender settings for the security profile. + :type azure_defender: + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSecurityProfileAzureDefender + """ + + _attribute_map = { + 'azure_defender': {'key': 'azureDefender', 'type': 'ManagedClusterSecurityProfileAzureDefender'}, + } + + def __init__( + self, + *, + azure_defender: Optional["ManagedClusterSecurityProfileAzureDefender"] = None, + **kwargs + ): + super(ManagedClusterSecurityProfile, self).__init__(**kwargs) + self.azure_defender = azure_defender + + +class ManagedClusterSecurityProfileAzureDefender(msrest.serialization.Model): + """Azure Defender settings for the security profile. + + :param enabled: Whether to enable Azure Defender. + :type enabled: bool + :param log_analytics_workspace_resource_id: Resource ID of the Log Analytics workspace to be + associated with Azure Defender. When Azure Defender is enabled, this field is required and + must be a valid workspace resource ID. When Azure Defender is disabled, leave the field empty. + :type log_analytics_workspace_resource_id: str + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'log_analytics_workspace_resource_id': {'key': 'logAnalyticsWorkspaceResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + enabled: Optional[bool] = None, + log_analytics_workspace_resource_id: Optional[str] = None, + **kwargs + ): + super(ManagedClusterSecurityProfileAzureDefender, self).__init__(**kwargs) + self.enabled = enabled + self.log_analytics_workspace_resource_id = log_analytics_workspace_resource_id + + class ManagedClusterServicePrincipalProfile(msrest.serialization.Model): """Information about a service principal identity for the cluster to use for manipulating Azure APIs. @@ -3094,12 +3121,14 @@ def __init__( class ManagedClusterSKU(msrest.serialization.Model): - """ManagedClusterSKU. - - :param name: Name of a managed cluster SKU. Possible values include: "Basic". - :type name: str or ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKUName - :param tier: Tier of a managed cluster SKU. Possible values include: "Paid", "Free". - :type tier: str or ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKUTier + """The SKU of a Managed Cluster. + + :param name: The name of a managed cluster SKU. Possible values include: "Basic". + :type name: str or ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSKUName + :param tier: If not specified, the default is 'Free'. See `uptime SLA + `_ for more details. Possible values include: + "Paid", "Free". + :type tier: str or ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterSKUTier """ _attribute_map = { @@ -3126,19 +3155,19 @@ class ManagedClusterUpgradeProfile(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :ivar id: Id of upgrade profile. + :ivar id: The ID of the upgrade profile. :vartype id: str - :ivar name: Name of upgrade profile. + :ivar name: The name of the upgrade profile. :vartype name: str - :ivar type: Type of upgrade profile. + :ivar type: The type of the upgrade profile. :vartype type: str :param control_plane_profile: Required. The list of available upgrade versions for the control plane. :type control_plane_profile: - ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfile + ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPoolUpgradeProfile :param agent_pool_profiles: Required. The list of available upgrade versions for agent pools. :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfile] + list[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterPoolUpgradeProfile] """ _validation = { @@ -3173,12 +3202,12 @@ def __init__( class ManagedClusterWindowsProfile(msrest.serialization.Model): - """Profile for Windows VMs in the container service cluster. + """Profile for Windows VMs in the managed cluster. All required parameters must be populated in order to send to Azure. :param admin_username: Required. Specifies the name of the administrator account. - :code:`
`:code:`
` **restriction:** Cannot end in "." :code:`
`:code:`
` + :code:`
`:code:`
` **Restriction:** Cannot end in "." :code:`
`:code:`
` **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", @@ -3193,10 +3222,12 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!". :type admin_password: str - :param license_type: The licenseType to use for Windows VMs. Windows_Server is used to enable - Azure Hybrid User Benefits for Windows VMs. Possible values include: "None", "Windows_Server". - :type license_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.LicenseType - :param enable_csi_proxy: Whether to enable CSI proxy. + :param license_type: The license type to use for Windows VMs. See `Azure Hybrid User Benefits + `_ for more details. Possible values + include: "None", "Windows_Server". + :type license_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.LicenseType + :param enable_csi_proxy: For more details on CSI proxy, see the `CSI proxy GitHub repo + `_. :type enable_csi_proxy: bool """ @@ -3227,13 +3258,43 @@ def __init__( self.enable_csi_proxy = enable_csi_proxy +class ManagedServiceIdentityUserAssignedIdentitiesValue(msrest.serialization.Model): + """ManagedServiceIdentityUserAssignedIdentitiesValue. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of user assigned identity. + :vartype principal_id: str + :ivar client_id: The client id of user assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedServiceIdentityUserAssignedIdentitiesValue, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + class OperationListResult(msrest.serialization.Model): - """The List Compute Operation operation response. + """The List Operation response. Variables are only populated by the server, and will be ignored when sending a request. - :ivar value: The list of compute operations. - :vartype value: list[~azure.mgmt.containerservice.v2021_05_01.models.OperationValue] + :ivar value: The list of operations. + :vartype value: list[~azure.mgmt.containerservice.v2021_07_01.models.OperationValue] """ _validation = { @@ -3253,15 +3314,15 @@ def __init__( class OperationValue(msrest.serialization.Model): - """Describes the properties of a Compute Operation value. + """Describes the properties of a Operation value. Variables are only populated by the server, and will be ignored when sending a request. - :ivar origin: The origin of the compute operation. + :ivar origin: The origin of the operation. :vartype origin: str - :ivar name: The name of the compute operation. + :ivar name: The name of the operation. :vartype name: str - :ivar operation: The display name of the compute operation. + :ivar operation: The display name of the operation. :vartype operation: str :ivar resource: The display name of the resource the operation applies to. :vartype resource: str @@ -3309,15 +3370,15 @@ class OSOptionProfile(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :ivar id: Id of the OS option profile. + :ivar id: The ID of the OS option resource. :vartype id: str - :ivar name: Name of the OS option profile. + :ivar name: The name of the OS option resource. :vartype name: str - :ivar type: Type of the OS option profile. + :ivar type: The type of the OS option resource. :vartype type: str - :param os_option_property_list: Required. The list of OS option properties. + :param os_option_property_list: Required. The list of OS options. :type os_option_property_list: - list[~azure.mgmt.containerservice.v2021_05_01.models.OSOptionProperty] + list[~azure.mgmt.containerservice.v2021_07_01.models.OSOptionProperty] """ _validation = { @@ -3352,9 +3413,9 @@ class OSOptionProperty(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param os_type: Required. OS type. + :param os_type: Required. The OS type. :type os_type: str - :param enable_fips_image: Required. Whether FIPS image is enabled. + :param enable_fips_image: Required. Whether the image is FIPS-enabled. :type enable_fips_image: bool """ @@ -3387,7 +3448,7 @@ class OutboundEnvironmentEndpoint(msrest.serialization.Model): azure-resource-management, apiserver, etc. :type category: str :param endpoints: The endpoints that AKS agent nodes connect to. - :type endpoints: list[~azure.mgmt.containerservice.v2021_05_01.models.EndpointDependency] + :type endpoints: list[~azure.mgmt.containerservice.v2021_07_01.models.EndpointDependency] """ _attribute_map = { @@ -3415,7 +3476,7 @@ class OutboundEnvironmentEndpointCollection(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param value: Required. Collection of resources. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.OutboundEnvironmentEndpoint] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.OutboundEnvironmentEndpoint] :ivar next_link: Link to next page of resources. :vartype next_link: str """ @@ -3446,7 +3507,7 @@ class PowerState(msrest.serialization.Model): :param code: Tells whether the cluster is Running or Stopped. Possible values include: "Running", "Stopped". - :type code: str or ~azure.mgmt.containerservice.v2021_05_01.models.Code + :type code: str or ~azure.mgmt.containerservice.v2021_07_01.models.Code """ _attribute_map = { @@ -3466,7 +3527,7 @@ def __init__( class PrivateEndpoint(msrest.serialization.Model): """Private endpoint which a connection belongs to. - :param id: The resource Id for private endpoint. + :param id: The resource ID of the private endpoint. :type id: str """ @@ -3498,13 +3559,13 @@ class PrivateEndpointConnection(msrest.serialization.Model): :ivar provisioning_state: The current provisioning state. Possible values include: "Succeeded", "Creating", "Deleting", "Failed". :vartype provisioning_state: str or - ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnectionProvisioningState + ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnectionProvisioningState :param private_endpoint: The resource of private endpoint. - :type private_endpoint: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpoint + :type private_endpoint: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpoint :param private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. :type private_link_service_connection_state: - ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkServiceConnectionState """ _validation = { @@ -3543,7 +3604,7 @@ class PrivateEndpointConnectionListResult(msrest.serialization.Model): """A list of private endpoint connections. :param value: The collection value. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnection] """ _attribute_map = { @@ -3573,7 +3634,7 @@ class PrivateLinkResource(msrest.serialization.Model): :type type: str :param group_id: The group ID of the resource. :type group_id: str - :param required_members: RequiredMembers of the resource. + :param required_members: The RequiredMembers of the resource. :type required_members: list[str] :ivar private_link_service_id: The private link service ID of the resource, this field is exposed only to NRP internally. @@ -3616,7 +3677,7 @@ class PrivateLinkResourcesListResult(msrest.serialization.Model): """A list of private link resources. :param value: The collection value. - :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] + :type value: list[~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResource] """ _attribute_map = { @@ -3638,7 +3699,7 @@ class PrivateLinkServiceConnectionState(msrest.serialization.Model): :param status: The private link service connection status. Possible values include: "Pending", "Approved", "Rejected", "Disconnected". - :type status: str or ~azure.mgmt.containerservice.v2021_05_01.models.ConnectionStatus + :type status: str or ~azure.mgmt.containerservice.v2021_07_01.models.ConnectionStatus :param description: The private link service connection description. :type description: str """ @@ -3682,13 +3743,13 @@ def __init__( class RunCommandRequest(msrest.serialization.Model): - """run command request. + """A run command request. All required parameters must be populated in order to send to Azure. - :param command: Required. command to run. + :param command: Required. The command to run. :type command: str - :param context: base64 encoded zip file, contains files required by the command. + :param context: A base64 encoded zip file containing the files required by the command. :type context: str :param cluster_token: AuthToken issued for AKS AAD Server App. :type cluster_token: str @@ -3723,19 +3784,19 @@ class RunCommandResult(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar id: command id. + :ivar id: The command id. :vartype id: str :ivar provisioning_state: provisioning State. :vartype provisioning_state: str - :ivar exit_code: exit code of the command. + :ivar exit_code: The exit code of the command. :vartype exit_code: int - :ivar started_at: time when the command started. + :ivar started_at: The time when the command started. :vartype started_at: ~datetime.datetime - :ivar finished_at: time when the command finished. + :ivar finished_at: The time when the command finished. :vartype finished_at: ~datetime.datetime - :ivar logs: command output. + :ivar logs: The command output. :vartype logs: str - :ivar reason: explain why provisioningState is set to failed (if so). + :ivar reason: An explanation of why provisioningState is set to failed (if so). :vartype reason: str """ @@ -3936,15 +3997,15 @@ class SystemData(msrest.serialization.Model): :type created_by: str :param created_by_type: The type of identity that created the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.CreatedByType - :param created_at: The timestamp of resource creation (UTC). + :type created_by_type: str or ~azure.mgmt.containerservice.v2021_07_01.models.CreatedByType + :param created_at: The UTC timestamp of resource creation. :type created_at: ~datetime.datetime :param last_modified_by: The identity that last modified the resource. :type last_modified_by: str :param last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". :type last_modified_by_type: str or - ~azure.mgmt.containerservice.v2021_05_01.models.CreatedByType + ~azure.mgmt.containerservice.v2021_07_01.models.CreatedByType :param last_modified_at: The type of identity that last modified the resource. :type last_modified_at: ~datetime.datetime """ @@ -4002,10 +4063,12 @@ def __init__( class TimeInWeek(msrest.serialization.Model): """Time in a week. - :param day: A day in a week. Possible values include: "Sunday", "Monday", "Tuesday", + :param day: The day of the week. Possible values include: "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday". - :type day: str or ~azure.mgmt.containerservice.v2021_05_01.models.WeekDay - :param hour_slots: hour slots in a day. + :type day: str or ~azure.mgmt.containerservice.v2021_07_01.models.WeekDay + :param hour_slots: Each integer hour represents a time range beginning at 0m after the hour + ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 + UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range. :type hour_slots: list[int] """ @@ -4027,7 +4090,7 @@ def __init__( class TimeSpan(msrest.serialization.Model): - """The time span with start and end properties. + """For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. :param start: The start of a time span. :type start: ~datetime.datetime diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/__init__.py old mode 100755 new mode 100644 similarity index 100% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/__init__.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/__init__.py diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_agent_pools_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_agent_pools_operations.py old mode 100755 new mode 100644 similarity index 95% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_agent_pools_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_agent_pools_operations.py index 76b28d7fd51..608f1f9fe7c --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_agent_pools_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_agent_pools_operations.py @@ -32,7 +32,7 @@ class AgentPoolsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -56,8 +56,7 @@ def list( # type: (...) -> Iterable["_models.AgentPoolListResult"] """Gets a list of agent pools in the specified managed cluster. - Gets a list of agent pools in the specified managed cluster. The operation returns properties - of each agent pool. + Gets a list of agent pools in the specified managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -65,7 +64,7 @@ def list( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AgentPoolListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolListResult"] @@ -73,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -133,9 +132,9 @@ def get( **kwargs # type: Any ): # type: (...) -> "_models.AgentPool" - """Gets the agent pool. + """Gets the specified managed cluster agent pool. - Gets the details of the agent pool by managed cluster and resource group. + Gets the specified managed cluster agent pool. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -145,7 +144,7 @@ def get( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AgentPool, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.AgentPool :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] @@ -153,7 +152,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -204,7 +203,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -259,7 +258,7 @@ def begin_create_or_update( **kwargs # type: Any ): # type: (...) -> LROPoller["_models.AgentPool"] - """Creates or updates an agent pool. + """Creates or updates an agent pool in the specified managed cluster. Creates or updates an agent pool in the specified managed cluster. @@ -269,8 +268,8 @@ def begin_create_or_update( :type resource_name: str :param agent_pool_name: The name of the agent pool. :type agent_pool_name: str - :param parameters: Parameters supplied to the Create or Update an agent pool operation. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool + :param parameters: The agent pool to create or update. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be ARMPolling. @@ -278,7 +277,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_05_01.models.AgentPool] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_07_01.models.AgentPool] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -342,7 +341,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -384,9 +383,9 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Deletes an agent pool. + """Deletes an agent pool in the specified managed cluster. - Deletes the agent pool in the specified managed cluster. + Deletes an agent pool in the specified managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -456,10 +455,9 @@ def get_upgrade_profile( **kwargs # type: Any ): # type: (...) -> "_models.AgentPoolUpgradeProfile" - """Gets upgrade profile for an agent pool. + """Gets the upgrade profile for an agent pool. - Gets the details of the upgrade profile for an agent pool with a specified resource group and - managed cluster name. + Gets the upgrade profile for an agent pool. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -469,7 +467,7 @@ def get_upgrade_profile( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AgentPoolUpgradeProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeProfile + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolUpgradeProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolUpgradeProfile"] @@ -477,7 +475,7 @@ def get_upgrade_profile( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -521,9 +519,11 @@ def get_available_agent_pool_versions( **kwargs # type: Any ): # type: (...) -> "_models.AgentPoolAvailableVersions" - """Gets a list of supported versions for the specified agent pool. + """Gets a list of supported Kubernetes versions for the specified agent pool. - Gets a list of supported versions for the specified agent pool. + See `supported Kubernetes versions + `_ for more details about + the version lifecycle. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -531,7 +531,7 @@ def get_available_agent_pool_versions( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AgentPoolAvailableVersions, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolAvailableVersions + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.AgentPoolAvailableVersions :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolAvailableVersions"] @@ -539,7 +539,7 @@ def get_available_agent_pool_versions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -588,7 +588,7 @@ def _upgrade_node_image_version_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -635,9 +635,11 @@ def begin_upgrade_node_image_version( **kwargs # type: Any ): # type: (...) -> LROPoller["_models.AgentPool"] - """Upgrade node image version of an agent pool to the latest. + """Upgrades the node image version of an agent pool to the latest. - Upgrade node image version of an agent pool to the latest. + Upgrading the node image version of an agent pool applies the newest OS and runtime updates to + the nodes. AKS provides one new image per week with the latest updates. For more details on + node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade. :param resource_group_name: The name of the resource group. :type resource_group_name: str diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_maintenance_configurations_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_maintenance_configurations_operations.py old mode 100755 new mode 100644 similarity index 94% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_maintenance_configurations_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_maintenance_configurations_operations.py index 0fdcd1ee2fa..3299a7c8206 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_maintenance_configurations_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_maintenance_configurations_operations.py @@ -30,7 +30,7 @@ class MaintenanceConfigurationsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,8 +54,7 @@ def list_by_managed_cluster( # type: (...) -> Iterable["_models.MaintenanceConfigurationListResult"] """Gets a list of maintenance configurations in the specified managed cluster. - Gets a list of maintenance configurations in the specified managed cluster. The operation - returns properties of each maintenance configuration. + Gets a list of maintenance configurations in the specified managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -63,7 +62,7 @@ def list_by_managed_cluster( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either MaintenanceConfigurationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfigurationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfigurationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfigurationListResult"] @@ -71,7 +70,7 @@ def list_by_managed_cluster( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -131,9 +130,9 @@ def get( **kwargs # type: Any ): # type: (...) -> "_models.MaintenanceConfiguration" - """Gets the maintenance configuration. + """Gets the specified maintenance configuration of a managed cluster. - Gets the details of maintenance configurations by managed cluster and resource group. + Gets the specified maintenance configuration of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -143,7 +142,7 @@ def get( :type config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: MaintenanceConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfiguration"] @@ -151,7 +150,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -197,7 +196,7 @@ def create_or_update( **kwargs # type: Any ): # type: (...) -> "_models.MaintenanceConfiguration" - """Creates or updates a maintenance configurations. + """Creates or updates a maintenance configuration in the specified managed cluster. Creates or updates a maintenance configuration in the specified managed cluster. @@ -207,12 +206,11 @@ def create_or_update( :type resource_name: str :param config_name: The name of the maintenance configuration. :type config_name: str - :param parameters: Parameters supplied to the Create or Update a default maintenance - configuration. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :param parameters: The maintenance configuration to create or update. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :return: MaintenanceConfiguration, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.MaintenanceConfiguration :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfiguration"] @@ -220,7 +218,7 @@ def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -272,7 +270,7 @@ def delete( # type: (...) -> None """Deletes a maintenance configuration. - Deletes the maintenance configuration in the specified managed cluster. + Deletes a maintenance configuration. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -290,7 +288,7 @@ def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_managed_clusters_operations.py old mode 100755 new mode 100644 similarity index 94% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_managed_clusters_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_managed_clusters_operations.py index db49ec983fd..2cb300f0645 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_managed_clusters_operations.py @@ -32,7 +32,7 @@ class ManagedClustersOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -60,11 +60,11 @@ def get_os_options( :param location: The name of a supported Azure region. :type location: str - :param resource_type: resource type for which the OS options needs to be returned. + :param resource_type: The resource type for which the OS options needs to be returned. :type resource_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: OSOptionProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.OSOptionProfile + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.OSOptionProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OSOptionProfile"] @@ -72,7 +72,7 @@ def get_os_options( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -116,12 +116,11 @@ def list( # type: (...) -> Iterable["_models.ManagedClusterListResult"] """Gets a list of managed clusters in the specified subscription. - Gets a list of managed clusters in the specified subscription. The operation returns properties - of each managed cluster. + Gets a list of managed clusters in the specified subscription. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] @@ -129,7 +128,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -187,14 +186,13 @@ def list_by_resource_group( # type: (...) -> Iterable["_models.ManagedClusterListResult"] """Lists managed clusters in the specified subscription and resource group. - Lists managed clusters in the specified subscription and resource group. The operation returns - properties of each managed cluster. + Lists managed clusters in the specified subscription and resource group. :param resource_group_name: The name of the resource group. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] @@ -202,7 +200,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): @@ -260,10 +258,9 @@ def get_upgrade_profile( **kwargs # type: Any ): # type: (...) -> "_models.ManagedClusterUpgradeProfile" - """Gets upgrade profile for a managed cluster. + """Gets the upgrade profile of a managed cluster. - Gets the details of the upgrade profile for a managed cluster with a specified resource group - and name. + Gets the upgrade profile of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -271,7 +268,7 @@ def get_upgrade_profile( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedClusterUpgradeProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterUpgradeProfile + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterUpgradeProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterUpgradeProfile"] @@ -279,7 +276,7 @@ def get_upgrade_profile( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -325,12 +322,10 @@ def get_access_profile( # type: (...) -> "_models.ManagedClusterAccessProfile" """Gets an access profile of a managed cluster. - Gets the accessProfile for the specified role name of the managed cluster with a specified - resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials - `_ or + **WARNING**\ : This API will be deprecated. Instead use `ListClusterUserCredentials + `_ or `ListClusterAdminCredentials - `_ . + `_ . :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -340,7 +335,7 @@ def get_access_profile( :type role_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedClusterAccessProfile, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAccessProfile + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAccessProfile :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterAccessProfile"] @@ -348,7 +343,7 @@ def get_access_profile( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -393,9 +388,9 @@ def list_cluster_admin_credentials( **kwargs # type: Any ): # type: (...) -> "_models.CredentialResults" - """Gets cluster admin credential of a managed cluster. + """Lists the admin credentials of a managed cluster. - Gets cluster admin credential of the managed cluster with a specified resource group and name. + Lists the admin credentials of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -405,7 +400,7 @@ def list_cluster_admin_credentials( :type server_fqdn: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.CredentialResults :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] @@ -413,7 +408,7 @@ def list_cluster_admin_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -459,9 +454,9 @@ def list_cluster_user_credentials( **kwargs # type: Any ): # type: (...) -> "_models.CredentialResults" - """Gets cluster user credential of a managed cluster. + """Lists the user credentials of a managed cluster. - Gets cluster user credential of the managed cluster with a specified resource group and name. + Lists the user credentials of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -471,7 +466,7 @@ def list_cluster_user_credentials( :type server_fqdn: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.CredentialResults :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] @@ -479,7 +474,7 @@ def list_cluster_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -525,10 +520,9 @@ def list_cluster_monitoring_user_credentials( **kwargs # type: Any ): # type: (...) -> "_models.CredentialResults" - """Gets cluster monitoring user credential of a managed cluster. + """Lists the cluster monitoring user credentials of a managed cluster. - Gets cluster monitoring user credential of the managed cluster with a specified resource group - and name. + Lists the cluster monitoring user credentials of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -538,7 +532,7 @@ def list_cluster_monitoring_user_credentials( :type server_fqdn: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CredentialResults, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.CredentialResults :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] @@ -546,7 +540,7 @@ def list_cluster_monitoring_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -593,7 +587,7 @@ def get( # type: (...) -> "_models.ManagedCluster" """Gets a managed cluster. - Gets the details of the managed cluster with a specified resource group and name. + Gets a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -601,7 +595,7 @@ def get( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManagedCluster, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] @@ -609,7 +603,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -658,7 +652,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -713,15 +707,14 @@ def begin_create_or_update( # type: (...) -> LROPoller["_models.ManagedCluster"] """Creates or updates a managed cluster. - Creates or updates a managed cluster with the specified configuration for agents and Kubernetes - version. + Creates or updates a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param parameters: Parameters supplied to the Create or Update a Managed Cluster operation. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster + :param parameters: The managed cluster to create or update. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be ARMPolling. @@ -729,7 +722,7 @@ def begin_create_or_update( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -791,7 +784,7 @@ def _update_tags_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -842,14 +835,14 @@ def begin_update_tags( # type: (...) -> LROPoller["_models.ManagedCluster"] """Updates tags on a managed cluster. - Updates a managed cluster with the specified tags. + Updates tags on a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str :param parameters: Parameters supplied to the Update Managed Cluster Tags operation. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.TagsObject + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be ARMPolling. @@ -857,7 +850,7 @@ def begin_update_tags( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_07_01.models.ManagedCluster] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -918,7 +911,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -960,7 +953,7 @@ def begin_delete( # type: (...) -> LROPoller[None] """Deletes a managed cluster. - Deletes the managed cluster with a specified resource group and name. + Deletes a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1031,7 +1024,7 @@ def _reset_service_principal_profile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1077,17 +1070,16 @@ def begin_reset_service_principal_profile( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Reset Service Principal Profile of a managed cluster. + """Reset the Service Principal Profile of a managed cluster. - Update the service principal Profile for a managed cluster. + This action cannot be performed on a cluster that is not using a service principal. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param parameters: Parameters supplied to the Reset Service Principal Profile operation for a - Managed Cluster. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile + :param parameters: The service principal profile to set on the managed cluster. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be ARMPolling. @@ -1154,7 +1146,7 @@ def _reset_aad_profile_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1200,17 +1192,16 @@ def begin_reset_aad_profile( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Reset AAD Profile of a managed cluster. + """Reset the AAD Profile of a managed cluster. - Update the AAD Profile for a managed cluster. + Reset the AAD Profile of a managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param parameters: Parameters supplied to the Reset AAD Profile operation for a Managed - Cluster. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile + :param parameters: The AAD profile to set on the Managed Cluster. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be ARMPolling. @@ -1276,7 +1267,7 @@ def _rotate_cluster_certificates_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -1316,9 +1307,10 @@ def begin_rotate_cluster_certificates( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Rotate certificates of a managed cluster. + """Rotates the certificates of a managed cluster. - Rotate certificates of a managed cluster. + See `Certificate rotation `_ for + more details about rotating managed cluster certificates. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1388,7 +1380,7 @@ def _stop_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -1428,9 +1420,13 @@ def begin_stop( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Stop Managed Cluster. + """Stops a Managed Cluster. - Stops a Running Managed Cluster. + This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a + cluster stops the control plane and agent nodes entirely, while maintaining all object and + cluster state. A cluster does not accrue charges while it is stopped. See `stopping a cluster + `_ for more details about stopping a + cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1500,7 +1496,7 @@ def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -1540,9 +1536,10 @@ def begin_start( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Start Managed Cluster. + """Starts a previously stopped Managed Cluster. - Starts a Stopped Managed Cluster. + See `starting a cluster `_ for more + details about starting a cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -1613,7 +1610,7 @@ def _run_command_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1664,17 +1661,18 @@ def begin_run_command( **kwargs # type: Any ): # type: (...) -> LROPoller["_models.RunCommandResult"] - """Run Command against Managed Kubernetes Service. + """Submits a command to run against the Managed Cluster. - Submit a command to run against managed kubernetes service, it will create a pod to run the - command. + AKS will create a pod to run the command. This is primarily useful for private clusters. For + more information see `AKS Run Command + `_. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param request_payload: Parameters supplied to the RunCommand operation. - :type request_payload: ~azure.mgmt.containerservice.v2021_05_01.models.RunCommandRequest + :param request_payload: The run command request. + :type request_payload: ~azure.mgmt.containerservice.v2021_07_01.models.RunCommandRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be ARMPolling. @@ -1682,7 +1680,7 @@ def begin_run_command( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RunCommandResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_05_01.models.RunCommandResult] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_07_01.models.RunCommandResult] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -1739,19 +1737,19 @@ def get_command_result( **kwargs # type: Any ): # type: (...) -> Optional["_models.RunCommandResult"] - """Get command result. + """Gets the results of a command which has been run on the Managed Cluster. - Get command result from previous runCommand invoke. + Gets the results of a command which has been run on the Managed Cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param command_id: Id of the command request. + :param command_id: Id of the command. :type command_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: RunCommandResult, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.RunCommandResult or None + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.RunCommandResult or None :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.RunCommandResult"]] @@ -1759,7 +1757,7 @@ def get_command_result( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -1816,7 +1814,7 @@ def list_outbound_network_dependencies_endpoints( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OutboundEnvironmentEndpointCollection or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.OutboundEnvironmentEndpointCollection] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.OutboundEnvironmentEndpointCollection] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OutboundEnvironmentEndpointCollection"] @@ -1824,7 +1822,7 @@ def list_outbound_network_dependencies_endpoints( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_operations.py old mode 100755 new mode 100644 similarity index 95% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_operations.py index c26019e7667..00032784165 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_operations.py @@ -30,7 +30,7 @@ class Operations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -50,11 +50,13 @@ def list( **kwargs # type: Any ): # type: (...) -> Iterable["_models.OperationListResult"] - """Gets a list of compute operations. + """Gets a list of operations. + + Gets a list of operations. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.OperationListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_07_01.models.OperationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] @@ -62,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_private_endpoint_connections_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_private_endpoint_connections_operations.py old mode 100755 new mode 100644 similarity index 94% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_private_endpoint_connections_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_private_endpoint_connections_operations.py index 4cebbb525d1..2f4f8abff56 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_private_endpoint_connections_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_private_endpoint_connections_operations.py @@ -31,7 +31,7 @@ class PrivateEndpointConnectionsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -55,8 +55,8 @@ def list( # type: (...) -> "_models.PrivateEndpointConnectionListResult" """Gets a list of private endpoint connections in the specified managed cluster. - Gets a list of private endpoint connections in the specified managed cluster. The operation - returns properties of each private endpoint connection. + To learn more about private clusters, see: + https://docs.microsoft.com/azure/aks/private-clusters. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -64,7 +64,7 @@ def list( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnectionListResult, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnectionListResult + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnectionListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] @@ -72,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -116,9 +116,10 @@ def get( **kwargs # type: Any ): # type: (...) -> "_models.PrivateEndpointConnection" - """Gets the private endpoint connection. + """Gets the specified private endpoint connection. - Gets the details of the private endpoint connection by managed cluster and resource group. + To learn more about private clusters, see: + https://docs.microsoft.com/azure/aks/private-clusters. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -128,7 +129,7 @@ def get( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] @@ -136,7 +137,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -184,7 +185,7 @@ def update( # type: (...) -> "_models.PrivateEndpointConnection" """Updates a private endpoint connection. - Updates a private endpoint connection in the specified managed cluster. + Updates a private endpoint connection. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -192,11 +193,11 @@ def update( :type resource_name: str :param private_endpoint_connection_name: The name of the private endpoint connection. :type private_endpoint_connection_name: str - :param parameters: Parameters supplied to the Update a private endpoint connection operation. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :param parameters: The updated private endpoint connection. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] @@ -204,7 +205,7 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -259,7 +260,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL @@ -303,7 +304,7 @@ def begin_delete( # type: (...) -> LROPoller[None] """Deletes a private endpoint connection. - Deletes the private endpoint connection in the specified managed cluster. + Deletes a private endpoint connection. :param resource_group_name: The name of the resource group. :type resource_group_name: str diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_private_link_resources_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_private_link_resources_operations.py old mode 100755 new mode 100644 similarity index 93% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_private_link_resources_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_private_link_resources_operations.py index 09f87df3e66..4b0e3b6c04b --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_private_link_resources_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_private_link_resources_operations.py @@ -29,7 +29,7 @@ class PrivateLinkResourcesOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -53,8 +53,8 @@ def list( # type: (...) -> "_models.PrivateLinkResourcesListResult" """Gets a list of private link resources in the specified managed cluster. - Gets a list of private link resources in the specified managed cluster. The operation returns - properties of each private link resource. + To learn more about private clusters, see: + https://docs.microsoft.com/azure/aks/private-clusters. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -62,7 +62,7 @@ def list( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResourcesListResult, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResourcesListResult + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResourcesListResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResourcesListResult"] @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" accept = "application/json" # Construct URL diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_resolve_private_link_service_id_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_resolve_private_link_service_id_operations.py old mode 100755 new mode 100644 similarity index 92% rename from src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_resolve_private_link_service_id_operations.py rename to src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_resolve_private_link_service_id_operations.py index 888fd53525f..88129d99ad0 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_05_01/operations/_resolve_private_link_service_id_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2021_07_01/operations/_resolve_private_link_service_id_operations.py @@ -29,7 +29,7 @@ class ResolvePrivateLinkServiceIdOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :type models: ~azure.mgmt.containerservice.v2021_07_01.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -54,18 +54,17 @@ def post( # type: (...) -> "_models.PrivateLinkResource" """Gets the private link service ID for the specified managed cluster. - Gets the private link service ID the specified managed cluster. + Gets the private link service ID for the specified managed cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param resource_name: The name of the managed cluster resource. :type resource_name: str - :param parameters: Parameters (name, groupId) supplied in order to resolve a private link - service ID. - :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource + :param parameters: Parameters required in order to resolve a private link service ID. + :type parameters: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResource :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateLinkResource, or the result of cls(response) - :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource + :rtype: ~azure.mgmt.containerservice.v2021_07_01.models.PrivateLinkResource :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResource"] @@ -73,7 +72,7 @@ def post( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-05-01" + api_version = "2021-07-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index 691d7550286..40036a9b1c0 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open as open1 from setuptools import setup, find_packages -VERSION = "0.5.27" +VERSION = "0.5.28" CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', From e0ecb2c3e51f8b3cd56b197da9d04885d187ac91 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Fri, 20 Aug 2021 18:15:44 +0800 Subject: [PATCH 26/43] [Release] Update index.json for extension [ aks-preview ] (#3804) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1058712 Last commit: https://github.com/Azure/azure-cli-extensions/commit/859c91f7acd596ff12502ebefd0fa4e7b8c86f47 --- src/index.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/index.json b/src/index.json index 4690ed42d52..f804be0cff9 100644 --- a/src/index.json +++ b/src/index.json @@ -3433,6 +3433,49 @@ "version": "0.5.27" }, "sha256Digest": "327010762d4953215b870434fafd0f64f7c46bf6d41eafe147a7de202331e3d3" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-0.5.28-py2.py3-none-any.whl", + "filename": "aks_preview-0.5.28-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.0.49", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/aks-preview" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "aks-preview", + "summary": "Provides a preview for upcoming AKS features", + "version": "0.5.28" + }, + "sha256Digest": "6242d3de31d9fb51d7385e4b8b4880806a6df7057d552914ae114d6445440b9e" } ], "alertsmanagement": [ From 5cf826e5ea278435b43fea3ff8f63a9de6cfcd68 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Fri, 20 Aug 2021 17:04:46 -0700 Subject: [PATCH 27/43] Improve user output during error handling (#3794) * Fix bug with output processing * Improve error handling during compilation and submission stages. --- src/quantum/azext_quantum/operations/job.py | 31 +++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/src/quantum/azext_quantum/operations/job.py b/src/quantum/azext_quantum/operations/job.py index 8584c9bd03c..6861507e536 100644 --- a/src/quantum/azext_quantum/operations/job.py +++ b/src/quantum/azext_quantum/operations/job.py @@ -34,12 +34,31 @@ def get(cmd, job_id, resource_group_name=None, workspace_name=None, location=Non return client.get(job_id) +def _check_dotnet_available(): + """ + Will fail if dotnet cannot be executed on the system. + """ + args = ["dotnet", "--version"] + + try: + import subprocess + result = subprocess.run(args, stdout=subprocess.PIPE, check=False) + except FileNotFoundError: + raise CLIError(f"Could not find 'dotnet' on the system.") + + if result.returncode != 0: + raise CLIError(f"Failed to run 'dotnet'. (Error {result.returncode})") + + def build(cmd, target_id=None, project=None): """ Compile a Q# program to run on Azure Quantum. """ target = TargetInfo(cmd, target_id) + # Validate that dotnet is available + _check_dotnet_available() + args = ["dotnet", "build"] if project: @@ -56,6 +75,9 @@ def build(cmd, target_id=None, project=None): if result.returncode == 0: return {'result': 'ok'} + # If we got here, we might have encountered an error during compilation, so propagate standard output to the user. + logger.error(f"Compilation stage failed with error code {result.returncode}") + print(result.stdout.decode('ascii')) raise CLIError("Failed to compile program.") @@ -139,8 +161,9 @@ def submit(cmd, program_args, resource_group_name=None, workspace_name=None, loc # `ExecutionTarget` property when passed in the command line if not no_build: build(cmd, target_id=target_id, project=project) - - logger.info("Project built successfully.") + logger.info("Project built successfully.") + else: + _check_dotnet_available() ws = WorkspaceInfo(cmd, resource_group_name, workspace_name, location) target = TargetInfo(cmd, target_id) @@ -159,6 +182,9 @@ def submit(cmd, program_args, resource_group_name=None, workspace_name=None, loc # Query for the job and return status to caller. return get(cmd, job_id, resource_group_name, workspace_name, location) + # The program compiled succesfully, but executing the stand-alone .exe failed to run. + logger.error(f"Submission of job failed with error code {result.returncode}") + print(result.stdout.decode('ascii')) raise CLIError("Failed to submit job.") @@ -230,6 +256,7 @@ def output(cmd, job_id, resource_group_name=None, workspace_name=None, location= json_string = '{ "histogram" : { "' + result + '" : 1 } }' data = json.loads(json_string) else: + json_file.seek(0) # Reset the file pointer before loading data = json.load(json_file) return data From 3fe88681d1b3b1bff98b73e27fd39f66e3ba2f0b Mon Sep 17 00:00:00 2001 From: songlu <37168047+PARADISSEEKR@users.noreply.github.com> Date: Mon, 23 Aug 2021 14:34:46 +0800 Subject: [PATCH 28/43] [alertsmanagement] Add an example were the recurrence type is set to once (#3797) * add example * hide sub id, add test * version --- src/alertsmanagement/HISTORY.rst | 5 + .../azext_alertsmanagement/_help.py | 5 +- .../azext_alertsmanagement/custom.py | 2 +- .../test_alertsmanagement_action_rule.yaml | 280 ++++++++++++++---- .../latest/test_alertsmanagement_scenario.py | 43 +++ src/alertsmanagement/setup.py | 2 +- 6 files changed, 284 insertions(+), 53 deletions(-) diff --git a/src/alertsmanagement/HISTORY.rst b/src/alertsmanagement/HISTORY.rst index 1c139576ba0..2cb2bc86c54 100644 --- a/src/alertsmanagement/HISTORY.rst +++ b/src/alertsmanagement/HISTORY.rst @@ -3,6 +3,11 @@ Release History =============== +0.1.1 +++++++ +* Add an example were the recurrence type is set to once. +* Fix error: when the recurrence type is set to once, 'Action Rule property 'properties.suppressionConfig.schedule' cannot be null.' + 0.1.0 ++++++ * Initial release. diff --git a/src/alertsmanagement/azext_alertsmanagement/_help.py b/src/alertsmanagement/azext_alertsmanagement/_help.py index 56f5f34529d..d2b10846e82 100644 --- a/src/alertsmanagement/azext_alertsmanagement/_help.py +++ b/src/alertsmanagement/azext_alertsmanagement/_help.py @@ -26,7 +26,10 @@ az monitor action-rule create --resource-group rg --name rule --location Global --status Enabled --rule-type Suppression --suppression-recurrence-type Always --alert-context Contains Computer-01 --monitor-service Equals "Log Analytics" - name: Create an action rule to suppress notifications in a resource group text: |- - az monitor action-rule create --resource-group rg --name rule --location Global --status Enabled --rule-type Suppression --scope-type ResourceGroup --scope /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rg --suppression-recurrence-type Always --alert-context Contains Computer-01 --monitor-service Equals "Log Analytics" + az monitor action-rule create --resource-group rg --name rule --location Global --status Enabled --rule-type Suppression --scope-type ResourceGroup --scope /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg --suppression-recurrence-type Always --alert-context Contains Computer-01 --monitor-service Equals "Log Analytics" + - name: Create an action rule with a recurrenceType of Once + text: |- + az monitor action-rule create --resource-group rg --name rule --location Global --status Enabled --rule-type Suppression --scope-type ResourceGroup --scope /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg --severity Equals Sev0 Sev2 --monitor-service Equals Platform "Application Insights" --monitor-condition Equals Fired --target-resource-type NotEquals Microsoft.Compute/VirtualMachines --suppression-recurrence-type Once --suppression-start-date 08/09/2021 --suppression-end-date 08/10/2021 --suppression-start-time 06:00:00 --suppression-end-time 14:00:00 """ helps['monitor action-rule update'] = """ diff --git a/src/alertsmanagement/azext_alertsmanagement/custom.py b/src/alertsmanagement/azext_alertsmanagement/custom.py index d3e9920c777..1a8a7311c93 100644 --- a/src/alertsmanagement/azext_alertsmanagement/custom.py +++ b/src/alertsmanagement/azext_alertsmanagement/custom.py @@ -114,7 +114,7 @@ def create_alertsmanagement_action_rule(cmd, client, properties['suppressionConfig'] = { 'recurrenceType': suppression_recurrence_type } - if suppression_recurrence_type not in ['Always', 'Once']: + if suppression_recurrence_type not in ['Always']: properties['suppressionConfig']['schedule'] = { 'startDate': suppression_start_date, 'endDate': suppression_end_date, diff --git a/src/alertsmanagement/azext_alertsmanagement/tests/latest/recordings/test_alertsmanagement_action_rule.yaml b/src/alertsmanagement/azext_alertsmanagement/tests/latest/recordings/test_alertsmanagement_action_rule.yaml index dc956f53bd7..6f7a8eb2359 100644 --- a/src/alertsmanagement/azext_alertsmanagement/tests/latest/recordings/test_alertsmanagement_action_rule.yaml +++ b/src/alertsmanagement/azext_alertsmanagement/tests/latest/recordings/test_alertsmanagement_action_rule.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"location": "Global", "properties": {"scope": {"scopeType": "ResourceGroup", + body: '{"location": "Global", "properties": {"scope": {"scopeType": "ResourceGroup", "values": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]}, "conditions": {"severity": {"operator": "Equals", "values": ["Sev0", "Sev2"]}, "monitorService": {"operator": "Equals", "values": ["Platform", "Application @@ -8,7 +8,7 @@ interactions: "targetResourceType": {"operator": "NotEquals", "values": ["Microsoft.Compute/VirtualMachines"]}}, "status": "Enabled", "type": "Suppression", "suppressionConfig": {"recurrenceType": "Daily", "schedule": {"startDate": "12/09/2018", "endDate": "12/18/2018", "startTime": - "06:00:00", "endTime": "14:00:00"}}}}''' + "06:00:00", "endTime": "14:00:00"}}}}' headers: Accept: - application/json @@ -27,27 +27,27 @@ interactions: --severity --monitor-service --monitor-condition --target-resource-type --suppression-recurrence-type --suppression-start-date --suppression-end-date --suppression-start-time --suppression-end-time User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.2.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1?api-version=2019-05-05-preview response: body: - string: '{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application - Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"createdAt":"2020-03-17T02:49:50.29547Z","createdBy":"User","lastModifiedAt":"2020-03-17T02:49:50.29547Z","lastModifiedBy":"User"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}' + string: '{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:26:18.6717783Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:18.6717783Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}' headers: cache-control: - no-store, no-cache content-length: - - '1130' + - '1178' content-security-policy: - script-src 'self' content-type: - application/json; charset=utf-8 date: - - Tue, 17 Mar 2020 02:49:51 GMT + - Mon, 23 Aug 2021 02:26:20 GMT expires: - '-1' pragma: @@ -61,7 +61,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-xss-protection: - 1; mode=block status: @@ -81,27 +81,149 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.2.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1?api-version=2019-05-05-preview response: body: - string: '{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application - Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"createdAt":"2020-03-17T02:49:50.29547Z","createdBy":"User","lastModifiedAt":"2020-03-17T02:49:50.29547Z","lastModifiedBy":"User"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}' + string: '{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:26:18.6717783Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:18.6717783Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '1178' + content-security-policy: + - script-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 23 Aug 2021 02:26:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '999' + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"location": "Global", "properties": {"scope": {"scopeType": "ResourceGroup", + "values": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]}, + "conditions": {"severity": {"operator": "Equals", "values": ["Sev0", "Sev2"]}, + "monitorService": {"operator": "Equals", "values": ["Platform", "Application + Insights"]}, "monitorCondition": {"operator": "Equals", "values": ["Fired"]}, + "targetResourceType": {"operator": "NotEquals", "values": ["Microsoft.Compute/VirtualMachines"]}}, + "status": "Enabled", "type": "Suppression", "suppressionConfig": {"recurrenceType": + "Once", "schedule": {"startDate": "08/25/2021", "endDate": "08/26/2021", "startTime": + "06:00:00", "endTime": "14:00:00"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor action-rule create + Connection: + - keep-alive + Content-Length: + - '777' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --name --location --status --rule-type --scope-type --scope + --severity --monitor-service --monitor-condition --target-resource-type --suppression-recurrence-type + --suppression-start-date --suppression-end-date --suppression-start-time --suppression-end-time + User-Agent: + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule2?api-version=2019-05-05-preview + response: + body: + string: '{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Once","schedule":{"startDate":"08/25/2021","endDate":"08/26/2021","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:26:24.86681Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:24.86681Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule2","type":"Microsoft.AlertsManagement/actionRules","name":"rule2"}' + headers: + cache-control: + - no-store, no-cache + content-length: + - '1173' + content-security-policy: + - script-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 23 Aug 2021 02:26:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor action-rule show + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule2?api-version=2019-05-05-preview + response: + body: + string: '{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Once","schedule":{"startDate":"08/25/2021","endDate":"08/26/2021","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:26:24.86681Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:24.86681Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule2","type":"Microsoft.AlertsManagement/actionRules","name":"rule2"}' headers: cache-control: - no-store, no-cache content-length: - - '1130' + - '1173' content-security-policy: - script-src 'self' content-type: - application/json; charset=utf-8 date: - - Tue, 17 Mar 2020 02:49:54 GMT + - Mon, 23 Aug 2021 02:26:28 GMT expires: - '-1' pragma: @@ -135,27 +257,27 @@ interactions: ParameterSetName: - --resource-group --name --status User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.2.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1?api-version=2019-05-05-preview response: body: - string: '{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application - Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"createdAt":"2020-03-17T02:49:50.29547Z","createdBy":"User","lastModifiedAt":"2020-03-17T02:49:50.29547Z","lastModifiedBy":"User"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}' + string: '{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:26:18.6717783Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:18.6717783Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}' headers: cache-control: - no-store, no-cache content-length: - - '1130' + - '1178' content-security-policy: - script-src 'self' content-type: - application/json; charset=utf-8 date: - - Tue, 17 Mar 2020 02:49:57 GMT + - Mon, 23 Aug 2021 02:26:29 GMT expires: - '-1' pragma: @@ -176,7 +298,7 @@ interactions: code: 200 message: OK - request: - body: 'b''{"location": "Global", "properties": {"scope": {"scopeType": "ResourceGroup", + body: '{"location": "Global", "properties": {"scope": {"scopeType": "ResourceGroup", "values": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]}, "conditions": {"severity": {"operator": "Equals", "values": ["Sev0", "Sev2"]}, "monitorService": {"operator": "Equals", "values": ["Platform", "Application @@ -184,7 +306,7 @@ interactions: "targetResourceType": {"operator": "NotEquals", "values": ["Microsoft.Compute/VirtualMachines"]}}, "status": "Disabled", "type": "Suppression", "suppressionConfig": {"recurrenceType": "Daily", "schedule": {"startDate": "12/09/2018", "endDate": "12/18/2018", "startTime": - "06:00:00", "endTime": "14:00:00"}}}}''' + "06:00:00", "endTime": "14:00:00"}}}}' headers: Accept: - application/json @@ -201,27 +323,27 @@ interactions: ParameterSetName: - --resource-group --name --status User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.2.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1?api-version=2019-05-05-preview response: body: - string: '{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application - Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Disabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"createdAt":"2020-03-17T02:49:50.29547Z","createdBy":"User","lastModifiedAt":"2020-03-17T02:50:00.8682607Z","lastModifiedBy":"User"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}' + string: '{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Disabled","type":"Suppression","createdAt":"2021-08-23T02:26:18.6717783Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:30.7042783Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}' headers: cache-control: - no-store, no-cache content-length: - - '1133' + - '1179' content-security-policy: - script-src 'self' content-type: - application/json; charset=utf-8 date: - - Tue, 17 Mar 2020 02:50:00 GMT + - Mon, 23 Aug 2021 02:26:30 GMT expires: - '-1' pragma: @@ -235,7 +357,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-xss-protection: - 1; mode=block status: @@ -253,31 +375,33 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.2.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AlertsManagement/actionRules?api-version=2019-05-05-preview response: body: - string: '{"value":[{"properties":{"status":"Enabled","type":"Suppression","suppressionConfig":{"recurrenceType":"Weekly","schedule":{"startDate":"03/13/2020","endDate":"03/14/2020","startTime":"05:54:56","endTime":"05:54:56","recurrenceValues":[0,1,2,4,5,6]}},"description":"","createdAt":"2020-03-13T06:21:58.0932972Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:21:58.0932972Z","lastModifiedBy":"fey@microsoft.com"},"location":"global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"},{"properties":{"conditions":{"monitorService":{"operator":"Equals","values":["Log - Analytics"]},"alertContext":{"operator":"Contains","values":["Computer-01"]}},"status":"Enabled","type":"Suppression","suppressionConfig":{"recurrenceType":"Always"},"createdAt":"2020-03-17T02:48:49.5945669Z","createdBy":"User","lastModifiedAt":"2020-03-17T02:48:49.5945669Z","lastModifiedBy":"User"},"location":"global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest2/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"},{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application - Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Disabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"createdAt":"2020-03-17T02:49:50.29547Z","createdBy":"User","lastModifiedAt":"2020-03-17T02:50:00.8682607Z","lastModifiedBy":"User"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"},{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]}},"status":"Enabled","type":"Suppression","suppressionConfig":{"recurrenceType":"Weekly","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00","recurrenceValues":[0,6]}},"createdAt":"2020-03-13T06:29:08.1868672Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:29:08.1868672Z","lastModifiedBy":"fey@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule2","type":"Microsoft.AlertsManagement/actionRules","name":"rule2"},{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev4"]},"targetResourceType":{"operator":"Equals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","suppressionConfig":{"recurrenceType":"Weekly","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00","recurrenceValues":[0,6]}},"createdAt":"2020-03-13T06:34:23.1716761Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:34:23.1716761Z","lastModifiedBy":"fey@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule3","type":"Microsoft.AlertsManagement/actionRules","name":"rule3"},{"properties":{"conditions":{"monitorService":{"operator":"Equals","values":["Log - Analytics"]},"alertContext":{"operator":"Contains","values":["Computer-01"]}},"status":"Enabled","type":"Suppression","suppressionConfig":{"recurrenceType":"Always"},"description":"","createdAt":"2020-03-13T06:49:24.1672254Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:49:24.1672254Z","lastModifiedBy":"fey@microsoft.com"},"location":"global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule4","type":"Microsoft.AlertsManagement/actionRules","name":"rule4"},{"properties":{"conditions":{"monitorService":{"operator":"Equals","values":["Log - Analytics"]},"alertContext":{"operator":"Contains","values":["Computer-01"]}},"status":"Enabled","type":"Suppression","suppressionConfig":{"recurrenceType":"Always"},"createdAt":"2020-03-13T06:51:55.0195146Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:51:55.0195146Z","lastModifiedBy":"fey@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule5","type":"Microsoft.AlertsManagement/actionRules","name":"rule5"},{"properties":{"conditions":{"monitorService":{"operator":"Equals","values":["Log - Analytics"]},"alertContext":{"operator":"Contains","values":["Computer-01"]}},"status":"Enabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg"]},"suppressionConfig":{"recurrenceType":"Always"},"createdAt":"2020-03-13T06:55:49.5585692Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:55:49.5585692Z","lastModifiedBy":"fey@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule6","type":"Microsoft.AlertsManagement/actionRules","name":"rule6"}]}' + string: '{"value":[{"properties":{"suppressionConfig":{"recurrenceType":"Weekly","schedule":{"startDate":"03/13/2020","endDate":"03/14/2020","startTime":"05:54:56","endTime":"05:54:56","recurrenceValues":[0,1,2,4,5,6]}},"status":"Enabled","type":"Suppression","createdAt":"2020-03-13T06:21:58.0932972Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:21:58.0932972Z","lastModifiedBy":"fey@microsoft.com","description":""},"location":"global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"},{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_hcvecd6i2es65x2nytxei4rocecynyps7apyf"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:25:18.6893331Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:25:18.6893331Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_hcvecd6i2es65x2nytxei4rocecynyps7apyf/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"},{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Disabled","type":"Suppression","createdAt":"2021-08-23T02:26:18.6717783Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:30.7042783Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"},{"properties":{"suppressionConfig":{"recurrenceType":"Weekly","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00","recurrenceValues":[0,6]}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]}},"status":"Enabled","type":"Suppression","createdAt":"2020-03-13T06:29:08.1868672Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:29:08.1868672Z","lastModifiedBy":"fey@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule2","type":"Microsoft.AlertsManagement/actionRules","name":"rule2"},{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_hcvecd6i2es65x2nytxei4rocecynyps7apyf"]},"suppressionConfig":{"recurrenceType":"Once","schedule":{"startDate":"08/25/2021","endDate":"08/26/2021","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:25:27.6419808Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:25:27.6419808Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_hcvecd6i2es65x2nytxei4rocecynyps7apyf/providers/Microsoft.AlertsManagement/actionRules/rule2","type":"Microsoft.AlertsManagement/actionRules","name":"rule2"},{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Once","schedule":{"startDate":"08/25/2021","endDate":"08/26/2021","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:26:24.86681Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:24.86681Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule2","type":"Microsoft.AlertsManagement/actionRules","name":"rule2"},{"properties":{"suppressionConfig":{"recurrenceType":"Weekly","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00","recurrenceValues":[0,6]}},"conditions":{"severity":{"operator":"Equals","values":["Sev4"]},"targetResourceType":{"operator":"Equals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2020-03-13T06:34:23.1716761Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:34:23.1716761Z","lastModifiedBy":"fey@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule3","type":"Microsoft.AlertsManagement/actionRules","name":"rule3"},{"properties":{"suppressionConfig":{"recurrenceType":"Always"},"conditions":{"monitorService":{"operator":"Equals","values":["Log + Analytics"]},"alertContext":{"operator":"Contains","values":["Computer-01"]}},"status":"Enabled","type":"Suppression","createdAt":"2020-03-13T06:49:24.1672254Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:49:24.1672254Z","lastModifiedBy":"fey@microsoft.com","description":""},"location":"global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule4","type":"Microsoft.AlertsManagement/actionRules","name":"rule4"},{"properties":{"suppressionConfig":{"recurrenceType":"Always"},"conditions":{"monitorService":{"operator":"Equals","values":["Log + Analytics"]},"alertContext":{"operator":"Contains","values":["Computer-01"]}},"status":"Enabled","type":"Suppression","createdAt":"2020-03-13T06:51:55.0195146Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:51:55.0195146Z","lastModifiedBy":"fey@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule5","type":"Microsoft.AlertsManagement/actionRules","name":"rule5"},{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg"]},"suppressionConfig":{"recurrenceType":"Always"},"conditions":{"monitorService":{"operator":"Equals","values":["Log + Analytics"]},"alertContext":{"operator":"Contains","values":["Computer-01"]}},"status":"Enabled","type":"Suppression","createdAt":"2020-03-13T06:55:49.5585692Z","createdBy":"fey@microsoft.com","lastModifiedAt":"2020-03-13T06:55:49.5585692Z","lastModifiedBy":"fey@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.AlertsManagement/actionRules/rule6","type":"Microsoft.AlertsManagement/actionRules","name":"rule6"}]}' headers: cache-control: - no-store, no-cache content-length: - - '5870' + - '8843' content-security-policy: - script-src 'self' content-type: - application/json; charset=utf-8 date: - - Tue, 17 Mar 2020 02:50:04 GMT + - Mon, 23 Aug 2021 02:26:31 GMT expires: - '-1' pragma: @@ -311,27 +435,28 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.2.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules?api-version=2019-05-05-preview response: body: - string: '{"value":[{"properties":{"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application - Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Disabled","type":"Suppression","scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"createdAt":"2020-03-17T02:49:50.29547Z","createdBy":"User","lastModifiedAt":"2020-03-17T02:50:00.8682607Z","lastModifiedBy":"User"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"}]}' + string: '{"value":[{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Daily","schedule":{"startDate":"12/09/2018","endDate":"12/18/2018","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Disabled","type":"Suppression","createdAt":"2021-08-23T02:26:18.6717783Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:30.7042783Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule1","type":"Microsoft.AlertsManagement/actionRules","name":"rule1"},{"properties":{"scope":{"scopeType":"ResourceGroup","values":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001"]},"suppressionConfig":{"recurrenceType":"Once","schedule":{"startDate":"08/25/2021","endDate":"08/26/2021","startTime":"06:00:00","endTime":"14:00:00"}},"conditions":{"severity":{"operator":"Equals","values":["Sev0","Sev2"]},"monitorService":{"operator":"Equals","values":["Platform","Application + Insights"]},"monitorCondition":{"operator":"Equals","values":["Fired"]},"targetResourceType":{"operator":"NotEquals","values":["Microsoft.Compute/VirtualMachines"]}},"status":"Enabled","type":"Suppression","createdAt":"2021-08-23T02:26:24.86681Z","createdBy":"v-jingszhang@microsoft.com","lastModifiedAt":"2021-08-23T02:26:24.86681Z","lastModifiedBy":"v-jingszhang@microsoft.com"},"location":"Global","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule2","type":"Microsoft.AlertsManagement/actionRules","name":"rule2"}]}' headers: cache-control: - no-store, no-cache content-length: - - '1145' + - '2365' content-security-policy: - script-src 'self' content-type: - application/json; charset=utf-8 date: - - Tue, 17 Mar 2020 02:50:07 GMT + - Mon, 23 Aug 2021 02:26:33 GMT expires: - '-1' pragma: @@ -345,7 +470,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '998' + - '999' x-xss-protection: - 1; mode=block status: @@ -367,8 +492,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.2.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 accept-language: - en-US method: DELETE @@ -386,7 +511,62 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 17 Mar 2020 02:50:14 GMT + - Mon, 23 Aug 2021 02:26:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor action-rule delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-alertsmanagement/0.2.0rc2 Azure-SDK-For-Python AZURECLI/2.27.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_alertsmanagement_action_rule_000001/providers/Microsoft.AlertsManagement/actionRules/rule2?api-version=2019-05-05-preview + response: + body: + string: 'true' + headers: + cache-control: + - no-store, no-cache + content-length: + - '4' + content-security-policy: + - script-src 'self' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 23 Aug 2021 02:26:43 GMT expires: - '-1' pragma: diff --git a/src/alertsmanagement/azext_alertsmanagement/tests/latest/test_alertsmanagement_scenario.py b/src/alertsmanagement/azext_alertsmanagement/tests/latest/test_alertsmanagement_scenario.py index f34111b9151..a26788c5d9d 100644 --- a/src/alertsmanagement/azext_alertsmanagement/tests/latest/test_alertsmanagement_scenario.py +++ b/src/alertsmanagement/azext_alertsmanagement/tests/latest/test_alertsmanagement_scenario.py @@ -64,6 +64,48 @@ def test_alertsmanagement_action_rule(self, resource_group): self.check('properties.suppressionConfig.schedule.startTime', '06:00:00'), ]) + self.cmd('az monitor action-rule create ' + '--resource-group {rg} ' + '--name rule2 ' + '--location Global ' + '--status Enabled ' + '--rule-type Suppression ' + '--scope-type ResourceGroup ' + '--scope {rg_id} ' + '--severity Equals Sev0 Sev2 ' + '--monitor-service Equals Platform "Application Insights" ' + '--monitor-condition Equals Fired ' + '--target-resource-type NotEquals Microsoft.Compute/VirtualMachines ' + '--suppression-recurrence-type Once ' + '--suppression-start-date 08/25/2021 ' + '--suppression-end-date 08/26/2021 ' + '--suppression-start-time 06:00:00 ' + '--suppression-end-time 14:00:00', + checks=[]) + + self.cmd('az monitor action-rule show ' + '--resource-group {rg} ' + '--name "rule2"', + checks=[ + self.check('name', 'rule2'), + self.check('location', 'Global'), + self.check('properties.status', 'Enabled'), + self.check('properties.type', 'Suppression'), + self.check('properties.conditions.monitorCondition.operator', 'Equals'), + self.check('properties.conditions.monitorCondition.values[0]', 'Fired'), + self.check('properties.conditions.severity.operator', 'Equals'), + self.check('properties.conditions.severity.values[0]', 'Sev0'), + self.check('properties.conditions.severity.values[1]', 'Sev2'), + self.check('properties.conditions.targetResourceType.operator', 'NotEquals'), + self.check('properties.conditions.targetResourceType.values[0]', + 'Microsoft.Compute/VirtualMachines'), + self.check('properties.suppressionConfig.recurrenceType', 'Once'), + self.check('properties.suppressionConfig.schedule.endDate', '08/26/2021'), + self.check('properties.suppressionConfig.schedule.endTime', '14:00:00'), + self.check('properties.suppressionConfig.schedule.startDate', '08/25/2021'), + self.check('properties.suppressionConfig.schedule.startTime', '06:00:00'), + ]) + self.cmd('az monitor action-rule update ' '--resource-group {rg} ' '--name "rule1" ' @@ -79,3 +121,4 @@ def test_alertsmanagement_action_rule(self, resource_group): checks=self.check('[0].name', 'rule1')) self.cmd('az monitor action-rule delete -g {rg} -n rule1') + self.cmd('az monitor action-rule delete -g {rg} -n rule2') diff --git a/src/alertsmanagement/setup.py b/src/alertsmanagement/setup.py index 927aa187905..5ede698d18d 100644 --- a/src/alertsmanagement/setup.py +++ b/src/alertsmanagement/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '0.1.0' +VERSION = '0.1.1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 440841d98acadb80d3f37a77804845438d446ad6 Mon Sep 17 00:00:00 2001 From: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Date: Mon, 23 Aug 2021 17:03:43 +0800 Subject: [PATCH 29/43] fix update (#3808) --- src/aks-preview/azext_aks_preview/custom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 48e5746cdda..5d59934c95b 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -1790,10 +1790,9 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, raise ArgumentUsageError('--disable-public-fqdn cannot be applied for none mode private dns zone cluster') instance.api_server_access_profile.enable_private_cluster_public_fqdn = False - if instance.auto_upgrade_profile is None: - instance.auto_upgrade_profile = ManagedClusterAutoUpgradeProfile() - if auto_upgrade_channel is not None: + if instance.auto_upgrade_profile is None: + instance.auto_upgrade_profile = ManagedClusterAutoUpgradeProfile() instance.auto_upgrade_profile.upgrade_channel = auto_upgrade_channel if not enable_managed_identity and assign_identity: From ee237fc8495c001b0f53400be8e84d8ce0a9cc5d Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Tue, 24 Aug 2021 11:42:01 +0800 Subject: [PATCH 30/43] [Release] Update index.json for extension [ alertsmanagement ] (#3810) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1060849 Last commit: https://github.com/Azure/azure-cli-extensions/commit/3fe88681d1b3b1bff98b73e27fd39f66e3ba2f0b --- src/index.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/index.json b/src/index.json index f804be0cff9..5b3106a6b39 100644 --- a/src/index.json +++ b/src/index.json @@ -3521,6 +3521,49 @@ "version": "0.1.0" }, "sha256Digest": "80ab78574debff9d8a9106bac3929cb552adea1371ea24f06073669fef708fcd" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/alertsmanagement-0.1.1-py2.py3-none-any.whl", + "filename": "alertsmanagement-0.1.1-py2.py3-none-any.whl", + "metadata": { + "azext.isExperimental": true, + "azext.minCliCoreVersion": "2.3.1", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "fey@microsoft.com", + "name": "Github:qwordy", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/alertsmanagement" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "alertsmanagement", + "summary": "Microsoft Azure Command-Line Tools Alerts Extension", + "version": "0.1.1" + }, + "sha256Digest": "319f2855f71de21b22b721b4b02d50faf858a71c04ced52a4f4c1e4e114dffa6" } ], "alias": [ From cae09100dd9b7472335446ee5c0f1295005f4a2d Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Tue, 24 Aug 2021 19:01:07 -0700 Subject: [PATCH 31/43] Updating tests for quantum CLI extension to a new subscription (#3817) * Update az quantum tests to use shared resources and allow environment overrides * Update test recordings * Avoiding to set the subscription as part of test execution * Update test recordings 2 * Split the workspace management cases in always and live-only * Update test recordings 3 --- .../azext_quantum/tests/latest/__init__.py | 2 +- .../tests/latest/recordings/test_jobs.yaml | 36 +- .../tests/latest/recordings/test_targets.yaml | 34 +- .../latest/recordings/test_workspace.yaml | 100 +++-- .../test_workspace_create_destroy.yaml | 352 ++++++++++++++++++ .../tests/latest/test_quantum_jobs.py | 16 +- .../tests/latest/test_quantum_targets.py | 4 +- .../tests/latest/test_quantum_workspace.py | 45 ++- .../azext_quantum/tests/latest/utils.py | 44 ++- 9 files changed, 516 insertions(+), 117 deletions(-) create mode 100644 src/quantum/azext_quantum/tests/latest/recordings/test_workspace_create_destroy.yaml diff --git a/src/quantum/azext_quantum/tests/latest/__init__.py b/src/quantum/azext_quantum/tests/latest/__init__.py index 721049fe1af..0735278bf21 100644 --- a/src/quantum/azext_quantum/tests/latest/__init__.py +++ b/src/quantum/azext_quantum/tests/latest/__init__.py @@ -5,5 +5,5 @@ # ----------------------------------------------------------------------------- # To run these tests from the command line: -# az account set -s 677fc922-91d0-4bf6-9b06-4274d319a0fa +# az account set -s 916dfd6d-030c-4bd9-b579-7bb6d1926e97 # azdev test quantum --live diff --git a/src/quantum/azext_quantum/tests/latest/recordings/test_jobs.yaml b/src/quantum/azext_quantum/tests/latest/recordings/test_jobs.yaml index ad2760faf49..ebe86574287 100644 --- a/src/quantum/azext_quantum/tests/latest/recordings/test_jobs.yaml +++ b/src/quantum/azext_quantum/tests/latest/recordings/test_jobs.yaml @@ -11,29 +11,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - -w -g -l + - -g -w -l User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - quantummanagementclient/2019-11-04-preview Azure-SDK-For-Python AZURECLI/2.18.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-mgmt-quantum/1.0.0b1 Python/3.8.2 (Windows-10-10.0.19041-SP0) + az-cli-ext/0.6.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/Microsoft.Quantum/workspaces/e2e-tests-workspace-ionq?api-version=2019-11-04-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-qsharp-tests?api-version=2019-11-04-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/microsoft.quantum/workspaces/e2e-tests-workspace-ionq","name":"e2e-tests-workspace-ionq","type":"microsoft.quantum/workspaces","location":"East - US 2 EUAP","properties":{"providers":[{"providerId":"ionq","providerSku":"ionq-standard","applicationName":"e2e-tests-workspace-ionq-ionq","provisioningState":"Succeeded"}],"usable":"Yes","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-qsharp-tests","name":"e2e-qsharp-tests","type":"microsoft.quantum/workspaces","location":"westus2","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-04-13T19:10:58.0366776Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-09T22:52:06.6450832Z"},"identity":{"principalId":"0dbdbf52-26d4-470c-9234-bfa298dcda68","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"providers":[{"providerId":"Microsoft","providerSku":"Basic","applicationName":"e2e-qsharp-tests-Microsoft","provisioningState":"Succeeded"},{"providerId":"ionq","providerSku":"ionq-standard","applicationName":"e2e-qsharp-tests-ionq","provisioningState":"Succeeded"},{"providerId":"1qbit","providerSku":"1qbit-internal-free-plan","applicationName":"e2e-qsharp-tests-1qbit","provisioningState":"Succeeded"},{"providerId":"toshiba","providerSku":"toshiba-solutionseconds","applicationName":"e2e-qsharp-tests-toshiba","provisioningState":"Succeeded","resourceUsageId":"528149b6-fc29-4fcc-8cd6-c4cf345af146"},{"providerId":"honeywell","providerSku":"test1","applicationName":"e2e-qsharp-tests-honeywell","provisioningState":"Succeeded","resourceUsageId":"6d1769a8-a82e-4e5e-b1c8-1585dfa15467"}],"provisioningState":"Succeeded","usable":"Yes","storageAccount":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Storage/storageAccounts/e2etests","endpointUri":"https://e2e-qsharp-tests.westus2.quantum.azure.com"}}' headers: cache-control: - no-cache content-length: - - '479' + - '1707' content-type: - application/json; charset=utf-8 date: - - Mon, 22 Mar 2021 16:47:04 GMT + - Wed, 25 Aug 2021 01:42:55 GMT etag: - - '"07009043-0000-3300-0000-5fa7d2e40000"' + - '"000088b0-0000-0800-0000-6111b1970000"' expires: - '-1' pragma: @@ -61,29 +58,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - quantumclient/2019-11-04-preview Azure-SDK-For-Python - accept-language: - - en-US + - az-cli-ext/0.6.1 azsdk-python-quantum/0.0.0.1 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://eastus2euap.quantum.azure.com/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/Microsoft.Quantum/workspaces/e2e-tests-workspace-ionq/providerStatus + uri: https://westus2.quantum.azure.com/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-qsharp-tests/providerStatus response: body: - string: '{"value":[{"id":"ionq","currentAvailability":"Available","targets":[{"id":"ionq.qpu","currentAvailability":"Available","averageQueueTime":5105,"statusPage":"https://status.ionq.co"},{"id":"ionq.simulator","currentAvailability":"Available","averageQueueTime":0,"statusPage":"https://status.ionq.co"}]}],"nextLink":null}' + string: '{"value":[{"id":"Microsoft","currentAvailability":"Available","targets":[{"id":"microsoft.paralleltempering-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.paralleltempering.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.tabu-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.tabu.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.qmc.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.populationannealing.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.substochasticmontecarlo.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.substochasticmontecarlo-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.populationannealing-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null}]},{"id":"ionq","currentAvailability":"Available","targets":[{"id":"ionq.qpu","currentAvailability":"Available","averageQueueTime":718,"statusPage":"https://status.ionq.co"},{"id":"ionq.simulator","currentAvailability":"Available","averageQueueTime":1,"statusPage":"https://status.ionq.co"}]},{"id":"1qbit","currentAvailability":"Available","targets":[{"id":"1qbit.tabu","currentAvailability":"Available","averageQueueTime":0,"statusPage":"http://status.1qbit.com/"},{"id":"1qbit.pathrelinking","currentAvailability":"Available","averageQueueTime":0,"statusPage":"http://status.1qbit.com/"},{"id":"1qbit.pticm","currentAvailability":"Available","averageQueueTime":0,"statusPage":"http://status.1qbit.com/"}]},{"id":"toshiba","currentAvailability":"Available","targets":[{"id":"toshiba.sbm.ising","currentAvailability":"Available","averageQueueTime":5,"statusPage":null}]},{"id":"honeywell","currentAvailability":"Degraded","targets":[{"id":"honeywell.hqs-lt-s1","currentAvailability":"Unavailable","averageQueueTime":0,"statusPage":"https://www.honeywell.com/en-us/company/quantum"},{"id":"honeywell.hqs-lt-s1-apival","currentAvailability":"Available","averageQueueTime":0,"statusPage":"https://www.honeywell.com/en-us/company/quantum"},{"id":"honeywell.hqs-lt-s1-sim","currentAvailability":"Available","averageQueueTime":6,"statusPage":"https://www.honeywell.com/en-us/company/quantum"}]}],"nextLink":null}' headers: content-length: - - '318' + - '2781' content-type: - application/json; charset=utf-8 date: - - Mon, 22 Mar 2021 16:47:08 GMT + - Wed, 25 Aug 2021 01:42:56 GMT request-context: - appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f server: - Microsoft-IIS/10.0 set-cookie: - - ARRAffinity=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;Secure;Domain=eastus2euap.quantum.azure.com - - ARRAffinitySameSite=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;SameSite=None;Secure;Domain=eastus2euap.quantum.azure.com + - ARRAffinity=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;Secure;Domain=westus2.quantum.azure.com + - ARRAffinitySameSite=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;SameSite=None;Secure;Domain=westus2.quantum.azure.com strict-transport-security: - max-age=2592000 transfer-encoding: diff --git a/src/quantum/azext_quantum/tests/latest/recordings/test_targets.yaml b/src/quantum/azext_quantum/tests/latest/recordings/test_targets.yaml index 2e850661af4..bfe83923fe9 100644 --- a/src/quantum/azext_quantum/tests/latest/recordings/test_targets.yaml +++ b/src/quantum/azext_quantum/tests/latest/recordings/test_targets.yaml @@ -13,27 +13,24 @@ interactions: ParameterSetName: - -g -w -l User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - quantummanagementclient/2019-11-04-preview Azure-SDK-For-Python AZURECLI/2.18.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-mgmt-quantum/1.0.0b1 Python/3.8.2 (Windows-10-10.0.19041-SP0) + az-cli-ext/0.6.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/Microsoft.Quantum/workspaces/testworkspace-canary-microsoft?api-version=2019-11-04-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-qsharp-tests?api-version=2019-11-04-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/workspaces/testworkspace-canary-microsoft","name":"testworkspace-canary-microsoft","type":"microsoft.quantum/workspaces","location":"East - US 2 EUAP","properties":{"providers":[{"providerId":"Microsoft","providerSku":"basic","applicationName":"testworkspace-canary-microsoft-Microsoft","provisioningState":"Succeeded"}],"provisioningState":"Succeeded","usable":"Yes"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-qsharp-tests","name":"e2e-qsharp-tests","type":"microsoft.quantum/workspaces","location":"westus2","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-04-13T19:10:58.0366776Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-09T22:52:06.6450832Z"},"identity":{"principalId":"0dbdbf52-26d4-470c-9234-bfa298dcda68","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"providers":[{"providerId":"Microsoft","providerSku":"Basic","applicationName":"e2e-qsharp-tests-Microsoft","provisioningState":"Succeeded"},{"providerId":"ionq","providerSku":"ionq-standard","applicationName":"e2e-qsharp-tests-ionq","provisioningState":"Succeeded"},{"providerId":"1qbit","providerSku":"1qbit-internal-free-plan","applicationName":"e2e-qsharp-tests-1qbit","provisioningState":"Succeeded"},{"providerId":"toshiba","providerSku":"toshiba-solutionseconds","applicationName":"e2e-qsharp-tests-toshiba","provisioningState":"Succeeded","resourceUsageId":"528149b6-fc29-4fcc-8cd6-c4cf345af146"},{"providerId":"honeywell","providerSku":"test1","applicationName":"e2e-qsharp-tests-honeywell","provisioningState":"Succeeded","resourceUsageId":"6d1769a8-a82e-4e5e-b1c8-1585dfa15467"}],"provisioningState":"Succeeded","usable":"Yes","storageAccount":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Storage/storageAccounts/e2etests","endpointUri":"https://e2e-qsharp-tests.westus2.quantum.azure.com"}}' headers: cache-control: - no-cache content-length: - - '487' + - '1707' content-type: - application/json; charset=utf-8 date: - - Mon, 22 Mar 2021 16:47:05 GMT + - Wed, 25 Aug 2021 01:42:54 GMT etag: - - '"07008443-0000-3300-0000-5fa7d2e40000"' + - '"000088b0-0000-0800-0000-6111b1970000"' expires: - '-1' pragma: @@ -61,29 +58,26 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - quantumclient/2019-11-04-preview Azure-SDK-For-Python - accept-language: - - en-US + - az-cli-ext/0.6.1 azsdk-python-quantum/0.0.0.1 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://eastus2euap.quantum.azure.com/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/Microsoft.Quantum/workspaces/testworkspace-canary-microsoft/providerStatus + uri: https://westus2.quantum.azure.com/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-qsharp-tests/providerStatus response: body: - string: '{"value":[{"id":"Microsoft","currentAvailability":"Available","targets":[{"id":"microsoft.paralleltempering-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.paralleltempering.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.tabu-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.tabu.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing-parameterfree.fpga","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing.fpga","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.chemistry.all","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.qmc.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null}]}],"nextLink":null}' + string: '{"value":[{"id":"Microsoft","currentAvailability":"Available","targets":[{"id":"microsoft.paralleltempering-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.paralleltempering.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.tabu-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.tabu.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.qmc.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.populationannealing.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.substochasticmontecarlo.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.substochasticmontecarlo-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.populationannealing-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null}]},{"id":"ionq","currentAvailability":"Available","targets":[{"id":"ionq.qpu","currentAvailability":"Available","averageQueueTime":718,"statusPage":"https://status.ionq.co"},{"id":"ionq.simulator","currentAvailability":"Available","averageQueueTime":1,"statusPage":"https://status.ionq.co"}]},{"id":"1qbit","currentAvailability":"Available","targets":[{"id":"1qbit.tabu","currentAvailability":"Available","averageQueueTime":0,"statusPage":"http://status.1qbit.com/"},{"id":"1qbit.pathrelinking","currentAvailability":"Available","averageQueueTime":0,"statusPage":"http://status.1qbit.com/"},{"id":"1qbit.pticm","currentAvailability":"Available","averageQueueTime":0,"statusPage":"http://status.1qbit.com/"}]},{"id":"toshiba","currentAvailability":"Available","targets":[{"id":"toshiba.sbm.ising","currentAvailability":"Available","averageQueueTime":5,"statusPage":null}]},{"id":"honeywell","currentAvailability":"Degraded","targets":[{"id":"honeywell.hqs-lt-s1","currentAvailability":"Unavailable","averageQueueTime":0,"statusPage":"https://www.honeywell.com/en-us/company/quantum"},{"id":"honeywell.hqs-lt-s1-apival","currentAvailability":"Available","averageQueueTime":0,"statusPage":"https://www.honeywell.com/en-us/company/quantum"},{"id":"honeywell.hqs-lt-s1-sim","currentAvailability":"Available","averageQueueTime":6,"statusPage":"https://www.honeywell.com/en-us/company/quantum"}]}],"nextLink":null}' headers: content-length: - - '1246' + - '2781' content-type: - application/json; charset=utf-8 date: - - Mon, 22 Mar 2021 16:47:08 GMT + - Wed, 25 Aug 2021 01:42:56 GMT request-context: - appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f server: - Microsoft-IIS/10.0 set-cookie: - - ARRAffinity=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;Secure;Domain=eastus2euap.quantum.azure.com - - ARRAffinitySameSite=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;SameSite=None;Secure;Domain=eastus2euap.quantum.azure.com + - ARRAffinity=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;Secure;Domain=westus2.quantum.azure.com + - ARRAffinitySameSite=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;SameSite=None;Secure;Domain=westus2.quantum.azure.com strict-transport-security: - max-age=2592000 transfer-encoding: diff --git a/src/quantum/azext_quantum/tests/latest/recordings/test_workspace.yaml b/src/quantum/azext_quantum/tests/latest/recordings/test_workspace.yaml index a3d6049663e..eb77f8f6e19 100644 --- a/src/quantum/azext_quantum/tests/latest/recordings/test_workspace.yaml +++ b/src/quantum/azext_quantum/tests/latest/recordings/test_workspace.yaml @@ -13,24 +13,63 @@ interactions: ParameterSetName: - -l -o User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.18.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=location%20eq%20%27westus%27%20and%20resourceType%20eq%20%27Microsoft.Quantum%2FWorkspaces%27&$expand=createdTime%2CchangedTime%2CprovisioningState&api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=location%20eq%20%27westus2%27%20and%20resourceType%20eq%20%27Microsoft.Quantum%2FWorkspaces%27&$expand=createdTime%2CchangedTime%2CprovisioningState&api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test-001/providers/Microsoft.Quantum/Workspaces/test-workspace-001","name":"test-workspace-001","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-19T20:40:40.9074747Z","changedTime":"2020-03-19T20:51:02.1112482Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-privpreview/providers/Microsoft.Quantum/Workspaces/anpaz-privpreview","name":"anpaz-privpreview","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-19T20:35:39.2656094Z","changedTime":"2020-05-29T18:36:12.3334808Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod36ec9b45-2b29-4baa-bb4f-b7051d9f4776","name":"prod36ec9b45-2b29-4baa-bb4f-b7051d9f4776","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"a0bd33ed-9b6b-49dd-a35c-281b4a90e1a9","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:44:54.6596067Z","changedTime":"2021-03-22T16:45:14.699584Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:44:55.5601074Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:45:07.4702637Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod3ea6e046-64ed-43b4-9509-682754532286","name":"prod3ea6e046-64ed-43b4-9509-682754532286","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"6e4e7b68-8d7d-4b57-ac5c-ea6e449a5853","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:44:26.8983318Z","changedTime":"2021-03-22T16:44:51.3275839Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:44:27.5390332Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:44:42.3693218Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod62a89452-781a-40b8-a101-ad61abfe4fd7","name":"prod62a89452-781a-40b8-a101-ad61abfe4fd7","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"f2aaab95-0052-4a1f-8c9c-0bd119bfd153","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T21:42:46.4952299Z","changedTime":"2021-03-22T01:53:17.9408936Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T21:42:47.3849889Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T21:43:01.8096235Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prodc0f67f7f-f035-4ce2-9ac6-5f02000c8d88","name":"prodc0f67f7f-f035-4ce2-9ac6-5f02000c8d88","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"5c9afcf8-7d8d-4453-8ab7-cc24789d5edf","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:45:45.3281845Z","changedTime":"2021-03-22T16:46:10.5596721Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:45:46.3682613Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:46:01.3693227Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-test/providers/Microsoft.Quantum/Workspaces/demo","name":"demo","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-05T17:28:29.5939264Z","changedTime":"2020-05-05T17:38:31.1167751Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-test/providers/Microsoft.Quantum/Workspaces/test-yinshen","name":"test-yinshen","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-05T03:51:59.1516552Z","changedTime":"2020-05-20T21:41:00.7845506Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test","name":"aq-private-preview-test","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-16T22:04:24.0804946Z","changedTime":"2021-02-24T19:34:25.7281564Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test-01","name":"aq-private-preview-test-01","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-20T01:13:35.440609Z","changedTime":"2020-09-10T23:10:37.7043418Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test-02","name":"aq-private-preview-test-02","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"46e0805f-e31f-4e85-847f-d13a6635fa11","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-25T19:18:23.0582626Z","changedTime":"2021-01-25T23:28:27.0409898Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test-03","name":"aq-private-preview-test-03","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"1e2a7fa5-8b7a-426e-b888-0353eb06aea3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-24T23:23:18.6546477Z","changedTime":"2021-02-25T03:33:23.3652523Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-test-rg/providers/Microsoft.Quantum/Workspaces/e2e-browse-test","name":"e2e-browse-test","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"24b95fbd-1937-45ce-831d-49c43dbca3c3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-16T22:38:04.5503497Z","changedTime":"2020-10-17T02:48:06.7367182Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-test-rg/providers/Microsoft.Quantum/Workspaces/e2e-create-test","name":"e2e-create-test","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"acf06cc1-90cf-4a4e-96ea-0e81a78b31b8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-16T21:46:25.6270369Z","changedTime":"2020-12-11T01:27:21.9528657Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/etperr-test/providers/Microsoft.Quantum/Workspaces/etperr-test","name":"etperr-test","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-28T17:40:04.6504296Z","changedTime":"2020-06-25T22:05:20.8555311Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/contoso-westus1","name":"contoso-westus1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-16T18:12:46.1199949Z","changedTime":"2020-06-16T22:23:17.8476353Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/Demotest","name":"Demotest","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"1a7d82ef-ddad-4188-a324-55357a97a746","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-12-14T02:43:01.2839634Z","changedTime":"2020-12-14T07:53:23.8203377Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/honeywell1","name":"honeywell1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"2d4a5e76-2937-4061-83fc-7d969954a3a2","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-21T19:05:23.328088Z","changedTime":"2020-09-21T23:15:29.7759422Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/ionq1","name":"ionq1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"6102d9a8-0e72-4da2-a27d-a652d3c2e5e8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-21T19:11:00.0635813Z","changedTime":"2020-09-21T23:21:05.0072241Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/microsoft-westus1","name":"microsoft-westus1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-16T18:20:01.280349Z","changedTime":"2020-06-16T22:30:26.0971053Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/MyQuantumWorkspace","name":"MyQuantumWorkspace","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"47188014-b81b-4710-9779-a9c41197de97","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-11T19:34:19.1699736Z","changedTime":"2021-03-11T23:44:23.3250108Z","provisioningState":"Succeeded","systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-03-11T19:34:20.4864003Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-11T19:38:21.0141061Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/testworkspace","name":"testworkspace","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"fe78f511-aa67-4408-8ee5-8a681d838e64","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-30T17:46:02.7517564Z","changedTime":"2021-03-16T20:35:17.7360136Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2020-10-30T17:46:03.0539259Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-16T20:25:01.6099058Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/testworkspace2","name":"testworkspace2","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"4a6aa964-3782-44e2-b91a-14ddf8c1c009","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-30T17:52:23.1697444Z","changedTime":"2020-10-30T22:02:27.1066705Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-deletetest/providers/Microsoft.Quantum/Workspaces/proddelete","name":"proddelete","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-28T17:29:19.3030796Z","changedTime":"2020-05-28T17:39:35.9521659Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-deletetest/providers/Microsoft.Quantum/Workspaces/proddelete2","name":"proddelete2","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-28T17:31:37.3759282Z","changedTime":"2020-05-28T17:42:12.4736796Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/workspaces/dfDemoNew10","name":"dfDemoNew10","type":"Microsoft.Quantum/workspaces","location":"westus","createdTime":"2020-03-11T19:20:33.4802519Z","changedTime":"2020-03-11T19:30:34.3278194Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/workspaces/dfDemoNew8","name":"dfDemoNew8","type":"Microsoft.Quantum/workspaces","location":"westus","createdTime":"2020-03-11T03:12:37.0377102Z","changedTime":"2020-03-11T03:22:37.3633519Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/workspaces/dfDemoNew9","name":"dfDemoNew9","type":"Microsoft.Quantum/workspaces","location":"westus","createdTime":"2020-03-11T03:13:24.1727198Z","changedTime":"2020-05-15T02:34:05.6088144Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/workspaces/prod1","name":"prod1","type":"Microsoft.Quantum/workspaces","location":"westus","createdTime":"2020-03-10T03:16:06.5245195Z","changedTime":"2020-03-10T03:26:08.8514382Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rowolfso-testRG/providers/Microsoft.Quantum/Workspaces/repro1","name":"repro1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"841fc5e0-5381-4c41-9029-e0865cd561d5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-11T17:45:07.2864717Z","changedTime":"2021-03-11T21:55:15.1101066Z","provisioningState":"Succeeded","systemData":{"createdBy":"rowolfso@microsoft.com","createdByType":"User","createdAt":"2021-03-11T17:45:07.3607636Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-11T17:45:24.2057074Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rwolfso/providers/Microsoft.Quantum/Workspaces/rowolfso","name":"rowolfso","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-08T18:36:18.0334208Z","changedTime":"2020-05-08T18:46:19.5168746Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sanjgupt/providers/Microsoft.Quantum/Workspaces/job_shop","name":"job_shop","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-07-05T01:48:33.5086065Z","changedTime":"2020-07-05T01:58:35.2363297Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-review-rg/providers/Microsoft.Quantum/Workspaces/workspace-ms","name":"workspace-ms","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"3bbce0c2-fbdc-4154-8132-e5ffab9abe46","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-22T18:55:19.83585Z","changedTime":"2021-02-05T21:48:14.5942692Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktestrg-7961/providers/Microsoft.Quantum/Workspaces/aqws5237","name":"aqws5237","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"17ca4ab7-b357-4797-8600-aa9d7d3d19d9","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-27T13:34:18.297899Z","changedTime":"2021-01-27T17:44:22.446036Z","provisioningState":"Succeeded","tags":{"TestTag":"TestUpdate"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-westus-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-Microsoft","name":"e2e-tests-workspace-Microsoft","type":"microsoft.quantum/Workspaces","location":"westus","createdTime":"2020-06-23T22:00:45.5575287Z","changedTime":"2020-06-23T22:10:47.7509457Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace","name":"testworkspace","type":"microsoft.quantum/Workspaces","location":"westus","createdTime":"2020-04-28T21:52:31.2857652Z","changedTime":"2020-04-28T22:02:33.3373885Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xiou/providers/Microsoft.Quantum/Workspaces/xiou-quantumws","name":"xiou-quantumws","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"e03fdb80-274f-4137-8c73-437233dc6b44","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-11T23:50:19.4757002Z","changedTime":"2021-03-01T18:38:18.0895214Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"xiou@microsoft.com","createdByType":"User","createdAt":"2021-01-11T23:50:19.6528513Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-01T18:28:16.0929672Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armTemplate317-7","name":"armTemplate317-7","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"b2f721c3-f6ff-4786-bf95-ee90e848fb77","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-18T00:19:45.7372853Z","changedTime":"2021-03-18T04:29:50.0625711Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-18T00:19:45.9555453Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-18T00:19:57.652115Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/demo-yinshen","name":"demo-yinshen","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-05T16:40:04.7665954Z","changedTime":"2020-06-05T20:50:32.5084865Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/yinshen-workspace","name":"yinshen-workspace","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-27T21:34:55.5356144Z","changedTime":"2021-03-10T01:09:26.2942183Z","provisioningState":"Succeeded","tags":{},"systemData":{"lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-10T00:59:19.329145Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test-001/providers/Microsoft.Quantum/Workspaces/accepted","name":"accepted","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T20:37:01.157089Z","changedTime":"2020-06-01T20:47:47.6517904Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test-001/providers/Microsoft.Quantum/Workspaces/new","name":"new","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T19:13:43.47931Z","changedTime":"2020-06-01T19:24:19.3065929Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test-001/providers/Microsoft.Quantum/Workspaces/yinshen-test-new","name":"yinshen-test-new","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T17:59:32.2118129Z","changedTime":"2020-06-01T18:10:08.1421597Z","provisioningState":"Succeeded","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-demo-2","name":"frtibble-demo-2","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"2213768a-aa6c-4949-b3d7-f5d434e1e088","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-06T17:05:57.3048486Z","changedTime":"2021-07-27T05:47:10.0507963Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-07-06T17:05:58.7257667Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-06T17:06:13.5957969Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-demo-workspace","name":"frtibble-demo-workspace","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"290848fd-da74-4115-958f-a9c11f48a163","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-13T12:38:19.4032686Z","changedTime":"2021-07-27T05:47:57.917126Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-07-13T12:38:20.1561048Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-13T12:38:32.0680232Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/anraman-workspace","name":"anraman-workspace","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"1dbf1cdb-8cf5-4fe4-9444-febd2bab3409","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-20T22:51:02.8804312Z","changedTime":"2021-07-27T05:44:50.4886063Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"anraman@microsoft.com","createdByType":"User","createdAt":"2021-07-20T22:51:02.9329677Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-20T22:51:18.1153468Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xfield-rg/providers/Microsoft.Quantum/Workspaces/azq-westuw2","name":"azq-westuw2","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"37319216-7620-47a2-8030-a1e2b4b990bd","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-12T21:23:39.6136763Z","changedTime":"2021-08-13T01:33:45.3421172Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"vitorcia@microsoft.com","createdByType":"User","createdAt":"2021-08-12T21:23:39.8031012Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-12T21:23:52.9328064Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w3950376","name":"e2e-test-w3950376","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"5022df26-4968-4226-8a58-d8d6a5c873ca","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T00:44:42.8443666Z","changedTime":"2021-08-25T00:55:05.8452953Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T00:44:43.1051158Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T00:44:57.1583338Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w7129527","name":"e2e-test-w7129527","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"ddf6fd12-eba6-4d98-b637-bab40fa84444","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T00:47:19.6819317Z","changedTime":"2021-08-25T00:47:37.5459563Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T00:47:19.9748024Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T00:47:31.6350202Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w4098832","name":"e2e-test-w4098832","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"57c070dc-6434-432d-ac90-8d54b883dab0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:04:22.882857Z","changedTime":"2021-08-25T01:04:43.6049246Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:04:23.174168Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:04:37.5527729Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w1315068","name":"e2e-test-w1315068","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"1fc5427b-54f4-4dd5-96c5-1c7d04ed528f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:05:07.5431209Z","changedTime":"2021-08-25T01:05:27.9117062Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:05:07.8829937Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:05:22.2338331Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w5352441","name":"e2e-test-w5352441","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"5f7b94e9-e81a-400b-ab72-a4a2ec47c2bf","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:18:32.5613149Z","changedTime":"2021-08-25T01:18:52.4851835Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:18:32.8224881Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:18:46.5385119Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w1995962","name":"e2e-test-w1995962","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"19b91cca-8c7a-42fa-8551-b2f54a1d3404","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:31:21.0275647Z","changedTime":"2021-08-25T01:41:43.9999924Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:31:21.4143555Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:31:35.9401059Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w6657221","name":"e2e-test-w6657221","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"27b3b127-67fa-40b6-8d98-d896b6b5cd23","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:32:43.5660443Z","changedTime":"2021-08-25T01:33:02.4976016Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:32:44.0270929Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:32:56.1919775Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w9867934","name":"e2e-test-w9867934","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"e4941863-fbb4-458a-99ed-4b2ef103badc","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:36:47.0412303Z","changedTime":"2021-08-25T01:37:07.8041008Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:36:47.4354403Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:37:01.975321Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w1471768","name":"e2e-test-w1471768","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"7f575bf8-8dff-493b-9891-2ad653ee7c3a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:40:58.4735258Z","changedTime":"2021-08-25T01:41:19.4705908Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:40:58.9083241Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:41:13.8372459Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/ms-canary4","name":"ms-canary4","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"f159c531-f9e6-4ce9-858d-99491c363f17","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-12T22:03:20.6669678Z","changedTime":"2021-07-27T05:40:13.7100188Z","provisioningState":"Succeeded","tags":{"tag1":"value1"},"systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-01-12T22:03:21.0323859Z","lastModifiedBy":"georgenm@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-02-23T19:45:10.2561371Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adbai-test/providers/Microsoft.Quantum/Workspaces/adbai-privatepreview-test","name":"adbai-privatepreview-test","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"a6469555-aa58-49c5-ab67-4ce4153d005f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-01T19:42:54.6555906Z","changedTime":"2021-07-27T05:35:59.3377455Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"adbai@microsoft.com","createdByType":"User","createdAt":"2021-02-01T19:42:56.2851246Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-09T18:45:19.6652273Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-qsharp-tests","name":"e2e-qsharp-tests","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"0dbdbf52-26d4-470c-9234-bfa298dcda68","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-04-13T19:10:57.5675579Z","changedTime":"2021-08-09T23:02:13.3272331Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-04-13T19:10:58.0366776Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-09T22:52:06.6450832Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/temp-lg4x5jmb-jpb-re","name":"temp-lg4x5jmb-jpb-re","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"2bcfb156-7303-46b9-a786-67051d836bdf","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-11T18:32:42.337053Z","changedTime":"2021-07-27T05:46:36.935754Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-11T18:32:42.3814041Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T18:32:54.3108749Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/temp-lg4x","name":"temp-lg4x","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"21e4e4a0-51c5-44d1-a3ce-a33f3b9ef111","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-11T18:38:03.6680292Z","changedTime":"2021-07-27T06:46:36.799255Z","provisioningState":"Succeeded","systemData":{"createdBy":"ce7bd34e-a57e-46b7-b9c8-8e0d6119f011","createdByType":"Application","createdAt":"2021-05-11T18:38:03.981634Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T18:38:18.051526Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/temp-lg4x5jmb-re","name":"temp-lg4x5jmb-re","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"588757e1-ff2a-4d60-a9d8-6362c0d88635","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-11T18:40:40.9740311Z","changedTime":"2021-07-27T05:49:52.0964058Z","provisioningState":"Succeeded","systemData":{"createdBy":"ce7bd34e-a57e-46b7-b9c8-8e0d6119f011","createdByType":"Application","createdAt":"2021-05-11T18:40:41.2019933Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T18:42:15.091327Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-xvjqusc5-tpf","name":"temp-xvjqusc5-tpf","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"a1695601-54c1-4ede-b520-67a50fa491cd","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-11T21:28:56.684082Z","changedTime":"2021-07-27T05:36:13.4405594Z","provisioningState":"Succeeded","systemData":{"createdBy":"ce7bd34e-a57e-46b7-b9c8-8e0d6119f011","createdByType":"Application","createdAt":"2021-05-11T21:28:56.9129234Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T21:29:11.3864127Z"}}],"nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?%24filter=location+eq+%27westus2%27+and+resourceType+eq+%27Microsoft.Quantum%2fWorkspaces%27&%24expand=createdTime%2cchangedTime%2cprovisioningState&api-version=2021-04-01&%24skiptoken=eyJuZXh0TWFya2VyIjoiK1JJRDp%2bZjdOOUFQdlBLOGJ3WHBjSUFBQndEdz09I1JUOjEjVFJDOjEwMDAjSVNWOjIjSUVPOjY1NTUxI1FDRjo3I0ZQQzpBZ2hkSWdBQXdEMEFBRkE4QUFEQVBRQUFYU0lBQU1BOUFBQXVBUEFlWlVDL2FsbXJ0dWU1WkpYOUlrRC83ZzdvVVVELzY0WkFhLzI1K3YrL1gvNy92My8vRVVEL3Z5RkEveS9ZSWdBQXdEMEFBQUlBbklqY0lnQUF3RDBBQUFJQXFhemRJZ0FBd0QwQUFBSUFFWWJnSWdBQXdEMEFBQVFBNzU0ZGdQSWlBQURBUFFBQUJBQU52V3lBK0NJQUFNQTlBQUFFQUFhUVZxb0FJd0FBd0QwQUFBSUE4b3dGSXdBQXdEMEFBQlFBcDQ3M2dOMkF3SUI2aENXQkVRQ0FJT1dCRjRjTEl3QUF3RDBBQUFRQWU0Mi9nRW9qQUFEQVBRQUFDQUJRaGdtQWxZcXFsVkVqQUFEQVBRQUFCQUJLdlNtQVpTTUFBTUE5QUFBR0FJV1RBY0FBQm5zakFBREFQUUFBQ0FERWtBU0F6WUZyaVpFakFBREFQUUFBQWdBZ21BY2tBQURBUFFBQUFnQnpwQWtrQUFEQVBRQUFBZ0FZdndva0FBREFQUUFBQWdEVGh3d2tBQURBUFFBQUFnQmR2Q3NrQUFEQVBRQUFCQUJSQXlBR2ZTUUFBTUE5QUFBTUFKTUxRQTZBQUJJQXdZQThnNEVrQUFEQVBRQUFCQUR2dUFLQXl5UUFBTUE5QUFBRUFJS3JQSUhRSkFBQXdEMEFBQWdBd0pvR2dwcUpCWURVSkFBQXdEMEFBQUlBdmJ2WEpBQUF3RDBBQUFRQUpxcmFpOWtrQUFEQVBRQUFCQUIzaWlhTjlDUUFBTUE5QUFBRUFNZTFHNEQySkFBQXdEMEFBQUlBSTczNEpBQUF3RDBBQUFRQUlaeXVnUHNrQUFEQVBRQUFBZ0R3dXhRbEFBREFQUUFBQWdDYWhCMGxBQURBUFFBQUFnRFpwQjRsQUFEQVBRQUFCZ0F6bHVXQTNKVWhKUUFBd0QwQUFBSUFoN1VvSlFBQXdEMEFBQUlBTHJvcUpRQUF3RDBBQUFRQU5ZWkRneXdsQUFEQVBRQUFBZ0NOaHpBbEFBREFQUUFBQWdEU3FqUW1BQURBUFFBQUFnRHdyYThuQUFEQVBRQUFBZ0E0ayt3bkFBREFQUUFBQkFCMnZuaUE3U2NBQU1BOUFBQUVBR3VEODRVTktBQUF3RDBBQUFRQW1ZdENnbHNvQUFEQVBRQUFFQURQZ0txQTRRQUFvT3FBQ0lCOGtMR2NhU2dBQU1BOUFBQUlBTHluQWNBWUFONkNhaWdBQU1BOUFBQUVBRVdZVjVOeEtBQUF3RDBBQUFZQWNJeVppcmlCY3lnQUFNQTlBQUFDQU5HOWRDZ0FBTUE5QUFBQ0FLZXBnaWdBQU1BOUFBQUNBS20vaGlnQUFNQTlBQUFDQUp1ZGh5Z0FBTUE5QUFBQ0FHeTBpU2dBQU1BOUFBQUNBSm1NbGlnQUFNQTlBQUFFQUt1bStvZWJLQUFBd0QwQUFBUUFrcDBLZ0tNb0FBREFQUUFBQkFCUWg5MjFyQ2dBQU1BOUFBQUNBSlNTdkNnQUFNQTlBQUFDQUkrMmlpa0FBTUE5QUFBQ0FEQ21CaW9BQU1BOUFBQUNBQXk3Q1NvQUFNQTlBQUFDQUJhUURTb0FBTUE5QUFBQ0FLV0NlaW9BQU1BOUFBQUdBT3kwVDRIamdYMHFBQURBUFFBQUJBQkt0QW1BZ2lvQUFNQTlBQUFHQUZ1SERZQXdnSVVxQUFEQVBRQUFCZ0FuaHI2cEFJQ1hLZ0FBd0QwQUFBWUFiN2dSQUF3QXBpb0FBTUE5QUFBQ0FEYUtxaW9BQU1BOUFBQUdBSUNRQVlBU2dERXJBQURBUFFBQUFnRFRpRFVyQUFEQVBRQUFBZ0Jrdmp3ckFBREFQUUFBQWdEUGpWNHJBQURBUFFBQUJBQ01rQTJBd1NzQUFNQTlBQUFJQUErbmFvWkRnbHlBMHlzQUFNQTlBQUFFQUhtd0xJQkFMQUFBd0QwQUFCUUFrb3ZZaFRhQ3Q0RUFrZ0lCQUdBQkFGQ0MxSUZHTEFBQXdEMEFBQUlBNG9FR0xRQUF3RDBBQUFJQUE0dFRMZ0FBd0QwQUFBUUE0NnZWZ0ZndUFBREFQUUFBQmdCdHZnSEFCZ0JpTGdBQXdEMEFBQVlBVVNqQUFkYUJZeTRBQU1BOUFBQU9BUEVLQU9EaEFBQWM3NERjZ09tQ2F5NEFBTUE5QUFBQ0FDcVRieTRBQU1BOUFBQUNBTGFwZnk0QUFNQTlBQUFDQUNxY3BDNEFBTUE5QUFBQ0FCaVJCUzhBQU1BOUFBQUVBUEVtQUVpd0x3QUF3RDBBQUFJQWQ0UHFMd0FBd0QwQUFBSUFpcUk0TUFBQXdEMEFBQUlBNTcyQ01BQUF3RDBBQUFJQVc0d21NUUFBd0QwQUFBSUFRSmxoTVFBQXdEMEFBQUlBL0xwbE1RQUF3RDBBQUFnQXE3TCtnZUVER0FCeE1RQUF3RDBBQUFJQXU1MkNNUUFBd0QwQUFBSUFxWk9PTVFBQXdEMEFBQW9BNHpNQXdBRUFnQUh4ZzQ4eEFBREFQUUFBQmdCaUpRQXdBQWlVTVFBQXdEMEFBQXdBdW9RenJ3RUJBQjY1aENLQWxURUFBTUE5QUFBd0FJRUpBSGhpQVFBR0F3QmZnZ0hBR0tDZWdSK0FnUUJnQnR5QkFoQVlBQUVBMGdBQXdGQUFVWU95RVFBd0dBQ0tncGt4QUFEQVBRQUFBZ0J1cUJVeUFBREFQUUFBQkFBQk9BQW96eklBQU1BOUFBQUVBT0VRQUFaVk13QUF3RDBBQUJnQVhhQy9nQnVFR1lBamdUeUE1b01RZ0ZhQXdvSU9nRW1BWURNQUFNQTlBQUFHQUxDb2o0QUVnV0V6QUFEQVBRQUFCQUJWcGl5QWVqTUFBTUE5QUFCT0FFNkthb0JoZ1VHQVI0RGtpUU9BVklFWWdKYUFWSU5DZ0xLQVlvQVBnb21CYjRCQ2dDbUFab0NRZ011QXdJQlFnRXFCY29ERWdPU0hpNEVSZ0plQU1ZRFJnQVNBRG9BRWdFbUF3SUlMZ0hzekFBREFQUUFBTGdCOGhSS0FZSUJHZ0dhQURaQWdnZFNBYm9DV2dmNlFZUUJBUVBlRENJQ2dnRnlBcVlDeEFnQ0JaWUF1Z0MyQWZETUFBTUE5QUFBS0FHT0JHSUJhZ0JpQXlZQUhOQUFBd0QwQUFBZ0FyNU1Cd0ZFQXY0c01OQUFBd0QwQUFCUUFnUVV3d05JQmdBRU1BRFNFNllIQkFLTUExSVlqTkFBQXdEMEFBQUlBSElzbk5BQUF3RDBBQUFRQUFTZ0F3UFkwQUFEQVBRQUFCQUJ4REFBRE1EWUFBTUE5QUFBQ0FIaU5iellBQU1BOUFBQUNBQVNFakRZQUFNQTlBQUFFQU1FZ1FFQ1VOZ0FBd0QwQUFBUUFFVFFBb0pnMkFBREFQUUFBQWdDY3BzczJBQURBUFFBQUJBQWhBUUFESWpjQUFNQTlBQUFFQUhFMkFCSitPQUFBd0QwQUFBSUFySXJMT0FBQXdEMEFBQVFBR0o0WWdNODRBQURBUFFBQUFnQWRoblk1QUFEQVBRQUFDQUFSSmJBQUlRQUFCbnM1QUFEQVBRQUFCQUNSQ1JJQWlqa0FBTUE5QUFBQ0FCK1lrRGtBQU1BOUFBQUVBS21WSzZxUk9RQUF3RDBBQUFJQTlJQ1hPUUFBd0QwQUFBZ0F4clh1aVFIQUNRQ1lPUUFBd0QwQUFBSUFyb0djT1FBQXdEMEFBQW9BTVNnZ0FaRURBRkhvaUs0NUFBREFQUUFBQWdCRm5WQThBQURBUFFBQUFnQmp2Zz09In0%3d"}' headers: cache-control: - no-cache content-length: - - '20995' + - '19471' content-type: - application/json; charset=utf-8 date: - - Mon, 22 Mar 2021 16:47:09 GMT + - Wed, 25 Aug 2021 01:42:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - quantum workspace list + Connection: + - keep-alive + ParameterSetName: + - -l -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?%24filter=location+eq+%27westus2%27+and+resourceType+eq+%27Microsoft.Quantum%2FWorkspaces%27&%24expand=createdTime%2CchangedTime%2CprovisioningState&api-version=2021-04-01&%24skiptoken=eyJuZXh0TWFya2VyIjoiK1JJRDp%2BZjdOOUFQdlBLOGJ3WHBjSUFBQndEdz09I1JUOjEjVFJDOjEwMDAjSVNWOjIjSUVPOjY1NTUxI1FDRjo3I0ZQQzpBZ2hkSWdBQXdEMEFBRkE4QUFEQVBRQUFYU0lBQU1BOUFBQXVBUEFlWlVDL2FsbXJ0dWU1WkpYOUlrRC83ZzdvVVVELzY0WkFhLzI1K3YrL1gvNy92My8vRVVEL3Z5RkEveS9ZSWdBQXdEMEFBQUlBbklqY0lnQUF3RDBBQUFJQXFhemRJZ0FBd0QwQUFBSUFFWWJnSWdBQXdEMEFBQVFBNzU0ZGdQSWlBQURBUFFBQUJBQU52V3lBK0NJQUFNQTlBQUFFQUFhUVZxb0FJd0FBd0QwQUFBSUE4b3dGSXdBQXdEMEFBQlFBcDQ3M2dOMkF3SUI2aENXQkVRQ0FJT1dCRjRjTEl3QUF3RDBBQUFRQWU0Mi9nRW9qQUFEQVBRQUFDQUJRaGdtQWxZcXFsVkVqQUFEQVBRQUFCQUJLdlNtQVpTTUFBTUE5QUFBR0FJV1RBY0FBQm5zakFBREFQUUFBQ0FERWtBU0F6WUZyaVpFakFBREFQUUFBQWdBZ21BY2tBQURBUFFBQUFnQnpwQWtrQUFEQVBRQUFBZ0FZdndva0FBREFQUUFBQWdEVGh3d2tBQURBUFFBQUFnQmR2Q3NrQUFEQVBRQUFCQUJSQXlBR2ZTUUFBTUE5QUFBTUFKTUxRQTZBQUJJQXdZQThnNEVrQUFEQVBRQUFCQUR2dUFLQXl5UUFBTUE5QUFBRUFJS3JQSUhRSkFBQXdEMEFBQWdBd0pvR2dwcUpCWURVSkFBQXdEMEFBQUlBdmJ2WEpBQUF3RDBBQUFRQUpxcmFpOWtrQUFEQVBRQUFCQUIzaWlhTjlDUUFBTUE5QUFBRUFNZTFHNEQySkFBQXdEMEFBQUlBSTczNEpBQUF3RDBBQUFRQUlaeXVnUHNrQUFEQVBRQUFBZ0R3dXhRbEFBREFQUUFBQWdDYWhCMGxBQURBUFFBQUFnRFpwQjRsQUFEQVBRQUFCZ0F6bHVXQTNKVWhKUUFBd0QwQUFBSUFoN1VvSlFBQXdEMEFBQUlBTHJvcUpRQUF3RDBBQUFRQU5ZWkRneXdsQUFEQVBRQUFBZ0NOaHpBbEFBREFQUUFBQWdEU3FqUW1BQURBUFFBQUFnRHdyYThuQUFEQVBRQUFBZ0E0ayt3bkFBREFQUUFBQkFCMnZuaUE3U2NBQU1BOUFBQUVBR3VEODRVTktBQUF3RDBBQUFRQW1ZdENnbHNvQUFEQVBRQUFFQURQZ0txQTRRQUFvT3FBQ0lCOGtMR2NhU2dBQU1BOUFBQUlBTHluQWNBWUFONkNhaWdBQU1BOUFBQUVBRVdZVjVOeEtBQUF3RDBBQUFZQWNJeVppcmlCY3lnQUFNQTlBQUFDQU5HOWRDZ0FBTUE5QUFBQ0FLZXBnaWdBQU1BOUFBQUNBS20vaGlnQUFNQTlBQUFDQUp1ZGh5Z0FBTUE5QUFBQ0FHeTBpU2dBQU1BOUFBQUNBSm1NbGlnQUFNQTlBQUFFQUt1bStvZWJLQUFBd0QwQUFBUUFrcDBLZ0tNb0FBREFQUUFBQkFCUWg5MjFyQ2dBQU1BOUFBQUNBSlNTdkNnQUFNQTlBQUFDQUkrMmlpa0FBTUE5QUFBQ0FEQ21CaW9BQU1BOUFBQUNBQXk3Q1NvQUFNQTlBQUFDQUJhUURTb0FBTUE5QUFBQ0FLV0NlaW9BQU1BOUFBQUdBT3kwVDRIamdYMHFBQURBUFFBQUJBQkt0QW1BZ2lvQUFNQTlBQUFHQUZ1SERZQXdnSVVxQUFEQVBRQUFCZ0FuaHI2cEFJQ1hLZ0FBd0QwQUFBWUFiN2dSQUF3QXBpb0FBTUE5QUFBQ0FEYUtxaW9BQU1BOUFBQUdBSUNRQVlBU2dERXJBQURBUFFBQUFnRFRpRFVyQUFEQVBRQUFBZ0Jrdmp3ckFBREFQUUFBQWdEUGpWNHJBQURBUFFBQUJBQ01rQTJBd1NzQUFNQTlBQUFJQUErbmFvWkRnbHlBMHlzQUFNQTlBQUFFQUhtd0xJQkFMQUFBd0QwQUFCUUFrb3ZZaFRhQ3Q0RUFrZ0lCQUdBQkFGQ0MxSUZHTEFBQXdEMEFBQUlBNG9FR0xRQUF3RDBBQUFJQUE0dFRMZ0FBd0QwQUFBUUE0NnZWZ0ZndUFBREFQUUFBQmdCdHZnSEFCZ0JpTGdBQXdEMEFBQVlBVVNqQUFkYUJZeTRBQU1BOUFBQU9BUEVLQU9EaEFBQWM3NERjZ09tQ2F5NEFBTUE5QUFBQ0FDcVRieTRBQU1BOUFBQUNBTGFwZnk0QUFNQTlBQUFDQUNxY3BDNEFBTUE5QUFBQ0FCaVJCUzhBQU1BOUFBQUVBUEVtQUVpd0x3QUF3RDBBQUFJQWQ0UHFMd0FBd0QwQUFBSUFpcUk0TUFBQXdEMEFBQUlBNTcyQ01BQUF3RDBBQUFJQVc0d21NUUFBd0QwQUFBSUFRSmxoTVFBQXdEMEFBQUlBL0xwbE1RQUF3RDBBQUFnQXE3TCtnZUVER0FCeE1RQUF3RDBBQUFJQXU1MkNNUUFBd0QwQUFBSUFxWk9PTVFBQXdEMEFBQW9BNHpNQXdBRUFnQUh4ZzQ4eEFBREFQUUFBQmdCaUpRQXdBQWlVTVFBQXdEMEFBQXdBdW9RenJ3RUJBQjY1aENLQWxURUFBTUE5QUFBd0FJRUpBSGhpQVFBR0F3QmZnZ0hBR0tDZWdSK0FnUUJnQnR5QkFoQVlBQUVBMGdBQXdGQUFVWU95RVFBd0dBQ0tncGt4QUFEQVBRQUFBZ0J1cUJVeUFBREFQUUFBQkFBQk9BQW96eklBQU1BOUFBQUVBT0VRQUFaVk13QUF3RDBBQUJnQVhhQy9nQnVFR1lBamdUeUE1b01RZ0ZhQXdvSU9nRW1BWURNQUFNQTlBQUFHQUxDb2o0QUVnV0V6QUFEQVBRQUFCQUJWcGl5QWVqTUFBTUE5QUFCT0FFNkthb0JoZ1VHQVI0RGtpUU9BVklFWWdKYUFWSU5DZ0xLQVlvQVBnb21CYjRCQ2dDbUFab0NRZ011QXdJQlFnRXFCY29ERWdPU0hpNEVSZ0plQU1ZRFJnQVNBRG9BRWdFbUF3SUlMZ0hzekFBREFQUUFBTGdCOGhSS0FZSUJHZ0dhQURaQWdnZFNBYm9DV2dmNlFZUUJBUVBlRENJQ2dnRnlBcVlDeEFnQ0JaWUF1Z0MyQWZETUFBTUE5QUFBS0FHT0JHSUJhZ0JpQXlZQUhOQUFBd0QwQUFBZ0FyNU1Cd0ZFQXY0c01OQUFBd0QwQUFCUUFnUVV3d05JQmdBRU1BRFNFNllIQkFLTUExSVlqTkFBQXdEMEFBQUlBSElzbk5BQUF3RDBBQUFRQUFTZ0F3UFkwQUFEQVBRQUFCQUJ4REFBRE1EWUFBTUE5QUFBQ0FIaU5iellBQU1BOUFBQUNBQVNFakRZQUFNQTlBQUFFQU1FZ1FFQ1VOZ0FBd0QwQUFBUUFFVFFBb0pnMkFBREFQUUFBQWdDY3BzczJBQURBUFFBQUJBQWhBUUFESWpjQUFNQTlBQUFFQUhFMkFCSitPQUFBd0QwQUFBSUFySXJMT0FBQXdEMEFBQVFBR0o0WWdNODRBQURBUFFBQUFnQWRoblk1QUFEQVBRQUFDQUFSSmJBQUlRQUFCbnM1QUFEQVBRQUFCQUNSQ1JJQWlqa0FBTUE5QUFBQ0FCK1lrRGtBQU1BOUFBQUVBS21WSzZxUk9RQUF3RDBBQUFJQTlJQ1hPUUFBd0QwQUFBZ0F4clh1aVFIQUNRQ1lPUUFBd0QwQUFBSUFyb0djT1FBQXdEMEFBQW9BTVNnZ0FaRURBRkhvaUs0NUFBREFQUUFBQWdCRm5WQThBQURBUFFBQUFnQmp2Zz09In0%3D + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 25 Aug 2021 01:42:56 GMT expires: - '-1' pragma: @@ -58,24 +97,21 @@ interactions: ParameterSetName: - -o User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.18.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceType%20eq%20%27Microsoft.Quantum%2FWorkspaces%27&$expand=createdTime%2CchangedTime%2CprovisioningState&api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test-001/providers/Microsoft.Quantum/Workspaces/dsfsdfds","name":"dsfsdfds","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"41759fa1-99ab-446f-b468-1932f6bb8fab","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-18T19:31:32.2736879Z","changedTime":"2021-02-23T19:29:19.2955573Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test-001/providers/Microsoft.Quantum/Workspaces/test-workspace-001","name":"test-workspace-001","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-19T20:40:40.9074747Z","changedTime":"2020-03-19T20:51:02.1112482Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-privpreview/providers/Microsoft.Quantum/Workspaces/anpaz-privpreview","name":"anpaz-privpreview","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-19T20:35:39.2656094Z","changedTime":"2020-05-29T18:36:12.3334808Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary0c7d1b23-0eb2-45a9-ba66-347ba4e0ee73","name":"canary0c7d1b23-0eb2-45a9-ba66-347ba4e0ee73","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"b2858bf1-1bc0-4c34-8c54-98e2d99023ed","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T04:37:33.19448Z","changedTime":"2021-03-22T09:50:19.5658035Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T04:37:34.0642971Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T04:39:46.0130472Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary11297c4b-3459-43b7-a1c9-3d321abef027","name":"canary11297c4b-3459-43b7-a1c9-3d321abef027","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"74c2ec87-5b05-4b69-8491-aaf6188c3b52","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T08:16:52.9007262Z","changedTime":"2021-03-21T12:28:30.1930935Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T08:16:53.6874561Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T08:17:05.4879474Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary237bfa5f-0662-4cef-8e15-412a2ee2476c","name":"canary237bfa5f-0662-4cef-8e15-412a2ee2476c","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"b5b42652-1ae9-4e42-a6a0-1aab88c0ba06","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T10:54:47.6219469Z","changedTime":"2021-03-21T15:11:28.7055366Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T10:54:48.4569445Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T10:55:00.9027722Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary3042b169-d6a6-49d8-bc28-71fed7f6b825","name":"canary3042b169-d6a6-49d8-bc28-71fed7f6b825","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"9e70764b-63c2-4457-9876-0758c05f58b0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T05:50:08.0832884Z","changedTime":"2021-03-22T11:02:57.884904Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T05:50:08.8520175Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T05:52:23.7800354Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary42522eaf-b717-49c6-9601-453e11b3cf4d","name":"canary42522eaf-b717-49c6-9601-453e11b3cf4d","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"3fa835b2-9a53-4166-96f5-1be93fa3a86d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T13:45:31.7660738Z","changedTime":"2021-03-21T18:57:20.7048749Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T13:45:32.5571574Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T13:45:44.0248173Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary5e901f96-93c2-4a4c-bb93-84211f85a83a","name":"canary5e901f96-93c2-4a4c-bb93-84211f85a83a","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"2ea786c3-e63d-4c10-a5eb-96c5eefd6f99","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T09:05:37.3024954Z","changedTime":"2021-03-21T13:17:13.9029345Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T09:05:38.0253319Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T09:05:49.5151897Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary6ef9bbcd-eed6-46d0-8428-f9046af116b9","name":"canary6ef9bbcd-eed6-46d0-8428-f9046af116b9","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"6469ca3a-75a4-4358-bb4f-0020cd94afc8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T18:07:11.8304098Z","changedTime":"2021-03-21T22:18:54.2352748Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T18:07:12.7641957Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T18:07:24.5928187Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary8a2dfb23-d55a-4907-96b4-1f218b947d01","name":"canary8a2dfb23-d55a-4907-96b4-1f218b947d01","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"870468bc-4b9c-4a3b-b5df-08c94eb75716","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T14:32:19.9386251Z","changedTime":"2021-03-22T14:32:23.9424101Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T14:32:21.0381635Z","lastModifiedBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T14:32:21.0381635Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canary9f4a804c-dfd5-45d5-91bf-4e33a91f780f","name":"canary9f4a804c-dfd5-45d5-91bf-4e33a91f780f","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"6c49e41f-1011-41ec-90d7-8840fd8e5083","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:39:56.7040407Z","changedTime":"2021-03-22T16:40:16.8171876Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:39:57.5402482Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:40:08.8914492Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canarycb177e4f-a9bd-42c9-8bde-7e77cdc2aa7e","name":"canarycb177e4f-a9bd-42c9-8bde-7e77cdc2aa7e","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"b24e5bb6-2232-4406-adc9-5041c0c0bc64","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:46:05.7897092Z","changedTime":"2021-03-22T16:46:26.0348384Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:46:06.5037521Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:46:17.9875266Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canaryd61ee705-1926-4628-aad5-550dfc77a651","name":"canaryd61ee705-1926-4628-aad5-550dfc77a651","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"52dc92b1-8911-4233-9621-f37b86e84b3b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:29:11.7817183Z","changedTime":"2021-03-22T16:29:31.9771296Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:29:12.417821Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:29:24.145036Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canaryf06c89d6-9bc6-41f1-bb07-43fe3d7d7873","name":"canaryf06c89d6-9bc6-41f1-bb07-43fe3d7d7873","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"049fc1bb-ebb8-4b9c-aacb-4a0d7a144f2e","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:45:54.426631Z","changedTime":"2021-03-22T16:46:14.5290226Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:45:55.2796279Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:46:06.6471388Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/canaryf610f90f-6742-4651-97fd-7af89a0e2e31","name":"canaryf610f90f-6742-4651-97fd-7af89a0e2e31","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"a29e7533-a17c-46c5-abee-385d47213e56","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T11:18:35.3960174Z","changedTime":"2021-03-21T15:30:13.103318Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T11:18:36.293691Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T11:18:47.7274262Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod14dab005-d6da-4e14-adda-53c9421f57fb","name":"prod14dab005-d6da-4e14-adda-53c9421f57fb","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"64b910a3-f2ea-4d8e-863f-a62c12f640cf","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T07:54:18.1707706Z","changedTime":"2021-03-22T13:07:06.2427416Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T07:54:19.2157167Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T07:56:35.1116558Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod36ec9b45-2b29-4baa-bb4f-b7051d9f4776","name":"prod36ec9b45-2b29-4baa-bb4f-b7051d9f4776","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"a0bd33ed-9b6b-49dd-a35c-281b4a90e1a9","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:44:54.6596067Z","changedTime":"2021-03-22T16:45:14.699584Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:44:55.5601074Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:45:07.4702637Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod3ea6e046-64ed-43b4-9509-682754532286","name":"prod3ea6e046-64ed-43b4-9509-682754532286","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"6e4e7b68-8d7d-4b57-ac5c-ea6e449a5853","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:44:26.8983318Z","changedTime":"2021-03-22T16:44:51.3275839Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:44:27.5390332Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:44:42.3693218Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod467af684-0bfd-4d84-bf9a-6b37e66c829d","name":"prod467af684-0bfd-4d84-bf9a-6b37e66c829d","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"4a45f406-5ece-4080-b4e0-2a314ba2825a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T13:28:57.6119147Z","changedTime":"2021-03-22T15:38:59.4423244Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T13:28:58.4508887Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T13:29:10.2582846Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod482c5503-3b04-4e1a-8e70-00a6063bf4ce","name":"prod482c5503-3b04-4e1a-8e70-00a6063bf4ce","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"26b885f1-b60e-4333-bb2a-632df235939a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T14:02:55.0061178Z","changedTime":"2021-03-22T14:02:58.8357149Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T14:02:56.054678Z","lastModifiedBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T14:02:56.054678Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod62a89452-781a-40b8-a101-ad61abfe4fd7","name":"prod62a89452-781a-40b8-a101-ad61abfe4fd7","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"f2aaab95-0052-4a1f-8c9c-0bd119bfd153","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T21:42:46.4952299Z","changedTime":"2021-03-22T01:53:17.9408936Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T21:42:47.3849889Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T21:43:01.8096235Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod7c2c83ba-420f-4465-a94c-ac43e20b4a52","name":"prod7c2c83ba-420f-4465-a94c-ac43e20b4a52","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"3773c6e7-77b6-4d14-b4a5-f9f305271150","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T02:57:47.4571653Z","changedTime":"2021-03-21T07:09:27.8669182Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T02:57:48.0612075Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T02:58:03.2026193Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod8cbd4387-5977-4f4e-8059-db57475adad0","name":"prod8cbd4387-5977-4f4e-8059-db57475adad0","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"88109ecf-9c55-40cc-9834-81d36d7d8be6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T03:36:56.5979871Z","changedTime":"2021-03-21T08:59:14.4787574Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T03:36:57.3172073Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T03:38:32.4469129Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prod8fcfc002-4f58-4a09-a98c-37a118839f7d","name":"prod8fcfc002-4f58-4a09-a98c-37a118839f7d","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"9d86664f-bc46-4a94-8384-b5b3dfa24e38","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T15:34:55.6036252Z","changedTime":"2021-03-21T20:47:46.8584755Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T15:34:56.6215718Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T15:37:07.5817622Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prodbaf2adf4-35e0-4faf-932c-ea93223008e8","name":"prodbaf2adf4-35e0-4faf-932c-ea93223008e8","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"3e14c8c9-a40b-4155-8cef-788e59b17dfe","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T04:33:21.4541687Z","changedTime":"2021-03-22T09:46:04.8536482Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T04:33:22.1735825Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T04:35:30.1376657Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prodc0f67f7f-f035-4ce2-9ac6-5f02000c8d88","name":"prodc0f67f7f-f035-4ce2-9ac6-5f02000c8d88","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"5c9afcf8-7d8d-4453-8ab7-cc24789d5edf","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T16:45:45.3281845Z","changedTime":"2021-03-22T16:46:10.5596721Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T16:45:46.3682613Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T16:46:01.3693227Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prodd68199f2-0849-4a79-bfaf-469c29df3df1","name":"prodd68199f2-0849-4a79-bfaf-469c29df3df1","type":"Microsoft.Quantum/Workspaces","location":"westeurope","identity":{"principalId":"ccd77992-f342-4d33-83ab-fcb7b77dc170","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T04:50:14.7563227Z","changedTime":"2021-03-21T09:01:58.8211043Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T04:50:15.6086939Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T04:50:31.5469973Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/proddd813190-5685-4e68-bd4f-c0b5b55d06f7","name":"proddd813190-5685-4e68-bd4f-c0b5b55d06f7","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"ee43fbab-a187-44f1-a61c-efc0ac6166e3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T11:31:39.2678204Z","changedTime":"2021-03-22T16:44:22.3355716Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T11:31:40.190986Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T11:33:53.6904101Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prode3b028e4-2fc9-4f22-a935-49933e13dbec","name":"prode3b028e4-2fc9-4f22-a935-49933e13dbec","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"b5a27ab0-9ce3-48d1-93d9-2ddf5609f6ca","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-21T15:37:28.0626725Z","changedTime":"2021-03-21T19:54:37.6749938Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-21T15:37:28.9209745Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-21T15:37:44.0123617Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/Workspaces/prodef77900c-2e15-4331-ae5f-7eca74b59217","name":"prodef77900c-2e15-4331-ae5f-7eca74b59217","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"524ac1d6-45fd-4448-bf3c-25722aaf8df3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-22T07:06:01.667145Z","changedTime":"2021-03-22T12:18:49.3341695Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-22T07:06:02.4391654Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T07:08:18.9697137Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-sanity-check/providers/Microsoft.Quantum/Workspaces/aqua-sanity-check","name":"aqua-sanity-check","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"2c1e54c9-b08f-4202-8065-0f0fdd759c91","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-16T22:13:48.7161388Z","changedTime":"2021-03-17T02:23:52.4783234Z","provisioningState":"Succeeded","systemData":{"createdBy":"xiou@microsoft.com","createdByType":"User","createdAt":"2021-03-16T22:13:50.0746187Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-16T22:17:00.5417114Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-test/providers/Microsoft.Quantum/Workspaces/demo","name":"demo","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-05T17:28:29.5939264Z","changedTime":"2020-05-05T17:38:31.1167751Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-test/providers/Microsoft.Quantum/Workspaces/test-yinshen","name":"test-yinshen","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-05T03:51:59.1516552Z","changedTime":"2020-05-20T21:41:00.7845506Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test","name":"aq-private-preview-test","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-16T22:04:24.0804946Z","changedTime":"2021-02-24T19:34:25.7281564Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test-01","name":"aq-private-preview-test-01","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-20T01:13:35.440609Z","changedTime":"2020-09-10T23:10:37.7043418Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test-02","name":"aq-private-preview-test-02","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"46e0805f-e31f-4e85-847f-d13a6635fa11","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-25T19:18:23.0582626Z","changedTime":"2021-01-25T23:28:27.0409898Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test-03","name":"aq-private-preview-test-03","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"1e2a7fa5-8b7a-426e-b888-0353eb06aea3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-24T23:23:18.6546477Z","changedTime":"2021-02-25T03:33:23.3652523Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/ashwinm-westus2-001","name":"ashwinm-westus2-001","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"8c0cb783-3c6d-4d0f-9fa0-fc1b4807adca","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-25T21:54:14.478769Z","changedTime":"2021-01-28T22:47:59.6704953Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/ashwinm-wp-eastus2eap-002","name":"ashwinm-wp-eastus2eap-002","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"a3f8f498-0076-437c-b67f-8a9acd8f9a3f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-27T23:01:07.9301282Z","changedTime":"2021-02-07T21:05:47.887717Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ashwinm-test-private-preview/providers/Microsoft.Quantum/Workspaces/ashwinm-wp-eastus2eap-003","name":"ashwinm-wp-eastus2eap-003","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"69718588-0320-4594-b4d6-c1950818a4f6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-25T19:28:11.284421Z","changedTime":"2021-01-25T23:38:16.923538Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-test-rg/providers/Microsoft.Quantum/Workspaces/e2e-browse-test","name":"e2e-browse-test","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"24b95fbd-1937-45ce-831d-49c43dbca3c3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-16T22:38:04.5503497Z","changedTime":"2020-10-17T02:48:06.7367182Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-test-rg/providers/Microsoft.Quantum/Workspaces/e2e-create-test","name":"e2e-create-test","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"acf06cc1-90cf-4a4e-96ea-0e81a78b31b8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-16T21:46:25.6270369Z","changedTime":"2020-12-11T01:27:21.9528657Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/etperr-test/providers/Microsoft.Quantum/Workspaces/etperr-test","name":"etperr-test","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-28T17:40:04.6504296Z","changedTime":"2020-06-25T22:05:20.8555311Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-e2e-tests-northeurope-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-MS","name":"e2e-tests-workspace-MS","type":"microsoft.quantum/Workspaces","location":"northeurope","createdTime":"2020-12-08T21:36:55.3082995Z","changedTime":"2020-12-09T01:47:05.2290408Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/canaryge","name":"canaryge","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"4249ea62-7320-4846-b920-b7912332efed","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-12T00:37:53.0735712Z","changedTime":"2021-02-12T08:50:38.5258201Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/canaryworkspace","name":"canaryworkspace","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"82812358-8f3a-4be6-a29c-1ac0c75382da","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-12T00:43:55.6240154Z","changedTime":"2021-02-12T08:54:01.2616781Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/cliworkspace317","name":"cliworkspace317","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"77e3d011-9400-4d4c-917e-0b52d064524f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-17T20:52:48.9036182Z","changedTime":"2021-03-18T02:02:52.0656598Z","provisioningState":"Succeeded","systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-03-17T20:52:50.1627661Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-17T20:54:20.1785403Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/contoso-westus1","name":"contoso-westus1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-16T18:12:46.1199949Z","changedTime":"2020-06-16T22:23:17.8476353Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/Demotest","name":"Demotest","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"1a7d82ef-ddad-4188-a324-55357a97a746","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-12-14T02:43:01.2839634Z","changedTime":"2020-12-14T07:53:23.8203377Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/failedworkspace","name":"failedworkspace","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"789e3fae-c156-4199-ab4b-647e2f040b91","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-10T17:53:32.72796Z","changedTime":"2021-02-10T22:03:36.3970204Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/failedworkspacege","name":"failedworkspacege","type":"Microsoft.Quantum/Workspaces","location":"westcentralus","identity":{"principalId":"69546fec-5ff9-4301-b366-bf0f54e90e71","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-10T17:55:41.7788493Z","changedTime":"2021-02-10T22:05:46.7619077Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/gepaidworkspace","name":"gepaidworkspace","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"7d3adb68-6768-4e51-90eb-4e73ab2c56ef","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-11T00:35:52.830661Z","changedTime":"2021-02-11T04:45:57.5101501Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/honeywell1","name":"honeywell1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"2d4a5e76-2937-4061-83fc-7d969954a3a2","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-21T19:05:23.328088Z","changedTime":"2020-09-21T23:15:29.7759422Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/honeywelltest","name":"honeywelltest","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"45cf5680-42b3-481c-90a7-c91c12532570","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-15T17:23:42.6366791Z","changedTime":"2021-03-15T21:33:46.5200952Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-03-15T17:23:43.3747105Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-15T17:25:22.5545003Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/ionq","name":"ionq","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"d7623dc8-adfb-4614-a7bb-b801548e7c8b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-15T23:16:32.3546174Z","changedTime":"2021-03-16T03:26:42.2123135Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-03-15T23:16:32.8263426Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-15T23:16:45.4582453Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/ionq1","name":"ionq1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"6102d9a8-0e72-4da2-a27d-a652d3c2e5e8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-21T19:11:00.0635813Z","changedTime":"2020-09-21T23:21:05.0072241Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/microsoft-westus1","name":"microsoft-westus1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-16T18:20:01.280349Z","changedTime":"2020-06-16T22:30:26.0971053Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/MyQuantumWorkspace","name":"MyQuantumWorkspace","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"47188014-b81b-4710-9779-a9c41197de97","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-11T19:34:19.1699736Z","changedTime":"2021-03-11T23:44:23.3250108Z","provisioningState":"Succeeded","systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-03-11T19:34:20.4864003Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-11T19:38:21.0141061Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/testworkspace","name":"testworkspace","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"fe78f511-aa67-4408-8ee5-8a681d838e64","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-30T17:46:02.7517564Z","changedTime":"2021-03-16T20:35:17.7360136Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2020-10-30T17:46:03.0539259Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-16T20:25:01.6099058Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/testworkspace2","name":"testworkspace2","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"4a6aa964-3782-44e2-b91a-14ddf8c1c009","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-30T17:52:23.1697444Z","changedTime":"2020-10-30T22:02:27.1066705Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/thirdparty","name":"thirdparty","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"9485e287-4085-4e8f-adc2-0809817d57d3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-05T18:58:19.7148784Z","changedTime":"2021-02-06T00:08:23.9065076Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/tohsibaworkspace","name":"tohsibaworkspace","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"4ffe50fa-a789-4a7d-8860-b6dc36b97842","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-16T18:24:28.2833224Z","changedTime":"2021-02-16T22:34:34.9364953Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/validationworkspace317","name":"validationworkspace317","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"0befcac5-3023-4a37-ae4e-fbd8c57c4f22","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-17T20:28:17.5299605Z","changedTime":"2021-03-18T00:38:20.5043381Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-03-17T20:28:18.2393462Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-17T20:29:49.5552821Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/workspace1","name":"workspace1","type":"Microsoft.Quantum/Workspaces","location":"northeurope","identity":{"principalId":"85b25f82-4f7b-4c6a-9e42-74ee0bb8780c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-12T23:52:15.8907571Z","changedTime":"2021-01-13T04:02:24.0881195Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-test/providers/Microsoft.Quantum/Workspaces/workspaceregre","name":"workspaceregre","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"4ed794d5-fe06-417c-bb9e-94632ab8f776","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-05T18:39:32.0988304Z","changedTime":"2021-03-05T22:49:35.5964678Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-03-05T18:39:32.4236679Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-05T18:45:12.0919226Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-workspace-template/providers/Microsoft.Quantum/Workspaces/geworkspace11","name":"geworkspace11","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"cc6fce79-06d2-49bf-ad5d-394433926199","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-26T21:40:09.799234Z","changedTime":"2021-01-27T01:50:12.5498648Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-workspace-template/providers/Microsoft.Quantum/Workspaces/geworkspace123","name":"geworkspace123","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"9c2c9ddd-4d92-44af-aa71-3956445d22dc","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-26T21:36:40.1150372Z","changedTime":"2021-01-27T01:46:42.7475501Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-workspace-template/providers/Microsoft.Quantum/Workspaces/geworkspace2","name":"geworkspace2","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"3efb1d1e-3f6a-4f3c-84b5-9d4595843ac2","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-26T23:07:27.8953191Z","changedTime":"2021-01-27T03:17:30.9814968Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-deletetest/providers/Microsoft.Quantum/Workspaces/proddelete","name":"proddelete","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-28T17:29:19.3030796Z","changedTime":"2020-05-28T17:39:35.9521659Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-deletetest/providers/Microsoft.Quantum/Workspaces/proddelete2","name":"proddelete2","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-28T17:31:37.3759282Z","changedTime":"2020-05-28T17:42:12.4736796Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-deletetest/providers/Microsoft.Quantum/Workspaces/proddelete3","name":"proddelete3","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-28T17:33:39.1357646Z","changedTime":"2020-11-19T01:38:48.1282127Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testcanary/providers/Microsoft.Quantum/Workspaces/canarygood","name":"canarygood","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-07-28T17:55:42.2144233Z","changedTime":"2020-11-19T01:38:45.1641385Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testcanary/providers/Microsoft.Quantum/Workspaces/dfDemoNew8","name":"dfDemoNew8","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-28T02:31:50.8360267Z","changedTime":"2020-11-19T01:38:50.9217841Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testcanary/providers/Microsoft.Quantum/Workspaces/dfDemoNewrepro","name":"dfDemoNewrepro","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-17T21:52:27.5808532Z","changedTime":"2020-11-19T01:38:48.8779782Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testcanary/providers/Microsoft.Quantum/Workspaces/mycontoso1","name":"mycontoso1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-29T23:56:38.2820281Z","changedTime":"2020-11-19T01:38:50.5545403Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testcanary/providers/Microsoft.Quantum/Workspaces/myionq1","name":"myionq1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-29T23:54:10.1200313Z","changedTime":"2020-11-19T01:38:48.8317005Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/workspaces/dfDemoNew10","name":"dfDemoNew10","type":"Microsoft.Quantum/workspaces","location":"westus","createdTime":"2020-03-11T19:20:33.4802519Z","changedTime":"2020-03-11T19:30:34.3278194Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/workspaces/dfDemoNew8","name":"dfDemoNew8","type":"Microsoft.Quantum/workspaces","location":"westus","createdTime":"2020-03-11T03:12:37.0377102Z","changedTime":"2020-03-11T03:22:37.3633519Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/workspaces/dfDemoNew9","name":"dfDemoNew9","type":"Microsoft.Quantum/workspaces","location":"westus","createdTime":"2020-03-11T03:13:24.1727198Z","changedTime":"2020-05-15T02:34:05.6088144Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/workspaces/prod1","name":"prod1","type":"Microsoft.Quantum/workspaces","location":"westus","createdTime":"2020-03-10T03:16:06.5245195Z","changedTime":"2020-03-10T03:26:08.8514382Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-staging-test/providers/Microsoft.Quantum/Workspaces/aq-private-preview-test-02","name":"aq-private-preview-test-02","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"f98dc3f4-aa8f-4321-b728-9007dcc89107","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-18T17:33:24.5699363Z","changedTime":"2021-03-18T21:43:27.4318113Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"ashwinm@microsoft.com","createdByType":"User","createdAt":"2021-03-18T17:33:24.8824855Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-18T17:33:37.3793748Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-staging-test/providers/Microsoft.Quantum/Workspaces/test-ws-readonly","name":"test-ws-readonly","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"d2fa0c23-3afb-4aa8-adbc-a42460c358e5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-05T17:27:29.5922476Z","changedTime":"2021-03-05T21:37:32.209872Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-03-05T17:27:29.8716743Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-05T17:43:01.0219185Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qdk-test-release/providers/Microsoft.Quantum/Workspaces/honeywell-test","name":"honeywell-test","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"bbbfcb4b-f143-4f3a-895b-9a9058b8faf4","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-24T19:19:38.0547444Z","changedTime":"2021-02-24T23:29:41.3866969Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qdk-test-release/providers/Microsoft.Quantum/Workspaces/ionq-test","name":"ionq-test","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"4126fdc5-ff03-4a5b-a118-6aedfbe47524","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-24T17:50:56.5050086Z","changedTime":"2021-02-24T22:01:03.024944Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qdk-test-release/providers/Microsoft.Quantum/Workspaces/qdk-test-workspace","name":"qdk-test-workspace","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"13fef94c-b9f8-4970-98ba-a2648dc2eb38","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-22T18:57:46.8076615Z","changedTime":"2021-02-24T20:04:11.557854Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rowolfso-testRG/providers/Microsoft.Quantum/Workspaces/repro1","name":"repro1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"841fc5e0-5381-4c41-9029-e0865cd561d5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-11T17:45:07.2864717Z","changedTime":"2021-03-11T21:55:15.1101066Z","provisioningState":"Succeeded","systemData":{"createdBy":"rowolfso@microsoft.com","createdByType":"User","createdAt":"2021-03-11T17:45:07.3607636Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-11T17:45:24.2057074Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rwolfso/providers/Microsoft.Quantum/Workspaces/rowolfso","name":"rowolfso","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-08T18:36:18.0334208Z","changedTime":"2020-05-08T18:46:19.5168746Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sanjgupt/providers/Microsoft.Quantum/Workspaces/job_shop","name":"job_shop","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-07-05T01:48:33.5086065Z","changedTime":"2020-07-05T01:58:35.2363297Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-review-rg/providers/Microsoft.Quantum/Workspaces/workspace-ms","name":"workspace-ms","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"3bbce0c2-fbdc-4154-8132-e5ffab9abe46","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-22T18:55:19.83585Z","changedTime":"2021-02-05T21:48:14.5942692Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdktestrg-7961/providers/Microsoft.Quantum/Workspaces/aqws5237","name":"aqws5237","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"17ca4ab7-b357-4797-8600-aa9d7d3d19d9","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-27T13:34:18.297899Z","changedTime":"2021-01-27T17:44:22.446036Z","provisioningState":"Succeeded","tags":{"TestTag":"TestUpdate"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-1qbit","name":"e2e-tests-workspace-1qbit","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-23T22:17:10.5084517Z","changedTime":"2020-11-19T01:38:48.5720438Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-ionq","name":"e2e-tests-workspace-ionq","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-24T00:18:50.6646607Z","changedTime":"2020-11-19T01:38:50.418098Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-Microsoft","name":"e2e-tests-workspace-Microsoft","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-24T15:27:06.3377365Z","changedTime":"2020-11-19T01:38:47.0876928Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-westus-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-Microsoft","name":"e2e-tests-workspace-Microsoft","type":"microsoft.quantum/Workspaces","location":"westus","createdTime":"2020-06-23T22:00:45.5575287Z","changedTime":"2020-06-23T22:10:47.7509457Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace","name":"testworkspace","type":"microsoft.quantum/Workspaces","location":"westus","createdTime":"2020-04-28T21:52:31.2857652Z","changedTime":"2020-04-28T22:02:33.3373885Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary","name":"testworkspace-canary","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-28T14:56:18.0306815Z","changedTime":"2020-11-19T01:39:01.8041475Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary2","name":"testworkspace-canary2","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-28T20:55:28.7012209Z","changedTime":"2020-11-19T01:38:49.8527808Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary-1qbit","name":"testworkspace-canary-1qbit","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-06T20:46:02.9463024Z","changedTime":"2020-11-19T01:39:07.3193368Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary-1qbit-ge","name":"testworkspace-canary-1qbit-ge","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-26T18:32:25.1081893Z","changedTime":"2020-11-19T01:38:43.8400875Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary-honeywell-ge","name":"testworkspace-canary-honeywell-ge","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-27T16:40:07.624175Z","changedTime":"2020-11-19T01:38:44.586954Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary-ionq","name":"testworkspace-canary-ionq","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-28T20:59:00.1811278Z","changedTime":"2020-11-19T01:38:44.7862325Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary-ionq-ge","name":"testworkspace-canary-ionq-ge","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-30T16:45:40.8333372Z","changedTime":"2020-11-19T01:38:47.8010299Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary-microsoft","name":"testworkspace-canary-microsoft","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-29T17:24:24.1044095Z","changedTime":"2020-11-19T01:39:05.6645268Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/Workspaces/testworkspace-canary-microsoft2","name":"testworkspace-canary-microsoft2","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-29T17:29:59.9687869Z","changedTime":"2020-11-19T01:38:45.5706904Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xiou/providers/Microsoft.Quantum/Workspaces/xiou-quantumws","name":"xiou-quantumws","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"e03fdb80-274f-4137-8c73-437233dc6b44","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-11T23:50:19.4757002Z","changedTime":"2021-03-01T18:38:18.0895214Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"xiou@microsoft.com","createdByType":"User","createdAt":"2021-01-11T23:50:19.6528513Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-01T18:28:16.0929672Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xiou/providers/Microsoft.Quantum/Workspaces/xiou-quantumws-eastus2euap","name":"xiou-quantumws-eastus2euap","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"83bd2b22-b70d-4601-9eb0-02e5d10b4180","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-25T17:37:43.3428229Z","changedTime":"2021-03-05T07:04:21.0323862Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"xiou@microsoft.com","createdByType":"User","createdAt":"2021-01-25T17:37:43.572063Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-05T06:54:13.7185569Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xiou/providers/Microsoft.Quantum/Workspaces/xiouquantum-northeurope","name":"xiouquantum-northeurope","type":"Microsoft.Quantum/Workspaces","location":"northeurope","identity":{"principalId":"53b6f8f9-a822-4e01-b242-aec84e9d8cab","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-03T05:29:19.5881373Z","changedTime":"2021-03-03T09:39:29.5629811Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"xiou@microsoft.com","createdByType":"User","createdAt":"2021-03-03T05:29:19.6678271Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-03T05:49:57.5037334Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armteample317-3","name":"armteample317-3","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"58c12f6f-4158-45d8-85ac-9e7be47ab691","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-17T17:51:02.8368352Z","changedTime":"2021-03-17T22:01:07.6800238Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-17T17:51:02.9602278Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-17T17:51:15.5727702Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armTemplate216-1","name":"armTemplate216-1","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"9c95c4b6-a89b-4019-8607-75df2e7f4fdd","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-16T23:07:27.7860426Z","changedTime":"2021-03-17T03:17:32.9146963Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-16T23:07:28.3874291Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-16T23:07:41.7058669Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armTemplate216-2","name":"armTemplate216-2","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"201ed139-b5a5-4b99-8f96-d02f4298b207","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-16T23:25:29.745481Z","changedTime":"2021-03-17T03:35:35.1488167Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-16T23:25:29.901029Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-16T23:25:42.7376638Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armtemplate3174","name":"armtemplate3174","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"bee6ffc6-8365-4107-a4c0-5522ece9279d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-17T18:50:30.1183391Z","changedTime":"2021-03-17T23:00:34.9347922Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-17T18:50:31.0622981Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-17T18:50:43.3786933Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armtemplate317-1","name":"armtemplate317-1","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"806ec6a4-6d5a-409a-9a75-e4e1f43fab1e","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-17T17:23:19.7457893Z","changedTime":"2021-03-17T21:33:25.4632993Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-17T17:23:19.9135476Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-17T17:23:33.225653Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armtemplate317-3","name":"armtemplate317-3","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"dff50ace-447a-4ef3-b0b6-1d679169b01d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-17T18:33:49.1745637Z","changedTime":"2021-03-17T22:44:01.3933015Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-17T18:33:49.3569926Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-17T18:34:08.9840386Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armtemplate317-5","name":"armtemplate317-5","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"543463ac-b7d0-4623-abdb-1b2f83411692","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-17T19:22:20.058349Z","changedTime":"2021-03-17T23:32:24.7316554Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-17T19:22:20.8563289Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-17T19:22:33.0246201Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armtemplate317-6","name":"armtemplate317-6","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"e7e1f917-4adc-42cb-9a76-307c25770917","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-17T21:20:21.3163426Z","changedTime":"2021-03-18T01:30:26.7449997Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-17T21:20:21.5135252Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-17T21:20:34.3492426Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armTemplate317-7","name":"armTemplate317-7","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"b2f721c3-f6ff-4786-bf95-ee90e848fb77","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-18T00:19:45.7372853Z","changedTime":"2021-03-18T04:29:50.0625711Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-18T00:19:45.9555453Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-18T00:19:57.652115Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/armtemplate318-1","name":"armtemplate318-1","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"69cf7536-eaff-4c2c-97b1-f0b3392a35dd","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-18T22:24:41.9081262Z","changedTime":"2021-03-19T02:34:46.1921503Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-18T22:24:42.1143845Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-18T22:24:55.421836Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/arntemplate318","name":"arntemplate318","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"16d54efe-e6fa-46eb-9631-3c818fd38cf9","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-18T22:06:28.4748351Z","changedTime":"2021-03-19T02:16:33.9008206Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-03-18T22:06:30.0446724Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-18T22:06:43.336923Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/canary-billing-test","name":"canary-billing-test","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"bebb3133-0324-4b91-ac0b-7cf9e85f478c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-15T18:20:25.6186819Z","changedTime":"2021-03-22T06:07:43.6095994Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-01-15T18:20:25.7752442Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-22T05:57:42.3142512Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/demo-yinshen","name":"demo-yinshen","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-05T16:40:04.7665954Z","changedTime":"2020-06-05T20:50:32.5084865Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/privatepreview-billing","name":"privatepreview-billing","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"b1069bcb-bd56-45a7-9139-252f38b0fdf0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-03T00:51:29.346573Z","changedTime":"2021-02-03T05:01:35.5071056Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/telemetrytest0225","name":"telemetrytest0225","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"b2b3306c-c1e8-41dc-bcda-94713e7656ad","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-25T23:02:53.518677Z","changedTime":"2021-02-26T03:12:59.4699242Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/test-french-yinshen","name":"test-french-yinshen","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"76277e2b-3edc-4800-b36e-5a854747dba7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-03T21:55:38.6430086Z","changedTime":"2021-02-04T02:05:43.5556238Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/test-telemetry","name":"test-telemetry","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"3113b111-36c6-44cc-b5f2-36f58913feab","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-02T23:57:58.0959878Z","changedTime":"2021-02-25T22:45:14.4829944Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-02-02T23:57:58.2637636Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-02-25T22:35:12.1502023Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/yinshen-private-preview","name":"yinshen-private-preview","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"4bab7684-6a7f-4e2e-84e6-31e32a6348b1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-29T17:14:01.2597887Z","changedTime":"2021-02-16T18:34:04.0925068Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/yinshen-workspace","name":"yinshen-workspace","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-27T21:34:55.5356144Z","changedTime":"2021-03-10T01:09:26.2942183Z","provisioningState":"Succeeded","tags":{},"systemData":{"lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-10T00:59:19.329145Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test-001/providers/Microsoft.Quantum/Workspaces/accepted","name":"accepted","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T20:37:01.157089Z","changedTime":"2020-06-01T20:47:47.6517904Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test-001/providers/Microsoft.Quantum/Workspaces/new","name":"new","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T19:13:43.47931Z","changedTime":"2020-06-01T19:24:19.3065929Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test-001/providers/Microsoft.Quantum/Workspaces/yinshen-test-new","name":"yinshen-test-new","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T17:59:32.2118129Z","changedTime":"2020-06-01T18:10:08.1421597Z","provisioningState":"Succeeded","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-19581862-24ce-455d-b363-ef6936cc51b9","name":"ws-19581862-24ce-455d-b363-ef6936cc51b9","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"f3961842-400c-4ea7-b170-bfd1782f2a92","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-17T17:29:25.3329306Z","changedTime":"2021-07-27T05:34:50.5202765Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-05-17T17:29:25.4492767Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-17T17:29:37.3071486Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-82882539-c48d-4506-bea6-9285ee94fda2","name":"ws-82882539-c48d-4506-bea6-9285ee94fda2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"85b313ac-654b-4e86-8cca-bb60aff502d8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-17T18:52:59.6021849Z","changedTime":"2021-07-27T05:38:06.7819782Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-05-17T18:52:59.6877962Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-17T18:53:11.414308Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/canary","name":"canary","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"d709673c-b97b-4819-8057-f0848b382f34","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-19T20:07:16.3145036Z","changedTime":"2021-07-27T05:39:25.5576071Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-05-19T20:07:16.628457Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-19T20:08:50.0226919Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/test-westus","name":"test-westus","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"f0ff013f-703a-4933-9ab1-f28d3357062f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-08T19:55:53.1199626Z","changedTime":"2021-07-27T05:35:27.7690727Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-08T19:55:53.3496304Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-08T19:56:04.7420561Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-80ee1bea-ab32-4e2f-98ea-cd3616a88fc8","name":"ws-80ee1bea-ab32-4e2f-98ea-cd3616a88fc8","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"c066ffac-00b3-4384-9aca-bcb9be40fc79","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-09T22:23:52.6143056Z","changedTime":"2021-07-27T05:38:21.6788266Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-06-09T22:23:52.83096Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-10T17:35:25.7307522Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-uksouth-rg/providers/Microsoft.Quantum/Workspaces/ws-e5d7be5e-7700-422d-9908-939e8500086b","name":"ws-e5d7be5e-7700-422d-9908-939e8500086b","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"86bdb98a-18b3-4d16-ba03-e0f25e8c80f4","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-09T22:27:00.5629272Z","changedTime":"2021-07-27T05:37:13.1834501Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-06-09T22:27:00.6787536Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-09T22:27:14.1288761Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/ws-creation-test","name":"ws-creation-test","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"f6f537fb-8321-4415-ae00-341a6b44eee6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-15T19:50:27.684289Z","changedTime":"2021-07-27T05:32:49.0220013Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-15T19:50:30.9915621Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-15T19:50:48.0628268Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/ws-creation-canary-test","name":"ws-creation-canary-test","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"e5afe3b7-703c-4961-a370-6ff859d76c05","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-15T19:51:21.6774642Z","changedTime":"2021-07-27T05:32:24.1232733Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-15T19:51:21.8817475Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-15T19:51:34.3523333Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/ws-creation-test-eastus","name":"ws-creation-test-eastus","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"2160781a-190c-49c9-9b8b-38c378016e86","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-15T19:53:00.9810492Z","changedTime":"2021-07-27T05:34:06.7682187Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-15T19:53:01.3380556Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-15T19:53:14.1899114Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/test-masenol-sa-issue","name":"test-masenol-sa-issue","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"65bccb1a-ad35-4ecc-afaf-1aedb84783da","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-15T22:27:50.0551472Z","changedTime":"2021-07-27T05:31:50.2131095Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-15T22:27:53.3289032Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-15T22:28:09.0109864Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/masenol-test-2","name":"masenol-test-2","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"2cf333ea-09a0-49e9-b078-a966310a8c3b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-15T22:33:31.7994898Z","changedTime":"2021-07-27T05:32:27.1032399Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-15T22:33:32.6142826Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-15T22:33:45.3684666Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/masenol-test-4","name":"masenol-test-4","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"28d606ec-5a3a-4128-aa51-d5bcda758d1d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-15T22:52:31.4620221Z","changedTime":"2021-07-27T05:30:56.6132909Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-15T22:52:31.7394563Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-15T22:52:44.4351538Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/masenol-test-provider-targets","name":"masenol-test-provider-targets","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"d5967699-efaf-430c-81a1-acd0bdcb95e8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-16T19:18:53.0594353Z","changedTime":"2021-07-27T05:34:26.801826Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-16T19:18:53.655946Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-16T19:19:05.5618636Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/masenol-test-sa-fix","name":"masenol-test-sa-fix","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"4820a0a8-0240-43b4-93d9-56b0318bc4e1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-16T19:27:39.1900889Z","changedTime":"2021-07-27T05:35:14.2058508Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-16T19:27:39.2276941Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-16T19:27:51.8972889Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/masenol-sa-fix-2","name":"masenol-sa-fix-2","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"b05bc084-ca5a-43d9-a256-ed3eb98f5104","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-16T19:28:39.1441701Z","changedTime":"2021-07-27T05:33:08.5509605Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-16T19:28:39.2059197Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-16T19:28:51.3529059Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/test-portal-update","name":"test-portal-update","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"7d0af39d-43b5-4c24-bad0-ceeb22c454f7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-22T17:23:32.8821047Z","changedTime":"2021-07-27T05:35:06.383646Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-06-22T17:23:33.1809523Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-22T17:23:46.1883876Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-20ded1a8-5879-4713-ab13-0811adc620b3","name":"ws-20ded1a8-5879-4713-ab13-0811adc620b3","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"07ec0dd4-0979-49b6-bab7-e315fca781d7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-22T18:37:58.7588167Z","changedTime":"2021-07-27T05:36:52.9882034Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-06-22T18:37:59.6776245Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-22T18:38:16.8639085Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-78ca0435-77d8-4da3-a827-83bfaee208e1","name":"ws-78ca0435-77d8-4da3-a827-83bfaee208e1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"4e84206f-2b67-4c2c-aa83-58b42cb67b6c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-22T18:43:41.5058846Z","changedTime":"2021-07-27T05:38:01.5612403Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-06-22T18:43:41.6217422Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-22T18:43:56.2601Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrice/providers/Microsoft.Quantum/Workspaces/EastUS2EUAP","name":"EastUS2EUAP","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"9e98d604-cb41-448d-9cda-b38f38942393","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-29T04:00:02.4503411Z","changedTime":"2021-08-16T21:46:32.4963147Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"fabricfr@microsoft.com","createdByType":"User","createdAt":"2021-05-29T04:00:03.0788927Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-16T21:36:23.702052Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-delete-me-14","name":"ricardoe-delete-me-14","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"3d375cec-c96a-49c3-8cd0-14c4de8afea1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-20T07:13:32.7658856Z","changedTime":"2021-07-27T05:48:56.302055Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-20T07:13:33.1506246Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-20T07:13:44.3412508Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/aq-uk-south","name":"aq-uk-south","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"4afd9fcc-df4f-4d47-a47a-a6fe0978ed04","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-20T15:16:55.2426643Z","changedTime":"2021-07-27T05:46:56.5788681Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-05-20T15:16:56.7033242Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-20T15:17:11.4498134Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-new-solvers","name":"frtibble-new-solvers","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"f3b65a59-3dfd-4141-ab1b-fae6ec1a3c05","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-03T13:00:05.1373165Z","changedTime":"2021-07-27T05:48:58.4736777Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-06-03T13:00:06.481294Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-03T13:00:20.3958294Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/EfratJupyter1","name":"EfratJupyter1","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"8e3c5e2a-7072-4618-9e93-37b28a819ba9","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-15T20:15:53.3787489Z","changedTime":"2021-07-27T05:48:55.7332897Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"efratsh@microsoft.com","createdByType":"User","createdAt":"2021-06-15T20:15:53.4165551Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-15T20:16:05.9618885Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/EfratJupyter2","name":"EfratJupyter2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"cdb0b6be-041f-489f-a25f-a26f1c90d534","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-15T20:20:39.2348306Z","changedTime":"2021-07-27T05:46:17.7367936Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"efratsh@microsoft.com","createdByType":"User","createdAt":"2021-06-15T20:20:39.3612728Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-15T20:20:52.2652786Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-bugrepro","name":"frtibble-bugrepro","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"b3856ec8-ce5b-45c1-a4ec-1c7256f4d280","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-16T14:34:23.0513363Z","changedTime":"2021-07-27T05:48:46.9660986Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-06-16T14:34:23.6362132Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-16T14:34:36.8153441Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibblebugrepro2","name":"frtibblebugrepro2","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"701c2a6b-afe2-4f4c-a7cc-cd237a380f67","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-16T14:39:49.0990559Z","changedTime":"2021-07-27T05:47:44.2196711Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-06-16T14:39:49.7157615Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-16T14:40:02.6894373Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-mphasis","name":"frtibble-mphasis","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"fdeb64cb-e136-4fef-a616-c2ffa5fb6622","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-06-30T10:07:14.4667573Z","changedTime":"2021-07-27T05:45:14.2776274Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-06-30T10:07:14.9422441Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-30T10:07:29.8782102Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-jason","name":"frtibble-jason","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"1a6fa537-4882-4766-bbd2-aac2efce6d32","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-01T09:26:46.0000438Z","changedTime":"2021-07-27T05:48:18.8286403Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-07-01T09:26:47.4009424Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-01T09:27:01.9147259Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-demo-2","name":"frtibble-demo-2","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"2213768a-aa6c-4949-b3d7-f5d434e1e088","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-06T17:05:57.3048486Z","changedTime":"2021-07-27T05:47:10.0507963Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-07-06T17:05:58.7257667Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-06T17:06:13.5957969Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-uz2toacz-1f1","name":"temp-uz2toacz-1f1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"5ab5d301-350b-4ac1-8a40-401ae35b8572","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-06T19:24:48.6263629Z","changedTime":"2021-07-27T05:33:51.855902Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-07-06T19:24:48.8323034Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-06T19:25:01.8287069Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-demo4","name":"frtibble-demo4","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"dbd1a9cd-4e97-4e3f-ab47-fd3f5bf3a7f6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-08T10:54:34.7259273Z","changedTime":"2021-07-27T05:46:46.1300619Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-07-08T10:54:35.9555883Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-08T10:54:49.6600517Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-ionq-simtest","name":"ricardoe-ionq-simtest","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"8ebe2e32-486e-441f-96ba-64e155c086df","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-08T22:48:48.7965381Z","changedTime":"2021-07-27T05:44:53.6984676Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-07-08T22:48:49.0134559Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-08T22:50:35.2352054Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-delete-me-81","name":"ricardoe-delete-me-81","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"6207507d-ca60-48af-818a-48934e549a5a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-09T00:56:16.2038141Z","changedTime":"2021-07-27T05:44:37.3638359Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-07-09T00:56:16.7268655Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-09T00:57:43.7881834Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-demo-workspace","name":"frtibble-demo-workspace","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"290848fd-da74-4115-958f-a9c11f48a163","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-13T12:38:19.4032686Z","changedTime":"2021-07-27T05:47:57.917126Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-07-13T12:38:20.1561048Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-13T12:38:32.0680232Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-mphasis-ssmc","name":"frtibble-mphasis-ssmc","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"63683dae-e6a9-4969-afdf-7572c8086b59","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-14T08:31:17.7854684Z","changedTime":"2021-07-27T05:47:26.872455Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-07-14T08:31:18.4908659Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-14T08:31:32.0213154Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/creditTest","name":"creditTest","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"2c76260e-c3b5-4720-9cd2-07229c795e21","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-14T23:35:41.3713243Z","changedTime":"2021-08-09T21:26:59.7328278Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-07-14T23:35:41.4236391Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-09T21:16:46.0436823Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/creditTestNoQuota","name":"creditTestNoQuota","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"80ab56f2-d81b-4a12-a568-c58318520058","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-16T16:44:10.4553886Z","changedTime":"2021-07-27T05:38:43.8338667Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-07-16T16:44:10.515859Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-16T16:45:56.3626821Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/credit-demo","name":"credit-demo","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"6c6d39d4-c2a0-413e-8aa2-3e39d40599a2","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-16T17:51:08.40511Z","changedTime":"2021-07-27T05:41:24.6205032Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2021-07-16T17:51:08.4590293Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-16T17:52:49.578994Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/anraman-workspace","name":"anraman-workspace","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"1dbf1cdb-8cf5-4fe4-9444-febd2bab3409","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-20T22:51:02.8804312Z","changedTime":"2021-07-27T05:44:50.4886063Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"anraman@microsoft.com","createdByType":"User","createdAt":"2021-07-20T22:51:02.9329677Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-07-20T22:51:18.1153468Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-01","name":"ricardoe-deltest-01","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"e93bd558-d748-4320-9b18-c06668517f42","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:27:13.7830615Z","changedTime":"2021-07-27T05:47:12.5721985Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-10-18T23:40:30.2405298Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-10-18T23:40:30.2405298Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-05","name":"ricardoe-deltest-05","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"abef1b3a-6e1f-4ed6-b816-b774998b253c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:27:17.7146409Z","changedTime":"2021-07-27T05:46:54.0651859Z","provisioningState":"Succeeded","systemData":{"lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-08T02:32:05.4507761Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-19","name":"ricardoe-deltest-19","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"88d06c4c-49c5-4e91-a672-f1b5461c159d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:28:13.7477202Z","changedTime":"2021-07-27T05:46:35.8518Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:28:55.5439308Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:28:55.5439308Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-04","name":"ricardoe-deltest-04","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"7b8f1d3e-8557-4d9c-9834-bc3194b92be0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:28:26.0236528Z","changedTime":"2021-07-27T05:47:26.8631889Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:00:40.5363241Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:00:40.5363241Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-03","name":"ricardoe-deltest-03","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"9076164d-1224-4a1a-b0a0-753d15b3775d","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:28:42.987003Z","changedTime":"2021-07-27T05:48:09.5128184Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:01:13.4373444Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:01:13.4373444Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-31","name":"ricardoe-deltest-31","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"fb3d2875-9461-4d3d-a24e-3944daf5020f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:28:54.9678754Z","changedTime":"2021-07-27T05:50:31.3711636Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:58:08.6172491Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:58:08.6172491Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-15","name":"ricardoe-deltest-15","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"35c149c1-1691-4860-951d-f0c9185e33ad","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:29:08.4226339Z","changedTime":"2021-07-27T05:48:12.5753464Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:28:12.5252018Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:28:12.5252018Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-10","name":"ricardoe-deltest-10","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"18f5ca89-6d34-4763-94fc-221a9eb30963","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:29:24.7668862Z","changedTime":"2021-07-27T05:46:30.8982073Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:17:04.2770733Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:17:04.2770733Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-06","name":"ricardoe-deltest-06","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"92d04368-5707-444b-8016-9803b5c2b6b1","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:29:33.0093551Z","changedTime":"2021-07-27T05:45:44.9829486Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:00:45.1797408Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:00:45.1797408Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-07","name":"ricardoe-deltest-07","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"17c6976d-da60-4949-8155-3f0847d2d86e","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:29:37.0579805Z","changedTime":"2021-07-27T05:48:32.4057159Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:03:00.6052213Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:03:00.6052213Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-02","name":"ricardoe-deltest-02","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"8fd53f7d-bdc8-4e81-90d3-76b689c82c94","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:29:57.3301759Z","changedTime":"2021-07-27T05:45:38.3633928Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:01:05.9429812Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:01:05.9429812Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-13","name":"ricardoe-deltest-13","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"277414ee-fb54-46a2-a4e8-11e563962528","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:30:06.3842803Z","changedTime":"2021-07-27T05:48:50.2363343Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:26:47.3770504Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:26:47.3770504Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-40","name":"ricardoe-deltest-40","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"879de15f-95de-4e00-afd1-d0d556d4a6cd","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:30:06.6294793Z","changedTime":"2021-07-27T05:46:11.1226695Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T19:10:19.1950493Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T19:10:19.1950493Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-50","name":"ricardoe-deltest-50","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"0feb2152-24dd-4471-a7e7-ea0d9f04f9d5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:30:10.9622133Z","changedTime":"2021-07-27T05:49:13.923642Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T19:18:51.5371546Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T19:18:51.5371546Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-14","name":"ricardoe-deltest-14","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"d052646d-fccd-4044-85a7-6db3fa5468bc","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:31:14.1508258Z","changedTime":"2021-07-27T05:48:06.2639714Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:27:25.7655604Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:27:25.7655604Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-32","name":"ricardoe-deltest-32","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"bfb4d6a0-9757-462a-95f0-86f213ce8651","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:31:33.0294784Z","changedTime":"2021-07-27T05:48:06.9458438Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:58:38.526603Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:58:38.526603Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-deltest-30","name":"ricardoe-deltest-30","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"656b5608-7833-4669-8aa4-1ad2715f4131","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-07-27T01:32:09.6078875Z","changedTime":"2021-07-27T05:47:34.8254547Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2020-11-09T18:54:11.0396061Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-09T18:54:11.0396061Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-cft2rz4a-x1d","name":"temp-cft2rz4a-x1d","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"2d5d6c6d-3e51-4957-a433-15ea50def407","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-10T21:20:46.296775Z","changedTime":"2021-08-11T01:35:00.6119121Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-08-10T21:20:46.3895393Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-10T21:21:01.4345109Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-cft2rz4a-x2d","name":"temp-cft2rz4a-x2d","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"def1f39a-a33e-4311-b5c6-99eba20e473c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-10T21:27:47.5423686Z","changedTime":"2021-08-11T01:37:50.9616237Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-08-10T21:27:47.591163Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-10T21:27:59.8405128Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-cft2rz4a-x3d","name":"temp-cft2rz4a-x3d","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"c20d3416-69a0-4c8c-8163-226dd08bffcb","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-10T21:38:02.8395449Z","changedTime":"2021-08-11T01:48:07.7044265Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-08-10T21:38:02.8827193Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-10T21:38:17.175102Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-cft2rz4a-x4d","name":"temp-cft2rz4a-x4d","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"84f371eb-e574-4f7b-8e63-78930c89b4f5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-10T22:01:24.9097185Z","changedTime":"2021-08-11T02:11:37.6357364Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-08-10T22:01:24.9753467Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-10T22:01:45.4235826Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-cft2rz4a-x5d","name":"temp-cft2rz4a-x5d","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"9854f0a6-9a31-48a8-b567-d730ab38e189","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-10T22:09:11.4211037Z","changedTime":"2021-08-11T02:19:15.6888366Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-08-10T22:09:11.4731453Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-10T22:09:24.199947Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-cft2rz4a-x6d","name":"temp-cft2rz4a-x6d","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"128225ad-6d26-4647-a4b8-f9ef9f1bbe44","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-10T22:14:27.3845651Z","changedTime":"2021-08-11T02:29:17.7146903Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-08-10T22:14:27.4382312Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-10T22:14:42.7462682Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-cft2rz4a-x7d","name":"temp-cft2rz4a-x7d","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"cff417ea-fd25-4520-b258-28a927a8ebd0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-10T22:20:27.8002827Z","changedTime":"2021-08-11T02:30:31.750866Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-08-10T22:20:27.8372502Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-10T22:20:40.1998802Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xfield-rg/providers/Microsoft.Quantum/Workspaces/azq-westuw2","name":"azq-westuw2","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"37319216-7620-47a2-8030-a1e2b4b990bd","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-12T21:23:39.6136763Z","changedTime":"2021-08-13T01:33:45.3421172Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"vitorcia@microsoft.com","createdByType":"User","createdAt":"2021-08-12T21:23:39.8031012Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-12T21:23:52.9328064Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/encoding-test","name":"encoding-test","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"dec7254b-5bff-40cf-8f0a-2c9204f79e63","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-11T18:15:14.9767312Z","changedTime":"2021-08-11T22:25:21.2645829Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-08-11T18:15:15.0907734Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-11T18:41:40.7072294Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-az","name":"frtibble-az","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"853dad83-2f4a-4824-acb6-5625c8ca9a96","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-12T13:47:56.6504514Z","changedTime":"2021-08-12T17:58:05.6862694Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-08-12T13:47:58.0595947Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-12T13:48:12.3936298Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-51gjn2yx-vj2","name":"temp-51gjn2yx-vj2","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"861c47e1-f3ff-4d20-bb4d-f8d19dbe0198","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-13T19:41:38.1521723Z","changedTime":"2021-08-13T23:51:41.6996714Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"aqtest001@outlook.com","createdByType":"User","createdAt":"2021-08-13T19:41:38.192438Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-13T19:41:50.6688016Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/anraman-fleet-workspace","name":"anraman-fleet-workspace","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"597bb6b1-ce4f-455d-8c9b-d360e1f495f7","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-16T16:23:16.3734887Z","changedTime":"2021-08-16T20:33:20.2322264Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"anraman@microsoft.com","createdByType":"User","createdAt":"2021-08-16T16:23:16.4332888Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-16T16:23:29.2295938Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test/providers/Microsoft.Quantum/Workspaces/alchocro-workspace-notebooks","name":"alchocro-workspace-notebooks","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"ca5ae73c-baa9-4130-b268-c576eccf3827","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-18T21:48:24.3115733Z","changedTime":"2021-08-19T01:58:28.027539Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"alchocro@microsoft.com","createdByType":"User","createdAt":"2021-08-18T21:48:24.363207Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-18T21:48:36.7202629Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w3950376","name":"e2e-test-w3950376","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"5022df26-4968-4226-8a58-d8d6a5c873ca","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T00:44:42.8443666Z","changedTime":"2021-08-25T00:55:05.8452953Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T00:44:43.1051158Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T00:44:57.1583338Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w7129527","name":"e2e-test-w7129527","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"ddf6fd12-eba6-4d98-b637-bab40fa84444","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T00:47:19.6819317Z","changedTime":"2021-08-25T00:47:37.5459563Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T00:47:19.9748024Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T00:47:31.6350202Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w4098832","name":"e2e-test-w4098832","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"57c070dc-6434-432d-ac90-8d54b883dab0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:04:22.882857Z","changedTime":"2021-08-25T01:04:43.6049246Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:04:23.174168Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:04:37.5527729Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w1315068","name":"e2e-test-w1315068","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"1fc5427b-54f4-4dd5-96c5-1c7d04ed528f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:05:07.5431209Z","changedTime":"2021-08-25T01:05:27.9117062Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:05:07.8829937Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:05:22.2338331Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w5352441","name":"e2e-test-w5352441","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"5f7b94e9-e81a-400b-ab72-a4a2ec47c2bf","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:18:32.5613149Z","changedTime":"2021-08-25T01:18:52.4851835Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:18:32.8224881Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:18:46.5385119Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w1995962","name":"e2e-test-w1995962","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"19b91cca-8c7a-42fa-8551-b2f54a1d3404","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:31:21.0275647Z","changedTime":"2021-08-25T01:41:43.9999924Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:31:21.4143555Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:31:35.9401059Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w6657221","name":"e2e-test-w6657221","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"27b3b127-67fa-40b6-8d98-d896b6b5cd23","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:32:43.5660443Z","changedTime":"2021-08-25T01:33:02.4976016Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:32:44.0270929Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:32:56.1919775Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w9867934","name":"e2e-test-w9867934","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"e4941863-fbb4-458a-99ed-4b2ef103badc","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:36:47.0412303Z","changedTime":"2021-08-25T01:37:07.8041008Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:36:47.4354403Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:37:01.975321Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-test-w1471768","name":"e2e-test-w1471768","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"7f575bf8-8dff-493b-9891-2ad653ee7c3a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-08-25T01:40:58.4735258Z","changedTime":"2021-08-25T01:41:19.4705908Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:40:58.9083241Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-25T01:41:13.8372459Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/alylee-workspace","name":"alylee-workspace","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"b22fde14-2126-45fc-8e96-d8e87fc77b7e","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-24T12:33:52.6439648Z","changedTime":"2021-07-27T05:45:58.4749455Z","provisioningState":"Succeeded","tags":{"createdbyuser":"frtibble"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabricfrrg/providers/Microsoft.Quantum/Workspaces/demo4uk","name":"demo4uk","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"d36d38b6-cf32-4a7a-adbd-6d4e21786db6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-31T03:18:32.4911336Z","changedTime":"2021-07-27T05:33:13.1974114Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"fabricfr@microsoft.com","createdByType":"User","createdAt":"2020-10-31T03:18:32.6189413Z","lastModifiedBy":"fabricfr@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-10-31T03:18:32.6189413Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chemistry-test/providers/Microsoft.Quantum/Workspaces/chemistrydemo","name":"chemistrydemo","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"97450f82-81fe-4c00-86d5-0651b7caa49a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-19T18:06:54.8481601Z","changedTime":"2021-07-27T05:45:27.0082131Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"},"systemData":{"lastModifiedBy":"hay@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-10-19T18:20:30.8402422Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chemistry-test/providers/Microsoft.Quantum/Workspaces/chemistrydemo2","name":"chemistrydemo2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"4d8bb55c-09c5-48e1-a311-e21c9fb1afee","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-19T18:52:55.7526696Z","changedTime":"2021-07-27T05:44:58.0380107Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"},"systemData":{"createdBy":"hay@microsoft.com","createdByType":"User","createdAt":"2020-10-19T18:52:57.0930335Z","lastModifiedBy":"hay@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-10-19T18:52:57.0930335Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrice/providers/Microsoft.Quantum/Workspaces/demo4uk","name":"demo4uk","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"a4ec9329-0785-4908-8c7c-3d85ef77ecd8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-10-31T05:29:50.9418273Z","changedTime":"2021-07-27T05:45:03.1899034Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"fabricfr@microsoft.com","createdByType":"User","createdAt":"2020-10-31T05:29:51.4250198Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-22T16:09:02.0773712Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrice/providers/Microsoft.Quantum/Workspaces/testmultiproviders","name":"testmultiproviders","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"16f10b41-3658-4d7f-b591-71ced7873417","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-11-01T22:01:46.930544Z","changedTime":"2021-07-27T05:41:13.6744274Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"fabricfr@microsoft.com","createdByType":"User","createdAt":"2020-11-01T22:01:48.2022972Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2020-11-01T22:05:11.2732068Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chemistry-test/providers/Microsoft.Quantum/Workspaces/chemistrydemo4","name":"chemistrydemo4","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"e7cb79ab-788b-44ec-8059-a8a2246cf20b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-11-02T22:00:55.6725188Z","changedTime":"2021-07-27T05:43:53.7223296Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"yinshen@microsoft.com","createdByType":"User","createdAt":"2020-11-02T22:00:56.1692445Z","lastModifiedBy":"yinshen@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-11-02T22:00:56.1692445Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-westeurope-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-MS","name":"e2e-tests-workspace-MS","type":"microsoft.quantum/Workspaces","location":"westeurope","createdTime":"2020-12-08T19:59:26.9303109Z","changedTime":"2021-07-27T05:46:47.1451903Z","provisioningState":"Succeeded","systemData":{"lastModifiedBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","lastModifiedByType":"Application","lastModifiedAt":"2020-12-08T20:00:36.8345906Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-northeurope-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-MS","name":"e2e-tests-workspace-MS","type":"microsoft.quantum/Workspaces","location":"northeurope","createdTime":"2020-12-08T20:09:04.9165992Z","changedTime":"2021-07-27T05:35:17.8418439Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2020-12-08T20:09:05.0145578Z","lastModifiedBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","lastModifiedByType":"Application","lastModifiedAt":"2020-12-08T20:09:05.0145578Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-e2e-tests-northeurope-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-MS","name":"e2e-tests-workspace-MS","type":"microsoft.quantum/Workspaces","location":"northeurope","createdTime":"2020-12-08T21:15:32.9696864Z","changedTime":"2021-07-27T05:43:25.0741113Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2020-12-08T21:15:33.6243148Z","lastModifiedBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","lastModifiedByType":"Application","lastModifiedAt":"2020-12-08T21:15:33.6243148Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-eastus2-eap/providers/Microsoft.Quantum/Workspaces/ryansha-20201118-canary-test","name":"ryansha-20201118-canary-test","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"e8ddf301-428f-490b-9bb6-40e6bbca9631","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-11-18T19:04:11.5616848Z","changedTime":"2021-08-04T05:57:03.8838774Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"ryansha@microsoft.com","createdByType":"User","createdAt":"2020-11-18T19:04:12.0870707Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2020-11-18T19:07:23.7206889Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-eastus2-eap/providers/Microsoft.Quantum/Workspaces/ryansha-20201118-test-eastus2euap","name":"ryansha-20201118-test-eastus2euap","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"54ec7f1a-7794-4ce5-bf45-8c39223db33f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-11-18T19:13:28.6340466Z","changedTime":"2021-07-27T05:38:03.7899047Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"ryansha@microsoft.com","createdByType":"User","createdAt":"2020-11-18T19:13:28.9815188Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2020-11-18T19:26:35.6205782Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-e2e-tests-westus-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-MS","name":"e2e-tests-workspace-MS","type":"microsoft.quantum/Workspaces","location":"westus","createdTime":"2021-01-15T20:28:50.2229484Z","changedTime":"2021-07-27T05:33:34.626146Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-01-15T20:28:50.7384981Z","lastModifiedBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","lastModifiedByType":"Application","lastModifiedAt":"2021-01-15T20:28:50.7384981Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/ms-canary4","name":"ms-canary4","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"f159c531-f9e6-4ce9-858d-99491c363f17","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-12T22:03:20.6669678Z","changedTime":"2021-07-27T05:40:13.7100188Z","provisioningState":"Succeeded","tags":{"tag1":"value1"},"systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-01-12T22:03:21.0323859Z","lastModifiedBy":"georgenm@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-02-23T19:45:10.2561371Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/toshibacanary2","name":"toshibacanary2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"b225c8ff-76f7-4350-ad26-796ba95c9f9b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-16T19:29:26.4871024Z","changedTime":"2021-07-27T05:39:12.6601861Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-02-16T19:29:26.8279557Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-02-16T19:31:11.029991Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgSingularity/providers/Microsoft.Quantum/Workspaces/masenol","name":"masenol","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"38575181-50ca-490d-b3e8-eabced3fb6a6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-12-23T19:15:56.7331326Z","changedTime":"2021-07-27T05:35:04.6776587Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2020-12-23T19:15:56.8125149Z","lastModifiedBy":"masenol@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2020-12-23T19:15:56.8125149Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/viveis-test/providers/Microsoft.Quantum/Workspaces/demo1","name":"demo1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"8dd69939-3762-471f-a047-3828f03f3a07","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-12-14T02:24:10.5097769Z","changedTime":"2021-08-04T05:57:06.6237077Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"viveis@microsoft.com","createdByType":"User","createdAt":"2020-12-14T02:24:10.9622812Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2020-12-16T20:44:30.747034Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adbai-test/providers/Microsoft.Quantum/Workspaces/adbai-privatepreview-test","name":"adbai-privatepreview-test","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"a6469555-aa58-49c5-ab67-4ce4153d005f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-01T19:42:54.6555906Z","changedTime":"2021-07-27T05:35:59.3377455Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"adbai@microsoft.com","createdByType":"User","createdAt":"2021-02-01T19:42:56.2851246Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-09T18:45:19.6652273Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-eastus2-eap/providers/Microsoft.Quantum/Workspaces/ashwinm-eastus2eap-003","name":"ashwinm-eastus2eap-003","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"975ffee9-7c2a-46ce-876c-a23ed362102a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-01-28T01:28:55.5155958Z","changedTime":"2021-07-27T05:40:42.9791846Z","provisioningState":"Succeeded","tags":{"IsCanary":"true"},"systemData":{"createdBy":"ashwinm@microsoft.com","createdByType":"User","createdAt":"2021-01-28T01:28:55.9928965Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-04-05T20:47:01.0670248Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test/providers/Microsoft.Quantum/Workspaces/alchocro-canary-workspace","name":"alchocro-canary-workspace","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"780a17e8-09c9-4b05-8f71-f1bb1ee5e9c9","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-02-16T23:10:15.3527131Z","changedTime":"2021-07-27T05:43:54.1022892Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"alchocro@microsoft.com","createdByType":"User","createdAt":"2021-02-16T23:10:15.484917Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-02-16T23:10:30.4015037Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/masenol-valid-canary","name":"masenol-valid-canary","type":"Microsoft.Quantum/Workspaces","location":"centraluseuap","identity":{"principalId":"1fe9af37-124b-432f-be21-612244177789","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-09T16:42:59.4534349Z","changedTime":"2021-07-27T05:31:20.7109002Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-03-09T16:43:00.0305111Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-09T16:51:52.9008033Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-westus-rg/providers/Microsoft.Quantum/Workspaces/e2e-tests-workspace-MS","name":"e2e-tests-workspace-MS","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"e1de3c0b-d0b6-4823-8540-8251f0957d69","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-23T20:52:23.4125237Z","changedTime":"2021-07-27T05:28:02.5807568Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-03-23T20:52:23.5263379Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-23T20:52:38.7525904Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qdk-validations/providers/Microsoft.Quantum/Workspaces/chgranad-0-15-2103-test5","name":"chgranad-0-15-2103-test5","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"6badb78d-1e88-406e-95e8-1974925a60bf","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-30T18:55:35.5105874Z","changedTime":"2021-07-27T05:44:13.0288957Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"chgranad@microsoft.com","createdByType":"User","createdAt":"2021-03-30T18:55:35.805041Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-03-30T18:58:36.1488162Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/japanworkspace","name":"japanworkspace","type":"Microsoft.Quantum/Workspaces","location":"japanwest","identity":{"principalId":"4b6a2b36-97d1-49bd-aa6a-6c7d22ce56b3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-10T17:10:38.380903Z","changedTime":"2021-07-27T05:40:04.2901503Z","provisioningState":"Succeeded","systemData":{"lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-10T17:19:33.7662461Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/uksouthworkspace","name":"uksouthworkspace","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"54a8d7b0-88ff-4326-b3ab-d43f8b93578b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-10T17:22:16.7648994Z","changedTime":"2021-07-27T05:36:57.6849676Z","provisioningState":"Succeeded","systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-05-10T17:22:17.1080637Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-10T22:20:10.0985033Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo15","name":"demo15","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"8f475614-10ff-403c-955a-bbad8d2f2da3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-03-30T17:19:10.4271422Z","changedTime":"2021-08-19T18:09:49.3278758Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-03-30T17:19:10.766451Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-19T17:59:42.5995094Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/release-test-05-04","name":"release-test-05-04","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"fda9eae7-63ab-47b5-b670-69b32169a4cd","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-04T19:07:14.2620312Z","changedTime":"2021-07-27T05:30:44.8486166Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-05-04T19:07:14.4328438Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-04T19:11:13.2633205Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/masenol-workarea/providers/Microsoft.Quantum/Workspaces/release-test-05-04-cli","name":"release-test-05-04-cli","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"084d3916-b84d-43da-854e-ad12cd2eed2f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-04T19:37:37.6537817Z","changedTime":"2021-07-27T05:34:56.5115116Z","provisioningState":"Succeeded","systemData":{"createdBy":"masenol@microsoft.com","createdByType":"User","createdAt":"2021-05-04T19:37:37.9741263Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-04T19:37:49.8581475Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-ace31747-f581-4bec-8afd-c4b6e3be9858","name":"ws-ace31747-f581-4bec-8afd-c4b6e3be9858","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"004dc989-8b48-4681-94a2-e7e39b219391","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-10T17:36:09.3277219Z","changedTime":"2021-07-27T05:35:09.5831579Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-05-10T17:36:10.0856713Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-10T17:36:21.6613414Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-japaneast-rg/providers/Microsoft.Quantum/Workspaces/ws-8a1bb71e-578e-4a74-8bb1-4668e9ffd687","name":"ws-8a1bb71e-578e-4a74-8bb1-4668e9ffd687","type":"Microsoft.Quantum/Workspaces","location":"japaneast","identity":{"principalId":"512ddbaf-edf6-409d-8dc9-2436473a2703","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-10T21:30:30.9632512Z","changedTime":"2021-07-27T05:33:10.2487477Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-05-10T21:30:31.029215Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-10T21:30:47.505675Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-uksouth-rg/providers/Microsoft.Quantum/Workspaces/ws-51ab0adf-e041-44d7-8b1b-d8c6758afb13","name":"ws-51ab0adf-e041-44d7-8b1b-d8c6758afb13","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"5b68e746-2430-4254-8786-2d617b398c51","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-10T21:38:15.2661858Z","changedTime":"2021-07-27T05:37:00.5763397Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-05-10T21:38:15.7452817Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-10T21:38:29.2671419Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-cd058373-1fac-4b42-8ebe-0b5da36a72db","name":"ws-cd058373-1fac-4b42-8ebe-0b5da36a72db","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"08a46a2e-8068-4fea-9e0e-3ce98e8e1526","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-14T19:09:54.9447847Z","changedTime":"2021-07-27T05:34:16.8356021Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-05-14T19:09:55.1751321Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-14T19:10:07.3033174Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-a7c7cc69-6308-4861-9d1b-066d6a2bf579","name":"ws-a7c7cc69-6308-4861-9d1b-066d6a2bf579","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"7fde4131-799e-4d59-886d-a043372a3566","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-14T21:21:44.295569Z","changedTime":"2021-07-27T05:36:08.9667473Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-05-14T21:21:44.9806936Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-14T21:21:56.9223784Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-eastus2euap-rg/providers/Microsoft.Quantum/Workspaces/ws-42ccd7a9-c725-447a-adf8-89dcf53ebd40","name":"ws-42ccd7a9-c725-447a-adf8-89dcf53ebd40","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"c92484e2-6ec1-409c-83cd-48757aa7cd24","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-14T22:18:16.0382045Z","changedTime":"2021-07-27T05:37:11.1789332Z","provisioningState":"Succeeded","systemData":{"createdBy":"558e0fd6-c894-4dbc-a2e6-fafb22f72853","createdByType":"Application","createdAt":"2021-05-14T22:18:16.2501822Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-14T22:18:28.0911083Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-qsharp-tests","name":"e2e-qsharp-tests","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"0dbdbf52-26d4-470c-9234-bfa298dcda68","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-04-13T19:10:57.5675579Z","changedTime":"2021-08-09T23:02:13.3272331Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-04-13T19:10:58.0366776Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-09T22:52:06.6450832Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzureQuantumEvents/providers/Microsoft.Quantum/Workspaces/TestFabrice","name":"TestFabrice","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"391e5c9a-d474-4716-b730-44979700b19b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-04-30T22:52:41.5468004Z","changedTime":"2021-07-27T05:41:45.6325188Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"fabricfr@microsoft.com","createdByType":"User","createdAt":"2021-04-30T22:52:42.0379578Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-04-30T22:55:40.0093654Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzureQuantumEvents/providers/Microsoft.Quantum/Workspaces/TestGuen","name":"TestGuen","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"35da91a7-4a91-4d72-a3ba-0a60aef9fd8e","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-03T21:07:01.9029284Z","changedTime":"2021-07-27T05:44:12.6892024Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"guenp@microsoft.com","createdByType":"User","createdAt":"2021-05-03T21:07:02.6392678Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-03T21:08:36.7953548Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-aq","name":"frtibble-aq","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"4b6caabb-099d-4cd3-ab7d-109fe1ff19a6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-04-20T08:45:11.9804387Z","changedTime":"2021-07-27T05:46:52.4902769Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"frtibble@microsoft.com","createdByType":"User","createdAt":"2021-04-20T08:45:12.887792Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-04-20T08:45:25.0787865Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/uksouthportal","name":"uksouthportal","type":"Microsoft.Quantum/Workspaces","location":"uksouth","identity":{"principalId":"1f50f731-61a6-4b80-a1f2-5b99960c6cb0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-14T18:10:22.1325316Z","changedTime":"2021-07-27T05:36:46.1688466Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-05-14T18:10:22.5683008Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-14T18:12:19.7393194Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/ukwestportal","name":"ukwestportal","type":"Microsoft.Quantum/Workspaces","location":"ukwest","identity":{"principalId":"ae038165-9e1b-437c-b410-32a97053a903","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-14T18:31:39.4260545Z","changedTime":"2021-07-27T05:36:32.8411001Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-05-14T18:31:40.1306597Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-14T18:33:49.9076431Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/japaneastportal","name":"japaneastportal","type":"Microsoft.Quantum/Workspaces","location":"japaneast","identity":{"principalId":"dfe06860-5f17-4681-ad68-2765ce96920c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-14T18:32:23.3429253Z","changedTime":"2021-07-27T05:38:03.3852924Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-05-14T18:32:23.9132236Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-14T18:34:30.7263509Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/japanwestportal","name":"japanwestportal","type":"Microsoft.Quantum/Workspaces","location":"japanwest","identity":{"principalId":"1eebbda4-0d07-48b4-9327-bd58a83b7d4c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-14T18:33:08.844694Z","changedTime":"2021-07-27T05:37:23.039056Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"georgenm@microsoft.com","createdByType":"User","createdAt":"2021-05-14T18:33:09.3559374Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-06-22T18:44:06.8506065Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-create-test-ionq","name":"ricardoe-create-test-ionq","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"316e2609-d3f2-4a50-b3b2-c4d2ea424701","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-05T22:02:00.506835Z","changedTime":"2021-07-27T05:48:27.0880682Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-05T22:02:00.6086324Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-05T22:03:48.6768858Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-create-test-ionq-2","name":"ricardoe-create-test-ionq-2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"6c604223-84c5-42a4-8b49-cf197493b0f8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-05T22:03:25.1798398Z","changedTime":"2021-07-27T05:50:26.268039Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-05T22:03:25.2497037Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-05T22:05:07.6823653Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-create-test-ionq-3","name":"ricardoe-create-test-ionq-3","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"c94a0287-4287-4c45-a878-7075249ec9db","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-05T22:07:18.5631383Z","changedTime":"2021-07-27T05:46:22.5698444Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-05T22:07:18.6145383Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-05T22:08:48.5000758Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-create-test-ionq-4","name":"ricardoe-create-test-ionq-4","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"c5e9eb62-157b-430d-96e8-ddf8c0dad103","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-05T22:09:30.6453993Z","changedTime":"2021-07-27T05:49:56.7102257Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-05T22:09:30.7059183Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-05T22:11:15.7325958Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-create-test-ionq-5","name":"ricardoe-create-test-ionq-5","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"e6d91e57-f745-4d5f-a92e-3e7a62f8a842","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-05T22:12:09.5890031Z","changedTime":"2021-07-27T05:45:39.646327Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-05T22:12:09.6601462Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-05T22:13:43.4597291Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-create-test-ionq-6","name":"ricardoe-create-test-ionq-6","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"94255c0f-eef2-455e-b7a4-bb88da38392c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-05T22:21:31.0411406Z","changedTime":"2021-07-27T05:45:51.6409132Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-05T22:21:31.0880932Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-05T22:23:16.8621583Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-create-test-ionq-7","name":"ricardoe-create-test-ionq-7","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"1a772a62-ab23-492e-aa57-fe6c1380e1a4","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-05T22:22:39.7822798Z","changedTime":"2021-07-27T05:47:16.5384131Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-05T22:22:39.8326224Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-05T22:24:18.7623831Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ricardoe-create-test-ionq-8","name":"ricardoe-create-test-ionq-8","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"79a0122a-7265-4016-8d35-9c8c13cd0b4f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-05T22:27:40.9990914Z","changedTime":"2021-07-27T06:50:17.8986803Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-05T22:27:41.0913214Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-05T22:29:15.2027986Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/mblouin-wksp","name":"mblouin-wksp","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"07233326-751b-4965-8167-5c3ddd6151da","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-06T15:42:30.3088057Z","changedTime":"2021-07-27T05:46:30.5549294Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"mblouin@microsoft.com","createdByType":"User","createdAt":"2021-05-06T15:42:31.3676223Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-06T15:49:29.7631622Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test/providers/Microsoft.Quantum/Workspaces/test-storage-account-display","name":"test-storage-account-display","type":"Microsoft.Quantum/Workspaces","location":"eastus","identity":{"principalId":"04c5ef71-7e63-4e3d-944e-259170a5d9f3","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-07T18:58:05.7316085Z","changedTime":"2021-07-27T05:43:30.6084052Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"alchocro@microsoft.com","createdByType":"User","createdAt":"2021-05-07T18:58:05.8808102Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T22:15:01.5720287Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/temp-lg4x5jmb-jpb-re","name":"temp-lg4x5jmb-jpb-re","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"2bcfb156-7303-46b9-a786-67051d836bdf","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-11T18:32:42.337053Z","changedTime":"2021-07-27T05:46:36.935754Z","provisioningState":"Succeeded","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-05-11T18:32:42.3814041Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T18:32:54.3108749Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/temp-lg4x","name":"temp-lg4x","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"21e4e4a0-51c5-44d1-a3ce-a33f3b9ef111","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-11T18:38:03.6680292Z","changedTime":"2021-07-27T06:46:36.799255Z","provisioningState":"Succeeded","systemData":{"createdBy":"ce7bd34e-a57e-46b7-b9c8-8e0d6119f011","createdByType":"Application","createdAt":"2021-05-11T18:38:03.981634Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T18:38:18.051526Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/temp-lg4x5jmb-re","name":"temp-lg4x5jmb-re","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"588757e1-ff2a-4d60-a9d8-6362c0d88635","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-11T18:40:40.9740311Z","changedTime":"2021-07-27T05:49:52.0964058Z","provisioningState":"Succeeded","systemData":{"createdBy":"ce7bd34e-a57e-46b7-b9c8-8e0d6119f011","createdByType":"Application","createdAt":"2021-05-11T18:40:41.2019933Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T18:42:15.091327Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/temp-xvjqusc5-tpf","name":"temp-xvjqusc5-tpf","type":"Microsoft.Quantum/Workspaces","location":"westus2","identity":{"principalId":"a1695601-54c1-4ede-b520-67a50fa491cd","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-11T21:28:56.684082Z","changedTime":"2021-07-27T05:36:13.4405594Z","provisioningState":"Succeeded","systemData":{"createdBy":"ce7bd34e-a57e-46b7-b9c8-8e0d6119f011","createdByType":"Application","createdAt":"2021-05-11T21:28:56.9129234Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-11T21:29:11.3864127Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test/providers/Microsoft.Quantum/Workspaces/alchocrosandboxworkspacetest","name":"alchocrosandboxworkspacetest","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"1e24628e-ec90-491c-ad3b-79834a12e4b6","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-12T21:05:33.3708344Z","changedTime":"2021-07-27T05:44:06.7344186Z","provisioningState":"Succeeded","tags":{},"systemData":{"createdBy":"alchocro@microsoft.com","createdByType":"User","createdAt":"2021-05-12T21:05:33.6162939Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-12T21:07:17.4602122Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test/providers/Microsoft.Quantum/Workspaces/alchocrocliwkspc","name":"alchocrocliwkspc","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"87be4e35-b981-4d13-8d23-808e99960dff","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2021-05-12T21:11:12.1974353Z","changedTime":"2021-07-27T05:46:41.2569551Z","provisioningState":"Succeeded","systemData":{"createdBy":"alchocro@microsoft.com","createdByType":"User","createdAt":"2021-05-12T21:11:12.561658Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-05-12T21:13:07.2332421Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pp-test/providers/Microsoft.Quantum/Workspaces/pp-test","name":"pp-test","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-17T21:20:25.8697865Z","changedTime":"2021-07-27T05:38:49.1676166Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mblouin-aq-python-test/providers/Microsoft.Quantum/Workspaces/mblouin-aq-python-test","name":"mblouin-aq-python-test","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-20T00:05:23.6628817Z","changedTime":"2021-07-27T05:31:20.7546994Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qio-dev-wecker/providers/Microsoft.Quantum/Workspaces/wecker-aqpp","name":"wecker-aqpp","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-03-30T19:32:14.065601Z","changedTime":"2021-07-27T05:33:09.5875963Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ryansha-aqua20200331/providers/Microsoft.Quantum/Workspaces/ryansha-aqua20200331","name":"ryansha-aqua20200331","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-04-01T01:01:32.3820662Z","changedTime":"2021-07-27T05:29:11.9777158Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testRG/providers/Microsoft.Quantum/Workspaces/dfDemoNew8","name":"dfDemoNew8","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-04-01T16:56:05.5462584Z","changedTime":"2021-07-27T01:47:01.2228449Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/contoso-canary1","name":"contoso-canary1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-30T17:08:47.527617Z","changedTime":"2021-07-27T05:40:55.7349621Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/ionq-canary1","name":"ionq-canary1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-04-30T20:37:44.7113851Z","changedTime":"2021-07-27T05:37:42.4832044Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-marketplace/providers/Microsoft.Quantum/Workspaces/testcons8","name":"testcons8","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-01T22:39:30.2865332Z","changedTime":"2021-07-27T05:34:15.2500669Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-marketplace/providers/Microsoft.Quantum/Workspaces/testionq8","name":"testionq8","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-01T22:41:59.1084182Z","changedTime":"2021-07-27T05:29:39.7894059Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-marketplace/providers/Microsoft.Quantum/Workspaces/testionq18","name":"testionq18","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-01T22:44:08.1749649Z","changedTime":"2021-07-27T07:00:32.7563908Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/ionq-canary2","name":"ionq-canary2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-07T22:04:04.2713833Z","changedTime":"2021-07-27T05:38:33.2987961Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-marketplace/providers/Microsoft.Quantum/Workspaces/nofails","name":"nofails","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T21:00:11.6033615Z","changedTime":"2021-07-27T05:29:53.6954103Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-marketplace/providers/Microsoft.Quantum/Workspaces/nofails2","name":"nofails2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T21:23:20.6753879Z","changedTime":"2021-07-27T05:34:13.7288167Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test/providers/Microsoft.Quantum/Workspaces/qw-alchocro-test","name":"qw-alchocro-test","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-01T18:35:38.1109194Z","changedTime":"2021-07-27T05:46:26.0304862Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test/providers/Microsoft.Quantum/Workspaces/alchocro-repro","name":"alchocro-repro","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-04T18:28:39.1635996Z","changedTime":"2021-07-27T05:45:50.8842207Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"},"systemData":{"lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-02-16T23:02:30.6291372Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-rg/providers/Microsoft.Quantum/Workspaces/khyati-wspc-051120-1","name":"khyati-wspc-051120-1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-12T04:59:01.1790717Z","changedTime":"2021-07-27T01:45:44.8887014Z","provisioningState":"Succeeded","tags":{"Environment":"DEL","Team":"SEC"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo1","name":"demo1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-12T18:32:25.4704227Z","changedTime":"2021-07-27T05:41:36.0056907Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Demo4BuildRG/providers/Microsoft.Quantum/Workspaces/QuantumWorkspace4Build","name":"QuantumWorkspace4Build","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-12T19:12:52.9888258Z","changedTime":"2021-07-27T05:31:26.9545865Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo2","name":"demo2","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-12T23:43:45.4579572Z","changedTime":"2021-07-27T05:40:52.6261267Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo3","name":"demo3","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-13T17:20:45.0902825Z","changedTime":"2021-07-27T05:42:23.6030198Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo4","name":"demo4","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-13T18:15:32.1521646Z","changedTime":"2021-07-27T05:40:06.2104939Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-rg/providers/Microsoft.Quantum/Workspaces/khyati-wspc-051420-1","name":"khyati-wspc-051420-1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-14T16:30:50.2706786Z","changedTime":"2021-07-27T01:44:28.5479208Z","provisioningState":"Succeeded","tags":{"Environment":"CPH","Team":"SEC"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo5","name":"demo5","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-15T17:09:09.5575194Z","changedTime":"2021-07-27T05:38:34.424513Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/yinshen-test-528-3","name":"yinshen-test-528-3","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-28T19:25:51.2382557Z","changedTime":"2021-07-27T05:41:14.4193394Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637242835417929282","name":"ma637242835417929282","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-05T20:52:29.8318859Z","changedTime":"2021-07-27T05:40:41.9303694Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest1","name":"failovertest1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-11T17:49:57.1436708Z","changedTime":"2021-07-27T06:33:19.3907129Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest2","name":"failovertest2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-11T22:50:50.0473121Z","changedTime":"2021-07-27T05:33:05.2549687Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest3","name":"failovertest3","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T01:42:52.844317Z","changedTime":"2021-08-04T05:57:02.5771797Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest4","name":"failovertest4","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T06:22:38.2323068Z","changedTime":"2021-07-27T05:34:06.194701Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest5","name":"failovertest5","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T08:21:02.5289419Z","changedTime":"2021-07-27T05:34:06.8177447Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest6","name":"failovertest6","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T10:45:58.3692977Z","changedTime":"2021-07-27T05:32:45.9549985Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest7","name":"failovertest7","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T14:01:56.8745565Z","changedTime":"2021-07-27T05:32:59.12867Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ryansha-aqua20200331/providers/Microsoft.Quantum/Workspaces/ryansha-aqua20200518","name":"ryansha-aqua20200518","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-18T21:59:34.0906017Z","changedTime":"2021-07-27T05:32:38.8893625Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo6","name":"demo6","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-20T16:25:01.8010088Z","changedTime":"2021-07-27T05:38:43.5155722Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo7","name":"demo7","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-27T18:22:15.5076194Z","changedTime":"2021-07-27T05:40:48.9464685Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/khyati-prod-wspc-052920","name":"khyati-prod-wspc-052920","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-30T03:54:03.9680025Z","changedTime":"2021-07-27T05:45:20.7190304Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/khyati-prod-oldQW-wspc","name":"khyati-prod-oldQW-wspc","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-30T04:08:27.2577338Z","changedTime":"2021-07-27T05:46:18.7515178Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/khyati-prod-wspc-052920-2","name":"khyati-prod-wspc-052920-2","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-30T05:34:06.0025272Z","changedTime":"2021-07-27T05:43:52.9414361Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/khyati-prod-wspc-052920-NoIonQ-1","name":"khyati-prod-wspc-052920-NoIonQ-1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-30T05:39:54.9199269Z","changedTime":"2021-07-27T05:47:32.5768492Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/khyati-prod-wspc-052920-YesIonQ-1","name":"khyati-prod-wspc-052920-YesIonQ-1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-05-30T05:43:24.0434198Z","changedTime":"2021-07-27T05:45:24.4821308Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/khyati-prod-espc-bugbash-060120-1","name":"khyati-prod-espc-bugbash-060120-1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T18:10:07.589127Z","changedTime":"2021-07-27T05:45:34.1804042Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/khyati-wspc-bugbash-060120-2","name":"khyati-wspc-bugbash-060120-2","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T18:12:00.9375002Z","changedTime":"2021-07-27T06:47:34.7271009Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest8","name":"failovertest8","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T21:06:19.1200799Z","changedTime":"2021-07-27T05:32:25.0675665Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/failovertest81","name":"failovertest81","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-12T21:25:55.2746784Z","changedTime":"2021-07-27T05:32:45.6581803Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/failovertest-rg/providers/Microsoft.Quantum/Workspaces/FailOverTest","name":"FailOverTest","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-13T18:29:10.2526685Z","changedTime":"2021-07-27T05:34:50.2507468Z","provisioningState":"Succeeded","tags":{"department":"WeAreGreat","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/microsoft-canary1","name":"microsoft-canary1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-10T23:01:23.3768529Z","changedTime":"2021-08-16T18:07:05.5365864Z","provisioningState":"Succeeded","systemData":{"lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-16T17:56:56.8739064Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/microsoft-canary2","name":"microsoft-canary2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"287794c5-5bd9-49a1-93e4-f1f3e3b5813f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-10T23:06:07.1802335Z","changedTime":"2021-07-27T05:37:46.2272055Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/portal-workspace","name":"portal-workspace","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"f946335d-bbfc-4e52-a0eb-c34b5e851757","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-12T18:16:10.6081414Z","changedTime":"2021-07-27T05:40:03.4981297Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/yinshen-test","name":"yinshen-test","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"bf77d2ad-acbb-447c-abfa-27a333d7b713","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-12T18:32:00.3798214Z","changedTime":"2021-07-27T05:39:53.9172217Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/portal-workspace2","name":"portal-workspace2","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"4fa031c2-eb58-4971-9595-c1bb70104cca","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-12T20:51:37.5693415Z","changedTime":"2021-07-27T05:39:41.3086497Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/portal-workspace3","name":"portal-workspace3","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"a6b3d1ee-47d5-4ba9-9569-8d94fe9e022f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-12T20:55:12.7678095Z","changedTime":"2021-07-27T05:36:57.9374576Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/contoso-westus1","name":"contoso-westus1","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-16T18:01:36.7909529Z","changedTime":"2021-07-27T05:38:43.5867837Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/ionq-canary3","name":"ionq-canary3","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"ccc31646-f55b-4614-972c-5881869ef641","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-17T23:34:42.5954443Z","changedTime":"2021-07-27T05:40:59.164703Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/ionq-canary5","name":"ionq-canary5","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"247c69e4-7a46-4405-939a-6afa34d7e264","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-18T16:47:03.3402885Z","changedTime":"2021-07-27T05:40:53.4509289Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/george-test/providers/Microsoft.Quantum/Workspaces/ionq-canary6","name":"ionq-canary6","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"6b0aef0a-c104-4d91-841c-8d509bd5306c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-18T18:49:12.9054762Z","changedTime":"2021-07-27T05:41:14.5228366Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/khyati-test-delete","name":"khyati-test-delete","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-01T23:43:01.9614151Z","changedTime":"2021-07-27T05:48:25.6068085Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/telemetry-delete","name":"telemetry-delete","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-02T22:17:38.0057903Z","changedTime":"2021-07-27T05:47:50.1931743Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-prod-rg/providers/Microsoft.Quantum/Workspaces/deleteinh","name":"deleteinh","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-03T20:08:07.4567066Z","changedTime":"2021-07-27T05:44:34.1252549Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo8","name":"demo8","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-10T15:27:10.3226632Z","changedTime":"2021-07-27T05:41:44.4874658Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/adbai-test/providers/Microsoft.Quantum/Workspaces/adbai-workspacetest","name":"adbai-workspacetest","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"33efbf55-ffe1-4761-8250-a3bcd0af8ab0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-13T00:17:18.9913327Z","changedTime":"2021-07-27T05:36:08.6939348Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabricfrrg/providers/Microsoft.Quantum/Workspaces/fabricfrdelete","name":"fabricfrdelete","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"139d6494-8fd2-4857-98fd-57864a7a5889","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-14T19:11:12.7873965Z","changedTime":"2021-07-27T05:35:52.3691987Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/khyati-test3-rg/providers/Microsoft.Quantum/Workspaces/khyati-test3-wspc-061720-1","name":"khyati-test3-wspc-061720-1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"18980fb5-b6bb-4e51-8240-c7d470516e19","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-17T17:05:52.2291617Z","changedTime":"2021-07-27T05:36:08.6993189Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hay-testdelete/providers/Microsoft.Quantum/Workspaces/proddelete0","name":"proddelete0","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-05-28T17:38:25.5076165Z","changedTime":"2021-07-27T05:36:22.6294033Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cgranade-azqu-samples-rg/providers/Microsoft.Quantum/Workspaces/cgranade-azqu-samples","name":"cgranade-azqu-samples","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-09T18:23:19.9025923Z","changedTime":"2021-07-27T01:46:28.7490498Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ryansha-aqua-20200618","name":"ryansha-aqua-20200618","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"7c0736fe-6aef-4c68-a9b9-707b4bc00aec","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-18T19:23:27.6540866Z","changedTime":"2021-07-27T05:49:14.5886567Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/khyati-aqua-bugbash-062520-1","name":"khyati-aqua-bugbash-062520-1","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"964608d9-c335-459e-b33d-1fbc1197b72b","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-25T20:24:07.7890245Z","changedTime":"2021-07-27T05:47:31.1406481Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/anpaz-demos/providers/Microsoft.Quantum/Workspaces/demo9","name":"demo9","type":"Microsoft.Quantum/Workspaces","location":"westus","createdTime":"2020-06-19T00:45:04.4323754Z","changedTime":"2021-07-27T05:38:36.8730346Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-eastus2-eap/providers/Microsoft.Quantum/Workspaces/ryansha-aqua-20200617-2","name":"ryansha-aqua-20200617-2","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"0848ede7-8acf-46e2-8d8c-e9a80a54584a","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-17T19:53:52.0582544Z","changedTime":"2021-07-27T05:38:11.8986999Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-eastus2-eap/providers/Microsoft.Quantum/Workspaces/ryansha-aqua-20200618","name":"ryansha-aqua-20200618","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"be5476a5-4df9-4705-9333-4099320f6546","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-06-18T03:02:43.378037Z","changedTime":"2021-07-27T05:39:00.7674842Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/khyati-test3-honeywell-07720-1","name":"khyati-test3-honeywell-07720-1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"dfc5abd8-0b09-4fd6-8945-4982b5b5ccc0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-07-07T18:47:26.9836417Z","changedTime":"2021-07-27T05:47:31.6054263Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/khyati-EthanTest-070820-1","name":"khyati-EthanTest-070820-1","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"987125a0-a0e9-4dd1-8b00-a741ecd790e0","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-07-08T22:20:14.8351369Z","changedTime":"2021-07-27T05:48:34.7968438Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/mblouinqbtesting2","name":"mblouinqbtesting2","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"a3fb99ad-b880-4e13-a752-f32b4db7b58e","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-07-16T21:16:43.5557849Z","changedTime":"2021-07-27T05:49:21.356771Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/swernli-azq-test3","name":"swernli-azq-test3","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"11160935-c18d-4635-ba21-89b1e3c35183","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-07-17T21:33:18.8174941Z","changedTime":"2021-07-27T05:50:25.0284826Z","provisioningState":"Succeeded","tags":{},"systemData":{"lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2020-10-23T20:12:17.3983001Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-e2e-tests-westus-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-honeywell","name":"e2e-tests-workspace-honeywell","type":"microsoft.quantum/Workspaces","location":"westus","createdTime":"2020-07-16T23:17:46.2399788Z","changedTime":"2021-07-27T06:31:06.0383752Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-e2e-tests-westus-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-ionq","name":"e2e-tests-workspace-ionq","type":"microsoft.quantum/Workspaces","location":"westus","createdTime":"2020-07-16T23:18:18.0342522Z","changedTime":"2021-07-27T05:30:30.5776842Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-ionq","name":"e2e-tests-workspace-ionq","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-30T20:46:14.2719621Z","changedTime":"2021-07-27T05:44:51.573602Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-1qbit","name":"e2e-tests-workspace-1qbit","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-06-30T20:53:01.1155377Z","changedTime":"2021-07-27T05:43:36.8603921Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-e2e-tests-canary-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace-ionq","name":"e2e-tests-workspace-ionq","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-07-02T18:51:36.3093715Z","changedTime":"2021-07-27T05:34:56.1706517Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/SAtest","name":"SAtest","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"be5236f7-e1e4-4da2-8e8d-6a450975b75e","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-07-29T19:59:19.2783129Z","changedTime":"2021-07-27T05:48:36.2429332Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/georgenm-e2e-tests-canary-rg/providers/microsoft.quantum/Workspaces/e2e-loadtests-workspace-Microsoft","name":"e2e-loadtests-workspace-Microsoft","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-07-14T22:14:43.767696Z","changedTime":"2021-07-27T05:35:32.1029049Z","provisioningState":"Succeeded"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/ryansha-aqua-test-20200814","name":"ryansha-aqua-test-20200814","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"ebd79bb9-667a-4596-a02e-a387d0d1a208","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-08-14T21:22:31.8653798Z","changedTime":"2021-07-27T05:49:49.7362512Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637321591493688655","name":"DogFoodCRUDByOBO637321591493688655","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-05T00:32:31.3718593Z","changedTime":"2021-07-27T05:34:29.739592Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637321602011277237","name":"DogFoodCRUDByOBO637321602011277237","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-05T00:50:03.2378982Z","changedTime":"2021-07-27T05:34:05.9984424Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637321608941603994","name":"DogFoodCRUDByOBO637321608941603994","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-05T01:01:36.2223803Z","changedTime":"2021-07-27T05:37:15.1478358Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637322595002853936","name":"DogFoodCRUDByOBO637322595002853936","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-05T21:25:00.7747425Z","changedTime":"2021-07-27T05:36:08.9214358Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637322660840384456","name":"DogFoodCRUDByOBO637322660840384456","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-05T23:14:52.437712Z","changedTime":"2021-07-27T05:33:08.36687Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324254973139435","name":"ma637324254973139435","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T19:31:38.8303632Z","changedTime":"2021-08-04T05:57:03.0464076Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324257155243090","name":"DogFoodCRUDByOBO637324257155243090","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T19:35:16.0624869Z","changedTime":"2021-07-27T05:36:47.8272335Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324019290354681","name":"DogFoodCRUDByOBO637324019290354681","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T19:58:54.1581624Z","changedTime":"2021-07-27T05:35:54.675747Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324021912570836","name":"ma637324021912570836","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:03:17.136267Z","changedTime":"2021-07-27T05:39:58.25424Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324024160248692","name":"DogFoodCRUDByOBO637324024160248692","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:07:01.2009205Z","changedTime":"2021-07-27T05:37:23.7446734Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324025989157219","name":"ma637324025989157219","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:10:05.2095016Z","changedTime":"2021-07-27T05:39:43.1211336Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324028404650354","name":"DogFoodCRUDByOBO637324028404650354","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:14:06.0070411Z","changedTime":"2021-07-27T05:37:59.9110526Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324028787661822","name":"ma637324028787661822","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:14:50.4420237Z","changedTime":"2021-07-27T05:39:38.9610501Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324030278622376","name":"ma637324030278622376","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:17:14.1409117Z","changedTime":"2021-08-04T05:57:03.0402034Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324032610347900","name":"DogFoodCRUDByOBO637324032610347900","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:21:05.9667872Z","changedTime":"2021-07-27T05:33:08.9064496Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324045106827439","name":"ma637324045106827439","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:41:57.7320443Z","changedTime":"2021-07-27T05:41:19.1268861Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324046796372466","name":"ma637324046796372466","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:44:46.6778805Z","changedTime":"2021-07-27T05:40:38.8171234Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324047936633908","name":"ma637324047936633908","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:46:52.8608743Z","changedTime":"2021-07-27T05:39:25.9852504Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324049158827388","name":"DogFoodCRUDByOBO637324049158827388","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:48:41.4642898Z","changedTime":"2021-07-27T05:37:20.5147911Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324054606323092","name":"ma637324054606323092","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T20:57:50.5325427Z","changedTime":"2021-07-27T05:43:13.1322485Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324074961183917","name":"ma637324074961183917","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T21:31:43.7113671Z","changedTime":"2021-08-04T05:57:03.6731158Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"IonQ"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324077739287041","name":"DogFoodCRUDByOBO637324077739287041","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T21:36:20.5949992Z","changedTime":"2021-07-27T05:36:21.246203Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324100652798522","name":"DogFoodCRUDByOBO637324100652798522","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T22:14:40.3449412Z","changedTime":"2021-07-27T05:34:33.1118987Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324101526311752","name":"DogFoodCRUDByOBO637324101526311752","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T22:17:15.02494Z","changedTime":"2021-07-27T05:33:03.3275836Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324104013337657","name":"DogFoodCRUDByOBO637324104013337657","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T22:20:09.8364512Z","changedTime":"2021-07-27T05:35:09.1448426Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324104306271974","name":"DogFoodCRUDByOBO637324104306271974","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T22:20:58.5737961Z","changedTime":"2021-07-27T05:36:47.8697841Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO637324108151559911","name":"DogFoodCRUDByOBO637324108151559911","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T22:27:03.5031959Z","changedTime":"2021-07-27T05:35:45.9738665Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryClientAutoTestRG/providers/Microsoft.Quantum/Workspaces/WorkspaceCRUD637324130349750773","name":"WorkspaceCRUD637324130349750773","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T23:04:02.5731789Z","changedTime":"2021-07-27T05:35:03.7213722Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryTestRG/providers/Microsoft.Quantum/Workspaces/DogFoodCRUDByOBO","name":"DogFoodCRUDByOBO","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T23:04:09.4449762Z","changedTime":"2021-07-27T05:36:43.6108843Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324136041193861","name":"ma637324136041193861","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T23:13:32.6296628Z","changedTime":"2021-07-27T05:39:55.4543983Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryClientAutoTestRG/providers/Microsoft.Quantum/Workspaces/WorkspaceCRUD637324138296810323","name":"WorkspaceCRUD637324138296810323","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T23:17:18.6195378Z","changedTime":"2021-07-27T05:35:52.0675612Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324394986402832","name":"ma637324394986402832","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T23:25:00.6944717Z","changedTime":"2021-08-04T05:57:02.6801352Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryClientAutoTestRG/providers/Microsoft.Quantum/Workspaces/WorkspaceCRUD637324396974259891","name":"WorkspaceCRUD637324396974259891","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T23:28:18.0515468Z","changedTime":"2021-07-27T05:37:40.9671961Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-mockproviders-testrg-canary/providers/Microsoft.Quantum/Workspaces/ma637324413990368170","name":"ma637324413990368170","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-07T23:56:40.2264611Z","changedTime":"2021-08-04T05:57:03.7227918Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CanaryClientAutoTestRG/providers/Microsoft.Quantum/Workspaces/WorkspaceCRUD637324416107382019","name":"WorkspaceCRUD637324416107382019","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","createdTime":"2020-08-08T00:00:11.4419626Z","changedTime":"2021-07-27T05:37:10.4129822Z","provisioningState":"Succeeded","tags":{"department":"MightyMight","company":"Contoso"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yinshen-test/providers/Microsoft.Quantum/Workspaces/yinshen-test-0825","name":"yinshen-test-0825","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"c25702d9-0c4e-4c19-8668-872627f818db","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-08-25T17:45:46.8586351Z","changedTime":"2021-07-27T05:36:56.3963773Z","provisioningState":"Succeeded","tags":{},"systemData":{"lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-01-20T02:15:13.9269396Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/mblouinqciprod","name":"mblouinqciprod","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"4829a137-df3d-4a55-be93-fda1b179c3ee","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-03T00:48:11.4086461Z","changedTime":"2021-07-27T05:45:53.4673978Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-workspace","name":"frtibble-workspace","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"d88653ef-4b3d-4d4e-b795-5b3bb4b80769","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-08T10:04:44.6783217Z","changedTime":"2021-07-27T05:49:01.1208261Z","provisioningState":"Succeeded","tags":{"createdbyuser":"frtibble"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/IEEEQuantumWeekDemo","name":"IEEEQuantumWeekDemo","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"259a55be-a049-4bb6-8629-5c83a638ae33","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-09T17:16:14.2426067Z","changedTime":"2021-07-27T05:46:45.0850681Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-iee","name":"frtibble-iee","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"e12dd91d-3b09-45f6-ba4b-10a2b94e927c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-10T09:45:03.2479287Z","changedTime":"2021-07-27T05:50:14.6321358Z","provisioningState":"Succeeded","tags":{"createdbyuser":"frtibble"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabricfrrg/providers/Microsoft.Quantum/Workspaces/Test4Fabrice2","name":"Test4Fabrice2","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"eaca3591-732d-4719-8026-8da323a6070e","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-14T05:40:59.7852686Z","changedTime":"2021-07-27T05:34:30.6014312Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabricfrrg/providers/Microsoft.Quantum/Workspaces/Test4FabriceCombined","name":"Test4FabriceCombined","type":"Microsoft.Quantum/Workspaces","location":"eastus2euap","identity":{"principalId":"0ac72faa-a416-4ed2-aded-02d264152314","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-14T23:12:16.0315031Z","changedTime":"2021-07-27T05:32:32.5315348Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/frtibble-ieee","name":"frtibble-ieee","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"60b3eef0-7da2-49fd-8c5e-caf0cd174a91","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-11T11:29:36.8078005Z","changedTime":"2021-07-27T05:49:58.260649Z","provisioningState":"Succeeded","tags":{"createdbyuser":"frtibble"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/alchocro-test/providers/Microsoft.Quantum/Workspaces/qw-workspace-boggle","name":"qw-workspace-boggle","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"1699a6f7-f52a-4f90-bccf-e6b010de3b27","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-15T18:31:09.8241727Z","changedTime":"2021-07-27T05:43:24.5204418Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-testing-westus2/providers/Microsoft.Quantum/Workspaces/Demo-IEEEQuantumWeek","name":"Demo-IEEEQuantumWeek","type":"Microsoft.Quantum/Workspaces","location":"westus","identity":{"principalId":"615aeb2b-e7f2-4b60-9a2e-7a1eef79e2a8","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"createdTime":"2020-09-16T21:30:19.4128348Z","changedTime":"2021-07-27T05:51:09.6892426Z","provisioningState":"Succeeded","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testalias-e2e-tests-canary-rg/providers/microsoft.quantum/Workspaces/e2e-tests-workspace","name":"e2e-tests-workspace","type":"microsoft.quantum/Workspaces","location":"eastus2euap","createdTime":"2020-09-22T21:18:21.0810019Z","changedTime":"2021-07-27T05:47:14.7272638Z","provisioningState":"Succeeded"}]}' headers: cache-control: - no-cache content-length: - - '76298' + - '158478' content-type: - application/json; charset=utf-8 date: - - Mon, 22 Mar 2021 16:47:09 GMT + - Wed, 25 Aug 2021 01:42:57 GMT expires: - '-1' pragma: @@ -103,27 +139,24 @@ interactions: ParameterSetName: - -g -w -l -o User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - quantummanagementclient/2019-11-04-preview Azure-SDK-For-Python AZURECLI/2.18.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-mgmt-quantum/1.0.0b1 Python/3.8.2 (Windows-10-10.0.19041-SP0) + az-cli-ext/0.6.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/Microsoft.Quantum/workspaces/testworkspace-canary-microsoft?api-version=2019-11-04-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-qsharp-tests?api-version=2019-11-04-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/workspaces/testworkspace-canary-microsoft","name":"testworkspace-canary-microsoft","type":"microsoft.quantum/workspaces","location":"East - US 2 EUAP","properties":{"providers":[{"providerId":"Microsoft","providerSku":"basic","applicationName":"testworkspace-canary-microsoft-Microsoft","provisioningState":"Succeeded"}],"provisioningState":"Succeeded","usable":"Yes"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-qsharp-tests","name":"e2e-qsharp-tests","type":"microsoft.quantum/workspaces","location":"westus2","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-04-13T19:10:58.0366776Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-09T22:52:06.6450832Z"},"identity":{"principalId":"0dbdbf52-26d4-470c-9234-bfa298dcda68","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"providers":[{"providerId":"Microsoft","providerSku":"Basic","applicationName":"e2e-qsharp-tests-Microsoft","provisioningState":"Succeeded"},{"providerId":"ionq","providerSku":"ionq-standard","applicationName":"e2e-qsharp-tests-ionq","provisioningState":"Succeeded"},{"providerId":"1qbit","providerSku":"1qbit-internal-free-plan","applicationName":"e2e-qsharp-tests-1qbit","provisioningState":"Succeeded"},{"providerId":"toshiba","providerSku":"toshiba-solutionseconds","applicationName":"e2e-qsharp-tests-toshiba","provisioningState":"Succeeded","resourceUsageId":"528149b6-fc29-4fcc-8cd6-c4cf345af146"},{"providerId":"honeywell","providerSku":"test1","applicationName":"e2e-qsharp-tests-honeywell","provisioningState":"Succeeded","resourceUsageId":"6d1769a8-a82e-4e5e-b1c8-1585dfa15467"}],"provisioningState":"Succeeded","usable":"Yes","storageAccount":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Storage/storageAccounts/e2etests","endpointUri":"https://e2e-qsharp-tests.westus2.quantum.azure.com"}}' headers: cache-control: - no-cache content-length: - - '487' + - '1707' content-type: - application/json; charset=utf-8 date: - - Mon, 22 Mar 2021 16:47:10 GMT + - Wed, 25 Aug 2021 01:42:57 GMT etag: - - '"07008443-0000-3300-0000-5fa7d2e40000"' + - '"000088b0-0000-0800-0000-6111b1970000"' expires: - '-1' pragma: @@ -155,27 +188,24 @@ interactions: ParameterSetName: - -o User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - quantummanagementclient/2019-11-04-preview Azure-SDK-For-Python AZURECLI/2.18.0 - accept-language: - - en-US + - AZURECLI/2.27.1 azsdk-python-mgmt-quantum/1.0.0b1 Python/3.8.2 (Windows-10-10.0.19041-SP0) + az-cli-ext/0.6.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/Microsoft.Quantum/workspaces/testworkspace-canary-microsoft?api-version=2019-11-04-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-qsharp-tests?api-version=2019-11-04-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/validator-test-rg/providers/microsoft.quantum/workspaces/testworkspace-canary-microsoft","name":"testworkspace-canary-microsoft","type":"microsoft.quantum/workspaces","location":"East - US 2 EUAP","properties":{"providers":[{"providerId":"Microsoft","providerSku":"basic","applicationName":"testworkspace-canary-microsoft-Microsoft","provisioningState":"Succeeded"}],"provisioningState":"Succeeded","usable":"Yes"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/Workspaces/e2e-qsharp-tests","name":"e2e-qsharp-tests","type":"microsoft.quantum/workspaces","location":"westus2","tags":{},"systemData":{"createdBy":"anpaz@microsoft.com","createdByType":"User","createdAt":"2021-04-13T19:10:58.0366776Z","lastModifiedBy":"a77d91dc-971b-4cf7-90c8-f183194249bc","lastModifiedByType":"Application","lastModifiedAt":"2021-08-09T22:52:06.6450832Z"},"identity":{"principalId":"0dbdbf52-26d4-470c-9234-bfa298dcda68","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"providers":[{"providerId":"Microsoft","providerSku":"Basic","applicationName":"e2e-qsharp-tests-Microsoft","provisioningState":"Succeeded"},{"providerId":"ionq","providerSku":"ionq-standard","applicationName":"e2e-qsharp-tests-ionq","provisioningState":"Succeeded"},{"providerId":"1qbit","providerSku":"1qbit-internal-free-plan","applicationName":"e2e-qsharp-tests-1qbit","provisioningState":"Succeeded"},{"providerId":"toshiba","providerSku":"toshiba-solutionseconds","applicationName":"e2e-qsharp-tests-toshiba","provisioningState":"Succeeded","resourceUsageId":"528149b6-fc29-4fcc-8cd6-c4cf345af146"},{"providerId":"honeywell","providerSku":"test1","applicationName":"e2e-qsharp-tests-honeywell","provisioningState":"Succeeded","resourceUsageId":"6d1769a8-a82e-4e5e-b1c8-1585dfa15467"}],"provisioningState":"Succeeded","usable":"Yes","storageAccount":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Storage/storageAccounts/e2etests","endpointUri":"https://e2e-qsharp-tests.westus2.quantum.azure.com"}}' headers: cache-control: - no-cache content-length: - - '487' + - '1707' content-type: - application/json; charset=utf-8 date: - - Mon, 22 Mar 2021 16:47:11 GMT + - Wed, 25 Aug 2021 01:42:57 GMT etag: - - '"07008443-0000-3300-0000-5fa7d2e40000"' + - '"000088b0-0000-0800-0000-6111b1970000"' expires: - '-1' pragma: diff --git a/src/quantum/azext_quantum/tests/latest/recordings/test_workspace_create_destroy.yaml b/src/quantum/azext_quantum/tests/latest/recordings/test_workspace_create_destroy.yaml new file mode 100644 index 00000000000..c60fd2034c4 --- /dev/null +++ b/src/quantum/azext_quantum/tests/latest/recordings/test_workspace_create_destroy.yaml @@ -0,0 +1,352 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - quantum workspace create + Connection: + - keep-alive + ParameterSetName: + - -g -w -l -a -r -o --skip-role-assignment + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-quantum/1.0.0b1 Python/3.8.2 (Windows-10-10.0.19041-SP0) + az-cli-ext/0.6.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Quantum/locations/westus2/offerings?api-version=2019-11-04-preview + response: + body: + string: "{\"value\":[{\"id\":\"1qbit\",\"name\":\"1Qloud Optimization Platform\",\"properties\":{\"description\":\"1QBit + 1Qloud Optimization Platform with Quantum Inspired Solutions\",\"providerType\":\"qio\",\"company\":\"1QBit\",\"managedApplication\":{\"publisherId\":\"1qbinformationtechnologies1580939206424\",\"offerId\":\"1qbit-1qloud-optimization-aq\"},\"targets\":[{\"id\":\"1qbit.tabu\",\"name\":\"1QBit + Quadratic Tabu Solver\",\"description\":\"An iterative heuristic algorithm + that uses local search techniques to solve a problem\",\"acceptedDataFormats\":[\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\",\"identity\"]},{\"id\":\"1qbit.pathrelinking\",\"name\":\"1QBit + Quadratic Path-Relinking Solver\",\"description\":\"The path-relinking algorithm + is a heuristic algorithm that uses the tabu search as a subroutine to solve + a QUBO problem\",\"acceptedDataFormats\":[\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\",\"identity\"]},{\"id\":\"1qbit.pticm\",\"name\":\"1QBit + Quadratic Parallel Tempering Isoenergetic Cluster Moves Solver\",\"description\":\"The + parallel tempering with isoenergetic cluster moves (PTICM) solver is a Monte + Carlo approach to solving QUBO problems\",\"acceptedDataFormats\":[\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\",\"identity\"]}],\"skus\":[{\"id\":\"1qbit-internal-free-plan\",\"version\":\"1.0.1\",\"name\":\"1QBit + No Charge Plan\",\"description\":\"1QBit plan with no charge for specific + customer arrangements\",\"targets\":[\"1qbit.tabu\",\"1qbit.pathrelinking\",\"1qbit.pticm\"],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"Tabu + Search Solver
Path-Relinking Solver
PTICM Solver\"},{\"id\":\"quota\",\"value\":\"N/A\"},{\"id\":\"price\",\"value\":\"Free + for select customers\"}]},{\"id\":\"1qbit-fixed-monthly-202012\",\"version\":\"1.0.1\",\"name\":\"Fixed + Monthly Plan\",\"description\":\"This plan provides access to all 1QBit quantum-inspired + optimization solvers with a flat monthly fee\",\"targets\":[\"1qbit.tabu\",\"1qbit.pathrelinking\",\"1qbit.pticm\"],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"Tabu + Search Solver
Path-Relinking Solver
PTICM Solver\"},{\"id\":\"quota\",\"value\":\"N/A\"},{\"id\":\"price\",\"value\":\"$7500 + USD per month\"}]},{\"id\":\"1qbit-pay-as-you-go-20210428\",\"version\":\"1.0.1\",\"name\":\"Pay + As You Go by CPU Usage\",\"description\":\"This plan provides access to all + 1QBit quantum-inspired optimization solvers with a pay as you go pricing\",\"targets\":[\"1qbit.tabu\",\"1qbit.pathrelinking\",\"1qbit.pticm\"],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"Tabu + Search Solver
Path-Relinking Solver
PTICM Solver\"},{\"id\":\"quota\",\"value\":\"N/A\"},{\"id\":\"price\",\"value\":\"$0.075 + per minute; rounded up to nearest second, with a minimum 1-second charge per + solve request\"}]}],\"pricingDimensions\":[{\"id\":\"features\",\"name\":\"Features\"},{\"id\":\"quota\",\"name\":\"Quota\"},{\"id\":\"price\",\"name\":\"Pricing\"}]}},{\"id\":\"honeywell\",\"name\":\"Honeywell + Quantum Solutions\",\"properties\":{\"description\":\"Access to Honeywell + Quantum Solutions' trapped-ion systems\",\"providerType\":\"qe\",\"company\":\"Honeywell\",\"managedApplication\":{\"publisherId\":\"honeywell-quantum\",\"offerId\":\"honeywell-quantum-aq\"},\"targets\":[{\"id\":\"honeywell.hqs-lt-s1\",\"name\":\"Honeywell + System Model: H1\",\"description\":\"Honeywell System Model H1\",\"acceptedDataFormats\":[\"honeywell.openqasm.v1\"],\"acceptedContentEncodings\":[\"gzip\",\"identity\"]},{\"id\":\"honeywell.hqs-lt-s1-apival\",\"name\":\"H1 + API Validator\",\"description\":\"Honeywell System Model H1 API Validator\",\"acceptedDataFormats\":[\"honeywell.openqasm.v1\"],\"acceptedContentEncodings\":[\"gzip\",\"identity\"]},{\"id\":\"honeywell.hqs-lt-s1-sim\",\"name\":\"H1 + Simulator\",\"description\":\"Honeywell System Model H1 Simulator\",\"acceptedDataFormats\":[\"honeywell.openqasm.v1\"],\"acceptedContentEncodings\":[\"gzip\",\"identity\"]}],\"skus\":[{\"id\":\"standard3\",\"version\":\"1.0.1\",\"name\":\"Standard\",\"description\":\"Monthly + subscription plan with 10K Honeywell quantum credits (HQCs) / month, available + through queue\",\"restrictedAccessUri\":\"mailto:HoneywellAzureQuantumSupport@Honeywell.com\",\"targets\":[\"honeywell.hqs-lt-s1\",\"honeywell.hqs-lt-s1-apival\"],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"System + Model H1 API Validator
System Model H1 (10 qubits)\"},{\"id\":\"price\",\"value\":\"$ + 125,000 USD / Month\"}]},{\"id\":\"premium3\",\"version\":\"1.0.1\",\"name\":\"Premium\",\"description\":\"Monthly + subscription plan with 17K Honeywell quantum credits (HQCs) / month, available + through queue\",\"restrictedAccessUri\":\"mailto:HoneywellAzureQuantumSupport@Honeywell.com\",\"targets\":[\"honeywell.hqs-lt-s1\",\"honeywell.hqs-lt-s1-apival\"],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"System + Model H1 API Validator
System Model H1 (10 qubits)\"},{\"id\":\"price\",\"value\":\"$ + 175,000 USD / Month\"}]},{\"id\":\"test1\",\"version\":\"1.0.1\",\"name\":\"Partner + Access\",\"description\":\"Charge-free access to Honeywell System Model H1 + for initial Azure integration verification\",\"targets\":[\"honeywell.hqs-lt-s1\",\"honeywell.hqs-lt-s1-apival\",\"honeywell.hqs-lt-s1-sim\"],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"System + Model H0 API Validator
System Model H0 (6 qubits)\"},{\"id\":\"price\",\"value\":\"Free + for validation\"}]}],\"pricingDimensions\":[{\"id\":\"features\",\"name\":\"Features\"},{\"id\":\"price\",\"name\":\"Pricing\"}]}},{\"id\":\"ionq\",\"name\":\"IonQ\",\"properties\":{\"description\":\"IonQ\u2019s + trapped ion quantum computers perform calculations by manipulating charged + atoms of Ytterbium held in a vacuum with lasers.\",\"providerType\":\"qe\",\"company\":\"IonQ\",\"managedApplication\":{\"publisherId\":\"ionqinc1582730893633\",\"offerId\":\"ionq-aq\"},\"targets\":[{\"id\":\"ionq.simulator\",\"name\":\"Trapped + Ion Quantum Computer Simulator\",\"description\":\"GPU-accelerated idealized + simulator supporting up to 29 qubits, using the same gates IonQ provides on + its quantum computers. No errors are modeled at present.\",\"acceptedDataFormats\":[\"ionq.circuit.v1\"],\"acceptedContentEncodings\":[\"identity\"]},{\"id\":\"ionq.qpu\",\"name\":\"Trapped + Ion Quantum Computer\",\"description\":\"IonQ's quantum computer is dynamically + reconfigurable in software to use up to 11 qubits. All qubits are fully connected, + meaning you can run a two-qubit gate between any pair.\",\"acceptedDataFormats\":[\"ionq.circuit.v1\"],\"acceptedContentEncodings\":[\"identity\"]}],\"skus\":[{\"id\":\"pay-as-you-go\",\"version\":\"0.0.5\",\"name\":\"Pay + As You Go\",\"description\":\"A la carte access based on resource requirements + and usage.\",\"targets\":[\"ionq.qpu\",\"ionq.simulator\"],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"IonQ + Simulator
Trapped Ion QC (11 qubits)\"},{\"id\":\"quota\",\"value\":\"N/A\"},{\"id\":\"price\",\"value\":\"$ + 3,000.00 USD / hour (est)
See preview documentation for details\"}]},{\"id\":\"pay-as-you-go-cred\",\"version\":\"0.0.5\",\"name\":\"Azure + Quantum Credits\",\"description\":\"The Azure Quantum Credits program provides + sponsored access to quantum hardware through Azure. You will not be charged + for usage created under the credits program, up to the limit of your credit + grant.\",\"targets\":[\"ionq.qpu\",\"ionq.simulator\"],\"quotaDimensions\":[{\"id\":\"qgs\",\"scope\":\"Subscription\"}],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"IonQ + Simulator
Trapped Ion QC (11 qubits)\"},{\"id\":\"quota\",\"value\":\"Based + on granted value.\"},{\"id\":\"price\",\"value\":\"Sponsored\"}]},{\"id\":\"ionq-standard\",\"version\":\"0.0.5\",\"name\":\"IonQ + Standard\",\"description\":\"You're testing, so it's free! As in beer.\",\"targets\":[\"ionq.qpu\",\"ionq.simulator\"],\"pricingDetails\":[{\"id\":\"features\",\"value\":\"IonQ + Simulator
Trapped Ion QC (11 qubits)\"},{\"id\":\"quota\",\"value\":\"N/A\"},{\"id\":\"price\",\"value\":\"Free\"}]}],\"quotaDimensions\":[{\"id\":\"qgs\",\"scope\":\"Subscription\",\"quota\":0,\"period\":\"Infinite\",\"name\":\"Credit + [Subscription]\",\"description\":\"Credited resource usage against your account. + See IonQ documentation for more information: https://aka.ms/AQ/IonQ/ProviderDocumentation.\",\"unit\":\"qubit-gate-shot\",\"unitPlural\":\"qubit-gate-shots\"}],\"pricingDimensions\":[{\"id\":\"features\",\"name\":\"Features\"},{\"id\":\"quota\",\"name\":\"Quota\"},{\"id\":\"price\",\"name\":\"Pricing\"}]}},{\"id\":\"Microsoft\",\"name\":\"Microsoft + QIO\",\"properties\":{\"description\":\"Ground-breaking optimization algorithms + inspired by decades of quantum research.\",\"providerType\":\"qio\",\"company\":\"Microsoft\",\"managedApplication\":{\"publisherId\":\"N/A\",\"offerId\":\"N/A\"},\"targets\":[{\"id\":\"microsoft.paralleltempering.cpu\",\"name\":\"microsoft.paralleltempering.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v1\",\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.simulatedannealing-parameterfree.cpu\",\"name\":\"microsoft.simulatedannealing-parameterfree.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v1\",\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.paralleltempering-parameterfree.cpu\",\"name\":\"microsoft.paralleltempering-parameterfree.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v1\",\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.simulatedannealing.cpu\",\"name\":\"microsoft.simulatedannealing.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v1\",\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.tabu.cpu\",\"name\":\"microsoft.tabu.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v1\",\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.tabu-parameterfree.cpu\",\"name\":\"microsoft.tabu-parameterfree.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v1\",\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.qmc.cpu\",\"name\":\"microsoft.qmc.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v1\",\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.populationannealing.cpu\",\"name\":\"microsoft.populationannealing.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.substochasticmontecarlo.cpu\",\"name\":\"microsoft.substochasticmontecarlo.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.substochasticmontecarlo-parameterfree.cpu\",\"name\":\"microsoft.substochasticmontecarlo-parameterfree.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]},{\"id\":\"microsoft.populationannealing-parameterfree.cpu\",\"name\":\"microsoft.populationannealing-parameterfree.cpu\",\"acceptedDataFormats\":[\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]}],\"skus\":[{\"id\":\"Basic\",\"version\":\"1.0\",\"name\":\"Private + Preview\",\"description\":\"Free Private Preview access through February 15 + 2020\",\"targets\":[\"microsoft.paralleltempering-parameterfree.cpu\",\"microsoft.paralleltempering.cpu\",\"microsoft.simulatedannealing-parameterfree.cpu\",\"microsoft.simulatedannealing.cpu\",\"microsoft.tabu-parameterfree.cpu\",\"microsoft.tabu.cpu\",\"microsoft.qmc.cpu\",\"microsoft.populationannealing.cpu\",\"microsoft.substochasticmontecarlo.cpu\",\"microsoft.substochasticmontecarlo-parameterfree.cpu\",\"microsoft.populationannealing-parameterfree.cpu\"],\"quotaDimensions\":[{\"id\":\"combined_job_hours\",\"scope\":\"Workspace\"},{\"id\":\"combined_job_hours\",\"scope\":\"Subscription\"},{\"id\":\"concurrent_cpu_jobs\",\"scope\":\"Workspace\"},{\"id\":\"fpga_job_hours\",\"scope\":\"Workspace\"},{\"id\":\"fpga_job_hours\",\"scope\":\"Subscription\"},{\"id\":\"concurrent_fpga_jobs\",\"scope\":\"Workspace\"}],\"pricingDetails\":[{\"id\":\"targets\",\"value\":\"Simulated + Annealing
Parallel Tempering
Tabu Search
Substochastic Monte Carlo
Population + Annealing
all solvers above have a parameter-free mode

Quantum + Monte Carlo\"},{\"id\":\"perf\",\"value\":\"CPU based: Up to 5 concurrent + jobs\"},{\"id\":\"quota\",\"value\":\"CPU based: 5 hours / month\"},{\"id\":\"price\",\"value\":\"$ + 0\"}]},{\"id\":\"DZH3178M639F\",\"version\":\"1.0\",\"name\":\"Learn & Develop\",\"description\":\"Learn + and develop with Optimization solutions.\",\"targets\":[\"microsoft.paralleltempering-parameterfree.cpu\",\"microsoft.paralleltempering.cpu\",\"microsoft.simulatedannealing-parameterfree.cpu\",\"microsoft.simulatedannealing.cpu\",\"microsoft.tabu-parameterfree.cpu\",\"microsoft.tabu.cpu\",\"microsoft.qmc.cpu\",\"microsoft.populationannealing.cpu\",\"microsoft.substochasticmontecarlo.cpu\",\"microsoft.substochasticmontecarlo-parameterfree.cpu\"],\"quotaDimensions\":[{\"id\":\"combined_job_hours\",\"scope\":\"Workspace\",\"quota\":20},{\"id\":\"combined_job_hours\",\"scope\":\"Subscription\"},{\"id\":\"concurrent_cpu_jobs\",\"scope\":\"Workspace\"},{\"id\":\"concurrent_fpga_jobs\",\"scope\":\"Workspace\",\"quota\":2},{\"id\":\"fpga_job_hours\",\"scope\":\"Workspace\"},{\"id\":\"fpga_job_hours\",\"scope\":\"Subscription\"}],\"pricingDetails\":[{\"id\":\"targets\",\"value\":\"Simulated + Annealing
Parallel Tempering
Tabu Search
Substochastic Monte Carlo
all + solvers above have a parameter-free mode

Quantum Monte Carlo
Population + Annealing\"},{\"id\":\"perf\",\"value\":\"CPU based: Up to 5 concurrent jobs\"},{\"id\":\"quota\",\"value\":\"CPU + based: 20 hours / month\"},{\"id\":\"price\",\"value\":\"Pay as you go
1 + free hour included

See pricing + sheet\"}]},{\"id\":\"DZH318RV7MW4\",\"version\":\"1.0\",\"name\":\"Scale\",\"description\":\"Deploy + world-class Optimization solutions.\",\"targets\":[\"microsoft.paralleltempering-parameterfree.cpu\",\"microsoft.paralleltempering.cpu\",\"microsoft.simulatedannealing-parameterfree.cpu\",\"microsoft.simulatedannealing.cpu\",\"microsoft.tabu-parameterfree.cpu\",\"microsoft.tabu.cpu\",\"microsoft.qmc.cpu\",\"microsoft.populationannealing.cpu\",\"microsoft.substochasticmontecarlo.cpu\",\"microsoft.substochasticmontecarlo-parameterfree.cpu\"],\"quotaDimensions\":[{\"id\":\"combined_job_hours\",\"scope\":\"Workspace\",\"quota\":1000},{\"id\":\"combined_job_hours\",\"scope\":\"Subscription\"},{\"id\":\"concurrent_cpu_jobs\",\"scope\":\"Workspace\",\"quota\":100},{\"id\":\"concurrent_fpga_jobs\",\"scope\":\"Workspace\",\"quota\":10},{\"id\":\"fpga_job_hours\",\"scope\":\"Workspace\",\"quota\":1000},{\"id\":\"fpga_job_hours\",\"scope\":\"Subscription\"}],\"pricingDetails\":[{\"id\":\"targets\",\"value\":\"Simulated + Annealing
Parallel Tempering
Tabu Search
Substochastic Monte Carlo
all + solvers above have a parameter-free mode

Quantum Monte Carlo
Population + Annealing\"},{\"id\":\"perf\",\"value\":\"CPU based: Up to 100 concurrent + jobs\"},{\"id\":\"quota\",\"value\":\"Up to 50,000 hours / month\"},{\"id\":\"price\",\"value\":\"Pay + as you go
1 free hour included

See + pricing sheet\"}]},{\"id\":\"EarlyAccess\",\"version\":\"1.0\",\"name\":\"Early + Access\",\"description\":\"Help us test new capabilities in our Microsoft + Optimization provider. This SKU is available to a select group of users and + limited to targets that we are currently running an Early Access test for.\",\"targets\":[\"microsoft.populationannealing-parameterfree.cpu\"],\"quotaDimensions\":[{\"id\":\"combined_job_hours\",\"scope\":\"Workspace\",\"quota\":10},{\"id\":\"combined_job_hours\",\"scope\":\"Subscription\"},{\"id\":\"concurrent_cpu_jobs\",\"scope\":\"Workspace\"},{\"id\":\"fpga_job_hours\",\"scope\":\"Workspace\"},{\"id\":\"fpga_job_hours\",\"scope\":\"Subscription\"},{\"id\":\"concurrent_fpga_jobs\",\"scope\":\"Workspace\"}],\"pricingDetails\":[{\"id\":\"targets\",\"value\":\"Population + Annealing Parameter Free\"},{\"id\":\"quota\",\"value\":\"CPU based: 10 hours + / month\"},{\"id\":\"price\",\"value\":\"$ 0\"}]}],\"quotaDimensions\":[{\"id\":\"combined_job_hours\",\"scope\":\"Workspace\",\"quota\":5,\"period\":\"Monthly\",\"name\":\"CPU + Solver Hours [Workspace]\",\"description\":\"The amount of CPU solver time + you may use per month within this workspace\",\"unit\":\"hour\",\"unitPlural\":\"hours\"},{\"id\":\"combined_job_hours\",\"scope\":\"Subscription\",\"quota\":1000,\"period\":\"Monthly\",\"name\":\"CPU + Solver Hours [Subscription]\",\"description\":\"The amount of CPU solver time + you may use per month shared by all workspaces within the subscription\",\"unit\":\"hour\",\"unitPlural\":\"hours\"},{\"id\":\"concurrent_cpu_jobs\",\"scope\":\"Workspace\",\"quota\":5},{\"id\":\"concurrent_fpga_jobs\",\"scope\":\"Workspace\",\"quota\":1},{\"id\":\"fpga_job_hours\",\"scope\":\"Workspace\",\"quota\":1,\"period\":\"Monthly\",\"name\":\"FPGA + Solver Hours [Workspace]\",\"description\":\"The amount of FPGA solver time + you may use per month within this workspace\",\"unit\":\"hour\",\"unitPlural\":\"hours\"},{\"id\":\"fpga_job_hours\",\"scope\":\"Subscription\",\"quota\":1000,\"period\":\"Monthly\",\"name\":\"FPGA + Solver Hours [Subscription]\",\"description\":\"The amount of FPGA solver + time you may use per month shared by all workspaces within the subscription\",\"unit\":\"hour\",\"unitPlural\":\"hours\"}],\"pricingDimensions\":[{\"id\":\"targets\",\"name\":\"Targets + available\"},{\"id\":\"perf\",\"name\":\"Performance\"},{\"id\":\"quota\",\"name\":\"Quota\"},{\"id\":\"price\",\"name\":\"Price + per month\"}]}},{\"id\":\"qci\",\"name\":\"Quantum Circuits, Inc.\",\"properties\":{\"description\":\"Superconducting + circuits QC\",\"providerType\":\"qe\",\"company\":\"Quantum Circuits, Inc.\",\"managedApplication\":{\"publisherId\":\"quantumcircuitsinc1598045891596\",\"offerId\":\"quantumcircuitsinc-aq-test-preview\"},\"targets\":[{\"id\":\"qci.machine1\",\"name\":\"Machine + 1\",\"description\":\"Machine 1 Description\",\"acceptedDataFormats\":[\"qci.qcdl.v1\"],\"acceptedContentEncodings\":[\"identity\"]},{\"id\":\"qci.simulator\",\"name\":\"Simulator\",\"description\":\"Simulator + Description\",\"acceptedDataFormats\":[\"qci.qcdl.v1\"],\"acceptedContentEncodings\":[\"identity\"]}],\"skus\":[{\"id\":\"test\",\"version\":\"0.1.0\",\"name\":\"test\",\"description\":\"test + sku\",\"targets\":[\"qci.simulator\",\"qci.machine1\"],\"quotaDimensions\":[{\"id\":\"jobcount\",\"scope\":\"Workspace\"}]}],\"quotaDimensions\":[{\"id\":\"jobcount\",\"scope\":\"Workspace\",\"quota\":1000,\"period\":\"Monthly\",\"name\":\"Job + Count\",\"description\":\"Number of jobs you can run in a month.\",\"unit\":\"job\",\"unitPlural\":\"jobs\"}]}},{\"id\":\"toshiba\",\"name\":\"Toshiba + SBM\",\"properties\":{\"description\":\"Toshiba Simulated Bifurcation Machine + (SBM) for Azure Quantum\",\"providerType\":\"qio\",\"company\":\"Toshiba Digital + Solutions Corporation\",\"managedApplication\":{\"publisherId\":\"2812187\",\"offerId\":\"toshiba-aq\"},\"targets\":[{\"id\":\"toshiba.sbm.ising\",\"name\":\"Ising + solver\",\"description\":\"SBM is a practical and ready-to-use ISING machine + that solves large-scale \\\"combinatorial optimization problems\\\" at high + speed.\",\"acceptedDataFormats\":[\"microsoft.qio.v2\"],\"acceptedContentEncodings\":[\"gzip\"]}],\"skus\":[{\"id\":\"toshiba-solutionseconds\",\"version\":\"1.0.1\",\"name\":\"Pay + As You Go\",\"description\":\"This is the only plan for using SBM in Azure + Quantum Private Preview.\",\"targets\":[\"toshiba.sbm.ising\"],\"pricingDetails\":[{\"id\":\"price\",\"value\":\"This + plan is available for free during private preview.\"}]}],\"pricingDimensions\":[{\"id\":\"price\",\"name\":\"Pricing\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '18125' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 25 Aug 2021 01:42:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"providers": [{"providerId": "Microsoft", "providerSku": "Basic"}], "storageAccount": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Storage/storageAccounts/e2etests"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - quantum workspace create + Connection: + - keep-alive + Content-Length: + - '302' + Content-Type: + - application/json + ParameterSetName: + - -g -w -l -a -r -o --skip-role-assignment + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-quantum/1.0.0b1 Python/3.8.2 (Windows-10-10.0.19041-SP0) + az-cli-ext/0.6.1 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-test-w6832034?api-version=2019-11-04-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-test-w6832034","name":"e2e-test-w6832034","type":"microsoft.quantum/workspaces","location":"westus2","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:42:57.5418683Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-25T01:42:57.5418683Z"},"identity":{"principalId":"66a39ffc-c4b7-4915-9924-134a191d9134","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"providers":[{"providerId":"Microsoft","providerSku":"Basic","applicationName":"e2e-test-w6832034-Microsoft","provisioningState":"Launching"}],"provisioningState":"Accepted","usable":"No","storageAccount":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Storage/storageAccounts/e2etests"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Quantum/locations/WESTUS2/operationStatuses/9349f6be-cc51-4c61-8292-8c0e1779677c?api-version=2019-11-04-preview + cache-control: + - no-cache + content-length: + - '964' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 25 Aug 2021 01:43:03 GMT + etag: + - '"0700737f-0000-0800-0000-6125a0270000"' + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f + set-cookie: + - ARRAffinity=cdb338437d27d909ae95562b70c842a0f45673b5e26f35d5045b643cb1edc1f5;Path=/;HttpOnly;Secure;Domain=app-cp-westus2.azurewebsites.net + - ARRAffinitySameSite=cdb338437d27d909ae95562b70c842a0f45673b5e26f35d5045b643cb1edc1f5;Path=/;HttpOnly;SameSite=None;Secure;Domain=app-cp-westus2.azurewebsites.net + - ASLBSA=c5b1530e7d00364325ae7adc8c2146187c9a8e11e3a3b1f442c0c65f786208c0; path=/; + secure + - ASLBSACORS=c5b1530e7d00364325ae7adc8c2146187c9a8e11e3a3b1f442c0c65f786208c0; + samesite=none; path=/; secure + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 0JqAlYQAAAAAJw74Me5PkRauNAuo1A9EzV1NURURHRTA4MTcAMzJhNzJjYWUtNWM3YS00NTk4LWEyOWYtYzkyMzM3OWUzMzcx + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - quantum workspace delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -w -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-quantum/1.0.0b1 Python/3.8.2 (Windows-10-10.0.19041-SP0) + az-cli-ext/0.6.1 + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-test-w6832034?api-version=2019-11-04-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Quantum/locations/WESTUS2/operationStatuses/c09ca75a-4a16-452c-bce2-55c4a635c3c4?api-version=2019-11-04-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 25 Aug 2021 01:43:03 GMT + etag: + - '"0700767f-0000-0800-0000-6125a0280000"' + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Quantum/locations/WESTUS2/operationStatuses/c09ca75a-4a16-452c-bce2-55c4a635c3c4?api-version=2019-11-04-preview + pragma: + - no-cache + request-context: + - appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f + set-cookie: + - ARRAffinity=cdb338437d27d909ae95562b70c842a0f45673b5e26f35d5045b643cb1edc1f5;Path=/;HttpOnly;Secure;Domain=app-cp-westus2.azurewebsites.net + - ARRAffinitySameSite=cdb338437d27d909ae95562b70c842a0f45673b5e26f35d5045b643cb1edc1f5;Path=/;HttpOnly;SameSite=None;Secure;Domain=app-cp-westus2.azurewebsites.net + - ASLBSA=c5b1530e7d00364325ae7adc8c2146187c9a8e11e3a3b1f442c0c65f786208c0; path=/; + secure + - ASLBSACORS=c5b1530e7d00364325ae7adc8c2146187c9a8e11e3a3b1f442c0c65f786208c0; + samesite=none; path=/; secure + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 0KKAlYQAAAABYkb7TbotbQZqyimdlomMlV1NURURHRTA4MTIAMzJhNzJjYWUtNWM3YS00NTk4LWEyOWYtYzkyMzM3OWUzMzcx + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - quantum workspace delete + Connection: + - keep-alive + Cookie: + - ASLBSA=c5b1530e7d00364325ae7adc8c2146187c9a8e11e3a3b1f442c0c65f786208c0; ASLBSACORS=c5b1530e7d00364325ae7adc8c2146187c9a8e11e3a3b1f442c0c65f786208c0 + ParameterSetName: + - -g -w -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-mgmt-quantum/1.0.0b1 Python/3.8.2 (Windows-10-10.0.19041-SP0) + az-cli-ext/0.6.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-test-w6832034?api-version=2019-11-04-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Quantum/workspaces/e2e-test-w6832034","name":"e2e-test-w6832034","type":"microsoft.quantum/workspaces","location":"westus2","systemData":{"createdBy":"ricardoe@microsoft.com","createdByType":"User","createdAt":"2021-08-25T01:42:57.5418683Z","lastModifiedBy":"ricardoe@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-25T01:42:57.5418683Z"},"identity":{"principalId":"66a39ffc-c4b7-4915-9924-134a191d9134","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"providers":[{"providerId":"Microsoft","providerSku":"Basic","applicationName":"e2e-test-w6832034-Microsoft","provisioningState":"Launching"}],"provisioningState":"Deleting","usable":"No","storageAccount":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/e2e-scenarios/providers/Microsoft.Storage/storageAccounts/e2etests"}}' + headers: + cache-control: + - no-cache + content-length: + - '964' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 25 Aug 2021 01:43:04 GMT + etag: + - '"0700767f-0000-0800-0000-6125a0280000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +version: 1 diff --git a/src/quantum/azext_quantum/tests/latest/test_quantum_jobs.py b/src/quantum/azext_quantum/tests/latest/test_quantum_jobs.py index 7ccbf8da635..02ddcefd104 100644 --- a/src/quantum/azext_quantum/tests/latest/test_quantum_jobs.py +++ b/src/quantum/azext_quantum/tests/latest/test_quantum_jobs.py @@ -9,8 +9,7 @@ from azure_devtools.scenario_tests import AllowLargeResponse, live_only from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) -from .utils import TEST_WORKSPACE, TEST_RG, TEST_WORKSPACE_LOCATION, TEST_SUBS -from .utils import TEST_WORKSPACE_JOBS, TEST_RG_JOBS, TEST_WORKSPACE_LOCATION_JOBS +from .utils import get_test_subscription_id, get_test_resource_group, get_test_workspace, get_test_workspace_location from ..._client_factory import _get_data_credentials from ...operations.workspace import WorkspaceInfo from ...operations.target import TargetInfo @@ -23,7 +22,7 @@ class QuantumJobsScenarioTest(ScenarioTest): def test_jobs(self): # set current workspace: - self.cmd(f'az quantum workspace set -w {TEST_WORKSPACE_JOBS} -g {TEST_RG_JOBS} -l {TEST_WORKSPACE_LOCATION_JOBS}') + self.cmd(f'az quantum workspace set -g {get_test_resource_group()} -w {get_test_workspace()} -l {get_test_workspace_location()}') # list targets = self.cmd('az quantum target list -o json').get_output_in_json() @@ -31,10 +30,13 @@ def test_jobs(self): @live_only() def test_submit_args(self): - ws = WorkspaceInfo(self, TEST_RG_JOBS, TEST_WORKSPACE_JOBS, TEST_WORKSPACE_LOCATION_JOBS) + test_location = get_test_workspace_location() + test_workspace = get_test_workspace() + test_resource_group = get_test_resource_group() + ws = WorkspaceInfo(self, test_resource_group, test_workspace, test_location) target = TargetInfo(self, 'ionq.simulator') - token = _get_data_credentials(self.cli_ctx, TEST_SUBS).get_token().token + token = _get_data_credentials(self.cli_ctx, get_test_subscription_id()).get_token().token assert len(token) > 0 args = _generate_submit_args(["--foo", "--bar"], ws, target, token, project=None, job_name=None, storage=None, shots=None) @@ -43,8 +45,8 @@ def test_submit_args(self): self.assertEquals(args[2], "--no-build") self.assertIn("--", args) self.assertIn("submit", args) - self.assertIn(TEST_WORKSPACE_JOBS, args) - self.assertIn(TEST_RG_JOBS, args) + self.assertIn(test_workspace, args) + self.assertIn(test_resource_group, args) self.assertIn("ionq.simulator", args) self.assertIn("--aad-token", args) self.assertIn(token, args) diff --git a/src/quantum/azext_quantum/tests/latest/test_quantum_targets.py b/src/quantum/azext_quantum/tests/latest/test_quantum_targets.py index 19d31dc026f..88742aa676d 100644 --- a/src/quantum/azext_quantum/tests/latest/test_quantum_targets.py +++ b/src/quantum/azext_quantum/tests/latest/test_quantum_targets.py @@ -9,7 +9,7 @@ from azure_devtools.scenario_tests import AllowLargeResponse from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) -from .utils import TEST_WORKSPACE_TARGET, TEST_RG_TARGET, TEST_WORKSPACE_LOCATION_TARGET, TEST_SUBS +from .utils import get_test_resource_group, get_test_workspace, get_test_workspace_location TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) @@ -18,7 +18,7 @@ class QuantumTargetsScenarioTest(ScenarioTest): def test_targets(self): # set current workspace: - self.cmd(f'az quantum workspace set -g {TEST_RG_TARGET} -w {TEST_WORKSPACE_TARGET} -l {TEST_WORKSPACE_LOCATION_TARGET}') + self.cmd(f'az quantum workspace set -g {get_test_resource_group()} -w {get_test_workspace()} -l {get_test_workspace_location()}') # clear current target self.cmd(f'az quantum target clear') diff --git a/src/quantum/azext_quantum/tests/latest/test_quantum_workspace.py b/src/quantum/azext_quantum/tests/latest/test_quantum_workspace.py index 3730293c6ce..0ab4835ae27 100644 --- a/src/quantum/azext_quantum/tests/latest/test_quantum_workspace.py +++ b/src/quantum/azext_quantum/tests/latest/test_quantum_workspace.py @@ -6,14 +6,13 @@ import os import unittest -from azure_devtools.scenario_tests import AllowLargeResponse +from azure_devtools.scenario_tests import AllowLargeResponse, live_only from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) -from .utils import TEST_WORKSPACE_RM, TEST_RG_RM, TEST_SUBS, TEST_WORKSPACE_CREATE_DELETE, TEST_WORKSPACE_LOCATION, TEST_WORKSPACE_SA +from .utils import get_test_resource_group, get_test_workspace, get_test_workspace_location, get_test_workspace_storage, get_test_workspace_random_name TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - class QuantumWorkspacesScenarioTest(ScenarioTest): @AllowLargeResponse() @@ -21,36 +20,48 @@ def test_workspace(self): # clear self.cmd(f'az quantum workspace clear') + # initialize values + test_location = get_test_workspace_location() + test_workspace = get_test_workspace() + test_resource_group = get_test_resource_group() + # list - workspaces = self.cmd(f'az quantum workspace list -l {TEST_WORKSPACE_LOCATION} -o json').get_output_in_json() + workspaces = self.cmd(f'az quantum workspace list -l {test_location} -o json').get_output_in_json() assert len(workspaces) > 0 self.cmd('az quantum workspace list -o json', checks=[ - self.check(f"[?name=='{TEST_WORKSPACE_RM}'].resourceGroup | [0]", TEST_RG_RM) + self.check(f"[?name=='{test_workspace}'].resourceGroup | [0]", test_resource_group) ]) # set - self.cmd(f'az quantum workspace set -g {TEST_RG_RM} -w {TEST_WORKSPACE_RM} -l {TEST_WORKSPACE_LOCATION} -o json', checks=[ - self.check("name", TEST_WORKSPACE_RM) + self.cmd(f'az quantum workspace set -g {test_resource_group} -w {test_workspace} -l {test_location} -o json', checks=[ + self.check("name", test_workspace) ]) # show self.cmd(f'az quantum workspace show -o json', checks=[ - self.check("name", TEST_WORKSPACE_RM) + self.check("name", test_workspace) ]) # clear self.cmd(f'az quantum workspace clear') - # Currently disabled for required role assignment permissions on test subscription + @live_only() + def test_workspace_create_destroy(self): + # initialize values + test_location = get_test_workspace_location() + test_resource_group = get_test_resource_group() + test_workspace_temp = get_test_workspace_random_name() + test_storage_account = get_test_workspace_storage() # create - # self.cmd(f'az quantum workspace create -g {TEST_RG} -w {TEST_WORKSPACE_CREATE_DELETE} -l {TEST_WORKSPACE_LOCATION} -a {TEST_WORKSPACE_SA} -r "Microsoft/Basic" -o json --skip-role-assignment', checks=[ - # self.check("name", TEST_WORKSPACE_CREATE_DELETE), - # self.check("provisioningState", "Accepted") # Status is accepted since we're not linking the storage account. - # ]) + self.cmd(f'az quantum workspace create -g {test_resource_group} -w {test_workspace_temp} -l {test_location} -a {test_storage_account} -r "Microsoft/Basic" -o json --skip-role-assignment', checks=[ + self.check("name", test_workspace_temp), + self.check("provisioningState", "Accepted") # Status is accepted since we're not linking the storage account. + ]) # delete - # self.cmd(f'az quantum workspace delete -g {TEST_RG} -w {TEST_WORKSPACE_CREATE_DELETE} -o json', checks=[ - # self.check("name", TEST_WORKSPACE_CREATE_DELETE), - # self.check("provisioningState", "Deleting") - # ]) + self.cmd(f'az quantum workspace delete -g {test_resource_group} -w {test_workspace_temp} -o json', checks=[ + self.check("name", test_workspace_temp), + self.check("provisioningState", "Deleting") + ]) + diff --git a/src/quantum/azext_quantum/tests/latest/utils.py b/src/quantum/azext_quantum/tests/latest/utils.py index ee602962518..ca485311635 100644 --- a/src/quantum/azext_quantum/tests/latest/utils.py +++ b/src/quantum/azext_quantum/tests/latest/utils.py @@ -3,17 +3,33 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -TEST_SUBS = "677fc922-91d0-4bf6-9b06-4274d319a0fa" -TEST_RG = 'aqua-provider-validator' -TEST_RG_JOBS = 'testalias-e2e-tests-canary-rg' -TEST_RG_TARGET = 'validator-test-rg' -TEST_RG_RM = 'validator-test-rg' -TEST_WORKSPACE = 'validator-workspace-westus' -TEST_WORKSPACE_JOBS = 'e2e-tests-workspace-ionq' -TEST_WORKSPACE_TARGET = 'testworkspace-canary-microsoft' -TEST_WORKSPACE_RM = 'testworkspace-canary-microsoft' -TEST_WORKSPACE_CREATE_DELETE = 'validator-workspace-crdl-westus' -TEST_WORKSPACE_SA = 'aqvalidatorstorage' -TEST_WORKSPACE_LOCATION = 'westus' -TEST_WORKSPACE_LOCATION_JOBS = 'eastus2euap' -TEST_WORKSPACE_LOCATION_TARGET = 'eastus2euap' +TEST_SUBS_DEFAULT = "916dfd6d-030c-4bd9-b579-7bb6d1926e97" +TEST_RG_DEFAULT = "e2e-scenarios" +TEST_WORKSPACE_DEFAULT = "e2e-qsharp-tests" +TEST_WORKSPACE_DEFAULT_LOCATION = "westus2" +TEST_WORKSPACE_DEFAULT_STORAGE = "/subscriptions/916dfd6d-030c-4bd9-b579-7bb6d1926e97/resourceGroups/e2e-scenarios/providers/Microsoft.Storage/storageAccounts/e2etests" + +def get_from_os_environment(env_name, default): + import os + return os.environ[env_name] if env_name in os.environ and os.environ[env_name] != "" else default + +def get_test_subscription_id(): + return get_from_os_environment("AZUREQUANTUM_SUBSCRIPTION_ID", TEST_SUBS_DEFAULT) + +def get_test_resource_group(): + return get_from_os_environment("AZUREQUANTUM_WORKSPACE_RG", TEST_RG_DEFAULT) + +def get_test_workspace(): + return get_from_os_environment("AZUREQUANTUM_WORKSPACE_NAME", TEST_WORKSPACE_DEFAULT) + +def get_test_workspace_location(): + return get_from_os_environment("AZUREQUANTUM_WORKSPACE_LOCATION", TEST_WORKSPACE_DEFAULT_LOCATION) + +def get_test_workspace_storage(): + return get_from_os_environment("AZUREQUANTUM_WORKSPACE_STORAGE", TEST_WORKSPACE_DEFAULT_STORAGE) + +def get_test_workspace_random_name(): + import random + return "e2e-test-w" + str(random.randint(1000000, 9999999)) + + From 953dfacd8c83d6427b6154273fdbf06bfd577dd0 Mon Sep 17 00:00:00 2001 From: Justin Davies Date: Wed, 25 Aug 2021 05:54:41 +0100 Subject: [PATCH 32/43] aks-preview: Add podMaxPids argument for node config (#3588) * aks-preview: Add podMaxPids argument for node config * Fix missing commas * Add podMaxPids tests * Fix whitespace * Fix history entry --- src/aks-preview/azext_aks_preview/custom.py | 2 ++ .../tests/latest/data/kubeletconfig.json | 1 + .../test_aks_create_with_node_config.yaml | 14 +++++++------- .../tests/latest/test_aks_commands.py | 1 + 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 5d59934c95b..57a5a698223 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -3987,6 +3987,8 @@ def _get_kubelet_config(file_path): "containerLogMaxFiles", None) config_object.container_log_max_size_mb = kubelet_config.get( "containerLogMaxSizeMB", None) + config_object.pod_max_pids = kubelet_config.get( + "podMaxPids", None) return config_object diff --git a/src/aks-preview/azext_aks_preview/tests/latest/data/kubeletconfig.json b/src/aks-preview/azext_aks_preview/tests/latest/data/kubeletconfig.json index 458af0a35c0..ef29e3306d0 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/data/kubeletconfig.json +++ b/src/aks-preview/azext_aks_preview/tests/latest/data/kubeletconfig.json @@ -11,5 +11,6 @@ ], "failSwapOn": false, "containerLogMaxFiles": 10, + "podMaxPids": 120, "containerLogMaxSizeMB": 20 } \ No newline at end of file diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml index a5ed67a4203..575f251598e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml @@ -51,7 +51,7 @@ interactions: -1.0, "kubeletConfig": {"cpuManagerPolicy": "static", "cpuCfsQuota": true, "cpuCfsQuotaPeriod": "200ms", "imageGcHighThreshold": 90, "imageGcLowThreshold": 70, "topologyManagerPolicy": "best-effort", "allowedUnsafeSysctls": ["kernel.msg*", "net.*"], "failSwapOn": - false, "containerLogMaxSizeMB": 20, "containerLogMaxFiles": 10}, "linuxOSConfig": + false, "containerLogMaxSizeMB": 20, "containerLogMaxFiles": 10, "podMaxPids": 120}, "linuxOSConfig": {"sysctls": {"netCoreSomaxconn": 163849, "netIpv4TcpTwReuse": true, "netIpv4IpLocalPortRange": "32000 60000"}, "transparentHugePageEnabled": "madvise", "transparentHugePageDefrag": "defer+madvise", "swapFileSizeMB": 1500}, "enableEncryptionAtHost": false, "enableUltraSSD": @@ -106,7 +106,7 @@ interactions: \ \"topologyManagerPolicy\": \"best-effort\",\n \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n \"net.*\"\n ],\n \"failSwapOn\": false,\n \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": - 10\n },\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": + 10,\n \"podMaxPids\": 120},\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n \"netIpv4TcpTwReuse\": true,\n \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \ \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": @@ -554,7 +554,7 @@ interactions: \ \"topologyManagerPolicy\": \"best-effort\",\n \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n \"net.*\"\n ],\n \"failSwapOn\": false,\n \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": - 10\n },\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": + 10,\n \"podMaxPids\": 120},\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n \"netIpv4TcpTwReuse\": true,\n \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \ \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": @@ -641,7 +641,7 @@ interactions: \ \"imageGcLowThreshold\": 70,\n \"topologyManagerPolicy\": \"best-effort\",\n \ \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n \"net.*\"\n \ ],\n \"failSwapOn\": false,\n \"containerLogMaxSizeMB\": 20,\n - \ \"containerLogMaxFiles\": 10\n },\n \"linuxOSConfig\": {\n \"sysctls\": + \ \"containerLogMaxFiles\": 10,\n \"podMaxPids\": 120},\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n \"netIpv4TcpTwReuse\": true,\n \ \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": @@ -682,7 +682,7 @@ interactions: [], "kubeletConfig": {"cpuManagerPolicy": "static", "cpuCfsQuota": true, "cpuCfsQuotaPeriod": "200ms", "imageGcHighThreshold": 90, "imageGcLowThreshold": 70, "topologyManagerPolicy": "best-effort", "allowedUnsafeSysctls": ["kernel.msg*", "net.*"], "failSwapOn": - false, "containerLogMaxSizeMB": 20, "containerLogMaxFiles": 10}, "linuxOSConfig": + false, "containerLogMaxSizeMB": 20, "containerLogMaxFiles": 10, "podMaxPids": 120}, "linuxOSConfig": {"sysctls": {"netCoreSomaxconn": 163849, "netIpv4TcpTwReuse": true, "netIpv4IpLocalPortRange": "32000 60000"}, "transparentHugePageEnabled": "madvise", "transparentHugePageDefrag": "defer+madvise", "swapFileSizeMB": 1500}, "enableEncryptionAtHost": false, "enableUltraSSD": @@ -724,7 +724,7 @@ interactions: \"200ms\",\n \"imageGcHighThreshold\": 90,\n \"imageGcLowThreshold\": 70,\n \"topologyManagerPolicy\": \"best-effort\",\n \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n \"net.*\"\n ],\n \"failSwapOn\": false,\n - \ \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": 10\n },\n + \ \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": 10,\n \"podMaxPids\": 120\n },\n \ \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n \ \"netIpv4TcpTwReuse\": true,\n \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \"transparentHugePageDefrag\": @@ -1202,7 +1202,7 @@ interactions: \"200ms\",\n \"imageGcHighThreshold\": 90,\n \"imageGcLowThreshold\": 70,\n \"topologyManagerPolicy\": \"best-effort\",\n \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n \"net.*\"\n ],\n \"failSwapOn\": false,\n - \ \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": 10\n },\n + \ \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": 10,\n \"podMaxPids\": 120\n },\n \ \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n \ \"netIpv4TcpTwReuse\": true,\n \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \"transparentHugePageDefrag\": diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index 0ec30998412..dbbbae3c3ae 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -1543,6 +1543,7 @@ def test_aks_create_with_node_config(self, resource_group, resource_group_locati self.cmd(nodepool_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('kubeletConfig.cpuCfsQuotaPeriod', '200ms'), + self.check('kubeletConfig.podMaxPids', 120), self.check('kubeletConfig.containerLogMaxSizeMb', 20), self.check('linuxOsConfig.sysctls.netCoreSomaxconn', 163849) ]) From 0b72ee1b871f62af0cc438fa98a314772499f796 Mon Sep 17 00:00:00 2001 From: Arpit Gupta Date: Thu, 26 Aug 2021 07:49:08 +0530 Subject: [PATCH 33/43] [connectedk8s] Enhance heuristics (#3812) * Enhance heuristics * Update custom.py * upd * upd * upd2 --- src/connectedk8s/azext_connectedk8s/_utils.py | 14 +++- src/connectedk8s/azext_connectedk8s/custom.py | 77 +++++++++++-------- 2 files changed, 59 insertions(+), 32 deletions(-) diff --git a/src/connectedk8s/azext_connectedk8s/_utils.py b/src/connectedk8s/azext_connectedk8s/_utils.py index a02c9f923ec..dc953db6016 100644 --- a/src/connectedk8s/azext_connectedk8s/_utils.py +++ b/src/connectedk8s/azext_connectedk8s/_utils.py @@ -233,7 +233,7 @@ def validate_infrastructure_type(infra): for s in consts.Infrastructure_Enum_Values[1:]: # First value is "auto" if s.lower() == infra.lower(): return s - return "generic" + return None def get_values_file(): @@ -431,3 +431,15 @@ def can_create_clusterrolebindings(configuration): except Exception as ex: logger.warning("Couldn't check for the permission to create clusterrolebindings on this k8s cluster. Error: {}".format(str(ex))) return "Unknown" + + +def validate_node_api_response(api_instance, node_api_response): + if node_api_response is None: + try: + node_api_response = api_instance.list_node() + return node_api_response + except Exception as ex: + logger.debug("Error occcured while listing nodes on this kubernetes cluster: {}".format(str(ex))) + return None + else: + return node_api_response diff --git a/src/connectedk8s/azext_connectedk8s/custom.py b/src/connectedk8s/azext_connectedk8s/custom.py index 4068ed3428c..38fb3fd07d3 100644 --- a/src/connectedk8s/azext_connectedk8s/custom.py +++ b/src/connectedk8s/azext_connectedk8s/custom.py @@ -115,7 +115,10 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, https_pr check_kube_connection(configuration) utils.try_list_node_fix() - required_node_exists = check_linux_amd64_node(configuration) + api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) + node_api_response = utils.validate_node_api_response(api_instance, None) + + required_node_exists = check_linux_amd64_node(node_api_response) if not required_node_exists: telemetry.set_user_fault() telemetry.set_exception(exception="Couldn't find any node on the kubernetes cluster with the architecture type 'amd64' and OS 'linux'", fault_type=consts.Linux_Amd64_Node_Not_Exists, @@ -132,11 +135,11 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, https_pr kubernetes_version = get_server_version(configuration) if distribution == 'auto': - kubernetes_distro = get_kubernetes_distro(configuration) # (cluster heuristics) + kubernetes_distro = get_kubernetes_distro(node_api_response) # (cluster heuristics) else: kubernetes_distro = distribution if infrastructure == 'auto': - kubernetes_infra = get_kubernetes_infra(configuration) # (cluster heuristics) + kubernetes_infra = get_kubernetes_infra(node_api_response) # (cluster heuristics) else: kubernetes_infra = infrastructure @@ -476,14 +479,14 @@ def get_server_version(configuration): raise_error=False) -def get_kubernetes_distro(configuration): # Heuristic - api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) +def get_kubernetes_distro(api_response): # Heuristic + if api_response is None: + return "generic" try: - api_response = api_instance.list_node() - if api_response.items: - labels = api_response.items[0].metadata.labels - provider_id = str(api_response.items[0].spec.provider_id) - annotations = list(api_response.items)[0].metadata.annotations + for node in api_response.items: + labels = node.metadata.labels + provider_id = str(node.spec.provider_id) + annotations = node.metadata.annotations if labels.get("node.openshift.io/os_id"): return "openshift" if labels.get("kubernetes.azure.com/node-image-version"): @@ -500,8 +503,6 @@ def get_kubernetes_distro(configuration): # Heuristic return "k3s" if annotations.get("rke.cattle.io/external-ip") or annotations.get("rke.cattle.io/internal-ip"): return "rancher_rke" - if provider_id.startswith("moc://"): # Todo: ask from aks hci team for more reliable identifier in node labels,etc - return "generic" # return "aks_hci" return "generic" except Exception as e: # pylint: disable=broad-except logger.debug("Error occured while trying to fetch kubernetes distribution: " + str(e)) @@ -510,12 +511,12 @@ def get_kubernetes_distro(configuration): # Heuristic return "generic" -def get_kubernetes_infra(configuration): # Heuristic - api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) +def get_kubernetes_infra(api_response): # Heuristic + if api_response is None: + return "generic" try: - api_response = api_instance.list_node() - if api_response.items: - provider_id = str(api_response.items[0].spec.provider_id) + for node in api_response.items: + provider_id = str(node.spec.provider_id) infra = provider_id.split(':')[0] if infra == "k3s" or infra == "kind": return "generic" @@ -525,9 +526,9 @@ def get_kubernetes_infra(configuration): # Heuristic return "gcp" if infra == "aws": return "aws" - if infra == "moc": # Todo: ask from aks hci team for more reliable identifier in node labels,etc - return "generic" # return "azure_stack_hci" - return utils.validate_infrastructure_type(infra) + k8s_infra = utils.validate_infrastructure_type(infra) + if k8s_infra is not None: + return k8s_infra return "generic" except Exception as e: # pylint: disable=broad-except logger.debug("Error occured while trying to fetch kubernetes infrastructure: " + str(e)) @@ -536,10 +537,8 @@ def get_kubernetes_infra(configuration): # Heuristic return "generic" -def check_linux_amd64_node(configuration): - api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) +def check_linux_amd64_node(api_response): try: - api_response = api_instance.list_node() for item in api_response.items: node_arch = item.metadata.labels.get("kubernetes.io/arch") node_os = item.metadata.labels.get("kubernetes.io/os") @@ -834,16 +833,20 @@ def update_agents(cmd, client, resource_group_name, cluster_name, https_proxy="" # Fetch Connected Cluster for agent version connected_cluster = get_connectedk8s(cmd, client, resource_group_name, cluster_name) + api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) + node_api_response = None if hasattr(connected_cluster, 'distribution') and (connected_cluster.distribution is not None): kubernetes_distro = connected_cluster.distribution else: - kubernetes_distro = get_kubernetes_distro(configuration) + node_api_response = utils.validate_node_api_response(api_instance, node_api_response) + kubernetes_distro = get_kubernetes_distro(node_api_response) if hasattr(connected_cluster, 'infrastructure') and (connected_cluster.infrastructure is not None): kubernetes_infra = connected_cluster.infrastructure else: - kubernetes_infra = get_kubernetes_infra(configuration) + node_api_response = utils.validate_node_api_response(api_instance, node_api_response) + kubernetes_infra = get_kubernetes_infra(node_api_response) kubernetes_properties = { 'Context.Default.AzureCLI.KubernetesVersion': kubernetes_version, @@ -939,6 +942,8 @@ def upgrade_agents(cmd, client, resource_group_name, cluster_name, kube_config=N check_kube_connection(configuration) utils.try_list_node_fix() + api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) + node_api_response = None # Get kubernetes cluster info for telemetry kubernetes_version = get_server_version(configuration) @@ -1000,12 +1005,14 @@ def upgrade_agents(cmd, client, resource_group_name, cluster_name, kube_config=N if hasattr(connected_cluster, 'distribution') and (connected_cluster.distribution is not None): kubernetes_distro = connected_cluster.distribution else: - kubernetes_distro = get_kubernetes_distro(configuration) + node_api_response = utils.validate_node_api_response(api_instance, node_api_response) + kubernetes_distro = get_kubernetes_distro(node_api_response) if hasattr(connected_cluster, 'infrastructure') and (connected_cluster.infrastructure is not None): kubernetes_infra = connected_cluster.infrastructure else: - kubernetes_infra = get_kubernetes_infra(configuration) + node_api_response = utils.validate_node_api_response(api_instance, node_api_response) + kubernetes_infra = get_kubernetes_infra(node_api_response) kubernetes_properties = { 'Context.Default.AzureCLI.KubernetesVersion': kubernetes_version, @@ -1221,6 +1228,8 @@ def enable_features(cmd, client, resource_group_name, cluster_name, features, ku check_kube_connection(configuration) utils.try_list_node_fix() + api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) + node_api_response = None # Get kubernetes cluster info for telemetry kubernetes_version = get_server_version(configuration) @@ -1244,12 +1253,14 @@ def enable_features(cmd, client, resource_group_name, cluster_name, features, ku if hasattr(connected_cluster, 'distribution') and (connected_cluster.distribution is not None): kubernetes_distro = connected_cluster.distribution else: - kubernetes_distro = get_kubernetes_distro(configuration) + node_api_response = utils.validate_node_api_response(api_instance, node_api_response) + kubernetes_distro = get_kubernetes_distro(node_api_response) if hasattr(connected_cluster, 'infrastructure') and (connected_cluster.infrastructure is not None): kubernetes_infra = connected_cluster.infrastructure else: - kubernetes_infra = get_kubernetes_infra(configuration) + node_api_response = utils.validate_node_api_response(api_instance, node_api_response) + kubernetes_infra = get_kubernetes_infra(node_api_response) kubernetes_properties = { 'Context.Default.AzureCLI.KubernetesVersion': kubernetes_version, @@ -1349,6 +1360,8 @@ def disable_features(cmd, client, resource_group_name, cluster_name, features, k check_kube_connection(configuration) utils.try_list_node_fix() + api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) + node_api_response = None # Get kubernetes cluster info for telemetry kubernetes_version = get_server_version(configuration) @@ -1372,12 +1385,14 @@ def disable_features(cmd, client, resource_group_name, cluster_name, features, k if hasattr(connected_cluster, 'distribution') and (connected_cluster.distribution is not None): kubernetes_distro = connected_cluster.distribution else: - kubernetes_distro = get_kubernetes_distro(configuration) + node_api_response = utils.validate_node_api_response(api_instance, node_api_response) + kubernetes_distro = get_kubernetes_distro(node_api_response) if hasattr(connected_cluster, 'infrastructure') and (connected_cluster.infrastructure is not None): kubernetes_infra = connected_cluster.infrastructure else: - kubernetes_infra = get_kubernetes_infra(configuration) + node_api_response = utils.validate_node_api_response(api_instance, node_api_response) + kubernetes_infra = get_kubernetes_infra(node_api_response) kubernetes_properties = { 'Context.Default.AzureCLI.KubernetesVersion': kubernetes_version, From 138a3568dcd1e5c57188b4a9be1ed8f8e9d20f24 Mon Sep 17 00:00:00 2001 From: Delora Bradish Date: Wed, 25 Aug 2021 22:40:12 -0400 Subject: [PATCH 34/43] Added 2nd example moved from azure-docs-cli PR 2688 (#3821) --- src/azure-firewall/azext_firewall/_help.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/azure-firewall/azext_firewall/_help.py b/src/azure-firewall/azext_firewall/_help.py index 0a1e52e75bb..b5135f46416 100644 --- a/src/azure-firewall/azext_firewall/_help.py +++ b/src/azure-firewall/azext_firewall/_help.py @@ -18,6 +18,9 @@ - name: Create a Azure firewall with private ranges text: | az network firewall create -g MyResourceGroup -n MyFirewall --private-ranges 10.0.0.0 10.0.0.0/16 IANAPrivateRanges + - name: Create a Virtual WAN Secure Hub Firewall + text: | + az network firewall create -g MyResourceGroup -n MyFirewall --sku AZFW_Hub --tier Standard --virtual-hub MyVirtualHub1 --public-ip-count 1 """ helps['network firewall delete'] = """ From 15743f10d17640ee4af78d8d0bad6dffda201fad Mon Sep 17 00:00:00 2001 From: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Date: Thu, 26 Aug 2021 13:58:45 +0800 Subject: [PATCH 35/43] fix recordings (#3823) --- ...ate_aadv1_and_update_with_managed_aad.yaml | 208 ++-- ...tsecretsprovider_with_secret_rotation.yaml | 104 +- ...ks_create_and_update_with_managed_aad.yaml | 606 +++++++++-- ...te_with_managed_aad_enable_azure_rbac.yaml | 372 +++---- ...te_nonaad_and_update_with_managed_aad.yaml | 284 +++-- ...test_aks_create_none_private_dns_zone.yaml | 243 ++--- ...ks_create_private_cluster_public_fqdn.yaml | 498 ++++++--- ...ng_azurecni_with_pod_identity_enabled.yaml | 604 ++++++----- .../recordings/test_aks_create_with_ahub.yaml | 966 +++++++++++------- ..._aks_create_with_auto_upgrade_channel.yaml | 231 ++--- ...th_azurekeyvaultsecretsprovider_addon.yaml | 122 +-- .../test_aks_create_with_confcom_addon.yaml | 154 +-- ...ate_with_confcom_addon_helper_enabled.yaml | 130 +-- .../test_aks_create_with_ephemeral_disk.yaml | 130 +-- .../recordings/test_aks_create_with_fips.yaml | 214 ++-- ...est_aks_create_with_http_proxy_config.yaml | 116 +-- ...t_aks_create_with_ingress_appgw_addon.yaml | 130 +-- ...gw_addon_with_deprecated_subet_prefix.yaml | 116 +-- .../test_aks_create_with_managed_disk.yaml | 202 +--- .../test_aks_create_with_node_config.yaml | 214 ++-- ...aks_create_with_openservicemesh_addon.yaml | 110 +- .../test_aks_create_with_ossku.yaml | 100 +- ..._aks_create_with_pod_identity_enabled.yaml | 628 +++++++----- .../test_aks_create_with_windows.yaml | 818 ++++++++------- ...est_aks_disable_addon_openservicemesh.yaml | 252 +++-- ...test_aks_disable_addons_confcom_addon.yaml | 274 ++--- ...don_with_azurekeyvaultsecretsprovider.yaml | 446 ++++---- ...aks_enable_addon_with_openservicemesh.yaml | 162 +-- .../test_aks_enable_addons_confcom_addon.yaml | 224 ++-- .../recordings/test_aks_enable_utlra_ssd.yaml | 128 +-- .../test_aks_maintenanceconfiguration.yaml | 210 ++-- .../test_aks_nodepool_add_with_ossku.yaml | 396 +++++-- .../test_aks_nodepool_get_upgrades.yaml | 240 +++-- .../recordings/test_aks_stop_and_start.yaml | 414 +++++--- ...tsecretsprovider_with_secret_rotation.yaml | 342 ++++--- .../test_aks_update_to_msi_cluster.yaml | 254 ++--- ...test_aks_update_with_windows_password.yaml | 788 +++++++------- ...t_aks_upgrade_node_image_only_cluster.yaml | 172 ++-- ..._aks_upgrade_node_image_only_nodepool.yaml | 190 +--- .../recordings/test_aks_upgrade_nodepool.yaml | 828 +++++++-------- 40 files changed, 6839 insertions(+), 5781 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml index 62818922c09..11fe0138541 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:04:08Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:56:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:04:08 GMT + - Tue, 17 Aug 2021 07:56:30 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestj66hxjilv-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestytzfyzpi2-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -76,7 +76,7 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -86,9 +86,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestytzfyzpi2-79a739\",\n \"fqdn\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -97,10 +97,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -118,7 +118,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/59433589-77e2-4f07-84e4-ec4ecbe8ff4b?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -126,7 +126,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:13 GMT + - Tue, 17 Aug 2021 07:56:37 GMT expires: - '-1' pragma: @@ -157,23 +157,23 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/59433589-77e2-4f07-84e4-ec4ecbe8ff4b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" + string: "{\n \"name\": \"89354359-e277-074f-84e4-ec4ecbe8ff4b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:37.23Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:43 GMT + - Tue, 17 Aug 2021 07:57:06 GMT expires: - '-1' pragma: @@ -206,23 +206,23 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/59433589-77e2-4f07-84e4-ec4ecbe8ff4b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" + string: "{\n \"name\": \"89354359-e277-074f-84e4-ec4ecbe8ff4b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:37.23Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:13 GMT + - Tue, 17 Aug 2021 07:57:37 GMT expires: - '-1' pragma: @@ -255,23 +255,23 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/59433589-77e2-4f07-84e4-ec4ecbe8ff4b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" + string: "{\n \"name\": \"89354359-e277-074f-84e4-ec4ecbe8ff4b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:37.23Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:44 GMT + - Tue, 17 Aug 2021 07:58:07 GMT expires: - '-1' pragma: @@ -304,23 +304,23 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/59433589-77e2-4f07-84e4-ec4ecbe8ff4b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" + string: "{\n \"name\": \"89354359-e277-074f-84e4-ec4ecbe8ff4b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:37.23Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:14 GMT + - Tue, 17 Aug 2021 07:58:37 GMT expires: - '-1' pragma: @@ -353,23 +353,23 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/59433589-77e2-4f07-84e4-ec4ecbe8ff4b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" + string: "{\n \"name\": \"89354359-e277-074f-84e4-ec4ecbe8ff4b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:37.23Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:44 GMT + - Tue, 17 Aug 2021 07:59:07 GMT expires: - '-1' pragma: @@ -402,23 +402,23 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/59433589-77e2-4f07-84e4-ec4ecbe8ff4b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\"\n }" + string: "{\n \"name\": \"89354359-e277-074f-84e4-ec4ecbe8ff4b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:37.23Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:14 GMT + - Tue, 17 Aug 2021 07:59:38 GMT expires: - '-1' pragma: @@ -451,24 +451,24 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bfc48d54-caa6-45d7-9b9e-0a558cfc129c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/59433589-77e2-4f07-84e4-ec4ecbe8ff4b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"548dc4bf-a6ca-d745-9b9e-0a558cfc129c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:04:13.8566666Z\",\n \"endTime\": - \"2021-08-19T10:07:20.008472Z\"\n }" + string: "{\n \"name\": \"89354359-e277-074f-84e4-ec4ecbe8ff4b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:56:37.23Z\",\n \"endTime\": + \"2021-08-17T07:59:38.981361Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '164' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:44 GMT + - Tue, 17 Aug 2021 08:00:07 GMT expires: - '-1' pragma: @@ -501,7 +501,7 @@ interactions: - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret --aad-client-app-id --aad-tenant-id --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -511,9 +511,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestytzfyzpi2-79a739\",\n \"fqdn\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -522,17 +522,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0851d6bc-b23c-4801-b910-e0f2c3cfc3ef\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -554,7 +554,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:44 GMT + - Tue, 17 Aug 2021 08:00:08 GMT expires: - '-1' pragma: @@ -587,7 +587,7 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -597,9 +597,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestytzfyzpi2-79a739\",\n \"fqdn\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -608,17 +608,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0851d6bc-b23c-4801-b910-e0f2c3cfc3ef\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -640,7 +640,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:46 GMT + - Tue, 17 Aug 2021 08:00:09 GMT expires: - '-1' pragma: @@ -661,20 +661,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestj66hxjilv-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "cliakstest-clitestytzfyzpi2-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0851d6bc-b23c-4801-b910-e0f2c3cfc3ef"}]}}, "aadProfile": {"managed": true, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000003"], "tenantID": "00000000-0000-0000-0000-000000000004"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", @@ -697,7 +697,7 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -707,9 +707,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestytzfyzpi2-79a739\",\n \"fqdn\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -718,17 +718,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0851d6bc-b23c-4801-b910-e0f2c3cfc3ef\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -743,7 +743,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cfe7307-935c-4358-a9fa-d9b8c0e04e98?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c33650ca-fef2-42e7-aa73-5b16ae92e9e7?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -751,7 +751,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:49 GMT + - Tue, 17 Aug 2021 08:00:12 GMT expires: - '-1' pragma: @@ -767,7 +767,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1196' status: code: 200 message: OK @@ -786,14 +786,14 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cfe7307-935c-4358-a9fa-d9b8c0e04e98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c33650ca-fef2-42e7-aa73-5b16ae92e9e7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0773fe7c-5c93-5843-a9fa-d9b8c0e04e98\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:07:49.5933333Z\"\n }" + string: "{\n \"name\": \"ca5036c3-f2fe-e742-aa73-5b16ae92e9e7\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:11.8266666Z\"\n }" headers: cache-control: - no-cache @@ -802,7 +802,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:20 GMT + - Tue, 17 Aug 2021 08:00:42 GMT expires: - '-1' pragma: @@ -835,15 +835,15 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cfe7307-935c-4358-a9fa-d9b8c0e04e98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c33650ca-fef2-42e7-aa73-5b16ae92e9e7?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0773fe7c-5c93-5843-a9fa-d9b8c0e04e98\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:07:49.5933333Z\",\n \"endTime\": - \"2021-08-19T10:08:47.7187832Z\"\n }" + string: "{\n \"name\": \"ca5036c3-f2fe-e742-aa73-5b16ae92e9e7\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:00:11.8266666Z\",\n \"endTime\": + \"2021-08-17T08:01:12.2888254Z\"\n }" headers: cache-control: - no-cache @@ -852,7 +852,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:50 GMT + - Tue, 17 Aug 2021 08:01:12 GMT expires: - '-1' pragma: @@ -885,7 +885,7 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -895,9 +895,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestj66hxjilv-79a739\",\n \"fqdn\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestj66hxjilv-79a739-ab00ca05.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestytzfyzpi2-79a739\",\n \"fqdn\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestytzfyzpi2-79a739-37fb08ad.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -906,17 +906,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/18961771-7f9a-4418-a102-e27cf4ef72fb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0851d6bc-b23c-4801-b910-e0f2c3cfc3ef\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -937,7 +937,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:51 GMT + - Tue, 17 Aug 2021 08:01:13 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml index 6e53da0d73f..dcddd3bc183 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:58:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:16:48 GMT + - Tue, 17 Aug 2021 09:58:39 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest3h4esl46r-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestnyzlphelb-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "true"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -82,9 +82,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3h4esl46r-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest3h4esl46r-8ecadf-9fa72898.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3h4esl46r-8ecadf-9fa72898.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestnyzlphelb-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestnyzlphelb-8ecadf-cd90814f.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestnyzlphelb-8ecadf-cd90814f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -93,10 +93,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d9e851-6d1d-4d5c-9bd8-9d21fd5bff5f?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:16:51 GMT + - Tue, 17 Aug 2021 09:58:45 GMT expires: - '-1' pragma: @@ -154,11 +154,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d9e851-6d1d-4d5c-9bd8-9d21fd5bff5f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" + string: "{\n \"name\": \"51e8d985-1d6d-5c4d-9bd8-9d21fd5bff5f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3666666Z\"\n }" headers: cache-control: - no-cache @@ -167,7 +167,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:21 GMT + - Tue, 17 Aug 2021 09:59:15 GMT expires: - '-1' pragma: @@ -202,11 +202,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d9e851-6d1d-4d5c-9bd8-9d21fd5bff5f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" + string: "{\n \"name\": \"51e8d985-1d6d-5c4d-9bd8-9d21fd5bff5f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3666666Z\"\n }" headers: cache-control: - no-cache @@ -215,7 +215,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:51 GMT + - Tue, 17 Aug 2021 09:59:45 GMT expires: - '-1' pragma: @@ -250,11 +250,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d9e851-6d1d-4d5c-9bd8-9d21fd5bff5f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" + string: "{\n \"name\": \"51e8d985-1d6d-5c4d-9bd8-9d21fd5bff5f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3666666Z\"\n }" headers: cache-control: - no-cache @@ -263,7 +263,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:21 GMT + - Tue, 17 Aug 2021 10:00:15 GMT expires: - '-1' pragma: @@ -298,11 +298,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d9e851-6d1d-4d5c-9bd8-9d21fd5bff5f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" + string: "{\n \"name\": \"51e8d985-1d6d-5c4d-9bd8-9d21fd5bff5f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3666666Z\"\n }" headers: cache-control: - no-cache @@ -311,7 +311,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:51 GMT + - Tue, 17 Aug 2021 10:00:45 GMT expires: - '-1' pragma: @@ -346,11 +346,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d9e851-6d1d-4d5c-9bd8-9d21fd5bff5f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" + string: "{\n \"name\": \"51e8d985-1d6d-5c4d-9bd8-9d21fd5bff5f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3666666Z\"\n }" headers: cache-control: - no-cache @@ -359,7 +359,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:21 GMT + - Tue, 17 Aug 2021 10:01:15 GMT expires: - '-1' pragma: @@ -394,11 +394,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d9e851-6d1d-4d5c-9bd8-9d21fd5bff5f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\"\n }" + string: "{\n \"name\": \"51e8d985-1d6d-5c4d-9bd8-9d21fd5bff5f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3666666Z\"\n }" headers: cache-control: - no-cache @@ -407,7 +407,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:51 GMT + - Tue, 17 Aug 2021 10:01:45 GMT expires: - '-1' pragma: @@ -442,12 +442,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0ea38d1c-81dc-4121-885b-a263da3585bd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d9e851-6d1d-4d5c-9bd8-9d21fd5bff5f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c8da30e-dc81-2141-885b-a263da3585bd\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:51.5466666Z\",\n \"endTime\": - \"2021-08-20T07:20:02.8391588Z\"\n }" + string: "{\n \"name\": \"51e8d985-1d6d-5c4d-9bd8-9d21fd5bff5f\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:58:45.3666666Z\",\n \"endTime\": + \"2021-08-17T10:01:57.6328859Z\"\n }" headers: cache-control: - no-cache @@ -456,7 +456,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:21 GMT + - Tue, 17 Aug 2021 10:02:16 GMT expires: - '-1' pragma: @@ -498,9 +498,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3h4esl46r-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest3h4esl46r-8ecadf-9fa72898.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3h4esl46r-8ecadf-9fa72898.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestnyzlphelb-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestnyzlphelb-8ecadf-cd90814f.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestnyzlphelb-8ecadf-cd90814f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -509,10 +509,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -523,7 +523,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/964cdcb2-1a64-49bd-a87a-9b548cdcff88\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/4ddb4a29-58ae-41f5-8a43-3ec2e5233483\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -542,7 +542,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:21 GMT + - Tue, 17 Aug 2021 10:02:16 GMT expires: - '-1' pragma: @@ -576,26 +576,26 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07648e0c-5524-4d60-b328-2f450c4e4c5b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87f1cc59-0cde-4a21-a96d-53e190abd570?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 07:20:23 GMT + - Tue, 17 Aug 2021 10:02:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/07648e0c-5524-4d60-b328-2f450c4e4c5b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/87f1cc59-0cde-4a21-a96d-53e190abd570?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad.yaml index ddb9502b065..16aeb668e00 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:57:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T08:03:09Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:57:41 GMT + - Tue, 17 Aug 2021 08:03:10 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesteru2mvsi5-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestuh6t4qzga-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -74,7 +74,7 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -84,9 +84,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestuh6t4qzga-79a739\",\n \"fqdn\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -116,7 +116,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -124,7 +124,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:48 GMT + - Tue, 17 Aug 2021 08:03:17 GMT expires: - '-1' pragma: @@ -136,7 +136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1195' status: code: 201 message: Created @@ -155,23 +155,23 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:18 GMT + - Tue, 17 Aug 2021 08:03:47 GMT expires: - '-1' pragma: @@ -204,23 +204,23 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:48 GMT + - Tue, 17 Aug 2021 08:04:18 GMT expires: - '-1' pragma: @@ -253,23 +253,23 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:19 GMT + - Tue, 17 Aug 2021 08:04:48 GMT expires: - '-1' pragma: @@ -302,23 +302,23 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:49 GMT + - Tue, 17 Aug 2021 08:05:18 GMT expires: - '-1' pragma: @@ -351,23 +351,23 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:19 GMT + - Tue, 17 Aug 2021 08:05:48 GMT expires: - '-1' pragma: @@ -400,23 +400,268 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\"\n }" + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:06:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids + --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:06:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids + --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:07:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids + --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:07:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids + --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:08:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids + --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:48 GMT + - Tue, 17 Aug 2021 08:08:48 GMT expires: - '-1' pragma: @@ -449,24 +694,23 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5fd6f699-763f-44bd-ad98-721f14d14fb7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"99f6d65f-3f76-bd44-ad98-721f14d14fb7\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:57:48.2166666Z\",\n \"endTime\": - \"2021-08-19T10:00:54.6167014Z\"\n }" + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:18 GMT + - Tue, 17 Aug 2021 08:09:19 GMT expires: - '-1' pragma: @@ -499,7 +743,155 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:09:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids + --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:10:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids + --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1467f7c9-7708-4cbd-93f9-8dc479272757?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c9f76714-0877-bd4c-93f9-8dc479272757\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:03:17.84Z\",\n \"endTime\": + \"2021-08-17T08:10:28.6371628Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:10:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids + --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -509,9 +901,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestuh6t4qzga-79a739\",\n \"fqdn\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -520,17 +912,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7ebbe96b-ee9d-4eb1-a561-affa4e2f927f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -551,7 +943,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:19 GMT + - Tue, 17 Aug 2021 08:10:49 GMT expires: - '-1' pragma: @@ -583,7 +975,7 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -593,9 +985,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestuh6t4qzga-79a739\",\n \"fqdn\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -604,17 +996,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7ebbe96b-ee9d-4eb1-a561-affa4e2f927f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -635,7 +1027,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:20 GMT + - Tue, 17 Aug 2021 08:10:51 GMT expires: - '-1' pragma: @@ -656,20 +1048,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitesteru2mvsi5-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "cliakstest-clitestuh6t4qzga-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7ebbe96b-ee9d-4eb1-a561-affa4e2f927f"}]}}, "aadProfile": {"managed": true, "enableAzureRBAC": false, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000002"], "tenantID": "00000000-0000-0000-0000-000000000003"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": @@ -692,7 +1084,7 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -702,9 +1094,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestuh6t4qzga-79a739\",\n \"fqdn\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -713,17 +1105,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7ebbe96b-ee9d-4eb1-a561-affa4e2f927f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -738,7 +1130,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/61ba3fc7-5d54-4587-8714-008cab1a8c3d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/226b8b1b-ee9f-41ce-9edc-223b6c46b292?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -746,7 +1138,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:23 GMT + - Tue, 17 Aug 2021 08:10:53 GMT expires: - '-1' pragma: @@ -762,7 +1154,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1195' status: code: 200 message: OK @@ -780,23 +1172,23 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/61ba3fc7-5d54-4587-8714-008cab1a8c3d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/226b8b1b-ee9f-41ce-9edc-223b6c46b292?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c73fba61-545d-8745-8714-008cab1a8c3d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:23.02Z\"\n }" + string: "{\n \"name\": \"1b8b6b22-9fee-ce41-9edc-223b6c46b292\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:10:53.3166666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:53 GMT + - Tue, 17 Aug 2021 08:11:23 GMT expires: - '-1' pragma: @@ -828,24 +1220,24 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/61ba3fc7-5d54-4587-8714-008cab1a8c3d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/226b8b1b-ee9f-41ce-9edc-223b6c46b292?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c73fba61-545d-8745-8714-008cab1a8c3d\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:01:23.02Z\",\n \"endTime\": - \"2021-08-19T10:02:19.243439Z\"\n }" + string: "{\n \"name\": \"1b8b6b22-9fee-ce41-9edc-223b6c46b292\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:10:53.3166666Z\",\n \"endTime\": + \"2021-08-17T08:11:45.601689Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '169' content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:23 GMT + - Tue, 17 Aug 2021 08:11:54 GMT expires: - '-1' pragma: @@ -877,7 +1269,7 @@ interactions: ParameterSetName: - --resource-group --name --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -887,9 +1279,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteru2mvsi5-79a739\",\n \"fqdn\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesteru2mvsi5-79a739-eaf102b5.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestuh6t4qzga-79a739\",\n \"fqdn\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestuh6t4qzga-79a739-2fd770bc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -898,17 +1290,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d3f54ca-8d03-447f-817f-5c15fbc3d367\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7ebbe96b-ee9d-4eb1-a561-affa4e2f927f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -929,7 +1321,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:24 GMT + - Tue, 17 Aug 2021 08:11:54 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad_enable_azure_rbac.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad_enable_azure_rbac.yaml index d50397f25d9..a3419d4450c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad_enable_azure_rbac.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_managed_aad_enable_azure_rbac.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:47:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:48:39Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:47:50 GMT + - Tue, 17 Aug 2021 07:48:39 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvpgy4gvkz-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest72vpxb5ht-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -74,7 +74,7 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -84,9 +84,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest72vpxb5ht-79a739\",\n \"fqdn\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -116,7 +116,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5c078915-bfb2-450f-9308-e7fd772e8a3d?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -124,7 +124,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:47:58 GMT + - Tue, 17 Aug 2021 07:48:44 GMT expires: - '-1' pragma: @@ -155,14 +155,14 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5c078915-bfb2-450f-9308-e7fd772e8a3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" + string: "{\n \"name\": \"1589075c-b2bf-0f45-9308-e7fd772e8a3d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:45.1266666Z\"\n }" headers: cache-control: - no-cache @@ -171,7 +171,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:48:29 GMT + - Tue, 17 Aug 2021 07:49:15 GMT expires: - '-1' pragma: @@ -204,14 +204,14 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5c078915-bfb2-450f-9308-e7fd772e8a3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" + string: "{\n \"name\": \"1589075c-b2bf-0f45-9308-e7fd772e8a3d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:45.1266666Z\"\n }" headers: cache-control: - no-cache @@ -220,7 +220,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:48:59 GMT + - Tue, 17 Aug 2021 07:49:45 GMT expires: - '-1' pragma: @@ -253,14 +253,14 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5c078915-bfb2-450f-9308-e7fd772e8a3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" + string: "{\n \"name\": \"1589075c-b2bf-0f45-9308-e7fd772e8a3d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:45.1266666Z\"\n }" headers: cache-control: - no-cache @@ -269,7 +269,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:49:29 GMT + - Tue, 17 Aug 2021 07:50:16 GMT expires: - '-1' pragma: @@ -302,14 +302,14 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5c078915-bfb2-450f-9308-e7fd772e8a3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" + string: "{\n \"name\": \"1589075c-b2bf-0f45-9308-e7fd772e8a3d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:45.1266666Z\"\n }" headers: cache-control: - no-cache @@ -318,7 +318,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:49:59 GMT + - Tue, 17 Aug 2021 07:50:45 GMT expires: - '-1' pragma: @@ -351,14 +351,14 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5c078915-bfb2-450f-9308-e7fd772e8a3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" + string: "{\n \"name\": \"1589075c-b2bf-0f45-9308-e7fd772e8a3d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:45.1266666Z\"\n }" headers: cache-control: - no-cache @@ -367,7 +367,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:50:30 GMT + - Tue, 17 Aug 2021 07:51:15 GMT expires: - '-1' pragma: @@ -400,14 +400,14 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5c078915-bfb2-450f-9308-e7fd772e8a3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\"\n }" + string: "{\n \"name\": \"1589075c-b2bf-0f45-9308-e7fd772e8a3d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:45.1266666Z\"\n }" headers: cache-control: - no-cache @@ -416,7 +416,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:00 GMT + - Tue, 17 Aug 2021 07:51:46 GMT expires: - '-1' pragma: @@ -449,15 +449,15 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbcc55c6-825f-4b50-ae4b-69a732edb560?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5c078915-bfb2-450f-9308-e7fd772e8a3d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c655cccb-5f82-504b-ae4b-69a732edb560\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:47:59.1033333Z\",\n \"endTime\": - \"2021-08-19T09:51:04.3397411Z\"\n }" + string: "{\n \"name\": \"1589075c-b2bf-0f45-9308-e7fd772e8a3d\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:48:45.1266666Z\",\n \"endTime\": + \"2021-08-17T07:51:55.9329644Z\"\n }" headers: cache-control: - no-cache @@ -466,7 +466,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:30 GMT + - Tue, 17 Aug 2021 07:52:16 GMT expires: - '-1' pragma: @@ -499,7 +499,7 @@ interactions: - --resource-group --name --vm-set-type -c --enable-aad --aad-admin-group-object-ids --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -509,9 +509,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest72vpxb5ht-79a739\",\n \"fqdn\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -520,17 +520,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -551,7 +551,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:30 GMT + - Tue, 17 Aug 2021 07:52:16 GMT expires: - '-1' pragma: @@ -583,7 +583,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -593,9 +593,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest72vpxb5ht-79a739\",\n \"fqdn\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -604,17 +604,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -635,7 +635,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:31 GMT + - Tue, 17 Aug 2021 07:52:16 GMT expires: - '-1' pragma: @@ -656,20 +656,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestvpgy4gvkz-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "cliakstest-clitest72vpxb5ht-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748"}]}}, "aadProfile": {"managed": true, "enableAzureRBAC": true, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000001"], "tenantID": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": @@ -692,7 +692,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -702,9 +702,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest72vpxb5ht-79a739\",\n \"fqdn\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -713,17 +713,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -738,7 +738,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8f2fe13-53a0-4a68-a76a-022b48ef37ac?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4368f5d-d97a-42dc-81c5-00a096b79158?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -746,7 +746,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:35 GMT + - Tue, 17 Aug 2021 07:52:19 GMT expires: - '-1' pragma: @@ -762,55 +762,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-azure-rbac -o - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8f2fe13-53a0-4a68-a76a-022b48ef37ac?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"13fef2f8-a053-684a-a76a-022b48ef37ac\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:35.26Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:52:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff + - '1197' status: code: 200 message: OK @@ -828,14 +780,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8f2fe13-53a0-4a68-a76a-022b48ef37ac?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4368f5d-d97a-42dc-81c5-00a096b79158?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"13fef2f8-a053-684a-a76a-022b48ef37ac\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:35.26Z\"\n }" + string: "{\n \"name\": \"5d8f36c4-7ad9-dc42-81c5-00a096b79158\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:19.27Z\"\n }" headers: cache-control: - no-cache @@ -844,7 +796,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:36 GMT + - Tue, 17 Aug 2021 07:52:50 GMT expires: - '-1' pragma: @@ -876,15 +828,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f8f2fe13-53a0-4a68-a76a-022b48ef37ac?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4368f5d-d97a-42dc-81c5-00a096b79158?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"13fef2f8-a053-684a-a76a-022b48ef37ac\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:51:35.26Z\",\n \"endTime\": - \"2021-08-19T09:52:44.8865936Z\"\n }" + string: "{\n \"name\": \"5d8f36c4-7ad9-dc42-81c5-00a096b79158\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:52:19.27Z\",\n \"endTime\": + \"2021-08-17T07:53:16.6971973Z\"\n }" headers: cache-control: - no-cache @@ -893,7 +845,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:06 GMT + - Tue, 17 Aug 2021 07:53:19 GMT expires: - '-1' pragma: @@ -925,7 +877,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -935,9 +887,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest72vpxb5ht-79a739\",\n \"fqdn\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -946,17 +898,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -977,7 +929,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:06 GMT + - Tue, 17 Aug 2021 07:53:20 GMT expires: - '-1' pragma: @@ -1009,7 +961,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -1019,9 +971,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest72vpxb5ht-79a739\",\n \"fqdn\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1030,17 +982,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1061,7 +1013,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:07 GMT + - Tue, 17 Aug 2021 07:53:21 GMT expires: - '-1' pragma: @@ -1082,20 +1034,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestvpgy4gvkz-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "cliakstest-clitest72vpxb5ht-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748"}]}}, "aadProfile": {"managed": true, "enableAzureRBAC": false, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000001"], "tenantID": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": @@ -1118,7 +1070,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -1128,9 +1080,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest72vpxb5ht-79a739\",\n \"fqdn\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1139,17 +1091,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1164,7 +1116,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6ab8169-822a-4416-a1d5-b9e29f254ff9?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e0b11337-8e83-469e-8316-79a04a597581?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1172,7 +1124,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:11 GMT + - Tue, 17 Aug 2021 07:53:24 GMT expires: - '-1' pragma: @@ -1206,71 +1158,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6ab8169-822a-4416-a1d5-b9e29f254ff9?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"6981aba6-2a82-1644-a1d5-b9e29f254ff9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:11.11Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:53:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --disable-azure-rbac -o - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6ab8169-822a-4416-a1d5-b9e29f254ff9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e0b11337-8e83-469e-8316-79a04a597581?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6981aba6-2a82-1644-a1d5-b9e29f254ff9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:11.11Z\"\n }" + string: "{\n \"name\": \"3713b1e0-838e-9e46-8316-79a04a597581\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:24.3066666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:12 GMT + - Tue, 17 Aug 2021 07:53:54 GMT expires: - '-1' pragma: @@ -1302,24 +1206,24 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a6ab8169-822a-4416-a1d5-b9e29f254ff9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e0b11337-8e83-469e-8316-79a04a597581?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6981aba6-2a82-1644-a1d5-b9e29f254ff9\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:53:11.11Z\",\n \"endTime\": - \"2021-08-19T09:54:18.1991213Z\"\n }" + string: "{\n \"name\": \"3713b1e0-838e-9e46-8316-79a04a597581\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:53:24.3066666Z\",\n \"endTime\": + \"2021-08-17T07:54:23.7718924Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:42 GMT + - Tue, 17 Aug 2021 07:54:24 GMT expires: - '-1' pragma: @@ -1351,7 +1255,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-azure-rbac -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -1361,9 +1265,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvpgy4gvkz-79a739\",\n \"fqdn\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvpgy4gvkz-79a739-82f74531.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest72vpxb5ht-79a739\",\n \"fqdn\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest72vpxb5ht-79a739-711fe313.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1372,17 +1276,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7f58d6e0-2710-4ccb-9a98-0a313c5756b7\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3b08c7a9-15c8-4d69-9251-adfadaedd748\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -1403,7 +1307,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:42 GMT + - Tue, 17 Aug 2021 07:54:24 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml index fa118c01718..71c23c1763c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:04:52Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T08:00:09Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:04:53 GMT + - Tue, 17 Aug 2021 08:00:10 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestfflbhgnth-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesttfbn4wbqs-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -71,7 +71,7 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesttfbn4wbqs-79a739\",\n \"fqdn\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:02 GMT + - Tue, 17 Aug 2021 08:00:17 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -148,14 +148,14 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" + string: "{\n \"name\": \"a08f55c1-f06a-7640-aaa9-44beee67858b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:16.9666666Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:32 GMT + - Tue, 17 Aug 2021 08:00:46 GMT expires: - '-1' pragma: @@ -196,14 +196,14 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" + string: "{\n \"name\": \"a08f55c1-f06a-7640-aaa9-44beee67858b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:16.9666666Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:02 GMT + - Tue, 17 Aug 2021 08:01:16 GMT expires: - '-1' pragma: @@ -244,14 +244,14 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" + string: "{\n \"name\": \"a08f55c1-f06a-7640-aaa9-44beee67858b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:16.9666666Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:33 GMT + - Tue, 17 Aug 2021 08:01:47 GMT expires: - '-1' pragma: @@ -292,14 +292,14 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" + string: "{\n \"name\": \"a08f55c1-f06a-7640-aaa9-44beee67858b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:16.9666666Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:03 GMT + - Tue, 17 Aug 2021 08:02:17 GMT expires: - '-1' pragma: @@ -340,14 +340,14 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\"\n }" + string: "{\n \"name\": \"a08f55c1-f06a-7640-aaa9-44beee67858b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:16.9666666Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +356,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:33 GMT + - Tue, 17 Aug 2021 08:02:47 GMT expires: - '-1' pragma: @@ -388,24 +388,120 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0faf9110-dc9e-456a-8180-6b25c3b04b69?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1091af0f-9edc-6a45-8180-6b25c3b04b69\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:05:02.0733333Z\",\n \"endTime\": - \"2021-08-19T10:07:43.5952296Z\"\n }" + string: "{\n \"name\": \"a08f55c1-f06a-7640-aaa9-44beee67858b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:16.9666666Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:03:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a08f55c1-f06a-7640-aaa9-44beee67858b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:16.9666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:03:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --vm-set-type --node-count --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c1558fa0-6af0-4076-aaa9-44beee67858b?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a08f55c1-f06a-7640-aaa9-44beee67858b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:00:16.9666666Z\",\n \"endTime\": + \"2021-08-17T08:03:59.423003Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '169' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:02 GMT + - Tue, 17 Aug 2021 08:04:18 GMT expires: - '-1' pragma: @@ -437,7 +533,7 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -447,9 +543,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesttfbn4wbqs-79a739\",\n \"fqdn\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -458,17 +554,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5b6bb83f-e521-4e90-b390-a0b4d9d821a2\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -487,7 +583,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:03 GMT + - Tue, 17 Aug 2021 08:04:18 GMT expires: - '-1' pragma: @@ -520,7 +616,7 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -530,9 +626,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesttfbn4wbqs-79a739\",\n \"fqdn\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -541,17 +637,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5b6bb83f-e521-4e90-b390-a0b4d9d821a2\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -570,7 +666,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:04 GMT + - Tue, 17 Aug 2021 08:04:19 GMT expires: - '-1' pragma: @@ -591,20 +687,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestfflbhgnth-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "cliakstest-clitesttfbn4wbqs-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5b6bb83f-e521-4e90-b390-a0b4d9d821a2"}]}}, "aadProfile": {"managed": true, "adminGroupObjectIDs": ["00000000-0000-0000-0000-000000000001"], "tenantID": "00000000-0000-0000-0000-000000000002"}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", @@ -627,7 +723,7 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -637,9 +733,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesttfbn4wbqs-79a739\",\n \"fqdn\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -648,17 +744,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5b6bb83f-e521-4e90-b390-a0b4d9d821a2\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -673,7 +769,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e19fdbc0-bef9-439c-ac49-203790e0e4cf?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54505961-8e0f-4c7b-9054-9b8c261dde38?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -681,7 +777,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:07 GMT + - Tue, 17 Aug 2021 08:04:22 GMT expires: - '-1' pragma: @@ -697,7 +793,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1190' status: code: 200 message: OK @@ -716,14 +812,14 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e19fdbc0-bef9-439c-ac49-203790e0e4cf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54505961-8e0f-4c7b-9054-9b8c261dde38?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c0db9fe1-f9be-9c43-ac49-203790e0e4cf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:08:07.66Z\"\n }" + string: "{\n \"name\": \"61595054-0f8e-7b4c-9054-9b8c261dde38\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:04:21.61Z\"\n }" headers: cache-control: - no-cache @@ -732,7 +828,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:37 GMT + - Tue, 17 Aug 2021 08:04:52 GMT expires: - '-1' pragma: @@ -765,15 +861,15 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e19fdbc0-bef9-439c-ac49-203790e0e4cf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54505961-8e0f-4c7b-9054-9b8c261dde38?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c0db9fe1-f9be-9c43-ac49-203790e0e4cf\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:08:07.66Z\",\n \"endTime\": - \"2021-08-19T10:09:08.7693622Z\"\n }" + string: "{\n \"name\": \"61595054-0f8e-7b4c-9054-9b8c261dde38\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:04:21.61Z\",\n \"endTime\": + \"2021-08-17T08:05:21.2453137Z\"\n }" headers: cache-control: - no-cache @@ -782,7 +878,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:08 GMT + - Tue, 17 Aug 2021 08:05:22 GMT expires: - '-1' pragma: @@ -815,7 +911,7 @@ interactions: - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-id -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -825,9 +921,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfflbhgnth-79a739\",\n \"fqdn\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestfflbhgnth-79a739-c0637920.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesttfbn4wbqs-79a739\",\n \"fqdn\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesttfbn4wbqs-79a739-ea2af001.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -836,17 +932,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b2b8055e-3145-4bb6-a044-6f5256812700\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5b6bb83f-e521-4e90-b390-a0b4d9d821a2\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"aadProfile\": @@ -867,7 +963,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:09 GMT + - Tue, 17 Aug 2021 08:05:22 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml index 89aeb3ca75c..0a34f13da9c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:47:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T08:16:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:47:50 GMT + - Tue, 17 Aug 2021 08:16:28 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestxnaoign7m-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestrrbxqih3t-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -74,7 +74,7 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -84,10 +84,10 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxnaoign7m-79a739\",\n \"fqdn\": - \"cliakstest-clitestxnaoign7m-79a739-50c436c5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"da49a613e0589f21fcabf787b72e5be8-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestxnaoign7m-79a739-50c436c5.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrrbxqih3t-79a739\",\n \"fqdn\": + \"cliakstest-clitestrrbxqih3t-79a739-171213fe.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"47eef895cb2cce53256cdba91fbfe849-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestrrbxqih3t-79a739-171213fe.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -96,10 +96,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n @@ -119,7 +119,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -127,7 +127,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:47:59 GMT + - Tue, 17 Aug 2021 08:16:36 GMT expires: - '-1' pragma: @@ -139,7 +139,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 201 message: Created @@ -158,23 +158,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:48:29 GMT + - Tue, 17 Aug 2021 08:17:06 GMT expires: - '-1' pragma: @@ -207,23 +207,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:49:00 GMT + - Tue, 17 Aug 2021 08:17:37 GMT expires: - '-1' pragma: @@ -256,23 +256,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:49:30 GMT + - Tue, 17 Aug 2021 08:18:06 GMT expires: - '-1' pragma: @@ -305,23 +305,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:50:00 GMT + - Tue, 17 Aug 2021 08:18:37 GMT expires: - '-1' pragma: @@ -354,23 +354,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:50:30 GMT + - Tue, 17 Aug 2021 08:19:07 GMT expires: - '-1' pragma: @@ -403,23 +403,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:00 GMT + - Tue, 17 Aug 2021 08:19:37 GMT expires: - '-1' pragma: @@ -452,23 +452,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:31 GMT + - Tue, 17 Aug 2021 08:20:07 GMT expires: - '-1' pragma: @@ -501,23 +501,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:01 GMT + - Tue, 17 Aug 2021 08:20:37 GMT expires: - '-1' pragma: @@ -550,23 +550,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:30 GMT + - Tue, 17 Aug 2021 08:21:07 GMT expires: - '-1' pragma: @@ -599,23 +599,23 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:00 GMT + - Tue, 17 Aug 2021 08:21:38 GMT expires: - '-1' pragma: @@ -648,23 +648,24 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6d327b9-723a-434d-a157-a9a38cff0870?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\"\n }" + string: "{\n \"name\": \"b927d3f6-3a72-4d43-a157-a9a38cff0870\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:16:36.8Z\",\n \"endTime\": + \"2021-08-17T08:22:03.2234728Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '164' content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:31 GMT + - Tue, 17 Aug 2021 08:22:07 GMT expires: - '-1' pragma: @@ -697,57 +698,7 @@ interactions: - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster --private-dns-zone --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8b6b695f-8218-46c8-8449-a32162ba794c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"5f696b8b-1882-c846-8449-a32162ba794c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:47:59.73Z\",\n \"endTime\": - \"2021-08-19T09:53:42.8776271Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '165' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:54:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --node-count --load-balancer-sku --enable-private-cluster - --private-dns-zone --ssh-key-value - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -757,10 +708,10 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxnaoign7m-79a739\",\n \"fqdn\": - \"cliakstest-clitestxnaoign7m-79a739-50c436c5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"da49a613e0589f21fcabf787b72e5be8-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestxnaoign7m-79a739-50c436c5.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrrbxqih3t-79a739\",\n \"fqdn\": + \"cliakstest-clitestrrbxqih3t-79a739-171213fe.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"47eef895cb2cce53256cdba91fbfe849-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestrrbxqih3t-79a739-171213fe.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -769,17 +720,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/72d2606e-eb55-4589-87e8-da482bfb2b10\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e33c3272-68da-42a2-9d0f-3cbdd6c9344d\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -803,7 +754,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:02 GMT + - Tue, 17 Aug 2021 08:22:08 GMT expires: - '-1' pragma: @@ -837,26 +788,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2762ef9d-f8a7-44e8-a7cd-6f9c361bf7c4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e8349e2-571e-4d03-b0f1-87dc118e6b83?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 09:54:03 GMT + - Tue, 17 Aug 2021 08:22:09 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/2762ef9d-f8a7-44e8-a7cd-6f9c361bf7c4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/0e8349e2-571e-4d03-b0f1-87dc118e6b83?api-version=2016-03-30 pragma: - no-cache server: @@ -866,7 +817,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14993' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml index 6be10bae283..cbb8a0488f1 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_private_cluster_public_fqdn.yaml @@ -11,14 +11,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:33:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:58:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 06:33:05 GMT + - Tue, 17 Aug 2021 09:58:40 GMT expires: - '-1' pragma: @@ -43,20 +44,22 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestbeuhtmj5v-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestfi7fxjl5w-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": - "standard"}, "apiServerAccessProfile": {"enablePrivateCluster": true}, "disableLocalAccounts": - false}}' + "standard"}, "apiServerAccessProfile": {"enablePrivateCluster": true, "enablePrivateClusterPublicFQDN": + true}, "disableLocalAccounts": false}}' headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - application/json Accept-Encoding: @@ -66,11 +69,12 @@ interactions: Connection: - keep-alive Content-Length: - - '1414' + - '1454' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) @@ -82,10 +86,10 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"fqdn\": - \"cliakstest-clitestbeuhtmj5v-79a739-ffe83ea8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfi7fxjl5w-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestfi7fxjl5w-8ecadf-7659cd50.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"c6410239c92ed82dec616264125ae131-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestfi7fxjl5w-8ecadf-25c75744.fd97dd1b-b2b5-4b48-a734-b4d378b8250a.privatelink.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -94,10 +98,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n @@ -117,7 +121,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -125,7 +129,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:33:09 GMT + - Tue, 17 Aug 2021 09:58:45 GMT expires: - '-1' pragma: @@ -144,6 +148,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -153,16 +159,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -171,7 +178,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:33:40 GMT + - Tue, 17 Aug 2021 09:59:15 GMT expires: - '-1' pragma: @@ -192,6 +199,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -201,16 +210,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -219,7 +229,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:34:10 GMT + - Tue, 17 Aug 2021 09:59:45 GMT expires: - '-1' pragma: @@ -240,6 +250,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -249,16 +261,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -267,7 +280,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:34:40 GMT + - Tue, 17 Aug 2021 10:00:15 GMT expires: - '-1' pragma: @@ -288,6 +301,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -297,16 +312,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -315,7 +331,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:10 GMT + - Tue, 17 Aug 2021 10:00:45 GMT expires: - '-1' pragma: @@ -336,6 +352,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -345,16 +363,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -363,7 +382,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:40 GMT + - Tue, 17 Aug 2021 10:01:16 GMT expires: - '-1' pragma: @@ -384,6 +403,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -393,16 +414,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -411,7 +433,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:10 GMT + - Tue, 17 Aug 2021 10:01:45 GMT expires: - '-1' pragma: @@ -432,6 +454,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -441,16 +465,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -459,7 +484,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:41 GMT + - Tue, 17 Aug 2021 10:02:16 GMT expires: - '-1' pragma: @@ -480,6 +505,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -489,16 +516,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -507,7 +535,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:37:11 GMT + - Tue, 17 Aug 2021 10:02:46 GMT expires: - '-1' pragma: @@ -528,6 +556,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -537,16 +567,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -555,7 +586,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:37:40 GMT + - Tue, 17 Aug 2021 10:03:16 GMT expires: - '-1' pragma: @@ -576,6 +607,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -585,16 +618,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -603,7 +637,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:38:11 GMT + - Tue, 17 Aug 2021 10:03:46 GMT expires: - '-1' pragma: @@ -624,6 +658,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -633,16 +669,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -651,7 +688,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:38:41 GMT + - Tue, 17 Aug 2021 10:04:16 GMT expires: - '-1' pragma: @@ -672,6 +709,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -681,16 +720,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -699,7 +739,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:39:11 GMT + - Tue, 17 Aug 2021 10:04:46 GMT expires: - '-1' pragma: @@ -720,6 +760,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -729,16 +771,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" headers: cache-control: - no-cache @@ -747,7 +790,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:39:41 GMT + - Tue, 17 Aug 2021 10:05:16 GMT expires: - '-1' pragma: @@ -768,6 +811,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -777,17 +822,69 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/833beb63-574e-4353-8ebe-9e092d359314?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"63eb3b83-4e57-5343-8ebe-9e092d359314\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:33:09.9866666Z\",\n \"endTime\": - \"2021-08-20T06:40:09.5777027Z\"\n }" + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:05:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bd78ffc0-45aa-4101-a8f3-5ee89c093a04?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"c0ff78bd-aa45-0141-a8f3-5ee89c093a04\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:58:45.3166666Z\",\n \"endTime\": + \"2021-08-17T10:06:00.8680186Z\"\n }" headers: cache-control: - no-cache @@ -796,7 +893,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:12 GMT + - Tue, 17 Aug 2021 10:06:17 GMT expires: - '-1' pragma: @@ -817,6 +914,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -826,7 +925,8 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-private-cluster --node-count --ssh-key-value + - --resource-group --name --node-count --enable-public-fqdn --enable-private-cluster + --aks-custom-headers --ssh-key-value User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) @@ -838,10 +938,10 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"fqdn\": - \"cliakstest-clitestbeuhtmj5v-79a739-ffe83ea8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfi7fxjl5w-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestfi7fxjl5w-8ecadf-7659cd50.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"c6410239c92ed82dec616264125ae131-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestfi7fxjl5w-8ecadf-25c75744.fd97dd1b-b2b5-4b48-a734-b4d378b8250a.privatelink.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -850,17 +950,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f41967a6-3234-4638-9ea5-18dca840097a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -884,7 +984,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:12 GMT + - Tue, 17 Aug 2021 10:06:17 GMT expires: - '-1' pragma: @@ -914,7 +1014,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn + - --resource-group --name --disable-public-fqdn --aks-custom-headers User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) @@ -926,10 +1026,10 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"fqdn\": - \"cliakstest-clitestbeuhtmj5v-79a739-ffe83ea8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfi7fxjl5w-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestfi7fxjl5w-8ecadf-7659cd50.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"c6410239c92ed82dec616264125ae131-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestfi7fxjl5w-8ecadf-25c75744.fd97dd1b-b2b5-4b48-a734-b4d378b8250a.privatelink.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -938,17 +1038,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f41967a6-3234-4638-9ea5-18dca840097a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -972,7 +1072,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:13 GMT + - Tue, 17 Aug 2021 10:06:17 GMT expires: - '-1' pragma: @@ -981,6 +1081,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -989,20 +1093,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestbeuhtmj5v-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": + "cliakstest-clitestfi7fxjl5w-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f41967a6-3234-4638-9ea5-18dca840097a"}]}}, "autoUpgradeProfile": {}, "apiServerAccessProfile": {"enablePrivateCluster": true, "privateDNSZone": "system", "enablePrivateClusterPublicFQDN": false}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", @@ -1012,6 +1116,8 @@ interactions: "groupId": "management", "requiredMembers": ["management"]}], "disableLocalAccounts": false}}' headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - application/json Accept-Encoding: @@ -1025,7 +1131,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - --resource-group --name --disable-public-fqdn + - --resource-group --name --disable-public-fqdn --aks-custom-headers User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) @@ -1037,9 +1143,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"azurePortalFQDN\": - \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfi7fxjl5w-8ecadf\",\n \"azurePortalFQDN\": + \"c6410239c92ed82dec616264125ae131-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestfi7fxjl5w-8ecadf-25c75744.fd97dd1b-b2b5-4b48-a734-b4d378b8250a.privatelink.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1048,24 +1154,24 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f41967a6-3234-4638-9ea5-18dca840097a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"privateLinkResources\": [\n {\n \"name\": \"management\",\n \ \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ],\n \"privateLinkServiceID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hcp-underlay-westus2-cx-154/providers/Microsoft.Network/privateLinkServices/a46711ab8630c45adb61980e32951b81\"\n + \ ],\n \"privateLinkServiceID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hcp-underlay-westus2-cx-82/providers/Microsoft.Network/privateLinkServices/ab016aaf280f247ec9c97947e459c28b\"\n \ }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": true,\n \"privateDNSZone\": \"system\",\n \"enablePrivateClusterPublicFQDN\": false,\n \"privateClusterVersion\": \"v1\"\n },\n \"identityProfile\": @@ -1077,15 +1183,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a82395b-25bf-4118-a7e3-517a983210e4?api-version=2016-03-30 cache-control: - no-cache content-length: - - '4057' + - '4056' content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:17 GMT + - Tue, 17 Aug 2021 10:06:21 GMT expires: - '-1' pragma: @@ -1094,16 +1200,72 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-public-fqdn --aks-custom-headers + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a82395b-25bf-4118-a7e3-517a983210e4?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"5b39824a-bf25-1841-a7e3-517a983210e4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:06:21.2Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '120' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:06:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -1113,25 +1275,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn + - --resource-group --name --disable-public-fqdn --aks-custom-headers User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a82395b-25bf-4118-a7e3-517a983210e4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1f7bd3d4-86c0-014e-a9d3-688e477c0cc3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:40:16.74Z\"\n }" + string: "{\n \"name\": \"5b39824a-bf25-1841-a7e3-517a983210e4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:06:21.2Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:48 GMT + - Tue, 17 Aug 2021 10:07:21 GMT expires: - '-1' pragma: @@ -1140,6 +1302,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1148,6 +1314,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -1157,25 +1325,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn + - --resource-group --name --disable-public-fqdn --aks-custom-headers User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a82395b-25bf-4118-a7e3-517a983210e4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1f7bd3d4-86c0-014e-a9d3-688e477c0cc3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:40:16.74Z\"\n }" + string: "{\n \"name\": \"5b39824a-bf25-1841-a7e3-517a983210e4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:06:21.2Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Fri, 20 Aug 2021 06:41:17 GMT + - Tue, 17 Aug 2021 10:07:51 GMT expires: - '-1' pragma: @@ -1184,6 +1352,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1192,6 +1364,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -1201,25 +1375,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn + - --resource-group --name --disable-public-fqdn --aks-custom-headers User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a82395b-25bf-4118-a7e3-517a983210e4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1f7bd3d4-86c0-014e-a9d3-688e477c0cc3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:40:16.74Z\"\n }" + string: "{\n \"name\": \"5b39824a-bf25-1841-a7e3-517a983210e4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:06:21.2Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Fri, 20 Aug 2021 06:41:47 GMT + - Tue, 17 Aug 2021 10:08:21 GMT expires: - '-1' pragma: @@ -1228,6 +1402,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1236,6 +1414,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -1245,26 +1425,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn + - --resource-group --name --disable-public-fqdn --aks-custom-headers User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d4d37b1f-c086-4e01-a9d3-688e477c0cc3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a82395b-25bf-4118-a7e3-517a983210e4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1f7bd3d4-86c0-014e-a9d3-688e477c0cc3\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:40:16.74Z\",\n \"endTime\": - \"2021-08-20T06:42:11.3987574Z\"\n }" + string: "{\n \"name\": \"5b39824a-bf25-1841-a7e3-517a983210e4\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:06:21.2Z\",\n \"endTime\": + \"2021-08-17T10:08:24.2130587Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '164' content-type: - application/json date: - - Fri, 20 Aug 2021 06:42:18 GMT + - Tue, 17 Aug 2021 10:08:52 GMT expires: - '-1' pragma: @@ -1273,6 +1453,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1281,6 +1465,8 @@ interactions: - request: body: null headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/EnablePrivateClusterPublicFQDN Accept: - '*/*' Accept-Encoding: @@ -1290,7 +1476,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --disable-public-fqdn + - --resource-group --name --disable-public-fqdn --aks-custom-headers User-Agent: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) @@ -1302,9 +1488,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbeuhtmj5v-79a739\",\n \"azurePortalFQDN\": - \"f976bd764e25b6066bb32e5c2d1eeb64-priv.portal.hcp.westus2.azmk8s.io\",\n - \ \"privateFQDN\": \"cliakstest-clitestbeuhtmj5v-79a739-ffb8f32b.43154cdc-f6e4-451d-a066-792a5e560369.privatelink.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestfi7fxjl5w-8ecadf\",\n \"azurePortalFQDN\": + \"c6410239c92ed82dec616264125ae131-priv.portal.hcp.westus2.azmk8s.io\",\n + \ \"privateFQDN\": \"cliakstest-clitestfi7fxjl5w-8ecadf-25c75744.fd97dd1b-b2b5-4b48-a734-b4d378b8250a.privatelink.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1313,17 +1499,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/28c1684f-8052-40c5-afd3-9a2b7cd79ba6\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/f41967a6-3234-4638-9ea5-18dca840097a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1347,7 +1533,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:42:18 GMT + - Tue, 17 Aug 2021 10:08:52 GMT expires: - '-1' pragma: @@ -1356,6 +1542,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_using_azurecni_with_pod_identity_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_using_azurecni_with_pod_identity_enabled.yaml index 5181607c385..db53e1841ff 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_using_azurecni_with_pod_identity_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_using_azurecni_with_pod_identity_enabled.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:58:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:16:47 GMT + - Tue, 17 Aug 2021 09:58:39 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestlrunyy7pl-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest7qipb62xj-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "podIdentityProfile": {"enabled": true}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "outboundType": "loadBalancer", "loadBalancerSku": @@ -82,9 +82,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -93,10 +93,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b9866ade-dd66-4f68-8251-8558bcddf3e1?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:16:53 GMT + - Tue, 17 Aug 2021 09:58:46 GMT expires: - '-1' pragma: @@ -155,11 +155,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b9866ade-dd66-4f68-8251-8558bcddf3e1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" + string: "{\n \"name\": \"de6a86b9-66dd-684f-8251-8558bcddf3e1\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.8866666Z\"\n }" headers: cache-control: - no-cache @@ -168,7 +168,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:23 GMT + - Tue, 17 Aug 2021 09:59:15 GMT expires: - '-1' pragma: @@ -204,11 +204,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b9866ade-dd66-4f68-8251-8558bcddf3e1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" + string: "{\n \"name\": \"de6a86b9-66dd-684f-8251-8558bcddf3e1\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.8866666Z\"\n }" headers: cache-control: - no-cache @@ -217,7 +217,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:54 GMT + - Tue, 17 Aug 2021 09:59:45 GMT expires: - '-1' pragma: @@ -253,11 +253,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b9866ade-dd66-4f68-8251-8558bcddf3e1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" + string: "{\n \"name\": \"de6a86b9-66dd-684f-8251-8558bcddf3e1\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.8866666Z\"\n }" headers: cache-control: - no-cache @@ -266,7 +266,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:23 GMT + - Tue, 17 Aug 2021 10:00:16 GMT expires: - '-1' pragma: @@ -302,11 +302,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b9866ade-dd66-4f68-8251-8558bcddf3e1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" + string: "{\n \"name\": \"de6a86b9-66dd-684f-8251-8558bcddf3e1\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.8866666Z\"\n }" headers: cache-control: - no-cache @@ -315,7 +315,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:53 GMT + - Tue, 17 Aug 2021 10:00:45 GMT expires: - '-1' pragma: @@ -351,11 +351,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b9866ade-dd66-4f68-8251-8558bcddf3e1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\"\n }" + string: "{\n \"name\": \"de6a86b9-66dd-684f-8251-8558bcddf3e1\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.8866666Z\"\n }" headers: cache-control: - no-cache @@ -364,7 +364,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:23 GMT + - Tue, 17 Aug 2021 10:01:16 GMT expires: - '-1' pragma: @@ -400,12 +400,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/afeda1d5-8477-4ae9-afea-77d1f5df7c6c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b9866ade-dd66-4f68-8251-8558bcddf3e1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d5a1edaf-7784-e94a-afea-77d1f5df7c6c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:53.8866666Z\",\n \"endTime\": - \"2021-08-20T07:19:45.1118267Z\"\n }" + string: "{\n \"name\": \"de6a86b9-66dd-684f-8251-8558bcddf3e1\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:58:45.8866666Z\",\n \"endTime\": + \"2021-08-17T10:01:45.8683663Z\"\n }" headers: cache-control: - no-cache @@ -414,7 +414,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:53 GMT + - Tue, 17 Aug 2021 10:01:46 GMT expires: - '-1' pragma: @@ -457,9 +457,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -468,10 +468,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -479,7 +479,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -498,7 +498,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:54 GMT + - Tue, 17 Aug 2021 10:01:46 GMT expires: - '-1' pragma: @@ -540,9 +540,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -551,10 +551,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -562,7 +562,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -581,7 +581,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:55 GMT + - Tue, 17 Aug 2021 10:01:47 GMT expires: - '-1' pragma: @@ -602,13 +602,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitest7qipb62xj-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", @@ -616,7 +616,7 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -647,9 +647,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -658,10 +658,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -669,7 +669,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -681,7 +681,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ccb52d9f-0dee-473c-b08e-859646f1d190?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ea2ddbc-15f5-41a3-8b54-42abc79a4183?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -689,7 +689,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:57 GMT + - Tue, 17 Aug 2021 10:01:50 GMT expires: - '-1' pragma: @@ -726,11 +726,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ccb52d9f-0dee-473c-b08e-859646f1d190?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ea2ddbc-15f5-41a3-8b54-42abc79a4183?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9f2db5cc-ee0d-3c47-b08e-859646f1d190\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:19:57.6633333Z\"\n }" + string: "{\n \"name\": \"bcdda21e-f515-a341-8b54-42abc79a4183\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:01:50.1933333Z\"\n }" headers: cache-control: - no-cache @@ -739,7 +739,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:27 GMT + - Tue, 17 Aug 2021 10:02:20 GMT expires: - '-1' pragma: @@ -774,12 +774,60 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ccb52d9f-0dee-473c-b08e-859646f1d190?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ea2ddbc-15f5-41a3-8b54-42abc79a4183?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9f2db5cc-ee0d-3c47-b08e-859646f1d190\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:19:57.6633333Z\",\n \"endTime\": - \"2021-08-20T07:20:55.9135117Z\"\n }" + string: "{\n \"name\": \"bcdda21e-f515-a341-8b54-42abc79a4183\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:01:50.1933333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:02:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-pod-identity + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ea2ddbc-15f5-41a3-8b54-42abc79a4183?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"bcdda21e-f515-a341-8b54-42abc79a4183\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:01:50.1933333Z\",\n \"endTime\": + \"2021-08-17T10:02:57.0372457Z\"\n }" headers: cache-control: - no-cache @@ -788,7 +836,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:57 GMT + - Tue, 17 Aug 2021 10:03:21 GMT expires: - '-1' pragma: @@ -830,9 +878,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -841,10 +889,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -852,7 +900,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -870,7 +918,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:57 GMT + - Tue, 17 Aug 2021 10:03:21 GMT expires: - '-1' pragma: @@ -912,9 +960,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -923,10 +971,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -934,7 +982,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -952,7 +1000,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:58 GMT + - Tue, 17 Aug 2021 10:03:22 GMT expires: - '-1' pragma: @@ -973,13 +1021,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitest7qipb62xj-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": @@ -988,7 +1036,7 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -1019,9 +1067,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1030,10 +1078,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1041,7 +1089,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1054,7 +1102,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f93402e3-6d3a-415e-8255-cb4f28423ad8?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c57a96ec-217e-4841-a630-658e87e20415?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1062,7 +1110,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:00 GMT + - Tue, 17 Aug 2021 10:03:25 GMT expires: - '-1' pragma: @@ -1078,7 +1126,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1099,11 +1147,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f93402e3-6d3a-415e-8255-cb4f28423ad8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c57a96ec-217e-4841-a630-658e87e20415?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e30234f9-3a6d-5e41-8255-cb4f28423ad8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:21:01.17Z\"\n }" + string: "{\n \"name\": \"ec967ac5-7e21-4148-a630-658e87e20415\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:03:25.09Z\"\n }" headers: cache-control: - no-cache @@ -1112,7 +1160,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:30 GMT + - Tue, 17 Aug 2021 10:03:56 GMT expires: - '-1' pragma: @@ -1147,11 +1195,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f93402e3-6d3a-415e-8255-cb4f28423ad8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c57a96ec-217e-4841-a630-658e87e20415?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e30234f9-3a6d-5e41-8255-cb4f28423ad8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:21:01.17Z\"\n }" + string: "{\n \"name\": \"ec967ac5-7e21-4148-a630-658e87e20415\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:03:25.09Z\"\n }" headers: cache-control: - no-cache @@ -1160,7 +1208,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:01 GMT + - Tue, 17 Aug 2021 10:04:25 GMT expires: - '-1' pragma: @@ -1195,12 +1243,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f93402e3-6d3a-415e-8255-cb4f28423ad8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c57a96ec-217e-4841-a630-658e87e20415?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e30234f9-3a6d-5e41-8255-cb4f28423ad8\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:21:01.17Z\",\n \"endTime\": - \"2021-08-20T07:22:03.9131403Z\"\n }" + string: "{\n \"name\": \"ec967ac5-7e21-4148-a630-658e87e20415\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:03:25.09Z\",\n \"endTime\": + \"2021-08-17T10:04:28.8584301Z\"\n }" headers: cache-control: - no-cache @@ -1209,7 +1257,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:30 GMT + - Tue, 17 Aug 2021 10:04:56 GMT expires: - '-1' pragma: @@ -1251,9 +1299,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1262,10 +1310,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1273,7 +1321,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1292,7 +1340,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:31 GMT + - Tue, 17 Aug 2021 10:04:56 GMT expires: - '-1' pragma: @@ -1334,9 +1382,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1345,10 +1393,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1356,7 +1404,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1375,7 +1423,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:32 GMT + - Tue, 17 Aug 2021 10:04:58 GMT expires: - '-1' pragma: @@ -1396,13 +1444,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitest7qipb62xj-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": @@ -1412,7 +1460,7 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -1442,9 +1490,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1453,10 +1501,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1464,7 +1512,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1479,7 +1527,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c93e9938-c022-4c27-a555-2fe2cfbcefff?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c465bd32-8864-44f1-9f88-b483fdef8a29?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1487,7 +1535,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:33 GMT + - Tue, 17 Aug 2021 10:05:01 GMT expires: - '-1' pragma: @@ -1503,7 +1551,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -1524,11 +1572,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c93e9938-c022-4c27-a555-2fe2cfbcefff?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c465bd32-8864-44f1-9f88-b483fdef8a29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"38993ec9-22c0-274c-a555-2fe2cfbcefff\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.65Z\"\n }" + string: "{\n \"name\": \"32bd65c4-6488-f144-9f88-b483fdef8a29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:59.85Z\"\n }" headers: cache-control: - no-cache @@ -1537,7 +1585,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:04 GMT + - Tue, 17 Aug 2021 10:05:30 GMT expires: - '-1' pragma: @@ -1572,12 +1620,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c93e9938-c022-4c27-a555-2fe2cfbcefff?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c465bd32-8864-44f1-9f88-b483fdef8a29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"38993ec9-22c0-274c-a555-2fe2cfbcefff\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:22:34.65Z\",\n \"endTime\": - \"2021-08-20T07:23:32.7842942Z\"\n }" + string: "{\n \"name\": \"32bd65c4-6488-f144-9f88-b483fdef8a29\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:04:59.85Z\",\n \"endTime\": + \"2021-08-17T10:05:59.2673811Z\"\n }" headers: cache-control: - no-cache @@ -1586,7 +1634,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:34 GMT + - Tue, 17 Aug 2021 10:06:00 GMT expires: - '-1' pragma: @@ -1628,9 +1676,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1639,10 +1687,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1650,7 +1698,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1671,7 +1719,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:34 GMT + - Tue, 17 Aug 2021 10:06:01 GMT expires: - '-1' pragma: @@ -1713,9 +1761,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1724,10 +1772,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1735,7 +1783,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1756,7 +1804,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:35 GMT + - Tue, 17 Aug 2021 10:06:02 GMT expires: - '-1' pragma: @@ -1777,13 +1825,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitest7qipb62xj-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": @@ -1793,7 +1841,7 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -1823,9 +1871,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1834,10 +1882,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1845,7 +1893,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1860,7 +1908,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/14bb3934-7b80-4c7c-b6c8-63c5c690a6f0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/70bc45a5-3d48-42a7-8c74-499b6c9694c4?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1868,7 +1916,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:37 GMT + - Tue, 17 Aug 2021 10:06:05 GMT expires: - '-1' pragma: @@ -1905,20 +1953,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/14bb3934-7b80-4c7c-b6c8-63c5c690a6f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/70bc45a5-3d48-42a7-8c74-499b6c9694c4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"3439bb14-807b-7c4c-b6c8-63c5c690a6f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:23:37.4933333Z\"\n }" + string: "{\n \"name\": \"a545bc70-483d-a742-8c74-499b6c9694c4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:06:05.34Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:06 GMT + - Tue, 17 Aug 2021 10:06:35 GMT expires: - '-1' pragma: @@ -1953,21 +2001,69 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/14bb3934-7b80-4c7c-b6c8-63c5c690a6f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/70bc45a5-3d48-42a7-8c74-499b6c9694c4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"3439bb14-807b-7c4c-b6c8-63c5c690a6f0\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:23:37.4933333Z\",\n \"endTime\": - \"2021-08-20T07:24:32.5973101Z\"\n }" + string: "{\n \"name\": \"a545bc70-483d-a742-8c74-499b6c9694c4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:06:05.34Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:07:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks pod-identity exception update + Connection: + - keep-alive + ParameterSetName: + - --cluster-name --resource-group --namespace --name --pod-labels + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/70bc45a5-3d48-42a7-8c74-499b6c9694c4?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a545bc70-483d-a742-8c74-499b6c9694c4\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:06:05.34Z\",\n \"endTime\": + \"2021-08-17T10:07:17.39812Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '163' content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:37 GMT + - Tue, 17 Aug 2021 10:07:36 GMT expires: - '-1' pragma: @@ -2009,9 +2105,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -2020,10 +2116,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -2031,7 +2127,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2052,7 +2148,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:37 GMT + - Tue, 17 Aug 2021 10:07:36 GMT expires: - '-1' pragma: @@ -2094,9 +2190,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -2105,10 +2201,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -2116,7 +2212,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2137,7 +2233,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:38 GMT + - Tue, 17 Aug 2021 10:07:37 GMT expires: - '-1' pragma: @@ -2158,13 +2254,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestlrunyy7pl-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitest7qipb62xj-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 30, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": @@ -2173,7 +2269,7 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -2203,9 +2299,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -2214,10 +2310,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -2225,7 +2321,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2238,7 +2334,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/22b03e19-3619-4ad6-bf0e-d911797ba9f6?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6b85ee4-5d5d-4a2c-93ac-689e05195a28?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -2246,7 +2342,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:39 GMT + - Tue, 17 Aug 2021 10:07:39 GMT expires: - '-1' pragma: @@ -2262,7 +2358,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -2283,20 +2379,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/22b03e19-3619-4ad6-bf0e-d911797ba9f6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6b85ee4-5d5d-4a2c-93ac-689e05195a28?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"193eb022-1936-d64a-bf0e-d911797ba9f6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:24:40.42Z\"\n }" + string: "{\n \"name\": \"e45eb8d6-5d5d-2c4a-93ac-689e05195a28\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:39.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:10 GMT + - Tue, 17 Aug 2021 10:08:10 GMT expires: - '-1' pragma: @@ -2331,21 +2427,69 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/22b03e19-3619-4ad6-bf0e-d911797ba9f6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6b85ee4-5d5d-4a2c-93ac-689e05195a28?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"193eb022-1936-d64a-bf0e-d911797ba9f6\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:24:40.42Z\",\n \"endTime\": - \"2021-08-20T07:25:33.8563407Z\"\n }" + string: "{\n \"name\": \"e45eb8d6-5d5d-2c4a-93ac-689e05195a28\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:39.8Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '120' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:08:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks pod-identity exception delete + Connection: + - keep-alive + ParameterSetName: + - --cluster-name --resource-group --namespace --name + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6b85ee4-5d5d-4a2c-93ac-689e05195a28?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e45eb8d6-5d5d-2c4a-93ac-689e05195a28\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:07:39.8Z\",\n \"endTime\": + \"2021-08-17T10:08:50.4186439Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '164' content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:40 GMT + - Tue, 17 Aug 2021 10:09:10 GMT expires: - '-1' pragma: @@ -2387,9 +2531,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlrunyy7pl-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlrunyy7pl-8ecadf-cba12bb6.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7qipb62xj-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7qipb62xj-8ecadf-a9067821.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -2398,10 +2542,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser\",\n \"enableCSIProxy\": true\n },\n \ \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -2409,7 +2553,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/10c7618c-3664-43b3-95f1-460bf153fe54\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f461f4c3-32c0-4d16-ab11-b4d7b7a7d57d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2428,7 +2572,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:40 GMT + - Tue, 17 Aug 2021 10:09:10 GMT expires: - '-1' pragma: @@ -2462,26 +2606,26 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39a74c78-9561-43bb-9172-1b2ec2e5da57?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5e0b5a0b-5886-4ccf-9705-5e7cc9b87907?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 07:25:41 GMT + - Tue, 17 Aug 2021 10:09:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/39a74c78-9561-43bb-9172-1b2ec2e5da57?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/5e0b5a0b-5886-4ccf-9705-5e7cc9b87907?api-version=2016-03-30 pragma: - no-cache server: @@ -2491,7 +2635,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ahub.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ahub.yaml index 74078134c85..ac05e8f51b4 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ahub.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ahub.yaml @@ -15,12 +15,12 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:51:37Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:48:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:51:38 GMT + - Tue, 17 Aug 2021 07:48:29 GMT expires: - '-1' pragma: @@ -51,7 +51,7 @@ interactions: "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "replace-Password1234$", "licenseType": "Windows_Server"}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": @@ -75,7 +75,7 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -85,8 +85,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-f3317dc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-f3317dc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -114,7 +114,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/be343b35-d943-4186-b072-ee8aa76a53c2?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -122,7 +122,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:44 GMT + - Tue, 17 Aug 2021 07:48:38 GMT expires: - '-1' pragma: @@ -154,14 +154,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/be343b35-d943-4186-b072-ee8aa76a53c2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" + string: "{\n \"name\": \"353b34be-43d9-8641-b072-ee8aa76a53c2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:38.5333333Z\"\n }" headers: cache-control: - no-cache @@ -170,7 +170,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:14 GMT + - Tue, 17 Aug 2021 07:49:09 GMT expires: - '-1' pragma: @@ -204,14 +204,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/be343b35-d943-4186-b072-ee8aa76a53c2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" + string: "{\n \"name\": \"353b34be-43d9-8641-b072-ee8aa76a53c2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:38.5333333Z\"\n }" headers: cache-control: - no-cache @@ -220,7 +220,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:45 GMT + - Tue, 17 Aug 2021 07:49:38 GMT expires: - '-1' pragma: @@ -254,14 +254,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/be343b35-d943-4186-b072-ee8aa76a53c2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" + string: "{\n \"name\": \"353b34be-43d9-8641-b072-ee8aa76a53c2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:38.5333333Z\"\n }" headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:15 GMT + - Tue, 17 Aug 2021 07:50:09 GMT expires: - '-1' pragma: @@ -304,14 +304,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/be343b35-d943-4186-b072-ee8aa76a53c2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" + string: "{\n \"name\": \"353b34be-43d9-8641-b072-ee8aa76a53c2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:38.5333333Z\"\n }" headers: cache-control: - no-cache @@ -320,7 +320,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:45 GMT + - Tue, 17 Aug 2021 07:50:38 GMT expires: - '-1' pragma: @@ -354,65 +354,15 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/be343b35-d943-4186-b072-ee8aa76a53c2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:54:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username - --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin - --enable-ahub --ssh-key-value - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/979747ce-b91f-4492-b2bc-8bc3fc279e03?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"ce479797-1fb9-9244-b2bc-8bc3fc279e03\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:51:44.8533333Z\",\n \"endTime\": - \"2021-08-19T09:54:37.1300216Z\"\n }" + string: "{\n \"name\": \"353b34be-43d9-8641-b072-ee8aa76a53c2\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:48:38.5333333Z\",\n \"endTime\": + \"2021-08-17T07:51:02.8590605Z\"\n }" headers: cache-control: - no-cache @@ -421,7 +371,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:46 GMT + - Tue, 17 Aug 2021 07:51:09 GMT expires: - '-1' pragma: @@ -455,7 +405,7 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --enable-ahub --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -465,8 +415,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-f3317dc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-f3317dc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -475,10 +425,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -486,7 +436,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/100789a7-ed40-485e-a28c-9dc896b09a4b\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -504,7 +454,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:46 GMT + - Tue, 17 Aug 2021 07:51:09 GMT expires: - '-1' pragma: @@ -536,7 +486,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 @@ -551,7 +501,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: @@ -561,7 +511,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:47 GMT + - Tue, 17 Aug 2021 07:51:10 GMT expires: - '-1' pragma: @@ -601,7 +551,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -620,7 +570,7 @@ interactions: false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -628,7 +578,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:48 GMT + - Tue, 17 Aug 2021 07:51:12 GMT expires: - '-1' pragma: @@ -640,7 +590,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -658,23 +608,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:18 GMT + - Tue, 17 Aug 2021 07:51:42 GMT expires: - '-1' pragma: @@ -706,23 +656,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:48 GMT + - Tue, 17 Aug 2021 07:52:12 GMT expires: - '-1' pragma: @@ -754,23 +704,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:18 GMT + - Tue, 17 Aug 2021 07:52:42 GMT expires: - '-1' pragma: @@ -802,23 +752,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:48 GMT + - Tue, 17 Aug 2021 07:53:13 GMT expires: - '-1' pragma: @@ -850,23 +800,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:19 GMT + - Tue, 17 Aug 2021 07:53:42 GMT expires: - '-1' pragma: @@ -898,23 +848,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:49 GMT + - Tue, 17 Aug 2021 07:54:13 GMT expires: - '-1' pragma: @@ -946,23 +896,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:19 GMT + - Tue, 17 Aug 2021 07:54:43 GMT expires: - '-1' pragma: @@ -994,23 +944,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:49 GMT + - Tue, 17 Aug 2021 07:55:13 GMT expires: - '-1' pragma: @@ -1042,23 +992,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:20 GMT + - Tue, 17 Aug 2021 07:55:43 GMT expires: - '-1' pragma: @@ -1090,23 +1040,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:50 GMT + - Tue, 17 Aug 2021 07:56:13 GMT expires: - '-1' pragma: @@ -1138,23 +1088,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:20 GMT + - Tue, 17 Aug 2021 07:56:44 GMT expires: - '-1' pragma: @@ -1186,23 +1136,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:50 GMT + - Tue, 17 Aug 2021 07:57:13 GMT expires: - '-1' pragma: @@ -1234,24 +1184,120 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b374e4c2-c2b2-47e0-8a2f-8fe333658229?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c2e474b3-b2c2-e047-8a2f-8fe333658229\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:54:49.09Z\",\n \"endTime\": - \"2021-08-19T10:01:15.7619503Z\"\n }" + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 07:57:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 07:58:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/09c709e6-de39-4ea9-b43b-9820e6292665?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e609c709-39de-a94e-b43b-9820e6292665\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:51:13.0133333Z\",\n \"endTime\": + \"2021-08-17T07:58:15.9968817Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:20 GMT + - Tue, 17 Aug 2021 07:58:44 GMT expires: - '-1' pragma: @@ -1283,7 +1329,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -1308,7 +1354,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:21 GMT + - Tue, 17 Aug 2021 07:58:44 GMT expires: - '-1' pragma: @@ -1340,7 +1386,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -1350,8 +1396,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-f3317dc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-f3317dc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1360,7 +1406,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -1371,7 +1417,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1379,7 +1425,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/100789a7-ed40-485e-a28c-9dc896b09a4b\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1397,7 +1443,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:22 GMT + - Tue, 17 Aug 2021 07:58:45 GMT expires: - '-1' pragma: @@ -1429,7 +1475,7 @@ interactions: "mode": "User", "orchestratorVersion": "1.20.7", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "licenseType": "None", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", @@ -1437,7 +1483,7 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/100789a7-ed40-485e-a28c-9dc896b09a4b"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -1458,7 +1504,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -1468,8 +1514,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-f3317dc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-f3317dc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1478,7 +1524,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -1489,7 +1535,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"None\",\n \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1497,7 +1543,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/100789a7-ed40-485e-a28c-9dc896b09a4b\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1509,7 +1555,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1517,7 +1563,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:26 GMT + - Tue, 17 Aug 2021 07:58:48 GMT expires: - '-1' pragma: @@ -1551,23 +1597,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:56 GMT + - Tue, 17 Aug 2021 07:59:19 GMT expires: - '-1' pragma: @@ -1599,23 +1645,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:26 GMT + - Tue, 17 Aug 2021 07:59:49 GMT expires: - '-1' pragma: @@ -1647,23 +1693,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:56 GMT + - Tue, 17 Aug 2021 08:00:19 GMT expires: - '-1' pragma: @@ -1695,23 +1741,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:27 GMT + - Tue, 17 Aug 2021 08:00:49 GMT expires: - '-1' pragma: @@ -1743,23 +1789,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:57 GMT + - Tue, 17 Aug 2021 08:01:20 GMT expires: - '-1' pragma: @@ -1791,23 +1837,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:27 GMT + - Tue, 17 Aug 2021 08:01:49 GMT expires: - '-1' pragma: @@ -1839,23 +1885,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:57 GMT + - Tue, 17 Aug 2021 08:02:20 GMT expires: - '-1' pragma: @@ -1887,23 +1933,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:27 GMT + - Tue, 17 Aug 2021 08:02:49 GMT expires: - '-1' pragma: @@ -1935,23 +1981,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:57 GMT + - Tue, 17 Aug 2021 08:03:20 GMT expires: - '-1' pragma: @@ -1983,23 +2029,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:27 GMT + - Tue, 17 Aug 2021 08:03:50 GMT expires: - '-1' pragma: @@ -2031,23 +2077,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:58 GMT + - Tue, 17 Aug 2021 08:04:20 GMT expires: - '-1' pragma: @@ -2079,23 +2125,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:28 GMT + - Tue, 17 Aug 2021 08:04:50 GMT expires: - '-1' pragma: @@ -2127,23 +2173,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:58 GMT + - Tue, 17 Aug 2021 08:05:20 GMT expires: - '-1' pragma: @@ -2175,23 +2221,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:28 GMT + - Tue, 17 Aug 2021 08:05:51 GMT expires: - '-1' pragma: @@ -2223,23 +2269,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:58 GMT + - Tue, 17 Aug 2021 08:06:20 GMT expires: - '-1' pragma: @@ -2271,23 +2317,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:28 GMT + - Tue, 17 Aug 2021 08:06:51 GMT expires: - '-1' pragma: @@ -2319,23 +2365,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:58 GMT + - Tue, 17 Aug 2021 08:07:20 GMT expires: - '-1' pragma: @@ -2367,23 +2413,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:10:29 GMT + - Tue, 17 Aug 2021 08:07:51 GMT expires: - '-1' pragma: @@ -2415,23 +2461,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:10:59 GMT + - Tue, 17 Aug 2021 08:08:21 GMT expires: - '-1' pragma: @@ -2463,23 +2509,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:11:29 GMT + - Tue, 17 Aug 2021 08:08:52 GMT expires: - '-1' pragma: @@ -2511,23 +2557,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:11:59 GMT + - Tue, 17 Aug 2021 08:09:21 GMT expires: - '-1' pragma: @@ -2559,23 +2605,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:29 GMT + - Tue, 17 Aug 2021 08:09:52 GMT expires: - '-1' pragma: @@ -2607,23 +2653,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:59 GMT + - Tue, 17 Aug 2021 08:10:21 GMT expires: - '-1' pragma: @@ -2655,23 +2701,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:13:30 GMT + - Tue, 17 Aug 2021 08:10:51 GMT expires: - '-1' pragma: @@ -2703,23 +2749,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:14:00 GMT + - Tue, 17 Aug 2021 08:11:21 GMT expires: - '-1' pragma: @@ -2751,23 +2797,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:14:29 GMT + - Tue, 17 Aug 2021 08:11:52 GMT expires: - '-1' pragma: @@ -2799,23 +2845,23 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:00 GMT + - Tue, 17 Aug 2021 08:12:22 GMT expires: - '-1' pragma: @@ -2847,24 +2893,168 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6662a04e-d1eb-4db4-93b2-7de0770d25df?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ea06266-ebd1-b44d-93b2-7de0770d25df\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:01:25.6066666Z\",\n \"endTime\": - \"2021-08-19T10:15:27.8235669Z\"\n }" + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:12:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-ahub + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:13:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-ahub + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:13:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-ahub + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7c8e1b45-339f-44ac-9806-8a8cc715744e?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"451b8e7c-9f33-ac44-9806-8a8cc715744e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:58:48.85Z\",\n \"endTime\": + \"2021-08-17T08:14:11.3502191Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:30 GMT + - Tue, 17 Aug 2021 08:14:22 GMT expires: - '-1' pragma: @@ -2896,7 +3086,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -2906,8 +3096,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-5258cbb7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-5258cbb7.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-f3317dc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-f3317dc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -2916,7 +3106,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -2927,7 +3117,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"None\",\n \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -2935,7 +3125,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/16bfbdea-f850-4a76-a28a-d3d1abf98809\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/100789a7-ed40-485e-a28c-9dc896b09a4b\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -2953,7 +3143,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:31 GMT + - Tue, 17 Aug 2021 08:14:22 GMT expires: - '-1' pragma: @@ -2985,7 +3175,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 @@ -3000,7 +3190,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n \ \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n @@ -3021,7 +3211,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:32 GMT + - Tue, 17 Aug 2021 08:14:24 GMT expires: - '-1' pragma: @@ -3055,7 +3245,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -3064,17 +3254,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc8d6e72-ba2a-4d69-b422-2b6d4ed2345f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e403c7f2-d595-4cb5-a36f-35d8394b2825?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:15:32 GMT + - Tue, 17 Aug 2021 08:14:24 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/dc8d6e72-ba2a-4d69-b422-2b6d4ed2345f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e403c7f2-d595-4cb5-a36f-35d8394b2825?api-version=2016-03-30 pragma: - no-cache server: @@ -3104,26 +3294,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/15fd9bdb-596b-4c7c-aa01-106b249b5738?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/515073e0-8ed0-4f0d-9ad0-bbe316942a2a?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:15:34 GMT + - Tue, 17 Aug 2021 08:14:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/15fd9bdb-596b-4c7c-aa01-106b249b5738?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/515073e0-8ed0-4f0d-9ad0-bbe316942a2a?api-version=2016-03-30 pragma: - no-cache server: @@ -3133,7 +3323,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14995' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_auto_upgrade_channel.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_auto_upgrade_channel.yaml index 1998186658c..04c892ff2ca 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_auto_upgrade_channel.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_auto_upgrade_channel.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:58:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:16:47 GMT + - Tue, 17 Aug 2021 09:58:40 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestxo5aekq4a-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestlsg7dcjqq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -84,9 +84,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlsg7dcjqq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -114,7 +114,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/409e8311-277c-48a7-9bfc-d49101497e4e?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -122,7 +122,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:16:52 GMT + - Tue, 17 Aug 2021 09:58:47 GMT expires: - '-1' pragma: @@ -156,11 +156,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/409e8311-277c-48a7-9bfc-d49101497e4e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" + string: "{\n \"name\": \"11839e40-7c27-a748-9bfc-d49101497e4e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.71Z\"\n }" headers: cache-control: - no-cache @@ -169,7 +169,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:22 GMT + - Tue, 17 Aug 2021 09:59:17 GMT expires: - '-1' pragma: @@ -205,11 +205,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/409e8311-277c-48a7-9bfc-d49101497e4e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" + string: "{\n \"name\": \"11839e40-7c27-a748-9bfc-d49101497e4e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.71Z\"\n }" headers: cache-control: - no-cache @@ -218,7 +218,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:52 GMT + - Tue, 17 Aug 2021 09:59:47 GMT expires: - '-1' pragma: @@ -254,11 +254,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/409e8311-277c-48a7-9bfc-d49101497e4e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" + string: "{\n \"name\": \"11839e40-7c27-a748-9bfc-d49101497e4e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.71Z\"\n }" headers: cache-control: - no-cache @@ -267,7 +267,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:22 GMT + - Tue, 17 Aug 2021 10:00:18 GMT expires: - '-1' pragma: @@ -303,11 +303,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/409e8311-277c-48a7-9bfc-d49101497e4e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" + string: "{\n \"name\": \"11839e40-7c27-a748-9bfc-d49101497e4e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.71Z\"\n }" headers: cache-control: - no-cache @@ -316,7 +316,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:52 GMT + - Tue, 17 Aug 2021 10:00:48 GMT expires: - '-1' pragma: @@ -352,11 +352,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/409e8311-277c-48a7-9bfc-d49101497e4e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" + string: "{\n \"name\": \"11839e40-7c27-a748-9bfc-d49101497e4e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.71Z\"\n }" headers: cache-control: - no-cache @@ -365,7 +365,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:22 GMT + - Tue, 17 Aug 2021 10:01:17 GMT expires: - '-1' pragma: @@ -401,11 +401,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/409e8311-277c-48a7-9bfc-d49101497e4e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" + string: "{\n \"name\": \"11839e40-7c27-a748-9bfc-d49101497e4e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.71Z\"\n }" headers: cache-control: - no-cache @@ -414,7 +414,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:52 GMT + - Tue, 17 Aug 2021 10:01:48 GMT expires: - '-1' pragma: @@ -450,61 +450,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/409e8311-277c-48a7-9bfc-d49101497e4e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Fri, 20 Aug 2021 07:20:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --enable-managed-identity --auto-upgrade-channel - --ssh-key-value - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a6e204d-e00b-4235-b786-cec5785e067b?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"4d206e4a-0be0-3542-b786-cec5785e067b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:52.63Z\",\n \"endTime\": - \"2021-08-20T07:20:33.9612827Z\"\n }" + string: "{\n \"name\": \"11839e40-7c27-a748-9bfc-d49101497e4e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:58:47.71Z\",\n \"endTime\": + \"2021-08-17T10:01:52.9225472Z\"\n }" headers: cache-control: - no-cache @@ -513,7 +464,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:52 GMT + - Tue, 17 Aug 2021 10:02:18 GMT expires: - '-1' pragma: @@ -556,9 +507,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlsg7dcjqq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -567,17 +518,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a5dec20-0b16-4bb2-9669-e2b2acc1d77f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -597,7 +548,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:53 GMT + - Tue, 17 Aug 2021 10:02:18 GMT expires: - '-1' pragma: @@ -639,9 +590,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlsg7dcjqq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -650,17 +601,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a5dec20-0b16-4bb2-9669-e2b2acc1d77f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -680,7 +631,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:54 GMT + - Tue, 17 Aug 2021 10:02:20 GMT expires: - '-1' pragma: @@ -701,20 +652,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestxo5aekq4a-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestlsg7dcjqq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a5dec20-0b16-4bb2-9669-e2b2acc1d77f"}]}}, "autoUpgradeProfile": {"upgradeChannel": "stable"}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -745,9 +696,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlsg7dcjqq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -756,17 +707,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a5dec20-0b16-4bb2-9669-e2b2acc1d77f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -780,7 +731,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d43b120a-409f-4af4-bf37-2a9b9eebbf81?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4cbef06c-956c-4a6b-b667-40c11da82512?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -788,7 +739,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:57 GMT + - Tue, 17 Aug 2021 10:02:23 GMT expires: - '-1' pragma: @@ -804,7 +755,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -825,11 +776,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d43b120a-409f-4af4-bf37-2a9b9eebbf81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4cbef06c-956c-4a6b-b667-40c11da82512?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0a123bd4-9f40-f44a-bf37-2a9b9eebbf81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:57.41Z\"\n }" + string: "{\n \"name\": \"6cf0be4c-6c95-6b4a-b667-40c11da82512\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:22.51Z\"\n }" headers: cache-control: - no-cache @@ -838,7 +789,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:27 GMT + - Tue, 17 Aug 2021 10:02:53 GMT expires: - '-1' pragma: @@ -873,11 +824,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d43b120a-409f-4af4-bf37-2a9b9eebbf81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4cbef06c-956c-4a6b-b667-40c11da82512?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0a123bd4-9f40-f44a-bf37-2a9b9eebbf81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:57.41Z\"\n }" + string: "{\n \"name\": \"6cf0be4c-6c95-6b4a-b667-40c11da82512\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:22.51Z\"\n }" headers: cache-control: - no-cache @@ -886,7 +837,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:57 GMT + - Tue, 17 Aug 2021 10:03:23 GMT expires: - '-1' pragma: @@ -921,12 +872,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d43b120a-409f-4af4-bf37-2a9b9eebbf81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4cbef06c-956c-4a6b-b667-40c11da82512?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0a123bd4-9f40-f44a-bf37-2a9b9eebbf81\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:57.41Z\",\n \"endTime\": - \"2021-08-20T07:22:04.1802341Z\"\n }" + string: "{\n \"name\": \"6cf0be4c-6c95-6b4a-b667-40c11da82512\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:02:22.51Z\",\n \"endTime\": + \"2021-08-17T10:03:29.4689237Z\"\n }" headers: cache-control: - no-cache @@ -935,7 +886,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:27 GMT + - Tue, 17 Aug 2021 10:03:53 GMT expires: - '-1' pragma: @@ -977,9 +928,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestxo5aekq4a-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestxo5aekq4a-8ecadf-194b7326.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlsg7dcjqq-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestlsg7dcjqq-8ecadf-71d708f4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -988,17 +939,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/36cbbba3-c9d7-4441-a3f4-b3a0a5488dcb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a5dec20-0b16-4bb2-9669-e2b2acc1d77f\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1018,7 +969,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:27 GMT + - Tue, 17 Aug 2021 10:03:53 GMT expires: - '-1' pragma: @@ -1052,26 +1003,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a8575b-341b-4f03-bfd3-f3b714e0f552?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/70b2a067-c94e-4876-b55a-741a86a26c13?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 07:22:28 GMT + - Tue, 17 Aug 2021 10:03:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e9a8575b-341b-4f03-bfd3-f3b714e0f552?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/70b2a067-c94e-4876-b55a-741a86a26c13?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml index b9ec581de7a..a81a9cda945 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:22:30Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:58:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:22:31 GMT + - Tue, 17 Aug 2021 09:58:40 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestdzt7wospq-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestguvy3qpd7-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "false"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -82,9 +82,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestdzt7wospq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestdzt7wospq-8ecadf-629986ac.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestdzt7wospq-8ecadf-629986ac.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestguvy3qpd7-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestguvy3qpd7-8ecadf-bf6b5ed4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestguvy3qpd7-8ecadf-bf6b5ed4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -93,10 +93,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d4bf3dd-c994-4df6-9cbe-993c96464deb?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:34 GMT + - Tue, 17 Aug 2021 09:58:45 GMT expires: - '-1' pragma: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -154,20 +154,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d4bf3dd-c994-4df6-9cbe-993c96464deb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" + string: "{\n \"name\": \"ddf34b6d-94c9-f64d-9cbe-993c96464deb\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.2966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:04 GMT + - Tue, 17 Aug 2021 09:59:14 GMT expires: - '-1' pragma: @@ -202,20 +202,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d4bf3dd-c994-4df6-9cbe-993c96464deb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" + string: "{\n \"name\": \"ddf34b6d-94c9-f64d-9cbe-993c96464deb\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.2966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:33 GMT + - Tue, 17 Aug 2021 09:59:45 GMT expires: - '-1' pragma: @@ -250,20 +250,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d4bf3dd-c994-4df6-9cbe-993c96464deb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" + string: "{\n \"name\": \"ddf34b6d-94c9-f64d-9cbe-993c96464deb\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.2966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:03 GMT + - Tue, 17 Aug 2021 10:00:15 GMT expires: - '-1' pragma: @@ -298,20 +298,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d4bf3dd-c994-4df6-9cbe-993c96464deb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" + string: "{\n \"name\": \"ddf34b6d-94c9-f64d-9cbe-993c96464deb\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.2966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:34 GMT + - Tue, 17 Aug 2021 10:00:46 GMT expires: - '-1' pragma: @@ -346,20 +346,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d4bf3dd-c994-4df6-9cbe-993c96464deb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" + string: "{\n \"name\": \"ddf34b6d-94c9-f64d-9cbe-993c96464deb\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.2966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:04 GMT + - Tue, 17 Aug 2021 10:01:15 GMT expires: - '-1' pragma: @@ -394,20 +394,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d4bf3dd-c994-4df6-9cbe-993c96464deb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\"\n }" + string: "{\n \"name\": \"ddf34b6d-94c9-f64d-9cbe-993c96464deb\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.2966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:34 GMT + - Tue, 17 Aug 2021 10:01:46 GMT expires: - '-1' pragma: @@ -442,21 +442,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/02eef8a3-20e0-4a68-a345-4e9266731c77?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6d4bf3dd-c994-4df6-9cbe-993c96464deb?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a3f8ee02-e020-684a-a345-4e9266731c77\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:22:34.19Z\",\n \"endTime\": - \"2021-08-20T07:25:48.7683876Z\"\n }" + string: "{\n \"name\": \"ddf34b6d-94c9-f64d-9cbe-993c96464deb\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:58:45.2966666Z\",\n \"endTime\": + \"2021-08-17T10:01:57.1278923Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Fri, 20 Aug 2021 07:26:04 GMT + - Tue, 17 Aug 2021 10:02:16 GMT expires: - '-1' pragma: @@ -498,9 +498,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestdzt7wospq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestdzt7wospq-8ecadf-629986ac.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestdzt7wospq-8ecadf-629986ac.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestguvy3qpd7-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestguvy3qpd7-8ecadf-bf6b5ed4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestguvy3qpd7-8ecadf-bf6b5ed4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -509,10 +509,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -523,7 +523,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/cb166e1e-3c9c-4c8a-82f1-87399ecf47cb\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/4aeb0ee6-0f3d-472c-8984-b85bce6fffd4\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -542,7 +542,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:26:05 GMT + - Tue, 17 Aug 2021 10:02:16 GMT expires: - '-1' pragma: @@ -576,26 +576,26 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/53b535a4-690b-4913-a436-956d62257df3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b01f9448-0adf-4235-9f08-82ea618cbeb5?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 07:26:06 GMT + - Tue, 17 Aug 2021 10:02:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/53b535a4-690b-4913-a436-956d62257df3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/b01f9448-0adf-4235-9f08-82ea618cbeb5?api-version=2016-03-30 pragma: - no-cache server: @@ -605,7 +605,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml index 6f2329f5b13..2298c62e6e4 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:52:40Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:55:53Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:52:42 GMT + - Tue, 17 Aug 2021 07:55:54 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestwxfwhjez7-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesto2ldyiq3k-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": "false"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -72,7 +72,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -82,9 +82,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestwxfwhjez7-79a739\",\n \"fqdn\": - \"cliakstest-clitestwxfwhjez7-79a739-adc71d37.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestwxfwhjez7-79a739-adc71d37.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto2ldyiq3k-79a739\",\n \"fqdn\": + \"cliakstest-clitesto2ldyiq3k-79a739-a216788c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesto2ldyiq3k-79a739-a216788c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -93,10 +93,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a8901984-f695-42b2-b00a-47832be9d526?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:49 GMT + - Tue, 17 Aug 2021 07:56:04 GMT expires: - '-1' pragma: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -151,14 +151,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a8901984-f695-42b2-b00a-47832be9d526?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" + string: "{\n \"name\": \"841990a8-95f6-b242-b00a-47832be9d526\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:02.1966666Z\"\n }" headers: cache-control: - no-cache @@ -167,7 +167,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:19 GMT + - Tue, 17 Aug 2021 07:56:35 GMT expires: - '-1' pragma: @@ -199,14 +199,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a8901984-f695-42b2-b00a-47832be9d526?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" + string: "{\n \"name\": \"841990a8-95f6-b242-b00a-47832be9d526\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:02.1966666Z\"\n }" headers: cache-control: - no-cache @@ -215,7 +215,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:49 GMT + - Tue, 17 Aug 2021 07:57:05 GMT expires: - '-1' pragma: @@ -247,14 +247,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a8901984-f695-42b2-b00a-47832be9d526?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" + string: "{\n \"name\": \"841990a8-95f6-b242-b00a-47832be9d526\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:02.1966666Z\"\n }" headers: cache-control: - no-cache @@ -263,7 +263,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:19 GMT + - Tue, 17 Aug 2021 07:57:35 GMT expires: - '-1' pragma: @@ -295,14 +295,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a8901984-f695-42b2-b00a-47832be9d526?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" + string: "{\n \"name\": \"841990a8-95f6-b242-b00a-47832be9d526\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:02.1966666Z\"\n }" headers: cache-control: - no-cache @@ -311,7 +311,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:50 GMT + - Tue, 17 Aug 2021 07:58:05 GMT expires: - '-1' pragma: @@ -343,14 +343,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a8901984-f695-42b2-b00a-47832be9d526?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" + string: "{\n \"name\": \"841990a8-95f6-b242-b00a-47832be9d526\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:02.1966666Z\"\n }" headers: cache-control: - no-cache @@ -359,7 +359,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:20 GMT + - Tue, 17 Aug 2021 07:58:35 GMT expires: - '-1' pragma: @@ -391,63 +391,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a8901984-f695-42b2-b00a-47832be9d526?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:55:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity -a --ssh-key-value -o - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e49c7647-d851-414d-a3a0-266a9896222c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"47769ce4-51d8-4d41-a3a0-266a9896222c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:52:49.0566666Z\",\n \"endTime\": - \"2021-08-19T09:56:06.6249458Z\"\n }" + string: "{\n \"name\": \"841990a8-95f6-b242-b00a-47832be9d526\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:56:02.1966666Z\",\n \"endTime\": + \"2021-08-17T07:59:02.7803398Z\"\n }" headers: cache-control: - no-cache @@ -456,7 +408,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:20 GMT + - Tue, 17 Aug 2021 07:59:05 GMT expires: - '-1' pragma: @@ -488,7 +440,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -498,9 +450,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestwxfwhjez7-79a739\",\n \"fqdn\": - \"cliakstest-clitestwxfwhjez7-79a739-adc71d37.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestwxfwhjez7-79a739-adc71d37.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto2ldyiq3k-79a739\",\n \"fqdn\": + \"cliakstest-clitesto2ldyiq3k-79a739-a216788c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesto2ldyiq3k-79a739-a216788c.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -509,10 +461,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -523,7 +475,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f1c2417f-db8f-4edd-ad0c-ca8233ff7b16\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6f20c7cb-6a1c-4878-a0d8-029eb5082705\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -542,7 +494,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:20 GMT + - Tue, 17 Aug 2021 07:59:05 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml index ab6495282c0..ef8fee3ab66 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:54:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:44:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:54:05 GMT + - Tue, 17 Aug 2021 07:44:44 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest4zowbnftj-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestwes22smo4-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": "true"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -74,7 +74,7 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -84,9 +84,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest4zowbnftj-79a739\",\n \"fqdn\": - \"cliakstest-clitest4zowbnftj-79a739-060c325c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest4zowbnftj-79a739-060c325c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestwes22smo4-79a739\",\n \"fqdn\": + \"cliakstest-clitestwes22smo4-79a739-57bce438.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestwes22smo4-79a739-57bce438.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -115,7 +115,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4380cdc-2c6c-45a4-9f62-34d7f1684d3f?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -123,7 +123,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:13 GMT + - Tue, 17 Aug 2021 07:44:54 GMT expires: - '-1' pragma: @@ -135,7 +135,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -154,23 +154,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4380cdc-2c6c-45a4-9f62-34d7f1684d3f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" + string: "{\n \"name\": \"dc0c38b4-6c2c-a445-9f62-34d7f1684d3f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:54.22Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:44 GMT + - Tue, 17 Aug 2021 07:45:24 GMT expires: - '-1' pragma: @@ -203,23 +203,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4380cdc-2c6c-45a4-9f62-34d7f1684d3f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" + string: "{\n \"name\": \"dc0c38b4-6c2c-a445-9f62-34d7f1684d3f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:54.22Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:14 GMT + - Tue, 17 Aug 2021 07:45:54 GMT expires: - '-1' pragma: @@ -252,23 +252,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4380cdc-2c6c-45a4-9f62-34d7f1684d3f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" + string: "{\n \"name\": \"dc0c38b4-6c2c-a445-9f62-34d7f1684d3f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:54.22Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:44 GMT + - Tue, 17 Aug 2021 07:46:24 GMT expires: - '-1' pragma: @@ -301,23 +301,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4380cdc-2c6c-45a4-9f62-34d7f1684d3f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" + string: "{\n \"name\": \"dc0c38b4-6c2c-a445-9f62-34d7f1684d3f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:54.22Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:14 GMT + - Tue, 17 Aug 2021 07:46:55 GMT expires: - '-1' pragma: @@ -350,23 +350,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4380cdc-2c6c-45a4-9f62-34d7f1684d3f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" + string: "{\n \"name\": \"dc0c38b4-6c2c-a445-9f62-34d7f1684d3f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:54.22Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:45 GMT + - Tue, 17 Aug 2021 07:47:24 GMT expires: - '-1' pragma: @@ -399,23 +399,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4380cdc-2c6c-45a4-9f62-34d7f1684d3f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\"\n }" + string: "{\n \"name\": \"dc0c38b4-6c2c-a445-9f62-34d7f1684d3f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:54.22Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:15 GMT + - Tue, 17 Aug 2021 07:47:54 GMT expires: - '-1' pragma: @@ -448,24 +448,24 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/44e2184e-c9e2-4499-91d8-3f9fc386c3f4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4380cdc-2c6c-45a4-9f62-34d7f1684d3f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4e18e244-e2c9-9944-91d8-3f9fc386c3f4\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:54:14.0566666Z\",\n \"endTime\": - \"2021-08-19T09:57:26.1645215Z\"\n }" + string: "{\n \"name\": \"dc0c38b4-6c2c-a445-9f62-34d7f1684d3f\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:44:54.22Z\",\n \"endTime\": + \"2021-08-17T07:48:24.4907706Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:44 GMT + - Tue, 17 Aug 2021 07:48:25 GMT expires: - '-1' pragma: @@ -498,7 +498,7 @@ interactions: - --resource-group --name --enable-managed-identity -a --enable-sgxquotehelper --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -508,9 +508,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest4zowbnftj-79a739\",\n \"fqdn\": - \"cliakstest-clitest4zowbnftj-79a739-060c325c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest4zowbnftj-79a739-060c325c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestwes22smo4-79a739\",\n \"fqdn\": + \"cliakstest-clitestwes22smo4-79a739-57bce438.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestwes22smo4-79a739-57bce438.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -519,10 +519,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -533,7 +533,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0a5a5ad1-ed5e-412d-9550-f254931498ec\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bc5bd4d7-186f-48d7-92d8-e4b2353ab234\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -552,7 +552,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:45 GMT + - Tue, 17 Aug 2021 07:48:25 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml index d803c6c2a1a..3c9d8e3636e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:51:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:44:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:51:24 GMT + - Tue, 17 Aug 2021 07:44:44 GMT expires: - '-1' pragma: @@ -44,14 +44,14 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestptlv52vic-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest5sjtsubt4-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 60, "osDiskType": "Ephemeral", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -74,7 +74,7 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -84,9 +84,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestptlv52vic-79a739\",\n \"fqdn\": - \"cliakstest-clitestptlv52vic-79a739-e5172fdb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestptlv52vic-79a739-e5172fdb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5sjtsubt4-79a739\",\n \"fqdn\": + \"cliakstest-clitest5sjtsubt4-79a739-a1febc8a.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5sjtsubt4-79a739-a1febc8a.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 60,\n \"osDiskType\": \"Ephemeral\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b5d1b214-5bbc-4658-9481-6101eed119ae?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:33 GMT + - Tue, 17 Aug 2021 07:44:53 GMT expires: - '-1' pragma: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -152,23 +152,23 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b5d1b214-5bbc-4658-9481-6101eed119ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" + string: "{\n \"name\": \"14b2d1b5-bc5b-5846-9481-6101eed119ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.5333333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:03 GMT + - Tue, 17 Aug 2021 07:45:23 GMT expires: - '-1' pragma: @@ -201,23 +201,23 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b5d1b214-5bbc-4658-9481-6101eed119ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" + string: "{\n \"name\": \"14b2d1b5-bc5b-5846-9481-6101eed119ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.5333333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:33 GMT + - Tue, 17 Aug 2021 07:45:54 GMT expires: - '-1' pragma: @@ -250,23 +250,23 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b5d1b214-5bbc-4658-9481-6101eed119ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" + string: "{\n \"name\": \"14b2d1b5-bc5b-5846-9481-6101eed119ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.5333333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:03 GMT + - Tue, 17 Aug 2021 07:46:24 GMT expires: - '-1' pragma: @@ -299,23 +299,23 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b5d1b214-5bbc-4658-9481-6101eed119ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" + string: "{\n \"name\": \"14b2d1b5-bc5b-5846-9481-6101eed119ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.5333333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:34 GMT + - Tue, 17 Aug 2021 07:46:53 GMT expires: - '-1' pragma: @@ -348,23 +348,23 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b5d1b214-5bbc-4658-9481-6101eed119ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" + string: "{\n \"name\": \"14b2d1b5-bc5b-5846-9481-6101eed119ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.5333333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:04 GMT + - Tue, 17 Aug 2021 07:47:24 GMT expires: - '-1' pragma: @@ -397,23 +397,23 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b5d1b214-5bbc-4658-9481-6101eed119ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\"\n }" + string: "{\n \"name\": \"14b2d1b5-bc5b-5846-9481-6101eed119ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.5333333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:34 GMT + - Tue, 17 Aug 2021 07:47:53 GMT expires: - '-1' pragma: @@ -446,24 +446,24 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/12c73391-4928-4d5b-aa5e-4733ee3aa65b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b5d1b214-5bbc-4658-9481-6101eed119ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9133c712-2849-5b4d-aa5e-4733ee3aa65b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:51:33.06Z\",\n \"endTime\": - \"2021-08-19T09:54:39.9019071Z\"\n }" + string: "{\n \"name\": \"14b2d1b5-bc5b-5846-9481-6101eed119ae\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:44:53.5333333Z\",\n \"endTime\": + \"2021-08-17T07:48:21.0700045Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:04 GMT + - Tue, 17 Aug 2021 07:48:24 GMT expires: - '-1' pragma: @@ -496,7 +496,7 @@ interactions: - --resource-group --name --vm-set-type -c --node-osdisk-type --node-osdisk-size --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -506,9 +506,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestptlv52vic-79a739\",\n \"fqdn\": - \"cliakstest-clitestptlv52vic-79a739-e5172fdb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestptlv52vic-79a739-e5172fdb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5sjtsubt4-79a739\",\n \"fqdn\": + \"cliakstest-clitest5sjtsubt4-79a739-a1febc8a.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5sjtsubt4-79a739-a1febc8a.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 60,\n \"osDiskType\": \"Ephemeral\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -517,17 +517,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/34240bb3-d36c-4cf0-afd8-a59cda837a95\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/711d0a03-f205-4246-b510-d5417d8e356e\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -546,7 +546,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:04 GMT + - Tue, 17 Aug 2021 07:48:24 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_fips.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_fips.yaml index 18796b44d6f..47d10e8eba0 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_fips.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_fips.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:33:17Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T10:20:03Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 06:33:17 GMT + - Tue, 17 Aug 2021 10:20:04 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestf6wqo2ubn-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest7rkyvbhcd-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": true, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDcuy+41JztO5+SBP3oCsmcw9Ax6VqXqtRnAfwc6PqSP7agGanhopGTD7HVV18pmdrUOak3HD2xf65fzOdho8IR0rxygH0znUyoM1mrS3dYLXoVXxHANhsnm0sE3h53GMFijsvhvBmkUbzr/Qn4U2lbMXS2Q9baWy1VruxgGFVM+OVWzd4OZ1EZ1VyD8zc/ZedWDNNhaPLLatwSjsGQwShwKnGtYK9aksWfdW+cm4T/+5zGX3zrmqdG8/s6opG93Px1t9aE4qWB2Mhth8F09SW0572tSNqZVRMr7QY318bgg8uK+0DLcKckRdLcslsCyaabUPscFg3Sd1HPPMuHTWQZ azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestf6wqo2ubn-79a739\",\n \"fqdn\": - \"cliakstest-clitestf6wqo2ubn-79a739-ba14582d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestf6wqo2ubn-79a739-ba14582d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7rkyvbhcd-79a739\",\n \"fqdn\": + \"cliakstest-clitest7rkyvbhcd-79a739-f74531bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7rkyvbhcd-79a739-f74531bb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n \"enableFIPS\": true\n + \"AKSUbuntu-1804gen2fipscontainerd-2021.07.25\",\n \"enableFIPS\": true\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDcuy+41JztO5+SBP3oCsmcw9Ax6VqXqtRnAfwc6PqSP7agGanhopGTD7HVV18pmdrUOak3HD2xf65fzOdho8IR0rxygH0znUyoM1mrS3dYLXoVXxHANhsnm0sE3h53GMFijsvhvBmkUbzr/Qn4U2lbMXS2Q9baWy1VruxgGFVM+OVWzd4OZ1EZ1VyD8zc/ZedWDNNhaPLLatwSjsGQwShwKnGtYK9aksWfdW+cm4T/+5zGX3zrmqdG8/s6opG93Px1t9aE4qWB2Mhth8F09SW0572tSNqZVRMr7QY318bgg8uK+0DLcKckRdLcslsCyaabUPscFg3Sd1HPPMuHTWQZ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29b5e3dc-8ba4-4849-935a-107275ae634a?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:33:24 GMT + - Tue, 17 Aug 2021 10:20:11 GMT expires: - '-1' pragma: @@ -151,20 +151,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29b5e3dc-8ba4-4849-935a-107275ae634a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" + string: "{\n \"name\": \"dce3b529-a48b-4948-935a-107275ae634a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:20:11.5366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:33:53 GMT + - Tue, 17 Aug 2021 10:20:41 GMT expires: - '-1' pragma: @@ -199,20 +199,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29b5e3dc-8ba4-4849-935a-107275ae634a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" + string: "{\n \"name\": \"dce3b529-a48b-4948-935a-107275ae634a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:20:11.5366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:34:24 GMT + - Tue, 17 Aug 2021 10:21:11 GMT expires: - '-1' pragma: @@ -247,20 +247,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29b5e3dc-8ba4-4849-935a-107275ae634a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" + string: "{\n \"name\": \"dce3b529-a48b-4948-935a-107275ae634a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:20:11.5366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:34:54 GMT + - Tue, 17 Aug 2021 10:21:42 GMT expires: - '-1' pragma: @@ -295,20 +295,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29b5e3dc-8ba4-4849-935a-107275ae634a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" + string: "{\n \"name\": \"dce3b529-a48b-4948-935a-107275ae634a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:20:11.5366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:24 GMT + - Tue, 17 Aug 2021 10:22:12 GMT expires: - '-1' pragma: @@ -343,20 +343,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29b5e3dc-8ba4-4849-935a-107275ae634a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" + string: "{\n \"name\": \"dce3b529-a48b-4948-935a-107275ae634a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:20:11.5366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:54 GMT + - Tue, 17 Aug 2021 10:22:42 GMT expires: - '-1' pragma: @@ -391,20 +391,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29b5e3dc-8ba4-4849-935a-107275ae634a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\"\n }" + string: "{\n \"name\": \"dce3b529-a48b-4948-935a-107275ae634a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:20:11.5366666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:24 GMT + - Tue, 17 Aug 2021 10:23:12 GMT expires: - '-1' pragma: @@ -439,21 +439,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/43210f9c-a0e0-4064-9144-e8c505beac78?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29b5e3dc-8ba4-4849-935a-107275ae634a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9c0f2143-e0a0-6440-9144-e8c505beac78\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:33:23.84Z\",\n \"endTime\": - \"2021-08-20T06:36:47.0467175Z\"\n }" + string: "{\n \"name\": \"dce3b529-a48b-4948-935a-107275ae634a\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:20:11.5366666Z\",\n \"endTime\": + \"2021-08-17T10:23:24.325278Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '169' content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:54 GMT + - Tue, 17 Aug 2021 10:23:42 GMT expires: - '-1' pragma: @@ -495,9 +495,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestf6wqo2ubn-79a739\",\n \"fqdn\": - \"cliakstest-clitestf6wqo2ubn-79a739-ba14582d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestf6wqo2ubn-79a739-ba14582d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7rkyvbhcd-79a739\",\n \"fqdn\": + \"cliakstest-clitest7rkyvbhcd-79a739-f74531bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7rkyvbhcd-79a739-f74531bb.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -506,17 +506,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n \"enableFIPS\": true\n + \"AKSUbuntu-1804gen2fipscontainerd-2021.07.25\",\n \"enableFIPS\": true\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDcuy+41JztO5+SBP3oCsmcw9Ax6VqXqtRnAfwc6PqSP7agGanhopGTD7HVV18pmdrUOak3HD2xf65fzOdho8IR0rxygH0znUyoM1mrS3dYLXoVXxHANhsnm0sE3h53GMFijsvhvBmkUbzr/Qn4U2lbMXS2Q9baWy1VruxgGFVM+OVWzd4OZ1EZ1VyD8zc/ZedWDNNhaPLLatwSjsGQwShwKnGtYK9aksWfdW+cm4T/+5zGX3zrmqdG8/s6opG93Px1t9aE4qWB2Mhth8F09SW0572tSNqZVRMr7QY318bgg8uK+0DLcKckRdLcslsCyaabUPscFg3Sd1HPPMuHTWQZ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/712cbef5-cf61-4537-ab85-36345462460f\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e960fa19-63ca-40c2-9d73-f0532bf54c52\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -535,7 +535,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:54 GMT + - Tue, 17 Aug 2021 10:23:42 GMT expires: - '-1' pragma: @@ -582,7 +582,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.25\",\n \ \"enableFIPS\": true\n }\n }\n ]\n }" headers: cache-control: @@ -592,7 +592,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:55 GMT + - Tue, 17 Aug 2021 10:23:43 GMT expires: - '-1' pragma: @@ -647,11 +647,11 @@ interactions: \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.25\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": true\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -659,7 +659,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:57 GMT + - Tue, 17 Aug 2021 10:23:46 GMT expires: - '-1' pragma: @@ -692,20 +692,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" + string: "{\n \"name\": \"7ae149ff-c0da-b94b-95f9-60fcb4bd2520\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:23:46.3966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:37:28 GMT + - Tue, 17 Aug 2021 10:24:15 GMT expires: - '-1' pragma: @@ -740,20 +740,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" + string: "{\n \"name\": \"7ae149ff-c0da-b94b-95f9-60fcb4bd2520\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:23:46.3966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:37:58 GMT + - Tue, 17 Aug 2021 10:24:46 GMT expires: - '-1' pragma: @@ -788,20 +788,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" + string: "{\n \"name\": \"7ae149ff-c0da-b94b-95f9-60fcb4bd2520\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:23:46.3966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:38:28 GMT + - Tue, 17 Aug 2021 10:25:16 GMT expires: - '-1' pragma: @@ -836,20 +836,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" + string: "{\n \"name\": \"7ae149ff-c0da-b94b-95f9-60fcb4bd2520\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:23:46.3966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:38:58 GMT + - Tue, 17 Aug 2021 10:25:46 GMT expires: - '-1' pragma: @@ -884,20 +884,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" + string: "{\n \"name\": \"7ae149ff-c0da-b94b-95f9-60fcb4bd2520\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:23:46.3966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:39:28 GMT + - Tue, 17 Aug 2021 10:26:16 GMT expires: - '-1' pragma: @@ -932,20 +932,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" + string: "{\n \"name\": \"7ae149ff-c0da-b94b-95f9-60fcb4bd2520\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:23:46.3966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:39:58 GMT + - Tue, 17 Aug 2021 10:26:47 GMT expires: - '-1' pragma: @@ -980,20 +980,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\"\n }" + string: "{\n \"name\": \"7ae149ff-c0da-b94b-95f9-60fcb4bd2520\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:23:46.3966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:28 GMT + - Tue, 17 Aug 2021 10:27:16 GMT expires: - '-1' pragma: @@ -1028,21 +1028,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba8a7821-e3e7-4231-931b-657ad758dbad?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff49e17a-dac0-4bb9-95f9-60fcb4bd2520?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"21788aba-e7e3-3142-931b-657ad758dbad\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:36:58.35Z\",\n \"endTime\": - \"2021-08-20T06:40:47.5564841Z\"\n }" + string: "{\n \"name\": \"7ae149ff-c0da-b94b-95f9-60fcb4bd2520\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:23:46.3966666Z\",\n \"endTime\": + \"2021-08-17T10:27:34.1067846Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:58 GMT + - Tue, 17 Aug 2021 10:27:46 GMT expires: - '-1' pragma: @@ -1089,7 +1089,7 @@ interactions: \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2fipscontainerd-2021.07.25\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": true\n }\n }" headers: cache-control: @@ -1099,7 +1099,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:59 GMT + - Tue, 17 Aug 2021 10:27:47 GMT expires: - '-1' pragma: @@ -1133,26 +1133,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54a96c7c-e6f7-495f-b15d-a2564219f20a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b48813c9-beea-4879-95b3-52a44448bbe0?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 06:41:00 GMT + - Tue, 17 Aug 2021 10:27:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/54a96c7c-e6f7-495f-b15d-a2564219f20a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/b48813c9-beea-4879-95b3-52a44448bbe0?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_http_proxy_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_http_proxy_config.yaml index c82bb8e56dc..5f930d63c65 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_http_proxy_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_http_proxy_config.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:02:24Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:45:54Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:02:25 GMT + - Tue, 17 Aug 2021 07:45:56 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest4unc4mgng-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestphw5jugws-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -73,7 +73,7 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -83,9 +83,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest4unc4mgng-79a739\",\n \"fqdn\": - \"cliakstest-clitest4unc4mgng-79a739-3aa78c80.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest4unc4mgng-79a739-3aa78c80.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestphw5jugws-79a739\",\n \"fqdn\": + \"cliakstest-clitestphw5jugws-79a739-89a967b1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestphw5jugws-79a739-89a967b1.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -94,10 +94,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -112,7 +112,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/94005da7-3426-4a5a-920f-dcaee86d4709?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -120,7 +120,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:29 GMT + - Tue, 17 Aug 2021 07:46:01 GMT expires: - '-1' pragma: @@ -132,7 +132,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -150,14 +150,14 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/94005da7-3426-4a5a-920f-dcaee86d4709?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" + string: "{\n \"name\": \"a75d0094-2634-5a4a-920f-dcaee86d4709\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:46:01.6433333Z\"\n }" headers: cache-control: - no-cache @@ -166,7 +166,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:59 GMT + - Tue, 17 Aug 2021 07:46:32 GMT expires: - '-1' pragma: @@ -198,14 +198,14 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/94005da7-3426-4a5a-920f-dcaee86d4709?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" + string: "{\n \"name\": \"a75d0094-2634-5a4a-920f-dcaee86d4709\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:46:01.6433333Z\"\n }" headers: cache-control: - no-cache @@ -214,7 +214,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:30 GMT + - Tue, 17 Aug 2021 07:47:01 GMT expires: - '-1' pragma: @@ -246,14 +246,14 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/94005da7-3426-4a5a-920f-dcaee86d4709?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" + string: "{\n \"name\": \"a75d0094-2634-5a4a-920f-dcaee86d4709\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:46:01.6433333Z\"\n }" headers: cache-control: - no-cache @@ -262,7 +262,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:00 GMT + - Tue, 17 Aug 2021 07:47:31 GMT expires: - '-1' pragma: @@ -294,14 +294,14 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/94005da7-3426-4a5a-920f-dcaee86d4709?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" + string: "{\n \"name\": \"a75d0094-2634-5a4a-920f-dcaee86d4709\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:46:01.6433333Z\"\n }" headers: cache-control: - no-cache @@ -310,7 +310,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:30 GMT + - Tue, 17 Aug 2021 07:48:02 GMT expires: - '-1' pragma: @@ -342,14 +342,14 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/94005da7-3426-4a5a-920f-dcaee86d4709?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" + string: "{\n \"name\": \"a75d0094-2634-5a4a-920f-dcaee86d4709\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:46:01.6433333Z\"\n }" headers: cache-control: - no-cache @@ -358,7 +358,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:59 GMT + - Tue, 17 Aug 2021 07:48:31 GMT expires: - '-1' pragma: @@ -390,14 +390,14 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/94005da7-3426-4a5a-920f-dcaee86d4709?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\"\n }" + string: "{\n \"name\": \"a75d0094-2634-5a4a-920f-dcaee86d4709\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:46:01.6433333Z\"\n }" headers: cache-control: - no-cache @@ -406,7 +406,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:30 GMT + - Tue, 17 Aug 2021 07:49:02 GMT expires: - '-1' pragma: @@ -438,15 +438,15 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3226ea7f-df95-410e-9ffe-16bc62848d23?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/94005da7-3426-4a5a-920f-dcaee86d4709?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7fea2632-95df-0e41-9ffe-16bc62848d23\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:02:29.5966666Z\",\n \"endTime\": - \"2021-08-19T10:05:47.9758982Z\"\n }" + string: "{\n \"name\": \"a75d0094-2634-5a4a-920f-dcaee86d4709\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:46:01.6433333Z\",\n \"endTime\": + \"2021-08-17T07:49:10.9115015Z\"\n }" headers: cache-control: - no-cache @@ -455,7 +455,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:00 GMT + - Tue, 17 Aug 2021 07:49:32 GMT expires: - '-1' pragma: @@ -487,7 +487,7 @@ interactions: ParameterSetName: - --resource-group --name --http-proxy-config --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -497,9 +497,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest4unc4mgng-79a739\",\n \"fqdn\": - \"cliakstest-clitest4unc4mgng-79a739-3aa78c80.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest4unc4mgng-79a739-3aa78c80.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestphw5jugws-79a739\",\n \"fqdn\": + \"cliakstest-clitestphw5jugws-79a739-89a967b1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestphw5jugws-79a739-89a967b1.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -508,17 +508,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/f44d4ce6-ad59-4096-8b2f-d8ab2a475ac2\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7c1b5629-fa42-478d-8d6d-9778be0f94bb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -537,7 +537,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:02 GMT + - Tue, 17 Aug 2021 07:49:32 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml index 0542a542b37..c43a244cdd3 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:58:40Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T08:01:14Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:58:42 GMT + - Tue, 17 Aug 2021 08:01:15 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestht2izmb33-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestobgqnm5ek-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ingressApplicationGateway": {"enabled": true, "config": {"subnetCIDR": "10.2.0.0/16"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", @@ -74,7 +74,7 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -84,9 +84,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestht2izmb33-79a739\",\n \"fqdn\": - \"cliakstest-clitestht2izmb33-79a739-4c3c08ac.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestht2izmb33-79a739-4c3c08ac.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestobgqnm5ek-79a739\",\n \"fqdn\": + \"cliakstest-clitestobgqnm5ek-79a739-172f50e5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestobgqnm5ek-79a739-172f50e5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ingressApplicationGateway\": {\n \"enabled\": true,\n \"config\": @@ -116,7 +116,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1f20f72-5070-41ee-bbd9-fcb95978218d?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -124,7 +124,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:50 GMT + - Tue, 17 Aug 2021 08:01:23 GMT expires: - '-1' pragma: @@ -136,7 +136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -155,23 +155,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1f20f72-5070-41ee-bbd9-fcb95978218d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" + string: "{\n \"name\": \"720ff2f1-7050-ee41-bbd9-fcb95978218d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:01:23.0033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:20 GMT + - Tue, 17 Aug 2021 08:01:52 GMT expires: - '-1' pragma: @@ -204,23 +204,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1f20f72-5070-41ee-bbd9-fcb95978218d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" + string: "{\n \"name\": \"720ff2f1-7050-ee41-bbd9-fcb95978218d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:01:23.0033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:50 GMT + - Tue, 17 Aug 2021 08:02:23 GMT expires: - '-1' pragma: @@ -253,23 +253,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1f20f72-5070-41ee-bbd9-fcb95978218d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" + string: "{\n \"name\": \"720ff2f1-7050-ee41-bbd9-fcb95978218d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:01:23.0033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:21 GMT + - Tue, 17 Aug 2021 08:02:53 GMT expires: - '-1' pragma: @@ -302,23 +302,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1f20f72-5070-41ee-bbd9-fcb95978218d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" + string: "{\n \"name\": \"720ff2f1-7050-ee41-bbd9-fcb95978218d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:01:23.0033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:51 GMT + - Tue, 17 Aug 2021 08:03:23 GMT expires: - '-1' pragma: @@ -351,23 +351,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1f20f72-5070-41ee-bbd9-fcb95978218d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" + string: "{\n \"name\": \"720ff2f1-7050-ee41-bbd9-fcb95978218d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:01:23.0033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:21 GMT + - Tue, 17 Aug 2021 08:03:53 GMT expires: - '-1' pragma: @@ -400,23 +400,23 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1f20f72-5070-41ee-bbd9-fcb95978218d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\"\n }" + string: "{\n \"name\": \"720ff2f1-7050-ee41-bbd9-fcb95978218d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:01:23.0033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:51 GMT + - Tue, 17 Aug 2021 08:04:24 GMT expires: - '-1' pragma: @@ -449,24 +449,24 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/39bf35e3-a887-48ef-a6cf-01f7feeac55e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1f20f72-5070-41ee-bbd9-fcb95978218d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e335bf39-87a8-ef48-a6cf-01f7feeac55e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:58:50.58Z\",\n \"endTime\": - \"2021-08-19T10:01:53.2653764Z\"\n }" + string: "{\n \"name\": \"720ff2f1-7050-ee41-bbd9-fcb95978218d\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:01:23.0033333Z\",\n \"endTime\": + \"2021-08-17T08:04:39.8320216Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:21 GMT + - Tue, 17 Aug 2021 08:04:53 GMT expires: - '-1' pragma: @@ -499,7 +499,7 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-cidr --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -509,9 +509,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestht2izmb33-79a739\",\n \"fqdn\": - \"cliakstest-clitestht2izmb33-79a739-4c3c08ac.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestht2izmb33-79a739-4c3c08ac.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestobgqnm5ek-79a739\",\n \"fqdn\": + \"cliakstest-clitestobgqnm5ek-79a739-172f50e5.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestobgqnm5ek-79a739-172f50e5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -520,10 +520,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ingressApplicationGateway\": {\n \"enabled\": true,\n \"config\": @@ -535,7 +535,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/442b59b1-520d-4eec-bacd-3f7f16816519\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ad03c59a-4cde-4a25-8911-c3af59d7a25d\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -554,7 +554,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:22 GMT + - Tue, 17 Aug 2021 08:04:54 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix.yaml index 2c1cd4bf25f..8efbd4e2ba1 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:54:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:52:49Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:54:46 GMT + - Tue, 17 Aug 2021 07:52:50 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestbcuny6mpx-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest7jf2raerj-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ingressApplicationGateway": {"enabled": true, "config": {"subnetCIDR": "10.2.0.0/16"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", @@ -74,7 +74,7 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -84,9 +84,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbcuny6mpx-79a739\",\n \"fqdn\": - \"cliakstest-clitestbcuny6mpx-79a739-e97852cb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestbcuny6mpx-79a739-e97852cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7jf2raerj-79a739\",\n \"fqdn\": + \"cliakstest-clitest7jf2raerj-79a739-0f7ba8da.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7jf2raerj-79a739-0f7ba8da.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ingressApplicationGateway\": {\n \"enabled\": true,\n \"config\": @@ -116,7 +116,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1401ca7-2346-4623-9e87-d9bd4a066249?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -124,7 +124,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:53 GMT + - Tue, 17 Aug 2021 07:52:55 GMT expires: - '-1' pragma: @@ -136,7 +136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -155,14 +155,14 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1401ca7-2346-4623-9e87-d9bd4a066249?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" + string: "{\n \"name\": \"a71c40f1-4623-2346-9e87-d9bd4a066249\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:55.91Z\"\n }" headers: cache-control: - no-cache @@ -171,7 +171,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:23 GMT + - Tue, 17 Aug 2021 07:53:26 GMT expires: - '-1' pragma: @@ -204,14 +204,14 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1401ca7-2346-4623-9e87-d9bd4a066249?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" + string: "{\n \"name\": \"a71c40f1-4623-2346-9e87-d9bd4a066249\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:55.91Z\"\n }" headers: cache-control: - no-cache @@ -220,7 +220,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:53 GMT + - Tue, 17 Aug 2021 07:53:55 GMT expires: - '-1' pragma: @@ -253,14 +253,14 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1401ca7-2346-4623-9e87-d9bd4a066249?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" + string: "{\n \"name\": \"a71c40f1-4623-2346-9e87-d9bd4a066249\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:55.91Z\"\n }" headers: cache-control: - no-cache @@ -269,7 +269,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:23 GMT + - Tue, 17 Aug 2021 07:54:26 GMT expires: - '-1' pragma: @@ -302,14 +302,14 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1401ca7-2346-4623-9e87-d9bd4a066249?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" + string: "{\n \"name\": \"a71c40f1-4623-2346-9e87-d9bd4a066249\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:55.91Z\"\n }" headers: cache-control: - no-cache @@ -318,7 +318,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:53 GMT + - Tue, 17 Aug 2021 07:54:55 GMT expires: - '-1' pragma: @@ -351,14 +351,14 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1401ca7-2346-4623-9e87-d9bd4a066249?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" + string: "{\n \"name\": \"a71c40f1-4623-2346-9e87-d9bd4a066249\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:55.91Z\"\n }" headers: cache-control: - no-cache @@ -367,7 +367,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:23 GMT + - Tue, 17 Aug 2021 07:55:26 GMT expires: - '-1' pragma: @@ -400,14 +400,14 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1401ca7-2346-4623-9e87-d9bd4a066249?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\"\n }" + string: "{\n \"name\": \"a71c40f1-4623-2346-9e87-d9bd4a066249\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:55.91Z\"\n }" headers: cache-control: - no-cache @@ -416,7 +416,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:54 GMT + - Tue, 17 Aug 2021 07:55:56 GMT expires: - '-1' pragma: @@ -449,15 +449,15 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/259d9286-2d2b-4a05-87ef-0b77944746d6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1401ca7-2346-4623-9e87-d9bd4a066249?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"86929d25-2b2d-054a-87ef-0b77944746d6\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:54:52.55Z\",\n \"endTime\": - \"2021-08-19T09:58:13.1005132Z\"\n }" + string: "{\n \"name\": \"a71c40f1-4623-2346-9e87-d9bd4a066249\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:52:55.91Z\",\n \"endTime\": + \"2021-08-17T07:55:58.6588166Z\"\n }" headers: cache-control: - no-cache @@ -466,7 +466,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:23 GMT + - Tue, 17 Aug 2021 07:56:27 GMT expires: - '-1' pragma: @@ -499,7 +499,7 @@ interactions: - --resource-group --name --enable-managed-identity -a --appgw-subnet-prefix --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -509,9 +509,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestbcuny6mpx-79a739\",\n \"fqdn\": - \"cliakstest-clitestbcuny6mpx-79a739-e97852cb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestbcuny6mpx-79a739-e97852cb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest7jf2raerj-79a739\",\n \"fqdn\": + \"cliakstest-clitest7jf2raerj-79a739-0f7ba8da.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest7jf2raerj-79a739-0f7ba8da.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -520,10 +520,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ingressApplicationGateway\": {\n \"enabled\": true,\n \"config\": @@ -535,7 +535,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/26a462f7-67d5-4cf3-bfbd-b846cf14bebd\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/c3888d2d-b50b-4af9-ab23-0d51f350bdbb\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -554,7 +554,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:24 GMT + - Tue, 17 Aug 2021 07:56:27 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml index db7fa632f5a..e74848f9c65 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:01:57Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:56:09Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:01:58 GMT + - Tue, 17 Aug 2021 07:56:10 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestimvzssx2n-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestwwpzfehwj-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskType": "Managed", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -71,7 +71,7 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestimvzssx2n-79a739\",\n \"fqdn\": - \"cliakstest-clitestimvzssx2n-79a739-3866aadb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestimvzssx2n-79a739-3866aadb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestwwpzfehwj-79a739\",\n \"fqdn\": + \"cliakstest-clitestwwpzfehwj-79a739-b339dbb8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestwwpzfehwj-79a739-b339dbb8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/abedd13f-c7de-46ce-9c45-af796025a453?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:09 GMT + - Tue, 17 Aug 2021 07:56:17 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -148,23 +148,23 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/abedd13f-c7de-46ce-9c45-af796025a453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" + string: "{\n \"name\": \"3fd1edab-dec7-ce46-9c45-af796025a453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:17.65Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:39 GMT + - Tue, 17 Aug 2021 07:56:47 GMT expires: - '-1' pragma: @@ -196,23 +196,23 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/abedd13f-c7de-46ce-9c45-af796025a453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" + string: "{\n \"name\": \"3fd1edab-dec7-ce46-9c45-af796025a453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:17.65Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:09 GMT + - Tue, 17 Aug 2021 07:57:17 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/abedd13f-c7de-46ce-9c45-af796025a453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" + string: "{\n \"name\": \"3fd1edab-dec7-ce46-9c45-af796025a453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:17.65Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:39 GMT + - Tue, 17 Aug 2021 07:57:48 GMT expires: - '-1' pragma: @@ -292,23 +292,23 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/abedd13f-c7de-46ce-9c45-af796025a453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" + string: "{\n \"name\": \"3fd1edab-dec7-ce46-9c45-af796025a453\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:17.65Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:10 GMT + - Tue, 17 Aug 2021 07:58:17 GMT expires: - '-1' pragma: @@ -340,23 +340,24 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/abedd13f-c7de-46ce-9c45-af796025a453?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" + string: "{\n \"name\": \"3fd1edab-dec7-ce46-9c45-af796025a453\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:56:17.65Z\",\n \"endTime\": + \"2021-08-17T07:58:34.9233684Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '165' content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:40 GMT + - Tue, 17 Aug 2021 07:58:48 GMT expires: - '-1' pragma: @@ -388,104 +389,7 @@ interactions: ParameterSetName: - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 10:05:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9c55a634-8717-4d12-9ead-a49ad5ba2ca3?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"34a6559c-1787-124d-9ead-a49ad5ba2ca3\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:02:09.3166666Z\",\n \"endTime\": - \"2021-08-19T10:05:17.0681546Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 10:05:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --vm-set-type -c --node-osdisk-type --ssh-key-value - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -495,9 +399,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestimvzssx2n-79a739\",\n \"fqdn\": - \"cliakstest-clitestimvzssx2n-79a739-3866aadb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestimvzssx2n-79a739-3866aadb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestwwpzfehwj-79a739\",\n \"fqdn\": + \"cliakstest-clitestwwpzfehwj-79a739-b339dbb8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestwwpzfehwj-79a739-b339dbb8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -506,17 +410,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/61f28220-e936-435c-b446-2567a4dd81dd\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fc663ef7-e0a9-462f-be5b-d36db3a84269\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -535,7 +439,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:40 GMT + - Tue, 17 Aug 2021 07:58:48 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml index 575f251598e..e2dabdf86d9 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_node_config.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:33:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T10:03:57Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 06:33:04 GMT + - Tue, 17 Aug 2021 10:03:58 GMT expires: - '-1' pragma: @@ -44,7 +44,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvcqzidbi6-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestdw6uzxsk4-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": @@ -56,7 +56,7 @@ interactions: "32000 60000"}, "transparentHugePageEnabled": "madvise", "transparentHugePageDefrag": "defer+madvise", "swapFileSizeMB": 1500}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -91,9 +91,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvcqzidbi6-79a739\",\n \"fqdn\": - \"cliakstest-clitestvcqzidbi6-79a739-2d1673ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvcqzidbi6-79a739-2d1673ad.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestdw6uzxsk4-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestdw6uzxsk4-8ecadf-23a14ce4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestdw6uzxsk4-8ecadf-23a14ce4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -106,16 +106,16 @@ interactions: \ \"topologyManagerPolicy\": \"best-effort\",\n \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n \"net.*\"\n ],\n \"failSwapOn\": false,\n \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": - 10,\n \"podMaxPids\": 120},\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": + 10,\n \"podMaxPids\": 120\n },\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n \"netIpv4TcpTwReuse\": true,\n \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \ \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -130,7 +130,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbe1d8a2-3f11-4adb-a7f8-bf73a780fd7f?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -138,7 +138,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:33:10 GMT + - Tue, 17 Aug 2021 10:04:05 GMT expires: - '-1' pragma: @@ -150,7 +150,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -174,20 +174,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbe1d8a2-3f11-4adb-a7f8-bf73a780fd7f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" + string: "{\n \"name\": \"a2d8e1cb-113f-db4a-a7f8-bf73a780fd7f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:05.89Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:33:40 GMT + - Tue, 17 Aug 2021 10:04:35 GMT expires: - '-1' pragma: @@ -225,20 +225,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbe1d8a2-3f11-4adb-a7f8-bf73a780fd7f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" + string: "{\n \"name\": \"a2d8e1cb-113f-db4a-a7f8-bf73a780fd7f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:05.89Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:34:11 GMT + - Tue, 17 Aug 2021 10:05:06 GMT expires: - '-1' pragma: @@ -276,20 +276,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbe1d8a2-3f11-4adb-a7f8-bf73a780fd7f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" + string: "{\n \"name\": \"a2d8e1cb-113f-db4a-a7f8-bf73a780fd7f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:05.89Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:34:40 GMT + - Tue, 17 Aug 2021 10:05:35 GMT expires: - '-1' pragma: @@ -327,20 +327,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbe1d8a2-3f11-4adb-a7f8-bf73a780fd7f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" + string: "{\n \"name\": \"a2d8e1cb-113f-db4a-a7f8-bf73a780fd7f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:05.89Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:11 GMT + - Tue, 17 Aug 2021 10:06:06 GMT expires: - '-1' pragma: @@ -378,20 +378,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbe1d8a2-3f11-4adb-a7f8-bf73a780fd7f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" + string: "{\n \"name\": \"a2d8e1cb-113f-db4a-a7f8-bf73a780fd7f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:05.89Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:41 GMT + - Tue, 17 Aug 2021 10:06:36 GMT expires: - '-1' pragma: @@ -429,20 +429,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbe1d8a2-3f11-4adb-a7f8-bf73a780fd7f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\"\n }" + string: "{\n \"name\": \"a2d8e1cb-113f-db4a-a7f8-bf73a780fd7f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:05.89Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:11 GMT + - Tue, 17 Aug 2021 10:07:06 GMT expires: - '-1' pragma: @@ -480,21 +480,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0fa5a91-d0bf-46e7-9745-ff9e2a64b155?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cbe1d8a2-3f11-4adb-a7f8-bf73a780fd7f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"915afac0-bfd0-e746-9745-ff9e2a64b155\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:33:10.5766666Z\",\n \"endTime\": - \"2021-08-20T06:36:14.8002483Z\"\n }" + string: "{\n \"name\": \"a2d8e1cb-113f-db4a-a7f8-bf73a780fd7f\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:04:05.89Z\",\n \"endTime\": + \"2021-08-17T10:07:13.7380775Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:42 GMT + - Tue, 17 Aug 2021 10:07:36 GMT expires: - '-1' pragma: @@ -539,9 +539,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvcqzidbi6-79a739\",\n \"fqdn\": - \"cliakstest-clitestvcqzidbi6-79a739-2d1673ad.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvcqzidbi6-79a739-2d1673ad.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestdw6uzxsk4-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestdw6uzxsk4-8ecadf-23a14ce4.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestdw6uzxsk4-8ecadf-23a14ce4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -554,23 +554,23 @@ interactions: \ \"topologyManagerPolicy\": \"best-effort\",\n \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n \"net.*\"\n ],\n \"failSwapOn\": false,\n \"containerLogMaxSizeMB\": 20,\n \"containerLogMaxFiles\": - 10,\n \"podMaxPids\": 120},\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": + 10,\n \"podMaxPids\": 120\n },\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n \"netIpv4TcpTwReuse\": true,\n \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \ \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/254ad5f7-e56d-4310-9ee9-1b90b33664a1\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/1161914e-1e93-4476-85a5-e8cae714de60\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -589,7 +589,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:42 GMT + - Tue, 17 Aug 2021 10:07:37 GMT expires: - '-1' pragma: @@ -641,13 +641,13 @@ interactions: \ \"imageGcLowThreshold\": 70,\n \"topologyManagerPolicy\": \"best-effort\",\n \ \"allowedUnsafeSysctls\": [\n \"kernel.msg*\",\n \"net.*\"\n \ ],\n \"failSwapOn\": false,\n \"containerLogMaxSizeMB\": 20,\n - \ \"containerLogMaxFiles\": 10,\n \"podMaxPids\": 120},\n \"linuxOSConfig\": {\n \"sysctls\": + \ \"containerLogMaxFiles\": 10,\n \"podMaxPids\": 120\n },\n \"linuxOSConfig\": {\n \"sysctls\": {\n \"netCoreSomaxconn\": 163849,\n \"netIpv4TcpTwReuse\": true,\n \ \"netIpv4IpLocalPortRange\": \"32000 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n }\n ]\n }" headers: cache-control: @@ -657,7 +657,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:43 GMT + - Tue, 17 Aug 2021 10:07:37 GMT expires: - '-1' pragma: @@ -730,11 +730,11 @@ interactions: 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -742,7 +742,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:36:44 GMT + - Tue, 17 Aug 2021 10:07:39 GMT expires: - '-1' pragma: @@ -754,7 +754,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -778,20 +778,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" + string: "{\n \"name\": \"eba494bb-7446-ac4f-af60-0ac3d390d3e6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:40.1233333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:37:14 GMT + - Tue, 17 Aug 2021 10:08:09 GMT expires: - '-1' pragma: @@ -829,20 +829,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" + string: "{\n \"name\": \"eba494bb-7446-ac4f-af60-0ac3d390d3e6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:40.1233333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:37:44 GMT + - Tue, 17 Aug 2021 10:08:39 GMT expires: - '-1' pragma: @@ -880,20 +880,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" + string: "{\n \"name\": \"eba494bb-7446-ac4f-af60-0ac3d390d3e6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:40.1233333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:38:15 GMT + - Tue, 17 Aug 2021 10:09:10 GMT expires: - '-1' pragma: @@ -931,20 +931,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" + string: "{\n \"name\": \"eba494bb-7446-ac4f-af60-0ac3d390d3e6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:40.1233333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:38:44 GMT + - Tue, 17 Aug 2021 10:09:39 GMT expires: - '-1' pragma: @@ -982,20 +982,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" + string: "{\n \"name\": \"eba494bb-7446-ac4f-af60-0ac3d390d3e6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:40.1233333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:39:15 GMT + - Tue, 17 Aug 2021 10:10:10 GMT expires: - '-1' pragma: @@ -1033,20 +1033,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" + string: "{\n \"name\": \"eba494bb-7446-ac4f-af60-0ac3d390d3e6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:40.1233333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:39:45 GMT + - Tue, 17 Aug 2021 10:10:40 GMT expires: - '-1' pragma: @@ -1084,20 +1084,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\"\n }" + string: "{\n \"name\": \"eba494bb-7446-ac4f-af60-0ac3d390d3e6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:40.1233333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:15 GMT + - Tue, 17 Aug 2021 10:11:10 GMT expires: - '-1' pragma: @@ -1135,21 +1135,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d98ea0f-7d58-4f72-a38c-dc2840d99c59?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bb94a4eb-4674-4fac-af60-0ac3d390d3e6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0fea987d-587d-724f-a38c-dc2840d99c59\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:36:45.1Z\",\n \"endTime\": - \"2021-08-20T06:40:44.6010816Z\"\n }" + string: "{\n \"name\": \"eba494bb-7446-ac4f-af60-0ac3d390d3e6\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:07:40.1233333Z\",\n \"endTime\": + \"2021-08-17T10:11:39.1520163Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:45 GMT + - Tue, 17 Aug 2021 10:11:41 GMT expires: - '-1' pragma: @@ -1208,7 +1208,7 @@ interactions: 60000\"\n },\n \"transparentHugePageEnabled\": \"madvise\",\n \"transparentHugePageDefrag\": \"defer+madvise\",\n \"swapFileSizeMB\": 1500\n },\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" headers: cache-control: @@ -1218,7 +1218,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:40:45 GMT + - Tue, 17 Aug 2021 10:11:41 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml index 9366a9ba116..b8a3107892e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:25:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T10:09:14Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:25:43 GMT + - Tue, 17 Aug 2021 10:09:15 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesta6syiqa4h-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestr4haao7fm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"openServiceMesh": {"enabled": true, "config": {}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", @@ -82,9 +82,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesta6syiqa4h-8ecadf\",\n \"fqdn\": - \"cliakstest-clitesta6syiqa4h-8ecadf-78642e47.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesta6syiqa4h-8ecadf-78642e47.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestr4haao7fm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestr4haao7fm-8ecadf-3ab03856.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestr4haao7fm-8ecadf-3ab03856.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -93,10 +93,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {}\n @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71719c63-2533-46ba-9595-cf55eabb3240?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:45 GMT + - Tue, 17 Aug 2021 10:09:21 GMT expires: - '-1' pragma: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 201 message: Created @@ -154,20 +154,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71719c63-2533-46ba-9595-cf55eabb3240?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" + string: "{\n \"name\": \"639c7171-3325-ba46-9595-cf55eabb3240\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:21.9966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:26:16 GMT + - Tue, 17 Aug 2021 10:09:51 GMT expires: - '-1' pragma: @@ -202,20 +202,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71719c63-2533-46ba-9595-cf55eabb3240?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" + string: "{\n \"name\": \"639c7171-3325-ba46-9595-cf55eabb3240\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:21.9966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:26:45 GMT + - Tue, 17 Aug 2021 10:10:22 GMT expires: - '-1' pragma: @@ -250,20 +250,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71719c63-2533-46ba-9595-cf55eabb3240?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" + string: "{\n \"name\": \"639c7171-3325-ba46-9595-cf55eabb3240\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:21.9966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:27:16 GMT + - Tue, 17 Aug 2021 10:10:51 GMT expires: - '-1' pragma: @@ -298,20 +298,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71719c63-2533-46ba-9595-cf55eabb3240?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" + string: "{\n \"name\": \"639c7171-3325-ba46-9595-cf55eabb3240\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:21.9966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:27:46 GMT + - Tue, 17 Aug 2021 10:11:22 GMT expires: - '-1' pragma: @@ -346,20 +346,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71719c63-2533-46ba-9595-cf55eabb3240?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" + string: "{\n \"name\": \"639c7171-3325-ba46-9595-cf55eabb3240\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:21.9966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:28:16 GMT + - Tue, 17 Aug 2021 10:11:52 GMT expires: - '-1' pragma: @@ -394,20 +394,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71719c63-2533-46ba-9595-cf55eabb3240?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\"\n }" + string: "{\n \"name\": \"639c7171-3325-ba46-9595-cf55eabb3240\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:21.9966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:28:46 GMT + - Tue, 17 Aug 2021 10:12:22 GMT expires: - '-1' pragma: @@ -442,21 +442,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f90f0fb5-7e28-46bc-9a65-23560d7c5fdd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/71719c63-2533-46ba-9595-cf55eabb3240?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b50f0ff9-287e-bc46-9a65-23560d7c5fdd\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:25:46.3Z\",\n \"endTime\": - \"2021-08-20T07:28:55.3669273Z\"\n }" + string: "{\n \"name\": \"639c7171-3325-ba46-9595-cf55eabb3240\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:09:21.9966666Z\",\n \"endTime\": + \"2021-08-17T10:12:41.2075529Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Fri, 20 Aug 2021 07:29:16 GMT + - Tue, 17 Aug 2021 10:12:52 GMT expires: - '-1' pragma: @@ -498,9 +498,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesta6syiqa4h-8ecadf\",\n \"fqdn\": - \"cliakstest-clitesta6syiqa4h-8ecadf-78642e47.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesta6syiqa4h-8ecadf-78642e47.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestr4haao7fm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestr4haao7fm-8ecadf-3ab03856.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestr4haao7fm-8ecadf-3ab03856.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -509,10 +509,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {},\n @@ -522,7 +522,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d3396aab-e7cd-44b8-b22b-b85b80c5fbf4\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0f34404c-eb3d-4688-9b3e-3bef30886f21\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -541,7 +541,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:29:16 GMT + - Tue, 17 Aug 2021 10:12:52 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml index 5ae4bddc3b9..597e815aed8 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:33:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:58:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 06:33:05 GMT + - Tue, 17 Aug 2021 09:58:40 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesthr646bbhh-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestdbf2glfe2-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "osSKU": "CBLMariner", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesthr646bbhh-79a739\",\n \"fqdn\": - \"cliakstest-clitesthr646bbhh-79a739-b9084892.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesthr646bbhh-79a739-b9084892.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestdbf2glfe2-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestdbf2glfe2-8ecadf-8556a86b.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestdbf2glfe2-8ecadf-8556a86b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,9 +92,9 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"CBLMariner\",\n \"nodeImageVersion\": - \"AKSCBLMariner-V1-2021.07.31\",\n \"enableFIPS\": false\n }\n ],\n + \"AKSCBLMariner-V1-2021.07.25\",\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -109,7 +109,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ced62231-2778-452c-8866-d5ec51ebe18c?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -117,7 +117,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:33:10 GMT + - Tue, 17 Aug 2021 09:58:47 GMT expires: - '-1' pragma: @@ -150,20 +150,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ced62231-2778-452c-8866-d5ec51ebe18c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\"\n }" + string: "{\n \"name\": \"3122d6ce-7827-2c45-8866-d5ec51ebe18c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:33:41 GMT + - Tue, 17 Aug 2021 09:59:18 GMT expires: - '-1' pragma: @@ -198,20 +198,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ced62231-2778-452c-8866-d5ec51ebe18c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\"\n }" + string: "{\n \"name\": \"3122d6ce-7827-2c45-8866-d5ec51ebe18c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:34:10 GMT + - Tue, 17 Aug 2021 09:59:47 GMT expires: - '-1' pragma: @@ -246,20 +246,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ced62231-2778-452c-8866-d5ec51ebe18c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\"\n }" + string: "{\n \"name\": \"3122d6ce-7827-2c45-8866-d5ec51ebe18c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:34:40 GMT + - Tue, 17 Aug 2021 10:00:18 GMT expires: - '-1' pragma: @@ -294,20 +294,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ced62231-2778-452c-8866-d5ec51ebe18c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\"\n }" + string: "{\n \"name\": \"3122d6ce-7827-2c45-8866-d5ec51ebe18c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.85Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:11 GMT + - Tue, 17 Aug 2021 10:00:48 GMT expires: - '-1' pragma: @@ -342,21 +342,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48a38eee-6169-4dee-b0f0-8a597a302859?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ced62231-2778-452c-8866-d5ec51ebe18c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ee8ea348-6961-ee4d-b0f0-8a597a302859\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:33:10.3033333Z\",\n \"endTime\": - \"2021-08-20T06:35:36.9104363Z\"\n }" + string: "{\n \"name\": \"3122d6ce-7827-2c45-8866-d5ec51ebe18c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:58:47.85Z\",\n \"endTime\": + \"2021-08-17T10:01:07.9774093Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:41 GMT + - Tue, 17 Aug 2021 10:01:18 GMT expires: - '-1' pragma: @@ -398,9 +398,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesthr646bbhh-79a739\",\n \"fqdn\": - \"cliakstest-clitesthr646bbhh-79a739-b9084892.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesthr646bbhh-79a739-b9084892.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestdbf2glfe2-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestdbf2glfe2-8ecadf-8556a86b.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestdbf2glfe2-8ecadf-8556a86b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -409,16 +409,16 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"CBLMariner\",\n \"nodeImageVersion\": - \"AKSCBLMariner-V1-2021.07.31\",\n \"enableFIPS\": false\n }\n ],\n + \"AKSCBLMariner-V1-2021.07.25\",\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/6c3bffb6-a1a6-4ce4-b9ef-671e5a5f15df\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9bdd580f-b418-42c1-a37e-3e0279771572\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -437,7 +437,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:35:41 GMT + - Tue, 17 Aug 2021 10:01:19 GMT expires: - '-1' pragma: @@ -471,26 +471,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aad05852-e9c8-4aaf-841e-e4a42351ceb0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fc8f4385-38b3-46d6-afa0-6dcea370d68e?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 06:35:43 GMT + - Tue, 17 Aug 2021 10:01:20 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/aad05852-e9c8-4aaf-841e-e4a42351ceb0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/fc8f4385-38b3-46d6-afa0-6dcea370d68e?api-version=2016-03-30 pragma: - no-cache server: @@ -500,7 +500,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_pod_identity_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_pod_identity_enabled.yaml index cd1863c4c15..ecb64e0490a 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_pod_identity_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_pod_identity_enabled.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T10:02:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:16:47 GMT + - Tue, 17 Aug 2021 10:02:20 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest6lbausf4q-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestgw7aniuhm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", @@ -84,9 +84,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -115,7 +115,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1bb411e6-428c-48d8-ab14-175a226b36d5?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -123,7 +123,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:16:50 GMT + - Tue, 17 Aug 2021 10:02:28 GMT expires: - '-1' pragma: @@ -157,20 +157,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1bb411e6-428c-48d8-ab14-175a226b36d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" + string: "{\n \"name\": \"e611b41b-8c42-d848-ab14-175a226b36d5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:21 GMT + - Tue, 17 Aug 2021 10:02:57 GMT expires: - '-1' pragma: @@ -206,20 +206,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1bb411e6-428c-48d8-ab14-175a226b36d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" + string: "{\n \"name\": \"e611b41b-8c42-d848-ab14-175a226b36d5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:51 GMT + - Tue, 17 Aug 2021 10:03:28 GMT expires: - '-1' pragma: @@ -255,20 +255,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1bb411e6-428c-48d8-ab14-175a226b36d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" + string: "{\n \"name\": \"e611b41b-8c42-d848-ab14-175a226b36d5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:20 GMT + - Tue, 17 Aug 2021 10:03:58 GMT expires: - '-1' pragma: @@ -304,20 +304,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1bb411e6-428c-48d8-ab14-175a226b36d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" + string: "{\n \"name\": \"e611b41b-8c42-d848-ab14-175a226b36d5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:51 GMT + - Tue, 17 Aug 2021 10:04:28 GMT expires: - '-1' pragma: @@ -353,20 +353,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1bb411e6-428c-48d8-ab14-175a226b36d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" + string: "{\n \"name\": \"e611b41b-8c42-d848-ab14-175a226b36d5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:21 GMT + - Tue, 17 Aug 2021 10:04:58 GMT expires: - '-1' pragma: @@ -402,20 +402,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1bb411e6-428c-48d8-ab14-175a226b36d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\"\n }" + string: "{\n \"name\": \"e611b41b-8c42-d848-ab14-175a226b36d5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.0566666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:51 GMT + - Tue, 17 Aug 2021 10:05:29 GMT expires: - '-1' pragma: @@ -451,21 +451,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4fd7baac-5087-4deb-9b24-a8e66564ebe8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1bb411e6-428c-48d8-ab14-175a226b36d5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"acbad74f-8750-eb4d-9b24-a8e66564ebe8\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:51.5Z\",\n \"endTime\": - \"2021-08-20T07:19:58.1694923Z\"\n }" + string: "{\n \"name\": \"e611b41b-8c42-d848-ab14-175a226b36d5\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:02:28.0566666Z\",\n \"endTime\": + \"2021-08-17T10:05:34.0234994Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:21 GMT + - Tue, 17 Aug 2021 10:05:58 GMT expires: - '-1' pragma: @@ -508,9 +508,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -519,17 +519,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -549,7 +549,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:22 GMT + - Tue, 17 Aug 2021 10:05:59 GMT expires: - '-1' pragma: @@ -591,9 +591,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -602,17 +602,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -632,7 +632,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:22 GMT + - Tue, 17 Aug 2021 10:06:00 GMT expires: - '-1' pragma: @@ -653,20 +653,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestgw7aniuhm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -697,9 +697,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -708,17 +708,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -731,7 +731,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0d6655d5-588c-4623-9943-89383100a905?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9fbfd442-0161-49da-b4d7-4e527642aef2?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -739,7 +739,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:24 GMT + - Tue, 17 Aug 2021 10:06:03 GMT expires: - '-1' pragma: @@ -755,7 +755,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -776,11 +776,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0d6655d5-588c-4623-9943-89383100a905?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9fbfd442-0161-49da-b4d7-4e527642aef2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d555660d-8c58-2346-9943-89383100a905\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:24.8233333Z\"\n }" + string: "{\n \"name\": \"42d4bf9f-6101-da49-b4d7-4e527642aef2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:06:02.7766666Z\"\n }" headers: cache-control: - no-cache @@ -789,7 +789,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:55 GMT + - Tue, 17 Aug 2021 10:06:33 GMT expires: - '-1' pragma: @@ -824,21 +824,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0d6655d5-588c-4623-9943-89383100a905?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9fbfd442-0161-49da-b4d7-4e527642aef2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d555660d-8c58-2346-9943-89383100a905\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:24.8233333Z\",\n \"endTime\": - \"2021-08-20T07:21:20.9990716Z\"\n }" + string: "{\n \"name\": \"42d4bf9f-6101-da49-b4d7-4e527642aef2\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:06:02.7766666Z\",\n \"endTime\": + \"2021-08-17T10:06:55.308647Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '169' content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:24 GMT + - Tue, 17 Aug 2021 10:07:03 GMT expires: - '-1' pragma: @@ -880,9 +880,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -891,17 +891,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -920,7 +920,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:24 GMT + - Tue, 17 Aug 2021 10:07:03 GMT expires: - '-1' pragma: @@ -962,9 +962,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -973,17 +973,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1002,7 +1002,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:25 GMT + - Tue, 17 Aug 2021 10:07:04 GMT expires: - '-1' pragma: @@ -1023,13 +1023,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestgw7aniuhm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": []}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", @@ -1037,7 +1037,7 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -1068,9 +1068,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1079,17 +1079,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1103,7 +1103,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/99665d50-4e9e-4b6a-974f-e76285307015?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/edb2e4f2-cd43-455d-9cf0-6d14e83bca72?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1111,7 +1111,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:28 GMT + - Tue, 17 Aug 2021 10:07:08 GMT expires: - '-1' pragma: @@ -1127,7 +1127,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -1148,20 +1148,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/99665d50-4e9e-4b6a-974f-e76285307015?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/edb2e4f2-cd43-455d-9cf0-6d14e83bca72?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"505d6699-9e4e-6a4b-974f-e76285307015\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:21:27.86Z\"\n }" + string: "{\n \"name\": \"f2e4b2ed-43cd-5d45-9cf0-6d14e83bca72\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:08.2033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:57 GMT + - Tue, 17 Aug 2021 10:07:39 GMT expires: - '-1' pragma: @@ -1196,21 +1196,117 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/99665d50-4e9e-4b6a-974f-e76285307015?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/edb2e4f2-cd43-455d-9cf0-6d14e83bca72?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"505d6699-9e4e-6a4b-974f-e76285307015\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:21:27.86Z\",\n \"endTime\": - \"2021-08-20T07:22:25.0736823Z\"\n }" + string: "{\n \"name\": \"f2e4b2ed-43cd-5d45-9cf0-6d14e83bca72\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:08.2033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:27 GMT + - Tue, 17 Aug 2021 10:08:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-pod-identity --enable-pod-identity-with-kubenet + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/edb2e4f2-cd43-455d-9cf0-6d14e83bca72?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"f2e4b2ed-43cd-5d45-9cf0-6d14e83bca72\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:08.2033333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:08:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-pod-identity --enable-pod-identity-with-kubenet + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/edb2e4f2-cd43-455d-9cf0-6d14e83bca72?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"f2e4b2ed-43cd-5d45-9cf0-6d14e83bca72\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:07:08.2033333Z\",\n \"endTime\": + \"2021-08-17T10:08:44.3148391Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:09:09 GMT expires: - '-1' pragma: @@ -1252,9 +1348,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1263,17 +1359,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1293,7 +1389,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:28 GMT + - Tue, 17 Aug 2021 10:09:09 GMT expires: - '-1' pragma: @@ -1335,9 +1431,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1346,17 +1442,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1376,7 +1472,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:28 GMT + - Tue, 17 Aug 2021 10:09:10 GMT expires: - '-1' pragma: @@ -1397,13 +1493,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestgw7aniuhm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": [{"name": "test-name", "namespace": "test-namespace", @@ -1412,7 +1508,7 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -1442,9 +1538,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1453,17 +1549,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1479,7 +1575,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb7ecc6d-6451-4608-9999-93b856fe71d5?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2ca3168f-d889-4558-b2b3-d9608dfa975a?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1487,7 +1583,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:30 GMT + - Tue, 17 Aug 2021 10:09:13 GMT expires: - '-1' pragma: @@ -1503,7 +1599,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 200 message: OK @@ -1524,11 +1620,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb7ecc6d-6451-4608-9999-93b856fe71d5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2ca3168f-d889-4558-b2b3-d9608dfa975a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6dcc7efb-5164-0846-9999-93b856fe71d5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:31.2566666Z\"\n }" + string: "{\n \"name\": \"8f16a32c-89d8-5845-b2b3-d9608dfa975a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:13.2733333Z\"\n }" headers: cache-control: - no-cache @@ -1537,7 +1633,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:00 GMT + - Tue, 17 Aug 2021 10:09:42 GMT expires: - '-1' pragma: @@ -1572,11 +1668,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb7ecc6d-6451-4608-9999-93b856fe71d5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2ca3168f-d889-4558-b2b3-d9608dfa975a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6dcc7efb-5164-0846-9999-93b856fe71d5\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:31.2566666Z\"\n }" + string: "{\n \"name\": \"8f16a32c-89d8-5845-b2b3-d9608dfa975a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:13.2733333Z\"\n }" headers: cache-control: - no-cache @@ -1585,7 +1681,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:31 GMT + - Tue, 17 Aug 2021 10:10:13 GMT expires: - '-1' pragma: @@ -1620,12 +1716,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb7ecc6d-6451-4608-9999-93b856fe71d5?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2ca3168f-d889-4558-b2b3-d9608dfa975a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6dcc7efb-5164-0846-9999-93b856fe71d5\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:22:31.2566666Z\",\n \"endTime\": - \"2021-08-20T07:23:35.3347899Z\"\n }" + string: "{\n \"name\": \"8f16a32c-89d8-5845-b2b3-d9608dfa975a\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:09:13.2733333Z\",\n \"endTime\": + \"2021-08-17T10:10:14.8551637Z\"\n }" headers: cache-control: - no-cache @@ -1634,7 +1730,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:00 GMT + - Tue, 17 Aug 2021 10:10:43 GMT expires: - '-1' pragma: @@ -1676,9 +1772,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1687,17 +1783,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1719,7 +1815,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:01 GMT + - Tue, 17 Aug 2021 10:10:44 GMT expires: - '-1' pragma: @@ -1761,9 +1857,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1772,17 +1868,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1804,7 +1900,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:02 GMT + - Tue, 17 Aug 2021 10:10:45 GMT expires: - '-1' pragma: @@ -1825,13 +1921,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestgw7aniuhm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": [{"name": "test-name", "namespace": "test-namespace", @@ -1840,7 +1936,7 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -1870,9 +1966,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1881,17 +1977,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1908,7 +2004,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1a6856dc-24f2-4932-a021-b3048c5ffd8a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cc1928e-52bc-4d49-ada3-62f66172ef50?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1916,7 +2012,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:03 GMT + - Tue, 17 Aug 2021 10:10:48 GMT expires: - '-1' pragma: @@ -1932,7 +2028,55 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks pod-identity exception update + Connection: + - keep-alive + ParameterSetName: + - --cluster-name --resource-group --namespace --name --pod-labels + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cc1928e-52bc-4d49-ada3-62f66172ef50?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8e92c17c-bc52-494d-ada3-62f66172ef50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:10:47.8633333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:11:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -1953,11 +2097,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1a6856dc-24f2-4932-a021-b3048c5ffd8a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cc1928e-52bc-4d49-ada3-62f66172ef50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dc56681a-f224-3249-a021-b3048c5ffd8a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:24:04.1533333Z\"\n }" + string: "{\n \"name\": \"8e92c17c-bc52-494d-ada3-62f66172ef50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:10:47.8633333Z\"\n }" headers: cache-control: - no-cache @@ -1966,7 +2110,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:34 GMT + - Tue, 17 Aug 2021 10:11:48 GMT expires: - '-1' pragma: @@ -2001,12 +2145,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1a6856dc-24f2-4932-a021-b3048c5ffd8a?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7cc1928e-52bc-4d49-ada3-62f66172ef50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dc56681a-f224-3249-a021-b3048c5ffd8a\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:24:04.1533333Z\",\n \"endTime\": - \"2021-08-20T07:24:56.7486693Z\"\n }" + string: "{\n \"name\": \"8e92c17c-bc52-494d-ada3-62f66172ef50\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:10:47.8633333Z\",\n \"endTime\": + \"2021-08-17T10:11:50.5913768Z\"\n }" headers: cache-control: - no-cache @@ -2015,7 +2159,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:03 GMT + - Tue, 17 Aug 2021 10:12:18 GMT expires: - '-1' pragma: @@ -2057,9 +2201,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -2068,17 +2212,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -2101,7 +2245,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:04 GMT + - Tue, 17 Aug 2021 10:12:18 GMT expires: - '-1' pragma: @@ -2143,9 +2287,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -2154,17 +2298,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -2187,7 +2331,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:05 GMT + - Tue, 17 Aug 2021 10:12:20 GMT expires: - '-1' pragma: @@ -2208,13 +2352,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitest6lbausf4q-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestgw7aniuhm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "podIdentityProfile": {"enabled": true, "allowNetworkPluginKubenet": true, "userAssignedIdentities": [], "userAssignedIdentityExceptions": []}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", @@ -2222,7 +2366,7 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -2252,9 +2396,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -2263,17 +2407,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -2287,7 +2431,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a72a3132-42d1-4cb5-a87a-906daaf06f95?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e9e3de2-3592-4371-b03b-bd9d94b22d27?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -2295,7 +2439,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:06 GMT + - Tue, 17 Aug 2021 10:12:23 GMT expires: - '-1' pragma: @@ -2311,7 +2455,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 200 message: OK @@ -2332,11 +2476,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a72a3132-42d1-4cb5-a87a-906daaf06f95?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e9e3de2-3592-4371-b03b-bd9d94b22d27?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32312aa7-d142-b54c-a87a-906daaf06f95\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:25:06.8466666Z\"\n }" + string: "{\n \"name\": \"e23d9e9e-9235-7143-b03b-bd9d94b22d27\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:12:22.6533333Z\"\n }" headers: cache-control: - no-cache @@ -2345,7 +2489,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:36 GMT + - Tue, 17 Aug 2021 10:12:52 GMT expires: - '-1' pragma: @@ -2380,12 +2524,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a72a3132-42d1-4cb5-a87a-906daaf06f95?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e9e3de2-3592-4371-b03b-bd9d94b22d27?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32312aa7-d142-b54c-a87a-906daaf06f95\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:25:06.8466666Z\",\n \"endTime\": - \"2021-08-20T07:26:00.0474502Z\"\n }" + string: "{\n \"name\": \"e23d9e9e-9235-7143-b03b-bd9d94b22d27\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:12:22.6533333Z\",\n \"endTime\": + \"2021-08-17T10:13:22.9502907Z\"\n }" headers: cache-control: - no-cache @@ -2394,7 +2538,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:26:06 GMT + - Tue, 17 Aug 2021 10:13:23 GMT expires: - '-1' pragma: @@ -2436,9 +2580,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest6lbausf4q-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest6lbausf4q-8ecadf-39024953.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgw7aniuhm-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestgw7aniuhm-8ecadf-2c273ea9.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -2447,17 +2591,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9f41da7c-a846-459b-94df-882436d60ed3\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5d00701f-b979-415c-a15d-963ef9381dfe\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -2477,7 +2621,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:26:06 GMT + - Tue, 17 Aug 2021 10:13:23 GMT expires: - '-1' pragma: @@ -2511,26 +2655,26 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/855471b4-5110-4dc4-b86c-68590f99cbe0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6f73bcc1-5fdd-43de-9cb4-a4a15272f4cb?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 07:26:08 GMT + - Tue, 17 Aug 2021 10:13:24 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/855471b4-5110-4dc4-b86c-68590f99cbe0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/6f73bcc1-5fdd-43de-9cb4-a4a15272f4cb?api-version=2016-03-30 pragma: - no-cache server: @@ -2540,7 +2684,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows.yaml index 92cda40eb75..c59a3e80bac 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows.yaml @@ -15,12 +15,12 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:02:27Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:58:17Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:02:28 GMT + - Tue, 17 Aug 2021 07:58:19 GMT expires: - '-1' pragma: @@ -51,7 +51,7 @@ interactions: "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "replace-Password1234$"}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -75,7 +75,7 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -85,8 +85,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-79ad900f.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-79ad900f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -114,7 +114,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b888a07e-cb8b-44a9-ad64-7277fc5d8c9b?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -122,7 +122,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:35 GMT + - Tue, 17 Aug 2021 07:58:26 GMT expires: - '-1' pragma: @@ -134,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -154,14 +154,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b888a07e-cb8b-44a9-ad64-7277fc5d8c9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" + string: "{\n \"name\": \"7ea088b8-8bcb-a944-ad64-7277fc5d8c9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:26.66Z\"\n }" headers: cache-control: - no-cache @@ -170,7 +170,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:05 GMT + - Tue, 17 Aug 2021 07:58:57 GMT expires: - '-1' pragma: @@ -204,14 +204,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b888a07e-cb8b-44a9-ad64-7277fc5d8c9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" + string: "{\n \"name\": \"7ea088b8-8bcb-a944-ad64-7277fc5d8c9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:26.66Z\"\n }" headers: cache-control: - no-cache @@ -220,7 +220,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:36 GMT + - Tue, 17 Aug 2021 07:59:27 GMT expires: - '-1' pragma: @@ -254,14 +254,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b888a07e-cb8b-44a9-ad64-7277fc5d8c9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" + string: "{\n \"name\": \"7ea088b8-8bcb-a944-ad64-7277fc5d8c9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:26.66Z\"\n }" headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:06 GMT + - Tue, 17 Aug 2021 07:59:56 GMT expires: - '-1' pragma: @@ -304,14 +304,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b888a07e-cb8b-44a9-ad64-7277fc5d8c9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" + string: "{\n \"name\": \"7ea088b8-8bcb-a944-ad64-7277fc5d8c9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:26.66Z\"\n }" headers: cache-control: - no-cache @@ -320,7 +320,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:36 GMT + - Tue, 17 Aug 2021 08:00:27 GMT expires: - '-1' pragma: @@ -354,14 +354,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b888a07e-cb8b-44a9-ad64-7277fc5d8c9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" + string: "{\n \"name\": \"7ea088b8-8bcb-a944-ad64-7277fc5d8c9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:26.66Z\"\n }" headers: cache-control: - no-cache @@ -370,7 +370,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:06 GMT + - Tue, 17 Aug 2021 08:00:57 GMT expires: - '-1' pragma: @@ -404,14 +404,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b888a07e-cb8b-44a9-ad64-7277fc5d8c9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\"\n }" + string: "{\n \"name\": \"7ea088b8-8bcb-a944-ad64-7277fc5d8c9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:26.66Z\"\n }" headers: cache-control: - no-cache @@ -420,7 +420,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:36 GMT + - Tue, 17 Aug 2021 08:01:27 GMT expires: - '-1' pragma: @@ -454,15 +454,15 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e348c80-6379-4bd7-a681-05bf1c4096f7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b888a07e-cb8b-44a9-ad64-7277fc5d8c9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"808c341e-7963-d74b-a681-05bf1c4096f7\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:02:35.44Z\",\n \"endTime\": - \"2021-08-19T10:05:43.8411475Z\"\n }" + string: "{\n \"name\": \"7ea088b8-8bcb-a944-ad64-7277fc5d8c9b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:58:26.66Z\",\n \"endTime\": + \"2021-08-17T08:01:49.0014977Z\"\n }" headers: cache-control: - no-cache @@ -471,7 +471,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:06 GMT + - Tue, 17 Aug 2021 08:01:57 GMT expires: - '-1' pragma: @@ -505,7 +505,7 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -515,8 +515,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-79ad900f.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-79ad900f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -525,10 +525,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -536,7 +536,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/de25c079-a52f-4d95-aef6-5e7049c3cddd\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -554,7 +554,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:06 GMT + - Tue, 17 Aug 2021 08:01:57 GMT expires: - '-1' pragma: @@ -586,7 +586,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 @@ -601,7 +601,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: @@ -611,7 +611,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:08 GMT + - Tue, 17 Aug 2021 08:01:59 GMT expires: - '-1' pragma: @@ -651,7 +651,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -670,7 +670,7 @@ interactions: false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -678,7 +678,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:10 GMT + - Tue, 17 Aug 2021 08:02:01 GMT expires: - '-1' pragma: @@ -690,7 +690,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 201 message: Created @@ -708,23 +708,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:40 GMT + - Tue, 17 Aug 2021 08:02:31 GMT expires: - '-1' pragma: @@ -756,23 +756,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:09 GMT + - Tue, 17 Aug 2021 08:03:01 GMT expires: - '-1' pragma: @@ -804,23 +804,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:39 GMT + - Tue, 17 Aug 2021 08:03:31 GMT expires: - '-1' pragma: @@ -852,23 +852,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:10 GMT + - Tue, 17 Aug 2021 08:04:01 GMT expires: - '-1' pragma: @@ -900,23 +900,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:40 GMT + - Tue, 17 Aug 2021 08:04:32 GMT expires: - '-1' pragma: @@ -948,23 +948,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:10 GMT + - Tue, 17 Aug 2021 08:05:01 GMT expires: - '-1' pragma: @@ -996,23 +996,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:40 GMT + - Tue, 17 Aug 2021 08:05:31 GMT expires: - '-1' pragma: @@ -1044,23 +1044,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:10:10 GMT + - Tue, 17 Aug 2021 08:06:02 GMT expires: - '-1' pragma: @@ -1092,23 +1092,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:10:40 GMT + - Tue, 17 Aug 2021 08:06:31 GMT expires: - '-1' pragma: @@ -1140,23 +1140,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:11:11 GMT + - Tue, 17 Aug 2021 08:07:02 GMT expires: - '-1' pragma: @@ -1188,23 +1188,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:11:41 GMT + - Tue, 17 Aug 2021 08:07:32 GMT expires: - '-1' pragma: @@ -1236,23 +1236,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:11 GMT + - Tue, 17 Aug 2021 08:08:02 GMT expires: - '-1' pragma: @@ -1284,24 +1284,120 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/086ce714-60ac-4bee-8d8b-4dbc21e1339e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"14e76c08-ac60-ee4b-8d8b-4dbc21e1339e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:06:10.32Z\",\n \"endTime\": - \"2021-08-19T10:12:14.8013611Z\"\n }" + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:08:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:09:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5be83627-4683-4d02-b661-1cedf46bc833?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"2736e85b-8346-024d-b661-1cedf46bc833\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:02:01.7266666Z\",\n \"endTime\": + \"2021-08-17T08:09:25.1903007Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:41 GMT + - Tue, 17 Aug 2021 08:09:33 GMT expires: - '-1' pragma: @@ -1333,7 +1429,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -1358,7 +1454,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:42 GMT + - Tue, 17 Aug 2021 08:09:33 GMT expires: - '-1' pragma: @@ -1390,7 +1486,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -1400,8 +1496,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-79ad900f.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-79ad900f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1410,7 +1506,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -1421,7 +1517,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1429,7 +1525,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/de25c079-a52f-4d95-aef6-5e7049c3cddd\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1447,7 +1543,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:43 GMT + - Tue, 17 Aug 2021 08:09:34 GMT expires: - '-1' pragma: @@ -1479,7 +1575,7 @@ interactions: "mode": "User", "orchestratorVersion": "1.20.7", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "licenseType": "Windows_Server", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", @@ -1487,7 +1583,7 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/de25c079-a52f-4d95-aef6-5e7049c3cddd"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -1508,7 +1604,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -1518,8 +1614,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-79ad900f.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-79ad900f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1528,7 +1624,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -1539,7 +1635,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1547,7 +1643,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/de25c079-a52f-4d95-aef6-5e7049c3cddd\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1559,7 +1655,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1567,7 +1663,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:48 GMT + - Tue, 17 Aug 2021 08:09:36 GMT expires: - '-1' pragma: @@ -1583,55 +1679,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-ahub - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 10:13:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff + - '1189' status: code: 200 message: OK @@ -1649,14 +1697,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -1665,7 +1713,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:13:49 GMT + - Tue, 17 Aug 2021 08:10:07 GMT expires: - '-1' pragma: @@ -1697,14 +1745,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -1713,7 +1761,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:14:19 GMT + - Tue, 17 Aug 2021 08:10:37 GMT expires: - '-1' pragma: @@ -1745,14 +1793,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -1761,7 +1809,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:14:50 GMT + - Tue, 17 Aug 2021 08:11:07 GMT expires: - '-1' pragma: @@ -1793,14 +1841,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -1809,7 +1857,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:19 GMT + - Tue, 17 Aug 2021 08:11:37 GMT expires: - '-1' pragma: @@ -1841,14 +1889,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -1857,7 +1905,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:49 GMT + - Tue, 17 Aug 2021 08:12:07 GMT expires: - '-1' pragma: @@ -1889,14 +1937,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -1905,7 +1953,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:16:20 GMT + - Tue, 17 Aug 2021 08:12:37 GMT expires: - '-1' pragma: @@ -1937,14 +1985,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -1953,7 +2001,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:16:50 GMT + - Tue, 17 Aug 2021 08:13:07 GMT expires: - '-1' pragma: @@ -1985,14 +2033,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2001,7 +2049,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:17:20 GMT + - Tue, 17 Aug 2021 08:13:37 GMT expires: - '-1' pragma: @@ -2033,14 +2081,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2049,7 +2097,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:17:50 GMT + - Tue, 17 Aug 2021 08:14:08 GMT expires: - '-1' pragma: @@ -2081,14 +2129,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2097,7 +2145,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:21 GMT + - Tue, 17 Aug 2021 08:14:38 GMT expires: - '-1' pragma: @@ -2129,14 +2177,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2145,7 +2193,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:51 GMT + - Tue, 17 Aug 2021 08:15:08 GMT expires: - '-1' pragma: @@ -2177,14 +2225,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2193,7 +2241,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:19:21 GMT + - Tue, 17 Aug 2021 08:15:38 GMT expires: - '-1' pragma: @@ -2225,14 +2273,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2241,7 +2289,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:19:51 GMT + - Tue, 17 Aug 2021 08:16:08 GMT expires: - '-1' pragma: @@ -2273,14 +2321,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2289,7 +2337,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:20:21 GMT + - Tue, 17 Aug 2021 08:16:39 GMT expires: - '-1' pragma: @@ -2321,14 +2369,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2337,7 +2385,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:20:51 GMT + - Tue, 17 Aug 2021 08:17:09 GMT expires: - '-1' pragma: @@ -2369,14 +2417,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2385,7 +2433,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:21:21 GMT + - Tue, 17 Aug 2021 08:17:39 GMT expires: - '-1' pragma: @@ -2417,14 +2465,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2433,7 +2481,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:21:52 GMT + - Tue, 17 Aug 2021 08:18:08 GMT expires: - '-1' pragma: @@ -2465,14 +2513,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2481,7 +2529,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:22:22 GMT + - Tue, 17 Aug 2021 08:18:39 GMT expires: - '-1' pragma: @@ -2513,14 +2561,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2529,7 +2577,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:22:52 GMT + - Tue, 17 Aug 2021 08:19:08 GMT expires: - '-1' pragma: @@ -2561,14 +2609,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2577,7 +2625,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:23:22 GMT + - Tue, 17 Aug 2021 08:19:39 GMT expires: - '-1' pragma: @@ -2609,14 +2657,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2625,7 +2673,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:23:52 GMT + - Tue, 17 Aug 2021 08:20:09 GMT expires: - '-1' pragma: @@ -2657,14 +2705,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2673,7 +2721,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:24:22 GMT + - Tue, 17 Aug 2021 08:20:39 GMT expires: - '-1' pragma: @@ -2705,14 +2753,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2721,7 +2769,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:24:52 GMT + - Tue, 17 Aug 2021 08:21:10 GMT expires: - '-1' pragma: @@ -2753,14 +2801,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2769,7 +2817,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:25:23 GMT + - Tue, 17 Aug 2021 08:21:40 GMT expires: - '-1' pragma: @@ -2801,14 +2849,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2817,7 +2865,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:25:53 GMT + - Tue, 17 Aug 2021 08:22:09 GMT expires: - '-1' pragma: @@ -2849,14 +2897,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2865,7 +2913,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:26:23 GMT + - Tue, 17 Aug 2021 08:22:40 GMT expires: - '-1' pragma: @@ -2897,14 +2945,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2913,7 +2961,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:26:54 GMT + - Tue, 17 Aug 2021 08:23:10 GMT expires: - '-1' pragma: @@ -2945,14 +2993,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -2961,7 +3009,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:27:24 GMT + - Tue, 17 Aug 2021 08:23:40 GMT expires: - '-1' pragma: @@ -2993,14 +3041,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -3009,7 +3057,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:27:53 GMT + - Tue, 17 Aug 2021 08:24:11 GMT expires: - '-1' pragma: @@ -3041,14 +3089,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\"\n }" headers: cache-control: - no-cache @@ -3057,7 +3105,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:28:24 GMT + - Tue, 17 Aug 2021 08:24:40 GMT expires: - '-1' pragma: @@ -3089,15 +3137,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dc894e23-398a-42d9-ba32-15c1570ff917?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/87d07f4c-aa9c-4bc2-8730-8afd9f025bac?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"234e89dc-8a39-d942-ba32-15c1570ff917\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:12:46.6333333Z\",\n \"endTime\": - \"2021-08-19T10:28:32.4277253Z\"\n }" + string: "{\n \"name\": \"4c7fd087-9caa-c24b-8730-8afd9f025bac\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:09:36.8433333Z\",\n \"endTime\": + \"2021-08-17T08:24:58.1936068Z\"\n }" headers: cache-control: - no-cache @@ -3106,7 +3154,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:28:54 GMT + - Tue, 17 Aug 2021 08:25:10 GMT expires: - '-1' pragma: @@ -3138,7 +3186,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-ahub User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -3148,8 +3196,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-c4f6fe4c.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-c4f6fe4c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-79ad900f.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-79ad900f.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -3158,7 +3206,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -3169,7 +3217,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"licenseType\": \"Windows_Server\",\n \ \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -3177,7 +3225,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/e8e3892b-0ff6-46eb-86b6-580f5dd61d25\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/de25c079-a52f-4d95-aef6-5e7049c3cddd\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -3195,7 +3243,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:28:54 GMT + - Tue, 17 Aug 2021 08:25:11 GMT expires: - '-1' pragma: @@ -3227,7 +3275,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 @@ -3242,7 +3290,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n \ \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n @@ -3263,7 +3311,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:28:55 GMT + - Tue, 17 Aug 2021 08:25:12 GMT expires: - '-1' pragma: @@ -3297,7 +3345,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -3306,17 +3354,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f6e09745-954a-4734-a18c-7610096d9b68?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ba566b5e-8d5d-4dcd-adc2-96694261ed8c?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:28:56 GMT + - Tue, 17 Aug 2021 08:25:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f6e09745-954a-4734-a18c-7610096d9b68?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/ba566b5e-8d5d-4dcd-adc2-96694261ed8c?api-version=2016-03-30 pragma: - no-cache server: @@ -3346,26 +3394,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/23399c69-85cc-4ce1-a22f-57806559e608?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f2d35fd5-9453-413b-9606-dc810aa11681?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:28:57 GMT + - Tue, 17 Aug 2021 08:25:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/23399c69-85cc-4ce1-a22f-57806559e608?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f2d35fd5-9453-413b-9606-dc810aa11681?api-version=2016-03-30 pragma: - no-cache server: @@ -3375,7 +3423,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14994' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addon_openservicemesh.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addon_openservicemesh.yaml index 8a48f991d52..7180f1b9fb3 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addon_openservicemesh.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addon_openservicemesh.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:58:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:16:48 GMT + - Tue, 17 Aug 2021 09:58:39 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest3xwgo72tc-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestajeyribva-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"openServiceMesh": {"enabled": true, "config": {}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", @@ -82,9 +82,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestajeyribva-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -93,10 +93,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {}\n @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:16:51 GMT + - Tue, 17 Aug 2021 09:58:47 GMT expires: - '-1' pragma: @@ -154,11 +154,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" + string: "{\n \"name\": \"5504699e-62a1-c946-baa2-ca3043442d44\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.78Z\"\n }" headers: cache-control: - no-cache @@ -167,7 +167,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:21 GMT + - Tue, 17 Aug 2021 09:59:17 GMT expires: - '-1' pragma: @@ -202,11 +202,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" + string: "{\n \"name\": \"5504699e-62a1-c946-baa2-ca3043442d44\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.78Z\"\n }" headers: cache-control: - no-cache @@ -215,7 +215,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:51 GMT + - Tue, 17 Aug 2021 09:59:48 GMT expires: - '-1' pragma: @@ -250,11 +250,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" + string: "{\n \"name\": \"5504699e-62a1-c946-baa2-ca3043442d44\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.78Z\"\n }" headers: cache-control: - no-cache @@ -263,7 +263,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:22 GMT + - Tue, 17 Aug 2021 10:00:17 GMT expires: - '-1' pragma: @@ -298,11 +298,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" + string: "{\n \"name\": \"5504699e-62a1-c946-baa2-ca3043442d44\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.78Z\"\n }" headers: cache-control: - no-cache @@ -311,7 +311,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:51 GMT + - Tue, 17 Aug 2021 10:00:47 GMT expires: - '-1' pragma: @@ -346,11 +346,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\"\n }" + string: "{\n \"name\": \"5504699e-62a1-c946-baa2-ca3043442d44\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.78Z\"\n }" headers: cache-control: - no-cache @@ -359,7 +359,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:21 GMT + - Tue, 17 Aug 2021 10:01:18 GMT expires: - '-1' pragma: @@ -394,12 +394,108 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9bdabded-2815-4da6-b85f-a8fee4379ab3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edbdda9b-1528-a64d-b85f-a8fee4379ab3\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:51.89Z\",\n \"endTime\": - \"2021-08-20T07:19:52.0364812Z\"\n }" + string: "{\n \"name\": \"5504699e-62a1-c946-baa2-ca3043442d44\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.78Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:01:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"5504699e-62a1-c946-baa2-ca3043442d44\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:47.78Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:02:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-managed-identity -a --ssh-key-value -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e690455-a162-46c9-baa2-ca3043442d44?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"5504699e-62a1-c946-baa2-ca3043442d44\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:58:47.78Z\",\n \"endTime\": + \"2021-08-17T10:02:32.9153909Z\"\n }" headers: cache-control: - no-cache @@ -408,7 +504,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:51 GMT + - Tue, 17 Aug 2021 10:02:48 GMT expires: - '-1' pragma: @@ -450,9 +546,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestajeyribva-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -461,10 +557,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {},\n @@ -474,7 +570,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac507745-0451-42cc-ad4b-590254141a77\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -493,7 +589,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:52 GMT + - Tue, 17 Aug 2021 10:02:49 GMT expires: - '-1' pragma: @@ -535,9 +631,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestajeyribva-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -546,10 +642,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {},\n @@ -559,7 +655,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac507745-0451-42cc-ad4b-590254141a77\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -578,7 +674,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:53 GMT + - Tue, 17 Aug 2021 10:02:49 GMT expires: - '-1' pragma: @@ -599,20 +695,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitest3xwgo72tc-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestajeyribva-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"openServiceMesh": {"enabled": false}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac507745-0451-42cc-ad4b-590254141a77"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -642,9 +738,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestajeyribva-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -653,10 +749,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": false,\n \"config\": @@ -664,7 +760,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac507745-0451-42cc-ad4b-590254141a77\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -677,7 +773,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3548f256-7354-49ef-8042-a563f8ae7e73?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3da1d1cf-cf4c-4e41-b505-fcecafbb2226?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -685,7 +781,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:55 GMT + - Tue, 17 Aug 2021 10:02:52 GMT expires: - '-1' pragma: @@ -701,7 +797,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -722,11 +818,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3548f256-7354-49ef-8042-a563f8ae7e73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3da1d1cf-cf4c-4e41-b505-fcecafbb2226?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"56f24835-5473-ef49-8042-a563f8ae7e73\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:19:55.3333333Z\"\n }" + string: "{\n \"name\": \"cfd1a13d-4ccf-414e-b505-fcecafbb2226\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:52.3066666Z\"\n }" headers: cache-control: - no-cache @@ -735,7 +831,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:25 GMT + - Tue, 17 Aug 2021 10:03:22 GMT expires: - '-1' pragma: @@ -770,12 +866,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3548f256-7354-49ef-8042-a563f8ae7e73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3da1d1cf-cf4c-4e41-b505-fcecafbb2226?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"56f24835-5473-ef49-8042-a563f8ae7e73\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:19:55.3333333Z\",\n \"endTime\": - \"2021-08-20T07:20:55.0672528Z\"\n }" + string: "{\n \"name\": \"cfd1a13d-4ccf-414e-b505-fcecafbb2226\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:02:52.3066666Z\",\n \"endTime\": + \"2021-08-17T10:03:52.0162223Z\"\n }" headers: cache-control: - no-cache @@ -784,7 +880,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:56 GMT + - Tue, 17 Aug 2021 10:03:52 GMT expires: - '-1' pragma: @@ -826,9 +922,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3xwgo72tc-8ecadf\",\n \"fqdn\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3xwgo72tc-8ecadf-1f184a93.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestajeyribva-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestajeyribva-8ecadf-49879a2b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -837,10 +933,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": false,\n \"config\": @@ -848,7 +944,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0ef6de23-dcc0-4419-a728-3c4999d8095b\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ac507745-0451-42cc-ad4b-590254141a77\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -867,7 +963,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:56 GMT + - Tue, 17 Aug 2021 10:03:52 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml index d6585e93604..c132b554c93 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:47:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:52:09Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:47:50 GMT + - Tue, 17 Aug 2021 07:52:10 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesto6k6szklu-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestu7if7au5w-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": "false"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -72,7 +72,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -82,9 +82,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestu7if7au5w-79a739\",\n \"fqdn\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -93,10 +93,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48e43a34-c5f8-4869-b37a-59fe0aae192b?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:48:01 GMT + - Tue, 17 Aug 2021 07:52:16 GMT expires: - '-1' pragma: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -151,14 +151,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48e43a34-c5f8-4869-b37a-59fe0aae192b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" + string: "{\n \"name\": \"343ae448-f8c5-6948-b37a-59fe0aae192b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:16.7866666Z\"\n }" headers: cache-control: - no-cache @@ -167,7 +167,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:48:31 GMT + - Tue, 17 Aug 2021 07:52:47 GMT expires: - '-1' pragma: @@ -199,14 +199,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48e43a34-c5f8-4869-b37a-59fe0aae192b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" + string: "{\n \"name\": \"343ae448-f8c5-6948-b37a-59fe0aae192b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:16.7866666Z\"\n }" headers: cache-control: - no-cache @@ -215,7 +215,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:49:01 GMT + - Tue, 17 Aug 2021 07:53:16 GMT expires: - '-1' pragma: @@ -247,14 +247,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48e43a34-c5f8-4869-b37a-59fe0aae192b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" + string: "{\n \"name\": \"343ae448-f8c5-6948-b37a-59fe0aae192b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:16.7866666Z\"\n }" headers: cache-control: - no-cache @@ -263,7 +263,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:49:31 GMT + - Tue, 17 Aug 2021 07:53:47 GMT expires: - '-1' pragma: @@ -295,14 +295,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48e43a34-c5f8-4869-b37a-59fe0aae192b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" + string: "{\n \"name\": \"343ae448-f8c5-6948-b37a-59fe0aae192b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:16.7866666Z\"\n }" headers: cache-control: - no-cache @@ -311,7 +311,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:50:01 GMT + - Tue, 17 Aug 2021 07:54:16 GMT expires: - '-1' pragma: @@ -343,111 +343,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/48e43a34-c5f8-4869-b37a-59fe0aae192b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:50:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity -a --ssh-key-value -o - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:51:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity -a --ssh-key-value -o - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d30d1391-2d8a-4be9-9254-92b529f43827?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"91130dd3-8a2d-e94b-9254-92b529f43827\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:48:01.1533333Z\",\n \"endTime\": - \"2021-08-19T09:51:15.1487729Z\"\n }" + string: "{\n \"name\": \"343ae448-f8c5-6948-b37a-59fe0aae192b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:52:16.7866666Z\",\n \"endTime\": + \"2021-08-17T07:54:38.4032685Z\"\n }" headers: cache-control: - no-cache @@ -456,7 +360,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:32 GMT + - Tue, 17 Aug 2021 07:54:47 GMT expires: - '-1' pragma: @@ -488,7 +392,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity -a --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -498,9 +402,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestu7if7au5w-79a739\",\n \"fqdn\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -509,10 +413,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -523,7 +427,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/803dad1c-bb56-42a5-8506-7c9497399c23\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -542,7 +446,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:32 GMT + - Tue, 17 Aug 2021 07:54:48 GMT expires: - '-1' pragma: @@ -574,7 +478,7 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -584,9 +488,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestu7if7au5w-79a739\",\n \"fqdn\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -595,10 +499,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -609,7 +513,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/803dad1c-bb56-42a5-8506-7c9497399c23\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -628,7 +532,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:33 GMT + - Tue, 17 Aug 2021 07:54:49 GMT expires: - '-1' pragma: @@ -649,20 +553,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitesto6k6szklu-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestu7if7au5w-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": false}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/803dad1c-bb56-42a5-8506-7c9497399c23"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -682,7 +586,7 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -692,9 +596,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestu7if7au5w-79a739\",\n \"fqdn\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -703,10 +607,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": false,\n \"config\": @@ -714,7 +618,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/803dad1c-bb56-42a5-8506-7c9497399c23\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -727,7 +631,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/112bbd97-8f88-4c9f-bc4b-2ea63de959fe?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d7e867-579c-41d2-bbf0-63403817819c?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -735,7 +639,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:37 GMT + - Tue, 17 Aug 2021 07:54:51 GMT expires: - '-1' pragma: @@ -751,7 +655,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: OK @@ -769,14 +673,14 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/112bbd97-8f88-4c9f-bc4b-2ea63de959fe?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d7e867-579c-41d2-bbf0-63403817819c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"97bd2b11-888f-9f4c-bc4b-2ea63de959fe\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:51:36.6833333Z\"\n }" + string: "{\n \"name\": \"67e8d785-9c57-d241-bbf0-63403817819c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:54:51.0333333Z\"\n }" headers: cache-control: - no-cache @@ -785,7 +689,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:08 GMT + - Tue, 17 Aug 2021 07:55:21 GMT expires: - '-1' pragma: @@ -817,24 +721,24 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/112bbd97-8f88-4c9f-bc4b-2ea63de959fe?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85d7e867-579c-41d2-bbf0-63403817819c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"97bd2b11-888f-9f4c-bc4b-2ea63de959fe\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:51:36.6833333Z\",\n \"endTime\": - \"2021-08-19T09:52:36.1351968Z\"\n }" + string: "{\n \"name\": \"67e8d785-9c57-d241-bbf0-63403817819c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:54:51.0333333Z\",\n \"endTime\": + \"2021-08-17T07:55:46.299693Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '169' content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:38 GMT + - Tue, 17 Aug 2021 07:55:51 GMT expires: - '-1' pragma: @@ -866,7 +770,7 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -876,9 +780,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesto6k6szklu-79a739\",\n \"fqdn\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesto6k6szklu-79a739-a98366e8.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestu7if7au5w-79a739\",\n \"fqdn\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestu7if7au5w-79a739-6bb1a4cf.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -887,10 +791,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": false,\n \"config\": @@ -898,7 +802,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b972ebfb-67a5-4152-846c-01ffe6326ffd\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/803dad1c-bb56-42a5-8506-7c9497399c23\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -917,7 +821,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:52:38 GMT + - Tue, 17 Aug 2021 07:55:52 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_azurekeyvaultsecretsprovider.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_azurekeyvaultsecretsprovider.yaml index 2050f43d036..8f854a65988 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_azurekeyvaultsecretsprovider.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_azurekeyvaultsecretsprovider.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T10:03:54Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:16:47 GMT + - Tue, 17 Aug 2021 10:03:55 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestmyinjkqwq-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestsqprfjmst-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4db4b39-17bc-4363-bcbf-087c53c04bab?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:16:52 GMT + - Tue, 17 Aug 2021 10:04:02 GMT expires: - '-1' pragma: @@ -151,68 +151,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4db4b39-17bc-4363-bcbf-087c53c04bab?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" + string: "{\n \"name\": \"394bdbb4-bc17-6343-bcbf-087c53c04bab\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:02.3433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' - content-type: - - application/json - date: - - Fri, 20 Aug 2021 07:17:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:53 GMT + - Tue, 17 Aug 2021 10:04:32 GMT expires: - '-1' pragma: @@ -247,20 +199,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4db4b39-17bc-4363-bcbf-087c53c04bab?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" + string: "{\n \"name\": \"394bdbb4-bc17-6343-bcbf-087c53c04bab\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:02.3433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:22 GMT + - Tue, 17 Aug 2021 10:05:02 GMT expires: - '-1' pragma: @@ -295,20 +247,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4db4b39-17bc-4363-bcbf-087c53c04bab?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" + string: "{\n \"name\": \"394bdbb4-bc17-6343-bcbf-087c53c04bab\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:02.3433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:53 GMT + - Tue, 17 Aug 2021 10:05:33 GMT expires: - '-1' pragma: @@ -343,20 +295,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4db4b39-17bc-4363-bcbf-087c53c04bab?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" + string: "{\n \"name\": \"394bdbb4-bc17-6343-bcbf-087c53c04bab\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:02.3433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:23 GMT + - Tue, 17 Aug 2021 10:06:02 GMT expires: - '-1' pragma: @@ -391,20 +343,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4db4b39-17bc-4363-bcbf-087c53c04bab?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" + string: "{\n \"name\": \"394bdbb4-bc17-6343-bcbf-087c53c04bab\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:02.3433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:53 GMT + - Tue, 17 Aug 2021 10:06:32 GMT expires: - '-1' pragma: @@ -439,20 +391,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4db4b39-17bc-4363-bcbf-087c53c04bab?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\"\n }" + string: "{\n \"name\": \"394bdbb4-bc17-6343-bcbf-087c53c04bab\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:04:02.3433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:23 GMT + - Tue, 17 Aug 2021 10:07:02 GMT expires: - '-1' pragma: @@ -487,21 +439,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29dc2712-89b6-4c0e-9871-5f282ecfe4b0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b4db4b39-17bc-4363-bcbf-087c53c04bab?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1227dc29-b689-0e4c-9871-5f282ecfe4b0\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:53.33Z\",\n \"endTime\": - \"2021-08-20T07:20:35.4284675Z\"\n }" + string: "{\n \"name\": \"394bdbb4-bc17-6343-bcbf-087c53c04bab\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:04:02.3433333Z\",\n \"endTime\": + \"2021-08-17T10:07:18.08558Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '168' content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:53 GMT + - Tue, 17 Aug 2021 10:07:33 GMT expires: - '-1' pragma: @@ -543,9 +495,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -554,17 +506,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -583,7 +535,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:53 GMT + - Tue, 17 Aug 2021 10:07:33 GMT expires: - '-1' pragma: @@ -625,9 +577,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -636,17 +588,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -665,7 +617,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:54 GMT + - Tue, 17 Aug 2021 10:07:34 GMT expires: - '-1' pragma: @@ -686,13 +638,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestmyinjkqwq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestsqprfjmst-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "false"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": @@ -700,7 +652,7 @@ interactions: "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -730,9 +682,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -741,10 +693,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -753,7 +705,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -766,7 +718,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e79274c5-8222-4b14-8292-e7a9b7b7033e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dae82381-f717-4c76-9bfd-300a482ad35d?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -774,7 +726,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:55 GMT + - Tue, 17 Aug 2021 10:07:37 GMT expires: - '-1' pragma: @@ -790,7 +742,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -811,11 +763,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e79274c5-8222-4b14-8292-e7a9b7b7033e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dae82381-f717-4c76-9bfd-300a482ad35d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c57492e7-2282-144b-8292-e7a9b7b7033e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:56.6366666Z\"\n }" + string: "{\n \"name\": \"8123e8da-17f7-764c-9bfd-300a482ad35d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:37.0666666Z\"\n }" headers: cache-control: - no-cache @@ -824,7 +776,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:26 GMT + - Tue, 17 Aug 2021 10:08:07 GMT expires: - '-1' pragma: @@ -859,11 +811,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e79274c5-8222-4b14-8292-e7a9b7b7033e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dae82381-f717-4c76-9bfd-300a482ad35d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c57492e7-2282-144b-8292-e7a9b7b7033e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:56.6366666Z\"\n }" + string: "{\n \"name\": \"8123e8da-17f7-764c-9bfd-300a482ad35d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:37.0666666Z\"\n }" headers: cache-control: - no-cache @@ -872,7 +824,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:56 GMT + - Tue, 17 Aug 2021 10:08:37 GMT expires: - '-1' pragma: @@ -907,12 +859,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e79274c5-8222-4b14-8292-e7a9b7b7033e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dae82381-f717-4c76-9bfd-300a482ad35d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c57492e7-2282-144b-8292-e7a9b7b7033e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:56.6366666Z\",\n \"endTime\": - \"2021-08-20T07:22:05.9480648Z\"\n }" + string: "{\n \"name\": \"8123e8da-17f7-764c-9bfd-300a482ad35d\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:07:37.0666666Z\",\n \"endTime\": + \"2021-08-17T10:08:42.7210776Z\"\n }" headers: cache-control: - no-cache @@ -921,7 +873,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:26 GMT + - Tue, 17 Aug 2021 10:09:07 GMT expires: - '-1' pragma: @@ -963,9 +915,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -974,10 +926,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -988,7 +940,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1007,7 +959,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:26 GMT + - Tue, 17 Aug 2021 10:09:07 GMT expires: - '-1' pragma: @@ -1049,9 +1001,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1060,10 +1012,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -1074,7 +1026,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1093,7 +1045,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:28 GMT + - Tue, 17 Aug 2021 10:09:08 GMT expires: - '-1' pragma: @@ -1114,20 +1066,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestmyinjkqwq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestsqprfjmst-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": false}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -1157,9 +1109,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1168,10 +1120,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": false,\n \"config\": @@ -1179,7 +1131,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1192,7 +1144,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/79cc67b7-61d4-4a6c-a258-809f08e76d2b?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1200,7 +1152,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:29 GMT + - Tue, 17 Aug 2021 10:09:10 GMT expires: - '-1' pragma: @@ -1216,55 +1168,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks disable-addons - Connection: - - keep-alive - ParameterSetName: - - --addons --resource-group --name -o - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"bb8d6525-9ee4-da4c-a96a-9ecc7866cab0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:29.7366666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 20 Aug 2021 07:22:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff + - '1196' status: code: 200 message: OK @@ -1285,11 +1189,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/79cc67b7-61d4-4a6c-a258-809f08e76d2b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb8d6525-9ee4-da4c-a96a-9ecc7866cab0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:29.7366666Z\"\n }" + string: "{\n \"name\": \"b767cc79-d461-6c4a-a258-809f08e76d2b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:10.9333333Z\"\n }" headers: cache-control: - no-cache @@ -1298,7 +1202,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:30 GMT + - Tue, 17 Aug 2021 10:09:41 GMT expires: - '-1' pragma: @@ -1333,11 +1237,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/79cc67b7-61d4-4a6c-a258-809f08e76d2b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb8d6525-9ee4-da4c-a96a-9ecc7866cab0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:22:29.7366666Z\"\n }" + string: "{\n \"name\": \"b767cc79-d461-6c4a-a258-809f08e76d2b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:09:10.9333333Z\"\n }" headers: cache-control: - no-cache @@ -1346,7 +1250,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:23:59 GMT + - Tue, 17 Aug 2021 10:10:11 GMT expires: - '-1' pragma: @@ -1381,12 +1285,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/25658dbb-e49e-4cda-a96a-9ecc7866cab0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/79cc67b7-61d4-4a6c-a258-809f08e76d2b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bb8d6525-9ee4-da4c-a96a-9ecc7866cab0\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:22:29.7366666Z\",\n \"endTime\": - \"2021-08-20T07:24:00.2481077Z\"\n }" + string: "{\n \"name\": \"b767cc79-d461-6c4a-a258-809f08e76d2b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:09:10.9333333Z\",\n \"endTime\": + \"2021-08-17T10:10:37.5601536Z\"\n }" headers: cache-control: - no-cache @@ -1395,7 +1299,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:29 GMT + - Tue, 17 Aug 2021 10:10:41 GMT expires: - '-1' pragma: @@ -1437,9 +1341,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1448,10 +1352,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": false,\n \"config\": @@ -1459,7 +1363,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1478,7 +1382,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:29 GMT + - Tue, 17 Aug 2021 10:10:41 GMT expires: - '-1' pragma: @@ -1520,9 +1424,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1531,10 +1435,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": false,\n \"config\": @@ -1542,7 +1446,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1561,7 +1465,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:30 GMT + - Tue, 17 Aug 2021 10:10:42 GMT expires: - '-1' pragma: @@ -1582,13 +1486,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestmyinjkqwq-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestsqprfjmst-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "true"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": @@ -1596,7 +1500,7 @@ interactions: "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -1626,9 +1530,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1637,10 +1541,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -1649,7 +1553,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1662,7 +1566,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ce48d991-ace7-4934-96f8-1e6daf07321f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9ed30c2-704c-47c9-b098-373f4b99124b?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1670,7 +1574,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:24:32 GMT + - Tue, 17 Aug 2021 10:10:45 GMT expires: - '-1' pragma: @@ -1686,7 +1590,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 200 message: OK @@ -1707,20 +1611,20 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ce48d991-ace7-4934-96f8-1e6daf07321f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9ed30c2-704c-47c9-b098-373f4b99124b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91d948ce-e7ac-3449-96f8-1e6daf07321f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:24:33.25Z\"\n }" + string: "{\n \"name\": \"c230ede9-4c70-c947-b098-373f4b99124b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:10:45.5266666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:03 GMT + - Tue, 17 Aug 2021 10:11:15 GMT expires: - '-1' pragma: @@ -1755,21 +1659,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ce48d991-ace7-4934-96f8-1e6daf07321f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9ed30c2-704c-47c9-b098-373f4b99124b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"91d948ce-e7ac-3449-96f8-1e6daf07321f\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:24:33.25Z\",\n \"endTime\": - \"2021-08-20T07:25:33.0197214Z\"\n }" + string: "{\n \"name\": \"c230ede9-4c70-c947-b098-373f4b99124b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:10:45.5266666Z\",\n \"endTime\": + \"2021-08-17T10:11:37.3360658Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:32 GMT + - Tue, 17 Aug 2021 10:11:45 GMT expires: - '-1' pragma: @@ -1811,9 +1715,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestmyinjkqwq-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestmyinjkqwq-8ecadf-e9ff214d.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestsqprfjmst-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestsqprfjmst-8ecadf-bf5a1860.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1822,10 +1726,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -1836,7 +1740,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/73ae5c82-b279-4a1f-a73c-d2a815515441\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ba307648-d9dc-49c0-aca7-cd279f3e682a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1855,7 +1759,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:25:33 GMT + - Tue, 17 Aug 2021 10:11:45 GMT expires: - '-1' pragma: @@ -1889,26 +1793,26 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5e2ed59-7432-4522-b89e-7ccf5375b274?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/084f0c77-52f1-45d2-82d7-882ec9d0d27a?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 07:25:34 GMT + - Tue, 17 Aug 2021 10:11:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/d5e2ed59-7432-4522-b89e-7ccf5375b274?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/084f0c77-52f1-45d2-82d7-882ec9d0d27a?api-version=2016-03-30 pragma: - no-cache server: @@ -1918,7 +1822,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_openservicemesh.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_openservicemesh.yaml index ecd59c081f7..4a6146d9c53 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_openservicemesh.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addon_with_openservicemesh.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T10:02:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:16:47 GMT + - Tue, 17 Aug 2021 10:02:21 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestpwf2tif6s-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestcws4zmvh3-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestcws4zmvh3-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85ff42a7-d970-42fa-857c-56f7cb1a7728?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:16:53 GMT + - Tue, 17 Aug 2021 10:02:28 GMT expires: - '-1' pragma: @@ -151,11 +151,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85ff42a7-d970-42fa-857c-56f7cb1a7728?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" + string: "{\n \"name\": \"a742ff85-70d9-fa42-857c-56f7cb1a7728\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.6433333Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:23 GMT + - Tue, 17 Aug 2021 10:02:58 GMT expires: - '-1' pragma: @@ -199,11 +199,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85ff42a7-d970-42fa-857c-56f7cb1a7728?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" + string: "{\n \"name\": \"a742ff85-70d9-fa42-857c-56f7cb1a7728\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.6433333Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:53 GMT + - Tue, 17 Aug 2021 10:03:28 GMT expires: - '-1' pragma: @@ -247,11 +247,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85ff42a7-d970-42fa-857c-56f7cb1a7728?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" + string: "{\n \"name\": \"a742ff85-70d9-fa42-857c-56f7cb1a7728\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.6433333Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:23 GMT + - Tue, 17 Aug 2021 10:03:59 GMT expires: - '-1' pragma: @@ -295,11 +295,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85ff42a7-d970-42fa-857c-56f7cb1a7728?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" + string: "{\n \"name\": \"a742ff85-70d9-fa42-857c-56f7cb1a7728\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.6433333Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:53 GMT + - Tue, 17 Aug 2021 10:04:28 GMT expires: - '-1' pragma: @@ -343,11 +343,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85ff42a7-d970-42fa-857c-56f7cb1a7728?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" + string: "{\n \"name\": \"a742ff85-70d9-fa42-857c-56f7cb1a7728\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.6433333Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +356,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:23 GMT + - Tue, 17 Aug 2021 10:04:59 GMT expires: - '-1' pragma: @@ -391,11 +391,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85ff42a7-d970-42fa-857c-56f7cb1a7728?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\"\n }" + string: "{\n \"name\": \"a742ff85-70d9-fa42-857c-56f7cb1a7728\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:28.6433333Z\"\n }" headers: cache-control: - no-cache @@ -404,7 +404,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:54 GMT + - Tue, 17 Aug 2021 10:05:29 GMT expires: - '-1' pragma: @@ -439,12 +439,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c07fe54-d4f0-4f08-876e-c3e8a006ba7e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/85ff42a7-d970-42fa-857c-56f7cb1a7728?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"54fe072c-f0d4-084f-876e-c3e8a006ba7e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:53.7566666Z\",\n \"endTime\": - \"2021-08-20T07:19:56.1146324Z\"\n }" + string: "{\n \"name\": \"a742ff85-70d9-fa42-857c-56f7cb1a7728\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:02:28.6433333Z\",\n \"endTime\": + \"2021-08-17T10:05:33.7177333Z\"\n }" headers: cache-control: - no-cache @@ -453,7 +453,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:23 GMT + - Tue, 17 Aug 2021 10:05:59 GMT expires: - '-1' pragma: @@ -495,9 +495,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestcws4zmvh3-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -506,17 +506,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d92d676b-9b86-4621-baa4-c5a6b5243638\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -535,7 +535,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:24 GMT + - Tue, 17 Aug 2021 10:05:59 GMT expires: - '-1' pragma: @@ -577,9 +577,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestcws4zmvh3-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -588,17 +588,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d92d676b-9b86-4621-baa4-c5a6b5243638\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -617,7 +617,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:25 GMT + - Tue, 17 Aug 2021 10:06:00 GMT expires: - '-1' pragma: @@ -638,20 +638,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestpwf2tif6s-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestcws4zmvh3-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"openServiceMesh": {"enabled": true, "config": {}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d92d676b-9b86-4621-baa4-c5a6b5243638"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -681,9 +681,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestcws4zmvh3-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -692,10 +692,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {}\n @@ -703,7 +703,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d92d676b-9b86-4621-baa4-c5a6b5243638\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -716,7 +716,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ca27d47-665f-4104-a7ce-d6e2eecc8d29?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7ac057dc-0ad4-4d30-8a0b-f7fbd5c9cecd?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -724,7 +724,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:27 GMT + - Tue, 17 Aug 2021 10:06:03 GMT expires: - '-1' pragma: @@ -761,11 +761,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ca27d47-665f-4104-a7ce-d6e2eecc8d29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7ac057dc-0ad4-4d30-8a0b-f7fbd5c9cecd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"477da21c-5f66-0441-a7ce-d6e2eecc8d29\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:28.1033333Z\"\n }" + string: "{\n \"name\": \"dc57c07a-d40a-304d-8a0b-f7fbd5c9cecd\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:06:03.4266666Z\"\n }" headers: cache-control: - no-cache @@ -774,7 +774,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:57 GMT + - Tue, 17 Aug 2021 10:06:34 GMT expires: - '-1' pragma: @@ -809,12 +809,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ca27d47-665f-4104-a7ce-d6e2eecc8d29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7ac057dc-0ad4-4d30-8a0b-f7fbd5c9cecd?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"477da21c-5f66-0441-a7ce-d6e2eecc8d29\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:28.1033333Z\",\n \"endTime\": - \"2021-08-20T07:21:25.6327019Z\"\n }" + string: "{\n \"name\": \"dc57c07a-d40a-304d-8a0b-f7fbd5c9cecd\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:06:03.4266666Z\",\n \"endTime\": + \"2021-08-17T10:06:57.7878016Z\"\n }" headers: cache-control: - no-cache @@ -823,7 +823,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:28 GMT + - Tue, 17 Aug 2021 10:07:03 GMT expires: - '-1' pragma: @@ -865,9 +865,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestpwf2tif6s-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestpwf2tif6s-8ecadf-ec0a55bb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestcws4zmvh3-8ecadf\",\n \"fqdn\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestcws4zmvh3-8ecadf-b0db7ba2.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -876,10 +876,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"openServiceMesh\": {\n \"enabled\": true,\n \"config\": {},\n @@ -889,7 +889,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3f23ccaf-95ad-4ba3-9586-2d1188700638\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d92d676b-9b86-4621-baa4-c5a6b5243638\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -908,7 +908,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:28 GMT + - Tue, 17 Aug 2021 10:07:04 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml index c5a9f4f1121..929a4319ebd 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:55:06Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:59:07Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:55:06 GMT + - Tue, 17 Aug 2021 07:59:07 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestopm2v46ct-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestofafnut7p-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -71,7 +71,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestofafnut7p-79a739\",\n \"fqdn\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d2497b9-c3b6-49a2-a8ab-cc0f513e0875?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:15 GMT + - Tue, 17 Aug 2021 07:59:15 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 201 message: Created @@ -148,23 +148,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d2497b9-c3b6-49a2-a8ab-cc0f513e0875?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" + string: "{\n \"name\": \"b997241d-b6c3-a249-a8ab-cc0f513e0875\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:59:14.9466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:45 GMT + - Tue, 17 Aug 2021 07:59:44 GMT expires: - '-1' pragma: @@ -196,23 +196,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d2497b9-c3b6-49a2-a8ab-cc0f513e0875?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" + string: "{\n \"name\": \"b997241d-b6c3-a249-a8ab-cc0f513e0875\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:59:14.9466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:15 GMT + - Tue, 17 Aug 2021 08:00:15 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d2497b9-c3b6-49a2-a8ab-cc0f513e0875?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" + string: "{\n \"name\": \"b997241d-b6c3-a249-a8ab-cc0f513e0875\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:59:14.9466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:45 GMT + - Tue, 17 Aug 2021 08:00:45 GMT expires: - '-1' pragma: @@ -292,23 +292,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d2497b9-c3b6-49a2-a8ab-cc0f513e0875?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" + string: "{\n \"name\": \"b997241d-b6c3-a249-a8ab-cc0f513e0875\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:59:14.9466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:16 GMT + - Tue, 17 Aug 2021 08:01:15 GMT expires: - '-1' pragma: @@ -340,23 +340,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d2497b9-c3b6-49a2-a8ab-cc0f513e0875?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" + string: "{\n \"name\": \"b997241d-b6c3-a249-a8ab-cc0f513e0875\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:59:14.9466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:46 GMT + - Tue, 17 Aug 2021 08:01:45 GMT expires: - '-1' pragma: @@ -388,23 +388,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d2497b9-c3b6-49a2-a8ab-cc0f513e0875?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\"\n }" + string: "{\n \"name\": \"b997241d-b6c3-a249-a8ab-cc0f513e0875\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:59:14.9466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:15 GMT + - Tue, 17 Aug 2021 08:02:15 GMT expires: - '-1' pragma: @@ -436,24 +436,24 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2fbb6a4c-29eb-419f-a5a5-a2afe0de6193?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d2497b9-c3b6-49a2-a8ab-cc0f513e0875?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4c6abb2f-eb29-9f41-a5a5-a2afe0de6193\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:55:15.06Z\",\n \"endTime\": - \"2021-08-19T09:58:22.0264272Z\"\n }" + string: "{\n \"name\": \"b997241d-b6c3-a249-a8ab-cc0f513e0875\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:59:14.9466666Z\",\n \"endTime\": + \"2021-08-17T08:02:23.1292966Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:45 GMT + - Tue, 17 Aug 2021 08:02:45 GMT expires: - '-1' pragma: @@ -485,7 +485,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -495,9 +495,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestofafnut7p-79a739\",\n \"fqdn\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -506,17 +506,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a1b4211-b33a-4ef0-93dd-c7a5a083b1dd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -535,7 +535,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:46 GMT + - Tue, 17 Aug 2021 08:02:45 GMT expires: - '-1' pragma: @@ -567,7 +567,7 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -577,9 +577,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestofafnut7p-79a739\",\n \"fqdn\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -588,17 +588,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a1b4211-b33a-4ef0-93dd-c7a5a083b1dd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -617,7 +617,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:47 GMT + - Tue, 17 Aug 2021 08:02:46 GMT expires: - '-1' pragma: @@ -638,13 +638,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestopm2v46ct-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestofafnut7p-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"ACCSGXDevicePlugin": {"enabled": true, "config": {"ACCSGXQuoteHelperEnabled": "false"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": @@ -652,7 +652,7 @@ interactions: "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a1b4211-b33a-4ef0-93dd-c7a5a083b1dd"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -672,7 +672,7 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -682,9 +682,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestofafnut7p-79a739\",\n \"fqdn\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -693,10 +693,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -705,7 +705,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a1b4211-b33a-4ef0-93dd-c7a5a083b1dd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -718,7 +718,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5539a307-52a6-4fde-9617-137d1aad37c2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4fd100b-7949-4b13-b09d-5e428473862f?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -726,7 +726,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:52 GMT + - Tue, 17 Aug 2021 08:02:49 GMT expires: - '-1' pragma: @@ -760,23 +760,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5539a307-52a6-4fde-9617-137d1aad37c2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4fd100b-7949-4b13-b09d-5e428473862f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"07a33955-a652-de4f-9617-137d1aad37c2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.94Z\"\n }" + string: "{\n \"name\": \"0b10fdf4-4979-134b-b09d-5e428473862f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:50.0733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:21 GMT + - Tue, 17 Aug 2021 08:03:20 GMT expires: - '-1' pragma: @@ -808,23 +808,23 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5539a307-52a6-4fde-9617-137d1aad37c2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4fd100b-7949-4b13-b09d-5e428473862f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"07a33955-a652-de4f-9617-137d1aad37c2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:50.94Z\"\n }" + string: "{\n \"name\": \"0b10fdf4-4979-134b-b09d-5e428473862f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:50.0733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:52 GMT + - Tue, 17 Aug 2021 08:03:50 GMT expires: - '-1' pragma: @@ -856,24 +856,24 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5539a307-52a6-4fde-9617-137d1aad37c2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f4fd100b-7949-4b13-b09d-5e428473862f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"07a33955-a652-de4f-9617-137d1aad37c2\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:58:50.94Z\",\n \"endTime\": - \"2021-08-19T09:59:58.4424489Z\"\n }" + string: "{\n \"name\": \"0b10fdf4-4979-134b-b09d-5e428473862f\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:02:50.0733333Z\",\n \"endTime\": + \"2021-08-17T08:04:00.1298573Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:22 GMT + - Tue, 17 Aug 2021 08:04:20 GMT expires: - '-1' pragma: @@ -905,7 +905,7 @@ interactions: ParameterSetName: - --addons --resource-group --name -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -915,9 +915,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestopm2v46ct-79a739\",\n \"fqdn\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestopm2v46ct-79a739-aa0b562e.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestofafnut7p-79a739\",\n \"fqdn\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestofafnut7p-79a739-4bb49372.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -926,10 +926,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"ACCSGXDevicePlugin\": {\n \"enabled\": true,\n \"config\": @@ -940,7 +940,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/3a434a61-e23c-4570-adbd-d98d6589d127\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/5a1b4211-b33a-4ef0-93dd-c7a5a083b1dd\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -959,7 +959,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:22 GMT + - Tue, 17 Aug 2021 08:04:21 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml index 5f60f375b60..e87874d3388 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:00:24Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:44:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:00:25 GMT + - Tue, 17 Aug 2021 07:44:44 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestv4tqnqty3-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest633p5t2sz-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_D2s_v3", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "availabilityZones": ["1", "2", "3"], "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": true, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -71,7 +71,7 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestv4tqnqty3-79a739\",\n \"fqdn\": - \"cliakstest-clitestv4tqnqty3-79a739-283a399f.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestv4tqnqty3-79a739-283a399f.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest633p5t2sz-79a739\",\n \"fqdn\": + \"cliakstest-clitest633p5t2sz-79a739-75a525d8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest633p5t2sz-79a739-75a525d8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -93,10 +93,10 @@ interactions: \ \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \ \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": true,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -111,7 +111,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc1e7a43-a651-4999-a783-96683d067bc8?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -119,7 +119,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:32 GMT + - Tue, 17 Aug 2021 07:44:53 GMT expires: - '-1' pragma: @@ -131,7 +131,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -149,14 +149,14 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc1e7a43-a651-4999-a783-96683d067bc8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" + string: "{\n \"name\": \"437a1ebc-51a6-9949-a783-96683d067bc8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.8033333Z\"\n }" headers: cache-control: - no-cache @@ -165,7 +165,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:03 GMT + - Tue, 17 Aug 2021 07:45:24 GMT expires: - '-1' pragma: @@ -197,14 +197,14 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc1e7a43-a651-4999-a783-96683d067bc8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" + string: "{\n \"name\": \"437a1ebc-51a6-9949-a783-96683d067bc8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.8033333Z\"\n }" headers: cache-control: - no-cache @@ -213,7 +213,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:33 GMT + - Tue, 17 Aug 2021 07:45:54 GMT expires: - '-1' pragma: @@ -245,14 +245,14 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc1e7a43-a651-4999-a783-96683d067bc8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" + string: "{\n \"name\": \"437a1ebc-51a6-9949-a783-96683d067bc8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.8033333Z\"\n }" headers: cache-control: - no-cache @@ -261,7 +261,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:03 GMT + - Tue, 17 Aug 2021 07:46:24 GMT expires: - '-1' pragma: @@ -293,14 +293,14 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc1e7a43-a651-4999-a783-96683d067bc8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" + string: "{\n \"name\": \"437a1ebc-51a6-9949-a783-96683d067bc8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.8033333Z\"\n }" headers: cache-control: - no-cache @@ -309,7 +309,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:33 GMT + - Tue, 17 Aug 2021 07:46:54 GMT expires: - '-1' pragma: @@ -341,14 +341,14 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc1e7a43-a651-4999-a783-96683d067bc8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" + string: "{\n \"name\": \"437a1ebc-51a6-9949-a783-96683d067bc8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.8033333Z\"\n }" headers: cache-control: - no-cache @@ -357,7 +357,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:03 GMT + - Tue, 17 Aug 2021 07:47:24 GMT expires: - '-1' pragma: @@ -389,14 +389,14 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc1e7a43-a651-4999-a783-96683d067bc8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\"\n }" + string: "{\n \"name\": \"437a1ebc-51a6-9949-a783-96683d067bc8\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:44:53.8033333Z\"\n }" headers: cache-control: - no-cache @@ -405,7 +405,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:33 GMT + - Tue, 17 Aug 2021 07:47:54 GMT expires: - '-1' pragma: @@ -437,15 +437,15 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a49ae3d7-5e28-4c86-ad45-d4d16db85453?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bc1e7a43-a651-4999-a783-96683d067bc8?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d7e39aa4-285e-864c-ad45-d4d16db85453\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:00:33.1033333Z\",\n \"endTime\": - \"2021-08-19T10:03:40.2885079Z\"\n }" + string: "{\n \"name\": \"437a1ebc-51a6-9949-a783-96683d067bc8\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:44:53.8033333Z\",\n \"endTime\": + \"2021-08-17T07:48:13.3700803Z\"\n }" headers: cache-control: - no-cache @@ -454,7 +454,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:04 GMT + - Tue, 17 Aug 2021 07:48:24 GMT expires: - '-1' pragma: @@ -486,7 +486,7 @@ interactions: ParameterSetName: - --resource-group --name --node-vm-size --zones --enable-ultra-ssd --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -496,9 +496,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestv4tqnqty3-79a739\",\n \"fqdn\": - \"cliakstest-clitestv4tqnqty3-79a739-283a399f.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestv4tqnqty3-79a739-283a399f.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest633p5t2sz-79a739\",\n \"fqdn\": + \"cliakstest-clitest633p5t2sz-79a739-75a525d8.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest633p5t2sz-79a739-75a525d8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -508,17 +508,17 @@ interactions: \ \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \ \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": true,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/43ff8b74-c7af-41b4-9bc1-1ccd7f4772eb\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/48c21617-447f-455d-9290-ea3a3035c865\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -537,7 +537,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:04 GMT + - Tue, 17 Aug 2021 07:48:24 GMT expires: - '-1' pragma: @@ -571,26 +571,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a73b2284-03c8-49df-8a6e-366e1b265f95?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/69070f6e-f14d-4cb4-8a07-02087df5a3c9?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:04:06 GMT + - Tue, 17 Aug 2021 07:48:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/a73b2284-03c8-49df-8a6e-366e1b265f95?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/69070f6e-f14d-4cb4-8a07-02087df5a3c9?api-version=2016-03-30 pragma: - no-cache server: @@ -600,7 +600,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_maintenanceconfiguration.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_maintenanceconfiguration.yaml index 480b26e8732..7eef13b23c6 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_maintenanceconfiguration.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_maintenanceconfiguration.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:53:20Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:54:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:53:22 GMT + - Tue, 17 Aug 2021 07:54:39 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvhadjz5u6-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestjhzre3scn-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -71,7 +71,7 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvhadjz5u6-79a739\",\n \"fqdn\": - \"cliakstest-clitestvhadjz5u6-79a739-0f5316fb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvhadjz5u6-79a739-0f5316fb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestjhzre3scn-79a739\",\n \"fqdn\": + \"cliakstest-clitestjhzre3scn-79a739-b2874050.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestjhzre3scn-79a739-b2874050.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9981d42f-8c42-4bc9-bfba-722413434d13?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:30 GMT + - Tue, 17 Aug 2021 07:54:46 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -148,14 +148,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9981d42f-8c42-4bc9-bfba-722413434d13?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" + string: "{\n \"name\": \"2fd48199-428c-c94b-bfba-722413434d13\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:54:46.44Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:01 GMT + - Tue, 17 Aug 2021 07:55:16 GMT expires: - '-1' pragma: @@ -196,14 +196,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9981d42f-8c42-4bc9-bfba-722413434d13?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" + string: "{\n \"name\": \"2fd48199-428c-c94b-bfba-722413434d13\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:54:46.44Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:31 GMT + - Tue, 17 Aug 2021 07:55:47 GMT expires: - '-1' pragma: @@ -244,14 +244,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9981d42f-8c42-4bc9-bfba-722413434d13?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" + string: "{\n \"name\": \"2fd48199-428c-c94b-bfba-722413434d13\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:54:46.44Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:01 GMT + - Tue, 17 Aug 2021 07:56:17 GMT expires: - '-1' pragma: @@ -292,14 +292,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9981d42f-8c42-4bc9-bfba-722413434d13?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" + string: "{\n \"name\": \"2fd48199-428c-c94b-bfba-722413434d13\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:54:46.44Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:31 GMT + - Tue, 17 Aug 2021 07:56:46 GMT expires: - '-1' pragma: @@ -340,14 +340,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9981d42f-8c42-4bc9-bfba-722413434d13?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" + string: "{\n \"name\": \"2fd48199-428c-c94b-bfba-722413434d13\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:54:46.44Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +356,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:01 GMT + - Tue, 17 Aug 2021 07:57:16 GMT expires: - '-1' pragma: @@ -388,14 +388,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9981d42f-8c42-4bc9-bfba-722413434d13?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" + string: "{\n \"name\": \"2fd48199-428c-c94b-bfba-722413434d13\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:54:46.44Z\"\n }" headers: cache-control: - no-cache @@ -404,7 +404,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:31 GMT + - Tue, 17 Aug 2021 07:57:47 GMT expires: - '-1' pragma: @@ -436,23 +436,24 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9981d42f-8c42-4bc9-bfba-722413434d13?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\"\n }" + string: "{\n \"name\": \"2fd48199-428c-c94b-bfba-722413434d13\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:54:46.44Z\",\n \"endTime\": + \"2021-08-17T07:57:53.421171Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '164' content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:01 GMT + - Tue, 17 Aug 2021 07:58:17 GMT expires: - '-1' pragma: @@ -484,56 +485,7 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2a7f6e09-9286-46b1-9d43-606f63386c5c?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"096e7f2a-8692-b146-9d43-606f63386c5c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:53:30.66Z\",\n \"endTime\": - \"2021-08-19T09:57:14.7703428Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '165' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:57:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -543,9 +495,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestvhadjz5u6-79a739\",\n \"fqdn\": - \"cliakstest-clitestvhadjz5u6-79a739-0f5316fb.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestvhadjz5u6-79a739-0f5316fb.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestjhzre3scn-79a739\",\n \"fqdn\": + \"cliakstest-clitestjhzre3scn-79a739-b2874050.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestjhzre3scn-79a739-b2874050.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -554,17 +506,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/67beb5bf-d3b9-4705-9903-c21aee7f0758\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/51eeb24a-ec35-4956-8f64-2a6d5d63af1e\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -583,7 +535,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:32 GMT + - Tue, 17 Aug 2021 07:58:17 GMT expires: - '-1' pragma: @@ -615,7 +567,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --weekday --start-hour User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-07-01 @@ -630,7 +582,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:33 GMT + - Tue, 17 Aug 2021 07:58:18 GMT expires: - '-1' pragma: @@ -667,7 +619,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --weekday --start-hour User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-07-01 @@ -685,7 +637,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:33 GMT + - Tue, 17 Aug 2021 07:58:18 GMT expires: - '-1' pragma: @@ -701,7 +653,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1197' status: code: 200 message: OK @@ -719,7 +671,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --config-file User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-07-01 @@ -737,7 +689,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:34 GMT + - Tue, 17 Aug 2021 07:58:19 GMT expires: - '-1' pragma: @@ -776,7 +728,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --config-file User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-07-01 @@ -798,7 +750,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:34 GMT + - Tue, 17 Aug 2021 07:58:19 GMT expires: - '-1' pragma: @@ -814,7 +766,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -832,7 +784,7 @@ interactions: ParameterSetName: - -g --cluster-name -n User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-07-01 @@ -854,7 +806,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:34 GMT + - Tue, 17 Aug 2021 07:58:20 GMT expires: - '-1' pragma: @@ -888,7 +840,7 @@ interactions: ParameterSetName: - -g --cluster-name -n User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations/default?api-version=2021-07-01 @@ -901,7 +853,7 @@ interactions: content-length: - '0' date: - - Thu, 19 Aug 2021 09:57:35 GMT + - Tue, 17 Aug 2021 07:58:20 GMT expires: - '-1' pragma: @@ -913,7 +865,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK @@ -931,7 +883,7 @@ interactions: ParameterSetName: - -g --cluster-name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/maintenanceConfigurations?api-version=2021-07-01 @@ -946,7 +898,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:36 GMT + - Tue, 17 Aug 2021 07:58:20 GMT expires: - '-1' pragma: @@ -980,26 +932,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/255a4350-2d1e-493d-b457-94fa194a2612?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2b9bddbd-b7b7-4a0e-b0ff-6f5b68548574?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 09:57:37 GMT + - Tue, 17 Aug 2021 07:58:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/255a4350-2d1e-493d-b457-94fa194a2612?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/2b9bddbd-b7b7-4a0e-b0ff-6f5b68548574?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku.yaml index ade781954f3..220b2ae27cf 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_add_with_ossku.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T06:42:20Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:58:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 06:42:20 GMT + - Tue, 17 Aug 2021 09:58:40 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestgcsscdx5c-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesteoeezv6ll-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "c000003"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgcsscdx5c-79a739\",\n \"fqdn\": - \"cliakstest-clitestgcsscdx5c-79a739-97828b18.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestgcsscdx5c-79a739-97828b18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteoeezv6ll-8ecadf\",\n \"fqdn\": + \"cliakstest-clitesteoeezv6ll-8ecadf-ad740d65.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesteoeezv6ll-8ecadf-ad740d65.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa388263-e1a4-4daa-8aea-cbf4c67d4b41?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:42:25 GMT + - Tue, 17 Aug 2021 09:58:46 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -151,11 +151,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa388263-e1a4-4daa-8aea-cbf4c67d4b41?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\"\n }" + string: "{\n \"name\": \"638238fa-a4e1-aa4d-8aea-cbf4c67d4b41\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.69Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:42:55 GMT + - Tue, 17 Aug 2021 09:59:15 GMT expires: - '-1' pragma: @@ -199,11 +199,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa388263-e1a4-4daa-8aea-cbf4c67d4b41?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\"\n }" + string: "{\n \"name\": \"638238fa-a4e1-aa4d-8aea-cbf4c67d4b41\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.69Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:43:26 GMT + - Tue, 17 Aug 2021 09:59:46 GMT expires: - '-1' pragma: @@ -247,11 +247,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa388263-e1a4-4daa-8aea-cbf4c67d4b41?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\"\n }" + string: "{\n \"name\": \"638238fa-a4e1-aa4d-8aea-cbf4c67d4b41\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.69Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:43:56 GMT + - Tue, 17 Aug 2021 10:00:15 GMT expires: - '-1' pragma: @@ -295,11 +295,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa388263-e1a4-4daa-8aea-cbf4c67d4b41?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\"\n }" + string: "{\n \"name\": \"638238fa-a4e1-aa4d-8aea-cbf4c67d4b41\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.69Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:44:25 GMT + - Tue, 17 Aug 2021 10:00:46 GMT expires: - '-1' pragma: @@ -343,12 +343,108 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7366c24-25a9-418e-a7cf-66891c715347?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa388263-e1a4-4daa-8aea-cbf4c67d4b41?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"246c36d7-a925-8e41-a7cf-66891c715347\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:42:25.72Z\",\n \"endTime\": - \"2021-08-20T06:44:42.0108251Z\"\n }" + string: "{\n \"name\": \"638238fa-a4e1-aa4d-8aea-cbf4c67d4b41\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.69Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:01:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --nodepool-name -c --ssh-key-value + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa388263-e1a4-4daa-8aea-cbf4c67d4b41?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"638238fa-a4e1-aa4d-8aea-cbf4c67d4b41\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:58:45.69Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:01:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --nodepool-name -c --ssh-key-value + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fa388263-e1a4-4daa-8aea-cbf4c67d4b41?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"638238fa-a4e1-aa4d-8aea-cbf4c67d4b41\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:58:45.69Z\",\n \"endTime\": + \"2021-08-17T10:01:52.8686531Z\"\n }" headers: cache-control: - no-cache @@ -357,7 +453,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:44:56 GMT + - Tue, 17 Aug 2021 10:02:16 GMT expires: - '-1' pragma: @@ -399,9 +495,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestgcsscdx5c-79a739\",\n \"fqdn\": - \"cliakstest-clitestgcsscdx5c-79a739-97828b18.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestgcsscdx5c-79a739-97828b18.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesteoeezv6ll-8ecadf\",\n \"fqdn\": + \"cliakstest-clitesteoeezv6ll-8ecadf-ad740d65.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitesteoeezv6ll-8ecadf-ad740d65.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -410,17 +506,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQCh9Emf8FQTfhkV3pi9u6vvTbLjsnvLaH8Px8vGT2+0jQmh5W2/ZwZq/1P2wtA/n6P5i/uwrwiSAsy8YQY05agjXRsQEePj4I+MOkZsFudwNOF2YOUa3w1dUO8dm7VueCgI0ess7B/cUxAbYI0Xni3MfgW0faEY8t8go7O2fNl+mLGc480czmZcmbzTP8BtAOVNMw7YpgCsO3rdcD1tLx9h3eTvJB32yYRv8MYHP5whfHLgQM/iyLgTbOLRaEJpuAAjObdEFReyOb+e7ze7X56d0/jyPaWYQCjGIqWqq1Zw67QC8+/ntPJNLIITObfj+QQ1FBVhp2cvinicOUsKdeBn + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/701f4df7-2abc-4407-94ce-f3db406762d9\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/53b9bc77-32b7-4175-ad9e-381e7f4a84ea\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -439,7 +535,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:44:57 GMT + - Tue, 17 Aug 2021 10:02:16 GMT expires: - '-1' pragma: @@ -486,7 +582,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: @@ -496,7 +592,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:44:57 GMT + - Tue, 17 Aug 2021 10:02:17 GMT expires: - '-1' pragma: @@ -551,11 +647,11 @@ interactions: \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"CBLMariner\",\n \"nodeImageVersion\": \"AKSCBLMariner-V1-2021.07.31\",\n + \"CBLMariner\",\n \"nodeImageVersion\": \"AKSCBLMariner-V1-2021.07.25\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -563,7 +659,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:44:59 GMT + - Tue, 17 Aug 2021 10:02:19 GMT expires: - '-1' pragma: @@ -596,11 +692,59 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:02:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-sku + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\"\n }" headers: cache-control: - no-cache @@ -609,7 +753,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:45:30 GMT + - Tue, 17 Aug 2021 10:03:20 GMT expires: - '-1' pragma: @@ -644,11 +788,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\"\n }" headers: cache-control: - no-cache @@ -657,7 +801,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:46:00 GMT + - Tue, 17 Aug 2021 10:03:50 GMT expires: - '-1' pragma: @@ -692,11 +836,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\"\n }" headers: cache-control: - no-cache @@ -705,7 +849,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:46:30 GMT + - Tue, 17 Aug 2021 10:04:20 GMT expires: - '-1' pragma: @@ -740,11 +884,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\"\n }" headers: cache-control: - no-cache @@ -753,7 +897,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:47:00 GMT + - Tue, 17 Aug 2021 10:04:50 GMT expires: - '-1' pragma: @@ -788,11 +932,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\"\n }" + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\"\n }" headers: cache-control: - no-cache @@ -801,7 +945,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:47:30 GMT + - Tue, 17 Aug 2021 10:05:21 GMT expires: - '-1' pragma: @@ -836,12 +980,108 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3595ced-cb77-41b8-85ce-35ca5cf1ec45?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ed5c59c3-77cb-b841-85ce-35ca5cf1ec45\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T06:45:00.3433333Z\",\n \"endTime\": - \"2021-08-20T06:47:56.1178258Z\"\n }" + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:05:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-sku + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:06:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-sku + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/353ea7cc-383b-4295-8c6a-c05323719f53?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cca73e35-3b38-9542-8c6a-c05323719f53\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:02:20.3066666Z\",\n \"endTime\": + \"2021-08-17T10:06:23.6414997Z\"\n }" headers: cache-control: - no-cache @@ -850,7 +1090,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:48:01 GMT + - Tue, 17 Aug 2021 10:06:50 GMT expires: - '-1' pragma: @@ -897,7 +1137,7 @@ interactions: \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"CBLMariner\",\n \"nodeImageVersion\": \"AKSCBLMariner-V1-2021.07.31\",\n + \"CBLMariner\",\n \"nodeImageVersion\": \"AKSCBLMariner-V1-2021.07.25\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" headers: cache-control: @@ -907,7 +1147,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 06:48:01 GMT + - Tue, 17 Aug 2021 10:06:51 GMT expires: - '-1' pragma: @@ -941,26 +1181,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4008c2f8-6764-49b0-a8e5-e9e251f7cfef?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5b248a13-1903-4429-a0cd-41e282ec6485?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 06:48:03 GMT + - Tue, 17 Aug 2021 10:06:53 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/4008c2f8-6764-49b0-a8e5-e9e251f7cfef?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/5b248a13-1903-4429-a0cd-41e282ec6485?api-version=2016-03-30 pragma: - no-cache server: @@ -970,7 +1210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml index 55cb7d02a2e..df3e44f3c6c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:58:26Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:58:50Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:58:27 GMT + - Tue, 17 Aug 2021 07:58:51 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesthj3vgsymk-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestuxdliopll-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "c000003"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -71,7 +71,7 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesthj3vgsymk-79a739\",\n \"fqdn\": - \"cliakstest-clitesthj3vgsymk-79a739-9e9813a1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesthj3vgsymk-79a739-9e9813a1.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestuxdliopll-79a739\",\n \"fqdn\": + \"cliakstest-clitestuxdliopll-79a739-782a1c85.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestuxdliopll-79a739-782a1c85.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:35 GMT + - Tue, 17 Aug 2021 07:59:00 GMT expires: - '-1' pragma: @@ -148,23 +148,23 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '118' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:05 GMT + - Tue, 17 Aug 2021 07:59:30 GMT expires: - '-1' pragma: @@ -196,23 +196,23 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '118' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:35 GMT + - Tue, 17 Aug 2021 08:00:00 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '118' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:05 GMT + - Tue, 17 Aug 2021 08:00:30 GMT expires: - '-1' pragma: @@ -292,23 +292,23 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '118' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:35 GMT + - Tue, 17 Aug 2021 08:01:00 GMT expires: - '-1' pragma: @@ -340,23 +340,23 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '118' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:05 GMT + - Tue, 17 Aug 2021 08:01:30 GMT expires: - '-1' pragma: @@ -388,23 +388,23 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:58:35Z\"\n }" + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '118' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:36 GMT + - Tue, 17 Aug 2021 08:02:01 GMT expires: - '-1' pragma: @@ -436,24 +436,23 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/455b00fc-68bd-46fd-aaaa-771642edde25?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fc005b45-bd68-fd46-aaaa-771642edde25\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:58:35Z\",\n \"endTime\": - \"2021-08-19T10:01:47.0919594Z\"\n }" + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '162' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:06 GMT + - Tue, 17 Aug 2021 08:02:30 GMT expires: - '-1' pragma: @@ -485,7 +484,104 @@ interactions: ParameterSetName: - --resource-group --name --nodepool-name -c --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:03:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --nodepool-name -c --ssh-key-value + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d61120ed-f957-4b78-9ab2-adcc0c43de9b?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"ed2011d6-57f9-784b-9ab2-adcc0c43de9b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:58:59.4633333Z\",\n \"endTime\": + \"2021-08-17T08:03:10.8207166Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 08:03:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --nodepool-name -c --ssh-key-value + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -495,9 +591,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitesthj3vgsymk-79a739\",\n \"fqdn\": - \"cliakstest-clitesthj3vgsymk-79a739-9e9813a1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitesthj3vgsymk-79a739-9e9813a1.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestuxdliopll-79a739\",\n \"fqdn\": + \"cliakstest-clitestuxdliopll-79a739-782a1c85.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestuxdliopll-79a739-782a1c85.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -506,17 +602,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bb6cb30f-b012-4dde-9539-7c10741d720b\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fb412c02-435c-40c7-bd5b-3bd9c6f1687d\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -535,7 +631,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:06 GMT + - Tue, 17 Aug 2021 08:03:31 GMT expires: - '-1' pragma: @@ -567,7 +663,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --nodepool-name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeProfiles/default?api-version=2021-07-01 @@ -576,7 +672,7 @@ interactions: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeProfiles/default\",\n \ \"name\": \"default\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles\",\n \ \"properties\": {\n \"kubernetesVersion\": \"1.20.7\",\n \"osType\": - \"Linux\",\n \"latestNodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\"\n + \"Linux\",\n \"latestNodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\"\n \ }\n }" headers: cache-control: @@ -586,7 +682,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:07 GMT + - Tue, 17 Aug 2021 08:03:32 GMT expires: - '-1' pragma: @@ -620,26 +716,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/192acd34-4c20-4f3a-bcc6-e248dbf4d2e7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c192dadc-0eaa-4153-8ce0-b816244d4f71?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:02:10 GMT + - Tue, 17 Aug 2021 08:03:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/192acd34-4c20-4f3a-bcc6-e248dbf4d2e7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/c192dadc-0eaa-4153-8ce0-b816244d4f71?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_stop_and_start.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_stop_and_start.yaml index 84a4d7b61fc..7b47295adac 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_stop_and_start.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_stop_and_start.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:23:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:48:26Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:23:03 GMT + - Tue, 17 Aug 2021 07:48:26 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitests2pcovaqc-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestqhfjuaroo-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -71,7 +71,7 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitests2pcovaqc-79a739\",\n \"fqdn\": - \"cliakstest-clitests2pcovaqc-79a739-88ad1b03.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitests2pcovaqc-79a739-88ad1b03.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestqhfjuaroo-79a739\",\n \"fqdn\": + \"cliakstest-clitestqhfjuaroo-79a739-d1090aaa.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestqhfjuaroo-79a739-d1090aaa.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bbee8b23-fc40-41b7-b133-0680c7372ee5?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:23:12 GMT + - Tue, 17 Aug 2021 07:48:32 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -148,23 +148,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bbee8b23-fc40-41b7-b133-0680c7372ee5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" + string: "{\n \"name\": \"238beebb-40fc-b741-b133-0680c7372ee5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:32.28Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:23:42 GMT + - Tue, 17 Aug 2021 07:49:02 GMT expires: - '-1' pragma: @@ -196,23 +196,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bbee8b23-fc40-41b7-b133-0680c7372ee5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" + string: "{\n \"name\": \"238beebb-40fc-b741-b133-0680c7372ee5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:32.28Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:24:12 GMT + - Tue, 17 Aug 2021 07:49:33 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bbee8b23-fc40-41b7-b133-0680c7372ee5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" + string: "{\n \"name\": \"238beebb-40fc-b741-b133-0680c7372ee5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:32.28Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:24:42 GMT + - Tue, 17 Aug 2021 07:50:02 GMT expires: - '-1' pragma: @@ -292,23 +292,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bbee8b23-fc40-41b7-b133-0680c7372ee5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" + string: "{\n \"name\": \"238beebb-40fc-b741-b133-0680c7372ee5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:32.28Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:25:12 GMT + - Tue, 17 Aug 2021 07:50:33 GMT expires: - '-1' pragma: @@ -340,23 +340,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bbee8b23-fc40-41b7-b133-0680c7372ee5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" + string: "{\n \"name\": \"238beebb-40fc-b741-b133-0680c7372ee5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:32.28Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:25:42 GMT + - Tue, 17 Aug 2021 07:51:02 GMT expires: - '-1' pragma: @@ -388,23 +388,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bbee8b23-fc40-41b7-b133-0680c7372ee5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\"\n }" + string: "{\n \"name\": \"238beebb-40fc-b741-b133-0680c7372ee5\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:32.28Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:26:12 GMT + - Tue, 17 Aug 2021 07:51:33 GMT expires: - '-1' pragma: @@ -436,24 +436,24 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4aa35b61-4b61-4470-9d50-1c623989cfcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bbee8b23-fc40-41b7-b133-0680c7372ee5?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"615ba34a-614b-7044-9d50-1c623989cfcf\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:23:11.9366666Z\",\n \"endTime\": - \"2021-08-19T10:26:31.3598678Z\"\n }" + string: "{\n \"name\": \"238beebb-40fc-b741-b133-0680c7372ee5\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:48:32.28Z\",\n \"endTime\": + \"2021-08-17T07:51:42.6665262Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Thu, 19 Aug 2021 10:26:43 GMT + - Tue, 17 Aug 2021 07:52:03 GMT expires: - '-1' pragma: @@ -485,7 +485,7 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -495,9 +495,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitests2pcovaqc-79a739\",\n \"fqdn\": - \"cliakstest-clitests2pcovaqc-79a739-88ad1b03.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitests2pcovaqc-79a739-88ad1b03.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestqhfjuaroo-79a739\",\n \"fqdn\": + \"cliakstest-clitestqhfjuaroo-79a739-d1090aaa.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestqhfjuaroo-79a739-d1090aaa.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -506,17 +506,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/c9616912-f6ec-4128-aee4-9cebe3b30524\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d53466f3-c944-49fa-bb35-0aca7b888df8\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -535,7 +535,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:26:43 GMT + - Tue, 17 Aug 2021 07:52:03 GMT expires: - '-1' pragma: @@ -569,7 +569,7 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/stop?api-version=2021-07-01 @@ -578,17 +578,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:26:44 GMT + - Tue, 17 Aug 2021 07:52:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 pragma: - no-cache server: @@ -616,23 +616,119 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"41735873-e578-8e44-89c1-99b885d14a18\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:04.8633333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 07:52:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks stop + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"41735873-e578-8e44-89c1-99b885d14a18\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:04.8633333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 07:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks stop + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" + string: "{\n \"name\": \"41735873-e578-8e44-89c1-99b885d14a18\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:04.8633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:27:14 GMT + - Tue, 17 Aug 2021 07:53:34 GMT expires: - '-1' pragma: @@ -664,23 +760,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" + string: "{\n \"name\": \"41735873-e578-8e44-89c1-99b885d14a18\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:04.8633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:27:44 GMT + - Tue, 17 Aug 2021 07:54:04 GMT expires: - '-1' pragma: @@ -712,23 +808,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" + string: "{\n \"name\": \"41735873-e578-8e44-89c1-99b885d14a18\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:04.8633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:28:14 GMT + - Tue, 17 Aug 2021 07:54:35 GMT expires: - '-1' pragma: @@ -760,23 +856,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" + string: "{\n \"name\": \"41735873-e578-8e44-89c1-99b885d14a18\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:04.8633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:28:45 GMT + - Tue, 17 Aug 2021 07:55:05 GMT expires: - '-1' pragma: @@ -808,23 +904,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\"\n }" + string: "{\n \"name\": \"41735873-e578-8e44-89c1-99b885d14a18\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:52:04.8633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:29:15 GMT + - Tue, 17 Aug 2021 07:55:34 GMT expires: - '-1' pragma: @@ -856,24 +952,24 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a434edf1-3c64-ad46-916e-01ec18c9af73\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:26:44.8Z\",\n \"endTime\": - \"2021-08-19T10:29:45.2005553Z\"\n }" + string: "{\n \"name\": \"41735873-e578-8e44-89c1-99b885d14a18\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:52:04.8633333Z\",\n \"endTime\": + \"2021-08-17T07:56:03.0708211Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 10:29:44 GMT + - Tue, 17 Aug 2021 07:56:05 GMT expires: - '-1' pragma: @@ -905,10 +1001,10 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 response: body: string: '' @@ -918,11 +1014,11 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:29:45 GMT + - Tue, 17 Aug 2021 07:56:05 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f1ed34a4-643c-46ad-916e-01ec18c9af73?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/73587341-78e5-448e-89c1-99b885d14a18?api-version=2016-03-30 pragma: - no-cache server: @@ -950,7 +1046,7 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/start?api-version=2021-07-01 @@ -959,17 +1055,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:29:46 GMT + - Tue, 17 Aug 2021 07:56:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 pragma: - no-cache server: @@ -997,14 +1093,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" + string: "{\n \"name\": \"e369e4fa-358f-2945-a67e-d76f8aead0d9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:07.0233333Z\"\n }" headers: cache-control: - no-cache @@ -1013,7 +1109,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:30:17 GMT + - Tue, 17 Aug 2021 07:56:36 GMT expires: - '-1' pragma: @@ -1045,14 +1141,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" + string: "{\n \"name\": \"e369e4fa-358f-2945-a67e-d76f8aead0d9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:07.0233333Z\"\n }" headers: cache-control: - no-cache @@ -1061,7 +1157,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:30:46 GMT + - Tue, 17 Aug 2021 07:57:06 GMT expires: - '-1' pragma: @@ -1093,14 +1189,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" + string: "{\n \"name\": \"e369e4fa-358f-2945-a67e-d76f8aead0d9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:07.0233333Z\"\n }" headers: cache-control: - no-cache @@ -1109,7 +1205,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:31:16 GMT + - Tue, 17 Aug 2021 07:57:36 GMT expires: - '-1' pragma: @@ -1141,14 +1237,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" + string: "{\n \"name\": \"e369e4fa-358f-2945-a67e-d76f8aead0d9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:07.0233333Z\"\n }" headers: cache-control: - no-cache @@ -1157,7 +1253,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:31:47 GMT + - Tue, 17 Aug 2021 07:58:07 GMT expires: - '-1' pragma: @@ -1189,14 +1285,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" + string: "{\n \"name\": \"e369e4fa-358f-2945-a67e-d76f8aead0d9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:07.0233333Z\"\n }" headers: cache-control: - no-cache @@ -1205,7 +1301,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:32:17 GMT + - Tue, 17 Aug 2021 07:58:36 GMT expires: - '-1' pragma: @@ -1237,14 +1333,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" + string: "{\n \"name\": \"e369e4fa-358f-2945-a67e-d76f8aead0d9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:07.0233333Z\"\n }" headers: cache-control: - no-cache @@ -1253,7 +1349,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:32:47 GMT + - Tue, 17 Aug 2021 07:59:07 GMT expires: - '-1' pragma: @@ -1285,14 +1381,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\"\n }" + string: "{\n \"name\": \"e369e4fa-358f-2945-a67e-d76f8aead0d9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:56:07.0233333Z\"\n }" headers: cache-control: - no-cache @@ -1301,7 +1397,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:33:17 GMT + - Tue, 17 Aug 2021 07:59:36 GMT expires: - '-1' pragma: @@ -1333,15 +1429,15 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"2448ddae-a6d8-0645-9b8a-95b980b0a009\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:29:46.9566666Z\",\n \"endTime\": - \"2021-08-19T10:33:36.6673495Z\"\n }" + string: "{\n \"name\": \"e369e4fa-358f-2945-a67e-d76f8aead0d9\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:56:07.0233333Z\",\n \"endTime\": + \"2021-08-17T07:59:44.0796875Z\"\n }" headers: cache-control: - no-cache @@ -1350,7 +1446,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:33:48 GMT + - Tue, 17 Aug 2021 08:00:07 GMT expires: - '-1' pragma: @@ -1382,10 +1478,10 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 response: body: string: '' @@ -1395,11 +1491,11 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:33:48 GMT + - Tue, 17 Aug 2021 08:00:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/aedd4824-d8a6-4506-9b8a-95b980b0a009?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/fae469e3-8f35-4529-a67e-d76f8aead0d9?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation.yaml index ecf32d61fe5..e80648b3ff9 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T07:16:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T10:06:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 Aug 2021 07:16:47 GMT + - Tue, 17 Aug 2021 10:06:56 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestlik3nsvxm-8ecadf", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest5fntin3gg-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "false"}}}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -82,9 +82,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5fntin3gg-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -93,10 +93,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -113,7 +113,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a49621f-fc1a-4f55-b877-41464a2560a9?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -121,7 +121,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:16:50 GMT + - Tue, 17 Aug 2021 10:07:01 GMT expires: - '-1' pragma: @@ -154,11 +154,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a49621f-fc1a-4f55-b877-41464a2560a9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" + string: "{\n \"name\": \"1f62494a-1afc-554f-b877-41464a2560a9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:00.9533333Z\"\n }" headers: cache-control: - no-cache @@ -167,7 +167,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:21 GMT + - Tue, 17 Aug 2021 10:07:31 GMT expires: - '-1' pragma: @@ -202,11 +202,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a49621f-fc1a-4f55-b877-41464a2560a9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" + string: "{\n \"name\": \"1f62494a-1afc-554f-b877-41464a2560a9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:00.9533333Z\"\n }" headers: cache-control: - no-cache @@ -215,7 +215,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:17:51 GMT + - Tue, 17 Aug 2021 10:08:01 GMT expires: - '-1' pragma: @@ -250,11 +250,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a49621f-fc1a-4f55-b877-41464a2560a9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" + string: "{\n \"name\": \"1f62494a-1afc-554f-b877-41464a2560a9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:00.9533333Z\"\n }" headers: cache-control: - no-cache @@ -263,7 +263,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:21 GMT + - Tue, 17 Aug 2021 10:08:30 GMT expires: - '-1' pragma: @@ -298,11 +298,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a49621f-fc1a-4f55-b877-41464a2560a9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" + string: "{\n \"name\": \"1f62494a-1afc-554f-b877-41464a2560a9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:00.9533333Z\"\n }" headers: cache-control: - no-cache @@ -311,7 +311,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:18:51 GMT + - Tue, 17 Aug 2021 10:09:01 GMT expires: - '-1' pragma: @@ -346,11 +346,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a49621f-fc1a-4f55-b877-41464a2560a9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" + string: "{\n \"name\": \"1f62494a-1afc-554f-b877-41464a2560a9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:00.9533333Z\"\n }" headers: cache-control: - no-cache @@ -359,7 +359,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:21 GMT + - Tue, 17 Aug 2021 10:09:31 GMT expires: - '-1' pragma: @@ -394,11 +394,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a49621f-fc1a-4f55-b877-41464a2560a9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\"\n }" + string: "{\n \"name\": \"1f62494a-1afc-554f-b877-41464a2560a9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:07:00.9533333Z\"\n }" headers: cache-control: - no-cache @@ -407,7 +407,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:19:50 GMT + - Tue, 17 Aug 2021 10:10:01 GMT expires: - '-1' pragma: @@ -442,12 +442,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f1166b98-3e21-495c-bf02-df7ded55a6c6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a49621f-fc1a-4f55-b877-41464a2560a9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"986b16f1-213e-5c49-bf02-df7ded55a6c6\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:16:51.4133333Z\",\n \"endTime\": - \"2021-08-20T07:19:58.2937851Z\"\n }" + string: "{\n \"name\": \"1f62494a-1afc-554f-b877-41464a2560a9\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:07:00.9533333Z\",\n \"endTime\": + \"2021-08-17T10:10:11.9878569Z\"\n }" headers: cache-control: - no-cache @@ -456,7 +456,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:21 GMT + - Tue, 17 Aug 2021 10:10:31 GMT expires: - '-1' pragma: @@ -498,9 +498,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5fntin3gg-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -509,10 +509,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -523,7 +523,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -542,7 +542,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:22 GMT + - Tue, 17 Aug 2021 10:10:32 GMT expires: - '-1' pragma: @@ -584,9 +584,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5fntin3gg-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -595,10 +595,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -609,7 +609,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -628,7 +628,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:22 GMT + - Tue, 17 Aug 2021 10:10:33 GMT expires: - '-1' pragma: @@ -649,13 +649,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestlik3nsvxm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitest5fntin3gg-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "true"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", @@ -663,7 +663,7 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -694,9 +694,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5fntin3gg-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -705,10 +705,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -717,7 +717,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -730,7 +730,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d86ff0b-7e5f-4c0c-a644-2b54e19d62f2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0213afdb-6dac-4cd3-a92f-a84647c1d330?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -738,7 +738,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:23 GMT + - Tue, 17 Aug 2021 10:10:36 GMT expires: - '-1' pragma: @@ -754,7 +754,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 200 message: OK @@ -775,11 +775,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d86ff0b-7e5f-4c0c-a644-2b54e19d62f2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0213afdb-6dac-4cd3-a92f-a84647c1d330?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0bff867d-5f7e-0c4c-a644-2b54e19d62f2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:20:24.3533333Z\"\n }" + string: "{\n \"name\": \"dbaf1302-ac6d-d34c-a92f-a84647c1d330\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:10:36.5666666Z\"\n }" headers: cache-control: - no-cache @@ -788,7 +788,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:20:53 GMT + - Tue, 17 Aug 2021 10:11:07 GMT expires: - '-1' pragma: @@ -823,12 +823,60 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7d86ff0b-7e5f-4c0c-a644-2b54e19d62f2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0213afdb-6dac-4cd3-a92f-a84647c1d330?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"0bff867d-5f7e-0c4c-a644-2b54e19d62f2\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:20:24.3533333Z\",\n \"endTime\": - \"2021-08-20T07:21:22.1784134Z\"\n }" + string: "{\n \"name\": \"dbaf1302-ac6d-d34c-a92f-a84647c1d330\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:10:36.5666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:11:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-secret-rotation -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0213afdb-6dac-4cd3-a92f-a84647c1d330?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"dbaf1302-ac6d-d34c-a92f-a84647c1d330\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:10:36.5666666Z\",\n \"endTime\": + \"2021-08-17T10:11:42.2878973Z\"\n }" headers: cache-control: - no-cache @@ -837,7 +885,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:24 GMT + - Tue, 17 Aug 2021 10:12:07 GMT expires: - '-1' pragma: @@ -879,9 +927,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5fntin3gg-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -890,10 +938,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -904,7 +952,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -923,7 +971,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:24 GMT + - Tue, 17 Aug 2021 10:12:07 GMT expires: - '-1' pragma: @@ -965,9 +1013,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5fntin3gg-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -976,10 +1024,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -990,7 +1038,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1009,7 +1057,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:25 GMT + - Tue, 17 Aug 2021 10:12:08 GMT expires: - '-1' pragma: @@ -1030,13 +1078,13 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitestlik3nsvxm-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitest5fntin3gg-8ecadf", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": {"enableSecretRotation": "false"}}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", @@ -1044,7 +1092,7 @@ interactions: "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -1075,9 +1123,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5fntin3gg-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1086,10 +1134,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -1098,7 +1146,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1111,7 +1159,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3fe65c94-85ae-4af4-a253-48ddb98cada2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/392f1d65-eeca-4105-9e0e-690f54d421a6?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1119,7 +1167,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:27 GMT + - Tue, 17 Aug 2021 10:12:10 GMT expires: - '-1' pragma: @@ -1135,7 +1183,55 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1195' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-secret-rotation -o + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/392f1d65-eeca-4105-9e0e-690f54d421a6?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"651d2f39-caee-0541-9e0e-690f54d421a6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:12:11.0433333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 10:12:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -1156,11 +1252,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3fe65c94-85ae-4af4-a253-48ddb98cada2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/392f1d65-eeca-4105-9e0e-690f54d421a6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"945ce63f-ae85-f44a-a253-48ddb98cada2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-20T07:21:27.3433333Z\"\n }" + string: "{\n \"name\": \"651d2f39-caee-0541-9e0e-690f54d421a6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T10:12:11.0433333Z\"\n }" headers: cache-control: - no-cache @@ -1169,7 +1265,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:21:57 GMT + - Tue, 17 Aug 2021 10:13:11 GMT expires: - '-1' pragma: @@ -1204,12 +1300,12 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3fe65c94-85ae-4af4-a253-48ddb98cada2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/392f1d65-eeca-4105-9e0e-690f54d421a6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"945ce63f-ae85-f44a-a253-48ddb98cada2\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-20T07:21:27.3433333Z\",\n \"endTime\": - \"2021-08-20T07:22:23.2476793Z\"\n }" + string: "{\n \"name\": \"651d2f39-caee-0541-9e0e-690f54d421a6\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T10:12:11.0433333Z\",\n \"endTime\": + \"2021-08-17T10:13:37.3746598Z\"\n }" headers: cache-control: - no-cache @@ -1218,7 +1314,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:27 GMT + - Tue, 17 Aug 2021 10:13:41 GMT expires: - '-1' pragma: @@ -1260,9 +1356,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestlik3nsvxm-8ecadf\",\n \"fqdn\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestlik3nsvxm-8ecadf-9d30c50c.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5fntin3gg-8ecadf\",\n \"fqdn\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5fntin3gg-8ecadf-cde695ab.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -1271,10 +1367,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDFXp8hwkfcmyTDKoDU3p1E+r+OsUApA9xCnJrpodL+nNwpNhQ2qe8CjFRmMtfIAa5Wfsx5jGIu9j04RlyynEvMmWbr8WDrvv2JOtG8DXXzFuNA/fPWL9uX5wzNh4TCGh0S1hHDuWqtMLqu/n2w85aYvDorKaWI79mVKpBFiOCFCCcideUYtoUBK0rWqGVOLtIDJPa9rspUY7ZMiHVtI9Kx9JwD5ovm18m2bwkdL1pFtsLRaq8t8nvEbuySkHsD35P+PNtaWx5JyL2WBpqpBHPN8teABYI8KPVmqHv9a1nQfy7uVQxEhfstPg2xeC+syRRIC0R/qPlmvA7/HKzYNXrH + AAAAB3NzaC1yc2EAAAADAQABAAABAQDUZ3yaUw22iE818m/WFn6uy7NC7ZQ5QKrXlnfcQY0KIyPIYrg3JzSQTPVJaI2EyWbpGqm0d3uqgJGOqrEWeg38VrbSgona0px8Fp9nNY1gbH5GHyGxjMnuPnuZTb8pxMdi+tpuGRFh8mbL806B3FlXDFpXL50IZA8kEZIGwTI5w/7zKLXFLbxAqWveGMifUnCE9FeUsaOV5vlc/StrP2a74moxjMfxSH4/sTaBjXsHGerUxWToBR9EAHxhku6c82HxmEvFqFca7HDT/waN6617wF2dMNzJGVD1KfJYPPFam4AoMtkHusPlurr6anVPG6NzAYjjhWH6H8WfyzyKVKjf azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": @@ -1285,7 +1381,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e90c71a2-e62f-4006-99b8-61d42546dc0a\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7cfb28dc-3369-4054-89aa-d9f78f43415b\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -1304,7 +1400,7 @@ interactions: content-type: - application/json date: - - Fri, 20 Aug 2021 07:22:27 GMT + - Tue, 17 Aug 2021 10:13:42 GMT expires: - '-1' pragma: @@ -1338,26 +1434,26 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7136ce0a-cb37-4d2d-813e-540e574494ef?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/310d9bf4-c372-4c43-8478-96fddb632826?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 20 Aug 2021 07:22:28 GMT + - Tue, 17 Aug 2021 10:13:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/7136ce0a-cb37-4d2d-813e-540e574494ef?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/310d9bf4-c372-4c43-8478-96fddb632826?api-version=2016-03-30 pragma: - no-cache server: @@ -1367,7 +1463,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_to_msi_cluster.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_to_msi_cluster.yaml index c71995fed55..1e290c8dc1f 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_to_msi_cluster.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_to_msi_cluster.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:53:19Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:58:23Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:53:20 GMT + - Tue, 17 Aug 2021 07:58:24 GMT expires: - '-1' pragma: @@ -43,13 +43,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest673flm6ja-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestkvyzj63qe-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -71,7 +71,7 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -81,9 +81,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestkvyzj63qe-79a739\",\n \"fqdn\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -92,10 +92,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -110,7 +110,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb27d477-9555-441e-b34c-f1b686d43990?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -118,7 +118,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:53:29 GMT + - Tue, 17 Aug 2021 07:58:31 GMT expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 201 message: Created @@ -148,14 +148,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb27d477-9555-441e-b34c-f1b686d43990?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" + string: "{\n \"name\": \"77d427fb-5595-1e44-b34c-f1b686d43990\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:31.2766666Z\"\n }" headers: cache-control: - no-cache @@ -164,7 +164,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:00 GMT + - Tue, 17 Aug 2021 07:59:01 GMT expires: - '-1' pragma: @@ -196,14 +196,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb27d477-9555-441e-b34c-f1b686d43990?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" + string: "{\n \"name\": \"77d427fb-5595-1e44-b34c-f1b686d43990\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:31.2766666Z\"\n }" headers: cache-control: - no-cache @@ -212,7 +212,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:54:30 GMT + - Tue, 17 Aug 2021 07:59:31 GMT expires: - '-1' pragma: @@ -244,14 +244,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb27d477-9555-441e-b34c-f1b686d43990?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" + string: "{\n \"name\": \"77d427fb-5595-1e44-b34c-f1b686d43990\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:31.2766666Z\"\n }" headers: cache-control: - no-cache @@ -260,7 +260,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:00 GMT + - Tue, 17 Aug 2021 08:00:01 GMT expires: - '-1' pragma: @@ -292,14 +292,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb27d477-9555-441e-b34c-f1b686d43990?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" + string: "{\n \"name\": \"77d427fb-5595-1e44-b34c-f1b686d43990\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:31.2766666Z\"\n }" headers: cache-control: - no-cache @@ -308,7 +308,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:55:30 GMT + - Tue, 17 Aug 2021 08:00:32 GMT expires: - '-1' pragma: @@ -340,14 +340,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb27d477-9555-441e-b34c-f1b686d43990?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" + string: "{\n \"name\": \"77d427fb-5595-1e44-b34c-f1b686d43990\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:31.2766666Z\"\n }" headers: cache-control: - no-cache @@ -356,7 +356,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:00 GMT + - Tue, 17 Aug 2021 08:01:01 GMT expires: - '-1' pragma: @@ -388,14 +388,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb27d477-9555-441e-b34c-f1b686d43990?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\"\n }" + string: "{\n \"name\": \"77d427fb-5595-1e44-b34c-f1b686d43990\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:58:31.2766666Z\"\n }" headers: cache-control: - no-cache @@ -404,7 +404,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:30 GMT + - Tue, 17 Aug 2021 08:01:32 GMT expires: - '-1' pragma: @@ -436,15 +436,15 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6ff457a5-7301-4791-902c-64b47cee7b98?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fb27d477-9555-441e-b34c-f1b686d43990?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a557f46f-0173-9147-902c-64b47cee7b98\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:53:29.8333333Z\",\n \"endTime\": - \"2021-08-19T09:56:31.7523314Z\"\n }" + string: "{\n \"name\": \"77d427fb-5595-1e44-b34c-f1b686d43990\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:58:31.2766666Z\",\n \"endTime\": + \"2021-08-17T08:01:49.8722712Z\"\n }" headers: cache-control: - no-cache @@ -453,7 +453,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:01 GMT + - Tue, 17 Aug 2021 08:02:01 GMT expires: - '-1' pragma: @@ -485,7 +485,7 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -495,9 +495,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestkvyzj63qe-79a739\",\n \"fqdn\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -506,17 +506,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a561f1e7-6bb2-48c0-99e2-bf4dff470422\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -535,7 +535,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:02 GMT + - Tue, 17 Aug 2021 08:02:02 GMT expires: - '-1' pragma: @@ -567,7 +567,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -577,9 +577,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestkvyzj63qe-79a739\",\n \"fqdn\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -588,17 +588,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a561f1e7-6bb2-48c0-99e2-bf4dff470422\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -617,7 +617,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:02 GMT + - Tue, 17 Aug 2021 08:02:02 GMT expires: - '-1' pragma: @@ -638,20 +638,20 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.20.7", "dnsPrefix": - "cliakstest-clitest673flm6ja-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestkvyzj63qe-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.20.7", "enableNodePublicIP": false, "nodeLabels": {}, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee"}]}}, + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a561f1e7-6bb2-48c0-99e2-bf4dff470422"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -672,7 +672,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -682,9 +682,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestkvyzj63qe-79a739\",\n \"fqdn\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -693,17 +693,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a561f1e7-6bb2-48c0-99e2-bf4dff470422\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -716,7 +716,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7977d54a-98f2-4d16-b1f0-9b6a5efddcf0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0c23868-4562-494c-bc32-9a9d50be46e9?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -724,7 +724,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:06 GMT + - Tue, 17 Aug 2021 08:02:05 GMT expires: - '-1' pragma: @@ -758,14 +758,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7977d54a-98f2-4d16-b1f0-9b6a5efddcf0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0c23868-4562-494c-bc32-9a9d50be46e9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ad57779-f298-164d-b1f0-9b6a5efddcf0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:05.3366666Z\"\n }" + string: "{\n \"name\": \"6838c2c0-6245-4c49-bc32-9a9d50be46e9\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:02:05.5833333Z\"\n }" headers: cache-control: - no-cache @@ -774,7 +774,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:36 GMT + - Tue, 17 Aug 2021 08:02:36 GMT expires: - '-1' pragma: @@ -806,63 +806,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7977d54a-98f2-4d16-b1f0-9b6a5efddcf0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c0c23868-4562-494c-bc32-9a9d50be46e9?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4ad57779-f298-164d-b1f0-9b6a5efddcf0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:57:05.3366666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:58:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-managed-identity --yes - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7977d54a-98f2-4d16-b1f0-9b6a5efddcf0?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"4ad57779-f298-164d-b1f0-9b6a5efddcf0\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:57:05.3366666Z\",\n \"endTime\": - \"2021-08-19T09:58:08.1877887Z\"\n }" + string: "{\n \"name\": \"6838c2c0-6245-4c49-bc32-9a9d50be46e9\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:02:05.5833333Z\",\n \"endTime\": + \"2021-08-17T08:03:05.9627045Z\"\n }" headers: cache-control: - no-cache @@ -871,7 +823,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:36 GMT + - Tue, 17 Aug 2021 08:03:05 GMT expires: - '-1' pragma: @@ -903,7 +855,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-managed-identity --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -913,9 +865,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest673flm6ja-79a739\",\n \"fqdn\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest673flm6ja-79a739-34800bc9.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestkvyzj63qe-79a739\",\n \"fqdn\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestkvyzj63qe-79a739-58db929d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -924,17 +876,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/005061f6-5f84-4e10-bf7c-23e54954beee\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a561f1e7-6bb2-48c0-99e2-bf4dff470422\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -953,7 +905,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:37 GMT + - Tue, 17 Aug 2021 08:03:05 GMT expires: - '-1' pragma: @@ -987,26 +939,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d006819-9e0d-4dab-86ff-5a629d918f34?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/eefb9b92-54f0-4202-9821-31ac6385d68f?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 09:58:38 GMT + - Tue, 17 Aug 2021 08:03:08 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/1d006819-9e0d-4dab-86ff-5a629d918f34?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/eefb9b92-54f0-4202-9821-31ac6385d68f?api-version=2016-03-30 pragma: - no-cache server: @@ -1016,7 +968,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml index 2929bac3aa7..412d4101055 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml @@ -15,12 +15,12 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:56:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:49:34Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:56:34 GMT + - Tue, 17 Aug 2021 07:49:35 GMT expires: - '-1' pragma: @@ -51,7 +51,7 @@ interactions: "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "p@0A000003"}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -75,7 +75,7 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -85,8 +85,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c6dbdcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-9c6dbdcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -95,10 +95,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -114,7 +114,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/deba9501-d1ef-4642-b539-014530a351d0?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -122,7 +122,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:56:42 GMT + - Tue, 17 Aug 2021 07:49:39 GMT expires: - '-1' pragma: @@ -154,14 +154,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/deba9501-d1ef-4642-b539-014530a351d0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" + string: "{\n \"name\": \"0195bade-efd1-4246-b539-014530a351d0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:49:39.7866666Z\"\n }" headers: cache-control: - no-cache @@ -170,7 +170,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:12 GMT + - Tue, 17 Aug 2021 07:50:09 GMT expires: - '-1' pragma: @@ -204,14 +204,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/deba9501-d1ef-4642-b539-014530a351d0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" + string: "{\n \"name\": \"0195bade-efd1-4246-b539-014530a351d0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:49:39.7866666Z\"\n }" headers: cache-control: - no-cache @@ -220,7 +220,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:57:43 GMT + - Tue, 17 Aug 2021 07:50:40 GMT expires: - '-1' pragma: @@ -254,14 +254,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/deba9501-d1ef-4642-b539-014530a351d0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" + string: "{\n \"name\": \"0195bade-efd1-4246-b539-014530a351d0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:49:39.7866666Z\"\n }" headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:13 GMT + - Tue, 17 Aug 2021 07:51:09 GMT expires: - '-1' pragma: @@ -304,14 +304,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/deba9501-d1ef-4642-b539-014530a351d0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" + string: "{\n \"name\": \"0195bade-efd1-4246-b539-014530a351d0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:49:39.7866666Z\"\n }" headers: cache-control: - no-cache @@ -320,7 +320,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:58:43 GMT + - Tue, 17 Aug 2021 07:51:40 GMT expires: - '-1' pragma: @@ -354,14 +354,14 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/deba9501-d1ef-4642-b539-014530a351d0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\"\n }" + string: "{\n \"name\": \"0195bade-efd1-4246-b539-014530a351d0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:49:39.7866666Z\"\n }" headers: cache-control: - no-cache @@ -370,7 +370,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:12 GMT + - Tue, 17 Aug 2021 07:52:10 GMT expires: - '-1' pragma: @@ -404,15 +404,65 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a756319b-7b41-4d64-a8fc-238f09e0fa07?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/deba9501-d1ef-4642-b539-014530a351d0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"9b3156a7-417b-644d-a8fc-238f09e0fa07\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:56:42.4133333Z\",\n \"endTime\": - \"2021-08-19T09:59:35.5118657Z\"\n }" + string: "{\n \"name\": \"0195bade-efd1-4246-b539-014530a351d0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:49:39.7866666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 17 Aug 2021 07:52:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --windows-admin-username + --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin + --ssh-key-value + User-Agent: + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/deba9501-d1ef-4642-b539-014530a351d0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0195bade-efd1-4246-b539-014530a351d0\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:49:39.7866666Z\",\n \"endTime\": + \"2021-08-17T07:52:41.9068855Z\"\n }" headers: cache-control: - no-cache @@ -421,7 +471,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:43 GMT + - Tue, 17 Aug 2021 07:53:10 GMT expires: - '-1' pragma: @@ -455,7 +505,7 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -465,8 +515,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c6dbdcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-9c6dbdcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -475,10 +525,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -486,7 +536,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/036ff285-a7bd-424a-9fb3-821187b31e87\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -504,7 +554,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:44 GMT + - Tue, 17 Aug 2021 07:53:10 GMT expires: - '-1' pragma: @@ -536,7 +586,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 @@ -551,7 +601,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: @@ -561,7 +611,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:45 GMT + - Tue, 17 Aug 2021 07:53:11 GMT expires: - '-1' pragma: @@ -601,7 +651,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -620,7 +670,7 @@ interactions: false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -628,7 +678,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:59:46 GMT + - Tue, 17 Aug 2021 07:53:13 GMT expires: - '-1' pragma: @@ -640,7 +690,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -658,23 +708,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:16 GMT + - Tue, 17 Aug 2021 07:53:44 GMT expires: - '-1' pragma: @@ -706,23 +756,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:00:46 GMT + - Tue, 17 Aug 2021 07:54:14 GMT expires: - '-1' pragma: @@ -754,23 +804,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:17 GMT + - Tue, 17 Aug 2021 07:54:44 GMT expires: - '-1' pragma: @@ -802,23 +852,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:01:47 GMT + - Tue, 17 Aug 2021 07:55:14 GMT expires: - '-1' pragma: @@ -850,23 +900,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:17 GMT + - Tue, 17 Aug 2021 07:55:44 GMT expires: - '-1' pragma: @@ -898,23 +948,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:02:47 GMT + - Tue, 17 Aug 2021 07:56:15 GMT expires: - '-1' pragma: @@ -946,23 +996,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:16 GMT + - Tue, 17 Aug 2021 07:56:44 GMT expires: - '-1' pragma: @@ -994,23 +1044,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:03:47 GMT + - Tue, 17 Aug 2021 07:57:15 GMT expires: - '-1' pragma: @@ -1042,23 +1092,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:17 GMT + - Tue, 17 Aug 2021 07:57:44 GMT expires: - '-1' pragma: @@ -1090,23 +1140,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:04:47 GMT + - Tue, 17 Aug 2021 07:58:15 GMT expires: - '-1' pragma: @@ -1138,23 +1188,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:17 GMT + - Tue, 17 Aug 2021 07:58:44 GMT expires: - '-1' pragma: @@ -1186,23 +1236,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:48 GMT + - Tue, 17 Aug 2021 07:59:15 GMT expires: - '-1' pragma: @@ -1234,23 +1284,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:18 GMT + - Tue, 17 Aug 2021 07:59:45 GMT expires: - '-1' pragma: @@ -1282,24 +1332,24 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/21b29c20-0689-49ab-9ed4-16e41ff7dee2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f4650d-9a31-4c4c-bbf7-5c142d971ed6?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"209cb221-8906-ab49-9ed4-16e41ff7dee2\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:59:46.88Z\",\n \"endTime\": - \"2021-08-19T10:06:39.2547387Z\"\n }" + string: "{\n \"name\": \"0d65f4e1-319a-4c4c-bbf7-5c142d971ed6\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:53:14.4Z\",\n \"endTime\": + \"2021-08-17T08:00:07.9281467Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '164' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:48 GMT + - Tue, 17 Aug 2021 08:00:15 GMT expires: - '-1' pragma: @@ -1331,7 +1381,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -1356,7 +1406,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:48 GMT + - Tue, 17 Aug 2021 08:00:16 GMT expires: - '-1' pragma: @@ -1388,7 +1438,7 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -1398,8 +1448,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c6dbdcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-9c6dbdcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1408,7 +1458,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -1419,7 +1469,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1427,7 +1477,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/036ff285-a7bd-424a-9fb3-821187b31e87\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1445,7 +1495,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:50 GMT + - Tue, 17 Aug 2021 08:00:17 GMT expires: - '-1' pragma: @@ -1477,7 +1527,7 @@ interactions: "mode": "User", "orchestratorVersion": "1.20.7", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "n!C3000004", "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", @@ -1485,7 +1535,7 @@ interactions: "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/036ff285-a7bd-424a-9fb3-821187b31e87"}]}}, "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -1506,7 +1556,7 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -1516,8 +1566,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c6dbdcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-9c6dbdcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1526,7 +1576,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -1537,7 +1587,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1545,7 +1595,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/036ff285-a7bd-424a-9fb3-821187b31e87\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1557,7 +1607,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1565,7 +1615,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:53 GMT + - Tue, 17 Aug 2021 08:00:21 GMT expires: - '-1' pragma: @@ -1581,7 +1631,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1197' status: code: 200 message: OK @@ -1599,23 +1649,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:23 GMT + - Tue, 17 Aug 2021 08:00:51 GMT expires: - '-1' pragma: @@ -1647,23 +1697,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:53 GMT + - Tue, 17 Aug 2021 08:01:21 GMT expires: - '-1' pragma: @@ -1695,23 +1745,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:24 GMT + - Tue, 17 Aug 2021 08:01:51 GMT expires: - '-1' pragma: @@ -1743,23 +1793,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:54 GMT + - Tue, 17 Aug 2021 08:02:21 GMT expires: - '-1' pragma: @@ -1791,23 +1841,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:24 GMT + - Tue, 17 Aug 2021 08:02:52 GMT expires: - '-1' pragma: @@ -1839,23 +1889,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:54 GMT + - Tue, 17 Aug 2021 08:03:21 GMT expires: - '-1' pragma: @@ -1887,23 +1937,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:10:24 GMT + - Tue, 17 Aug 2021 08:03:51 GMT expires: - '-1' pragma: @@ -1935,23 +1985,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:10:55 GMT + - Tue, 17 Aug 2021 08:04:22 GMT expires: - '-1' pragma: @@ -1983,23 +2033,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:11:25 GMT + - Tue, 17 Aug 2021 08:04:51 GMT expires: - '-1' pragma: @@ -2031,23 +2081,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:11:55 GMT + - Tue, 17 Aug 2021 08:05:22 GMT expires: - '-1' pragma: @@ -2079,23 +2129,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:25 GMT + - Tue, 17 Aug 2021 08:05:52 GMT expires: - '-1' pragma: @@ -2127,23 +2177,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:12:55 GMT + - Tue, 17 Aug 2021 08:06:22 GMT expires: - '-1' pragma: @@ -2175,23 +2225,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:13:26 GMT + - Tue, 17 Aug 2021 08:06:53 GMT expires: - '-1' pragma: @@ -2223,23 +2273,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:13:55 GMT + - Tue, 17 Aug 2021 08:07:22 GMT expires: - '-1' pragma: @@ -2271,23 +2321,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:14:25 GMT + - Tue, 17 Aug 2021 08:07:52 GMT expires: - '-1' pragma: @@ -2319,23 +2369,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:14:56 GMT + - Tue, 17 Aug 2021 08:08:23 GMT expires: - '-1' pragma: @@ -2367,23 +2417,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:26 GMT + - Tue, 17 Aug 2021 08:08:52 GMT expires: - '-1' pragma: @@ -2415,23 +2465,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:56 GMT + - Tue, 17 Aug 2021 08:09:23 GMT expires: - '-1' pragma: @@ -2463,23 +2513,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:16:26 GMT + - Tue, 17 Aug 2021 08:09:52 GMT expires: - '-1' pragma: @@ -2511,23 +2561,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:16:56 GMT + - Tue, 17 Aug 2021 08:10:23 GMT expires: - '-1' pragma: @@ -2559,23 +2609,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:17:26 GMT + - Tue, 17 Aug 2021 08:10:53 GMT expires: - '-1' pragma: @@ -2607,23 +2657,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:17:57 GMT + - Tue, 17 Aug 2021 08:11:24 GMT expires: - '-1' pragma: @@ -2655,23 +2705,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:27 GMT + - Tue, 17 Aug 2021 08:11:53 GMT expires: - '-1' pragma: @@ -2703,23 +2753,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:57 GMT + - Tue, 17 Aug 2021 08:12:23 GMT expires: - '-1' pragma: @@ -2751,23 +2801,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:19:27 GMT + - Tue, 17 Aug 2021 08:12:54 GMT expires: - '-1' pragma: @@ -2799,23 +2849,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:19:57 GMT + - Tue, 17 Aug 2021 08:13:23 GMT expires: - '-1' pragma: @@ -2847,23 +2897,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:20:27 GMT + - Tue, 17 Aug 2021 08:13:54 GMT expires: - '-1' pragma: @@ -2895,23 +2945,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:20:57 GMT + - Tue, 17 Aug 2021 08:14:24 GMT expires: - '-1' pragma: @@ -2943,23 +2993,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:21:28 GMT + - Tue, 17 Aug 2021 08:14:54 GMT expires: - '-1' pragma: @@ -2991,23 +3041,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:21:58 GMT + - Tue, 17 Aug 2021 08:15:24 GMT expires: - '-1' pragma: @@ -3039,23 +3089,23 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 Aug 2021 10:22:28 GMT + - Tue, 17 Aug 2021 08:15:54 GMT expires: - '-1' pragma: @@ -3087,24 +3137,24 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cb1c3505-55e8-4467-bd5f-6666ef50d3f0?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a887c283-5326-4d24-8362-b4225f960a58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05351ccb-e855-6744-bd5f-6666ef50d3f0\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:06:53.0733333Z\",\n \"endTime\": - \"2021-08-19T10:22:43.1961183Z\"\n }" + string: "{\n \"name\": \"83c287a8-2653-244d-8362-b4225f960a58\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:00:20.47Z\",\n \"endTime\": + \"2021-08-17T08:16:24.8701826Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Thu, 19 Aug 2021 10:22:58 GMT + - Tue, 17 Aug 2021 08:16:24 GMT expires: - '-1' pragma: @@ -3136,7 +3186,7 @@ interactions: ParameterSetName: - --resource-group --name --windows-admin-password User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -3146,8 +3196,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1dfc0566.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-1dfc0566.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-9c6dbdcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-9c6dbdcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -3156,7 +3206,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -3167,7 +3217,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -3175,7 +3225,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/809524e7-5fd7-459d-ade3-1b4c4666c006\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/036ff285-a7bd-424a-9fb3-821187b31e87\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -3193,7 +3243,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:22:58 GMT + - Tue, 17 Aug 2021 08:16:24 GMT expires: - '-1' pragma: @@ -3225,7 +3275,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 @@ -3240,7 +3290,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\",\n \ \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n @@ -3261,7 +3311,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:23:00 GMT + - Tue, 17 Aug 2021 08:16:26 GMT expires: - '-1' pragma: @@ -3295,7 +3345,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -3304,17 +3354,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e338707a-be2e-4ee4-8898-3772b78eb5c4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6b3f2820-beb9-43ae-839f-3887e8e85573?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:23:00 GMT + - Tue, 17 Aug 2021 08:16:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e338707a-be2e-4ee4-8898-3772b78eb5c4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/6b3f2820-beb9-43ae-839f-3887e8e85573?api-version=2016-03-30 pragma: - no-cache server: @@ -3324,7 +3374,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14995' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml index aa16ab5adb3..02ddc29c7d4 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml @@ -14,12 +14,12 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:05:43Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T07:48:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:05:44 GMT + - Tue, 17 Aug 2021 07:48:29 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestrd2n2ixrj-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestm63cf2d4x-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "c000003"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -73,7 +73,7 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -83,9 +83,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrd2n2ixrj-79a739\",\n \"fqdn\": - \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestm63cf2d4x-79a739\",\n \"fqdn\": + \"cliakstest-clitestm63cf2d4x-79a739-bd590a7d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestm63cf2d4x-79a739-bd590a7d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -94,10 +94,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -112,7 +112,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e944608-8740-4dcc-a33b-059786799f55?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -120,7 +120,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:05:50 GMT + - Tue, 17 Aug 2021 07:48:37 GMT expires: - '-1' pragma: @@ -132,7 +132,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -151,23 +151,23 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e944608-8740-4dcc-a33b-059786799f55?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" + string: "{\n \"name\": \"0846940e-4087-cc4d-a33b-059786799f55\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:37.4066666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:20 GMT + - Tue, 17 Aug 2021 07:49:07 GMT expires: - '-1' pragma: @@ -200,23 +200,23 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e944608-8740-4dcc-a33b-059786799f55?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" + string: "{\n \"name\": \"0846940e-4087-cc4d-a33b-059786799f55\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:37.4066666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:06:50 GMT + - Tue, 17 Aug 2021 07:49:37 GMT expires: - '-1' pragma: @@ -249,23 +249,23 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e944608-8740-4dcc-a33b-059786799f55?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" + string: "{\n \"name\": \"0846940e-4087-cc4d-a33b-059786799f55\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:37.4066666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:20 GMT + - Tue, 17 Aug 2021 07:50:07 GMT expires: - '-1' pragma: @@ -298,23 +298,23 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e944608-8740-4dcc-a33b-059786799f55?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" + string: "{\n \"name\": \"0846940e-4087-cc4d-a33b-059786799f55\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:37.4066666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:07:51 GMT + - Tue, 17 Aug 2021 07:50:38 GMT expires: - '-1' pragma: @@ -347,23 +347,23 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e944608-8740-4dcc-a33b-059786799f55?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" + string: "{\n \"name\": \"0846940e-4087-cc4d-a33b-059786799f55\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:37.4066666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:21 GMT + - Tue, 17 Aug 2021 07:51:07 GMT expires: - '-1' pragma: @@ -396,23 +396,23 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e944608-8740-4dcc-a33b-059786799f55?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\"\n }" + string: "{\n \"name\": \"0846940e-4087-cc4d-a33b-059786799f55\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T07:48:37.4066666Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:08:51 GMT + - Tue, 17 Aug 2021 07:51:38 GMT expires: - '-1' pragma: @@ -445,24 +445,24 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3df7f6d6-2aed-4447-81d8-3418603f7eb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0e944608-8740-4dcc-a33b-059786799f55?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d6f6f73d-ed2a-4744-81d8-3418603f7eb8\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:05:50.1Z\",\n \"endTime\": - \"2021-08-19T10:08:56.5975969Z\"\n }" + string: "{\n \"name\": \"0846940e-4087-cc4d-a33b-059786799f55\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T07:48:37.4066666Z\",\n \"endTime\": + \"2021-08-17T07:51:52.9567196Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:21 GMT + - Tue, 17 Aug 2021 07:52:08 GMT expires: - '-1' pragma: @@ -495,7 +495,7 @@ interactions: - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -505,9 +505,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrd2n2ixrj-79a739\",\n \"fqdn\": - \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestm63cf2d4x-79a739\",\n \"fqdn\": + \"cliakstest-clitestm63cf2d4x-79a739-bd590a7d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestm63cf2d4x-79a739-bd590a7d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -516,17 +516,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/62801a82-dd50-4d33-8807-a10ddaac6589\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/905c22c3-ab07-40c4-89d8-af8ab201eaf1\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -545,7 +545,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:21 GMT + - Tue, 17 Aug 2021 07:52:08 GMT expires: - '-1' pragma: @@ -577,7 +577,7 @@ interactions: ParameterSetName: - -g -n --node-image-only --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -587,9 +587,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrd2n2ixrj-79a739\",\n \"fqdn\": - \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestm63cf2d4x-79a739\",\n \"fqdn\": + \"cliakstest-clitestm63cf2d4x-79a739-bd590a7d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestm63cf2d4x-79a739-bd590a7d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -598,17 +598,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/62801a82-dd50-4d33-8807-a10ddaac6589\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/905c22c3-ab07-40c4-89d8-af8ab201eaf1\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -627,7 +627,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:22 GMT + - Tue, 17 Aug 2021 07:52:09 GMT expires: - '-1' pragma: @@ -661,7 +661,7 @@ interactions: ParameterSetName: - -g -n --node-image-only --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000003/upgradeNodeImageVersion?api-version=2021-07-01 @@ -676,11 +676,11 @@ interactions: {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": - \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/839e51a3-e533-4ff7-8665-5059204061fe?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dd08a463-59a1-419e-9b6a-74a903fc82b9?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -688,11 +688,11 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:23 GMT + - Tue, 17 Aug 2021 07:52:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/839e51a3-e533-4ff7-8665-5059204061fe?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/dd08a463-59a1-419e-9b6a-74a903fc82b9?api-version=2016-03-30 pragma: - no-cache server: @@ -720,7 +720,7 @@ interactions: ParameterSetName: - -g -n --node-image-only --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2021-07-01 @@ -730,9 +730,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestrd2n2ixrj-79a739\",\n \"fqdn\": - \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitestrd2n2ixrj-79a739-fd9814d1.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitestm63cf2d4x-79a739\",\n \"fqdn\": + \"cliakstest-clitestm63cf2d4x-79a739-bd590a7d.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitestm63cf2d4x-79a739-bd590a7d.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -741,17 +741,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/62801a82-dd50-4d33-8807-a10ddaac6589\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/905c22c3-ab07-40c4-89d8-af8ab201eaf1\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -770,7 +770,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:09:23 GMT + - Tue, 17 Aug 2021 07:52:10 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml index 77c59d192b0..7ec2229ec9e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T09:47:48Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T09:02:39Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 09:47:51 GMT + - Tue, 17 Aug 2021 09:02:40 GMT expires: - '-1' pragma: @@ -44,13 +44,13 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest3bqbcmdwt-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest5iexjezbn-79a739", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "c000003"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCp1WYl8gV4Ld98imq1cd8cqChHQnuzsj8mjTuvH83gPgYp2gEG9Ows8u0NBUnezXYx0PWv0rwk+5ZQ6Sq/Pcb6Kxalh2jJyJqCGiB9nUf7uUlJ8fdF867ixZrpaqgOfytk5wZ8nhuNr7xKLzMGahPVmyrdxjGgyd5A1RMBRA05Tan1c4c0fe8Hb8nCXv+DqzUO/nKKNAcBKM/EDb6EIcZzIGD3ceE6kBGSdlf4LIKAniTSaEVzyK3Sq/P3GqgFNreOFoWtZE17P/0shs2blzLQ8N2S9fPua2I8Fbqv07LZxBgczIO29dR+9wq4pI7Iu8lh2R8i4Vfrk6PXeRYinmg/ azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", @@ -83,9 +83,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3bqbcmdwt-79a739\",\n \"fqdn\": - \"cliakstest-clitest3bqbcmdwt-79a739-57dbfe96.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3bqbcmdwt-79a739-57dbfe96.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5iexjezbn-79a739\",\n \"fqdn\": + \"cliakstest-clitest5iexjezbn-79a739-5dd830be.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5iexjezbn-79a739-5dd830be.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -94,10 +94,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQCp1WYl8gV4Ld98imq1cd8cqChHQnuzsj8mjTuvH83gPgYp2gEG9Ows8u0NBUnezXYx0PWv0rwk+5ZQ6Sq/Pcb6Kxalh2jJyJqCGiB9nUf7uUlJ8fdF867ixZrpaqgOfytk5wZ8nhuNr7xKLzMGahPVmyrdxjGgyd5A1RMBRA05Tan1c4c0fe8Hb8nCXv+DqzUO/nKKNAcBKM/EDb6EIcZzIGD3ceE6kBGSdlf4LIKAniTSaEVzyK3Sq/P3GqgFNreOFoWtZE17P/0shs2blzLQ8N2S9fPua2I8Fbqv07LZxBgczIO29dR+9wq4pI7Iu8lh2R8i4Vfrk6PXeRYinmg/ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n @@ -112,7 +112,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9011fa9f-d338-4c13-b7ea-97fd3dfce988?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -120,7 +120,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:48:00 GMT + - Tue, 17 Aug 2021 09:02:49 GMT expires: - '-1' pragma: @@ -154,11 +154,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9011fa9f-d338-4c13-b7ea-97fd3dfce988?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" + string: "{\n \"name\": \"9ffa1190-38d3-134c-b7ea-97fd3dfce988\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:02:49.4866666Z\"\n }" headers: cache-control: - no-cache @@ -167,7 +167,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:48:31 GMT + - Tue, 17 Aug 2021 09:03:19 GMT expires: - '-1' pragma: @@ -203,11 +203,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9011fa9f-d338-4c13-b7ea-97fd3dfce988?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" + string: "{\n \"name\": \"9ffa1190-38d3-134c-b7ea-97fd3dfce988\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:02:49.4866666Z\"\n }" headers: cache-control: - no-cache @@ -216,7 +216,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:49:01 GMT + - Tue, 17 Aug 2021 09:03:50 GMT expires: - '-1' pragma: @@ -252,11 +252,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9011fa9f-d338-4c13-b7ea-97fd3dfce988?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" + string: "{\n \"name\": \"9ffa1190-38d3-134c-b7ea-97fd3dfce988\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:02:49.4866666Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +265,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:49:31 GMT + - Tue, 17 Aug 2021 09:04:20 GMT expires: - '-1' pragma: @@ -301,11 +301,11 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9011fa9f-d338-4c13-b7ea-97fd3dfce988?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" + string: "{\n \"name\": \"9ffa1190-38d3-134c-b7ea-97fd3dfce988\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T09:02:49.4866666Z\"\n }" headers: cache-control: - no-cache @@ -314,7 +314,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:50:01 GMT + - Tue, 17 Aug 2021 09:04:50 GMT expires: - '-1' pragma: @@ -350,119 +350,21 @@ interactions: - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9011fa9f-d338-4c13-b7ea-97fd3dfce988?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" + string: "{\n \"name\": \"9ffa1190-38d3-134c-b7ea-97fd3dfce988\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T09:02:49.4866666Z\",\n \"endTime\": + \"2021-08-17T09:05:12.217948Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:50:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value - -o - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 09:51:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --nodepool-name --vm-set-type --node-count --ssh-key-value - -o - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/962f5f87-271a-42b4-9c9a-f71044d53ed4?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"875f2f96-1a27-b442-9c9a-f71044d53ed4\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T09:48:00.3366666Z\",\n \"endTime\": - \"2021-08-19T09:51:09.4476784Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' + - '169' content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:31 GMT + - Tue, 17 Aug 2021 09:05:19 GMT expires: - '-1' pragma: @@ -505,9 +407,9 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest3bqbcmdwt-79a739\",\n \"fqdn\": - \"cliakstest-clitest3bqbcmdwt-79a739-57dbfe96.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": - \"cliakstest-clitest3bqbcmdwt-79a739-57dbfe96.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliakstest-clitest5iexjezbn-79a739\",\n \"fqdn\": + \"cliakstest-clitest5iexjezbn-79a739-5dd830be.hcp.westus2.azmk8s.io\",\n \"azurePortalFQDN\": + \"cliakstest-clitest5iexjezbn-79a739-5dd830be.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000003\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n @@ -516,17 +418,17 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQCp1WYl8gV4Ld98imq1cd8cqChHQnuzsj8mjTuvH83gPgYp2gEG9Ows8u0NBUnezXYx0PWv0rwk+5ZQ6Sq/Pcb6Kxalh2jJyJqCGiB9nUf7uUlJ8fdF867ixZrpaqgOfytk5wZ8nhuNr7xKLzMGahPVmyrdxjGgyd5A1RMBRA05Tan1c4c0fe8Hb8nCXv+DqzUO/nKKNAcBKM/EDb6EIcZzIGD3ceE6kBGSdlf4LIKAniTSaEVzyK3Sq/P3GqgFNreOFoWtZE17P/0shs2blzLQ8N2S9fPua2I8Fbqv07LZxBgczIO29dR+9wq4pI7Iu8lh2R8i4Vfrk6PXeRYinmg/ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/e8e789ea-2789-4e88-916b-c164d8532b18\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0b95a8b7-53dc-463a-9100-8e0aef276d83\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": @@ -545,7 +447,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:32 GMT + - Tue, 17 Aug 2021 09:05:20 GMT expires: - '-1' pragma: @@ -594,11 +496,11 @@ interactions: {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": - \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d546150f-411f-4b3e-ba6e-bf46af1d7890?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e1f2e8dc-b43f-441a-9ee4-d508c750d546?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -606,11 +508,11 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:33 GMT + - Tue, 17 Aug 2021 09:05:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/d546150f-411f-4b3e-ba6e-bf46af1d7890?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/e1f2e8dc-b43f-441a-9ee4-d508c750d546?api-version=2016-03-30 pragma: - no-cache server: @@ -653,7 +555,7 @@ interactions: {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": - \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n }" headers: cache-control: @@ -663,7 +565,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 09:51:34 GMT + - Tue, 17 Aug 2021 09:05:23 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_nodepool.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_nodepool.yaml index 859326c0f18..35b41af12d9 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_nodepool.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_nodepool.yaml @@ -13,7 +13,7 @@ interactions: ParameterSetName: - -l --query User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/orchestrators?api-version=2019-04-01&resource-type=managedClusters @@ -64,7 +64,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:37 GMT + - Tue, 17 Aug 2021 08:14:28 GMT expires: - '-1' pragma: @@ -98,12 +98,12 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-19T10:15:36Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-08-17T08:14:27Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -112,7 +112,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 Aug 2021 10:15:37 GMT + - Tue, 17 Aug 2021 08:14:29 GMT expires: - '-1' pragma: @@ -134,7 +134,7 @@ interactions: "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "replace-Password1234$"}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": @@ -158,7 +158,7 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -168,8 +168,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-50d16a72.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-50d16a72.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -178,10 +178,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -197,7 +197,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/63f17f7b-b7db-4b33-b68c-dc9c4cd6b88a?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -205,7 +205,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:15:41 GMT + - Tue, 17 Aug 2021 08:14:36 GMT expires: - '-1' pragma: @@ -217,7 +217,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1195' status: code: 201 message: Created @@ -237,23 +237,23 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/63f17f7b-b7db-4b33-b68c-dc9c4cd6b88a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" + string: "{\n \"name\": \"7b7ff163-dbb7-334b-b68c-dc9c4cd6b88a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:14:36.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:16:12 GMT + - Tue, 17 Aug 2021 08:15:06 GMT expires: - '-1' pragma: @@ -287,23 +287,23 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/63f17f7b-b7db-4b33-b68c-dc9c4cd6b88a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" + string: "{\n \"name\": \"7b7ff163-dbb7-334b-b68c-dc9c4cd6b88a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:14:36.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:16:42 GMT + - Tue, 17 Aug 2021 08:15:36 GMT expires: - '-1' pragma: @@ -337,23 +337,23 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/63f17f7b-b7db-4b33-b68c-dc9c4cd6b88a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" + string: "{\n \"name\": \"7b7ff163-dbb7-334b-b68c-dc9c4cd6b88a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:14:36.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:17:12 GMT + - Tue, 17 Aug 2021 08:16:06 GMT expires: - '-1' pragma: @@ -387,23 +387,23 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/63f17f7b-b7db-4b33-b68c-dc9c4cd6b88a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" + string: "{\n \"name\": \"7b7ff163-dbb7-334b-b68c-dc9c4cd6b88a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:14:36.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:17:42 GMT + - Tue, 17 Aug 2021 08:16:36 GMT expires: - '-1' pragma: @@ -437,23 +437,23 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/63f17f7b-b7db-4b33-b68c-dc9c4cd6b88a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\"\n }" + string: "{\n \"name\": \"7b7ff163-dbb7-334b-b68c-dc9c4cd6b88a\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:14:36.4Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:13 GMT + - Tue, 17 Aug 2021 08:17:07 GMT expires: - '-1' pragma: @@ -487,24 +487,24 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/dcca5cdd-7c3a-452a-add0-02af82f47002?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/63f17f7b-b7db-4b33-b68c-dc9c4cd6b88a?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dd5ccadc-3a7c-2a45-add0-02af82f47002\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:15:42.0866666Z\",\n \"endTime\": - \"2021-08-19T10:18:41.541427Z\"\n }" + string: "{\n \"name\": \"7b7ff163-dbb7-334b-b68c-dc9c4cd6b88a\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:14:36.4Z\",\n \"endTime\": + \"2021-08-17T08:17:13.4260152Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '164' content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:43 GMT + - Tue, 17 Aug 2021 08:17:36 GMT expires: - '-1' pragma: @@ -538,7 +538,7 @@ interactions: --windows-admin-password --load-balancer-sku --vm-set-type --network-plugin --kubernetes-version --ssh-key-value User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -548,8 +548,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-50d16a72.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-50d16a72.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -558,10 +558,10 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -569,7 +569,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9f3ad011-7b33-499d-a55f-228ebd2b7f8d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -587,7 +587,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:43 GMT + - Tue, 17 Aug 2021 08:17:37 GMT expires: - '-1' pragma: @@ -619,7 +619,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-07-01 @@ -634,7 +634,7 @@ interactions: \"Running\"\n },\n \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n + \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \ \"enableFIPS\": false\n }\n }\n ]\n }" headers: cache-control: @@ -644,7 +644,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:44 GMT + - Tue, 17 Aug 2021 08:17:38 GMT expires: - '-1' pragma: @@ -684,7 +684,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -703,7 +703,7 @@ interactions: false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -711,7 +711,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:18:46 GMT + - Tue, 17 Aug 2021 08:17:40 GMT expires: - '-1' pragma: @@ -723,7 +723,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1195' status: code: 201 message: Created @@ -741,14 +741,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -757,7 +757,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:19:16 GMT + - Tue, 17 Aug 2021 08:18:11 GMT expires: - '-1' pragma: @@ -789,14 +789,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -805,7 +805,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:19:46 GMT + - Tue, 17 Aug 2021 08:18:40 GMT expires: - '-1' pragma: @@ -837,14 +837,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -853,7 +853,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:20:16 GMT + - Tue, 17 Aug 2021 08:19:11 GMT expires: - '-1' pragma: @@ -885,14 +885,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -901,7 +901,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:20:46 GMT + - Tue, 17 Aug 2021 08:19:41 GMT expires: - '-1' pragma: @@ -933,14 +933,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -949,7 +949,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:21:17 GMT + - Tue, 17 Aug 2021 08:20:11 GMT expires: - '-1' pragma: @@ -981,14 +981,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -997,7 +997,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:21:47 GMT + - Tue, 17 Aug 2021 08:20:41 GMT expires: - '-1' pragma: @@ -1029,14 +1029,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -1045,7 +1045,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:22:16 GMT + - Tue, 17 Aug 2021 08:21:11 GMT expires: - '-1' pragma: @@ -1077,14 +1077,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -1093,7 +1093,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:22:46 GMT + - Tue, 17 Aug 2021 08:21:41 GMT expires: - '-1' pragma: @@ -1125,14 +1125,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -1141,7 +1141,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:23:16 GMT + - Tue, 17 Aug 2021 08:22:12 GMT expires: - '-1' pragma: @@ -1173,14 +1173,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -1189,7 +1189,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:23:47 GMT + - Tue, 17 Aug 2021 08:22:41 GMT expires: - '-1' pragma: @@ -1221,14 +1221,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -1237,7 +1237,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:24:17 GMT + - Tue, 17 Aug 2021 08:23:11 GMT expires: - '-1' pragma: @@ -1269,14 +1269,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\"\n }" headers: cache-control: - no-cache @@ -1285,7 +1285,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:24:47 GMT + - Tue, 17 Aug 2021 08:23:42 GMT expires: - '-1' pragma: @@ -1317,15 +1317,15 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2e34444d-f04f-4bdb-8434-df047f2d6ab6?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9390dae2-5065-4df2-914a-ac4d19e42e68?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d44342e-4ff0-db4b-8434-df047f2d6ab6\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:18:46.51Z\",\n \"endTime\": - \"2021-08-19T10:24:52.8784732Z\"\n }" + string: "{\n \"name\": \"e2da9093-6550-f24d-914a-ac4d19e42e68\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:17:41.15Z\",\n \"endTime\": + \"2021-08-17T08:24:07.9485863Z\"\n }" headers: cache-control: - no-cache @@ -1334,7 +1334,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:25:17 GMT + - Tue, 17 Aug 2021 08:24:12 GMT expires: - '-1' pragma: @@ -1366,7 +1366,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --os-type --node-count User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -1391,7 +1391,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:25:18 GMT + - Tue, 17 Aug 2021 08:24:12 GMT expires: - '-1' pragma: @@ -1423,7 +1423,7 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -1433,8 +1433,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n + \"1.20.7\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-50d16a72.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-50d16a72.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1443,7 +1443,7 @@ interactions: \"1.20.7\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -1454,7 +1454,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1462,7 +1462,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9f3ad011-7b33-499d-a55f-228ebd2b7f8d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1480,7 +1480,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:25:19 GMT + - Tue, 17 Aug 2021 08:24:13 GMT expires: - '-1' pragma: @@ -1512,14 +1512,14 @@ interactions: "mode": "User", "orchestratorVersion": "1.21.2", "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "enableCSIProxy": true}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c"}]}}, + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9f3ad011-7b33-499d-a55f-228ebd2b7f8d"}]}}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false}}' @@ -1539,7 +1539,7 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -1549,8 +1549,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Upgrading\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.21.2\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n + \"1.21.2\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-50d16a72.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-50d16a72.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -1559,7 +1559,7 @@ interactions: \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -1570,7 +1570,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -1578,7 +1578,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9f3ad011-7b33-499d-a55f-228ebd2b7f8d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -1590,7 +1590,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -1598,7 +1598,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:25:23 GMT + - Tue, 17 Aug 2021 08:24:15 GMT expires: - '-1' pragma: @@ -1614,7 +1614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1194' status: code: 200 message: OK @@ -1632,119 +1632,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 10:25:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks upgrade - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --kubernetes-version --yes - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Thu, 19 Aug 2021 10:26:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks upgrade - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --kubernetes-version --yes - User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 - (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:26:54 GMT + - Tue, 17 Aug 2021 08:24:46 GMT expires: - '-1' pragma: @@ -1776,23 +1680,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:27:24 GMT + - Tue, 17 Aug 2021 08:25:16 GMT expires: - '-1' pragma: @@ -1824,23 +1728,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:27:53 GMT + - Tue, 17 Aug 2021 08:25:46 GMT expires: - '-1' pragma: @@ -1872,23 +1776,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:28:24 GMT + - Tue, 17 Aug 2021 08:26:16 GMT expires: - '-1' pragma: @@ -1920,23 +1824,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:28:54 GMT + - Tue, 17 Aug 2021 08:26:47 GMT expires: - '-1' pragma: @@ -1968,23 +1872,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:29:24 GMT + - Tue, 17 Aug 2021 08:27:16 GMT expires: - '-1' pragma: @@ -2016,23 +1920,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:29:54 GMT + - Tue, 17 Aug 2021 08:27:47 GMT expires: - '-1' pragma: @@ -2064,23 +1968,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:30:24 GMT + - Tue, 17 Aug 2021 08:28:17 GMT expires: - '-1' pragma: @@ -2112,23 +2016,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:30:54 GMT + - Tue, 17 Aug 2021 08:28:47 GMT expires: - '-1' pragma: @@ -2160,23 +2064,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:31:25 GMT + - Tue, 17 Aug 2021 08:29:17 GMT expires: - '-1' pragma: @@ -2208,23 +2112,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:31:55 GMT + - Tue, 17 Aug 2021 08:29:47 GMT expires: - '-1' pragma: @@ -2256,23 +2160,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:32:25 GMT + - Tue, 17 Aug 2021 08:30:17 GMT expires: - '-1' pragma: @@ -2304,23 +2208,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:32:55 GMT + - Tue, 17 Aug 2021 08:30:47 GMT expires: - '-1' pragma: @@ -2352,23 +2256,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:33:26 GMT + - Tue, 17 Aug 2021 08:31:17 GMT expires: - '-1' pragma: @@ -2400,23 +2304,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:33:56 GMT + - Tue, 17 Aug 2021 08:31:48 GMT expires: - '-1' pragma: @@ -2448,23 +2352,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:34:25 GMT + - Tue, 17 Aug 2021 08:32:18 GMT expires: - '-1' pragma: @@ -2496,23 +2400,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:34:55 GMT + - Tue, 17 Aug 2021 08:32:48 GMT expires: - '-1' pragma: @@ -2544,23 +2448,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:35:26 GMT + - Tue, 17 Aug 2021 08:33:18 GMT expires: - '-1' pragma: @@ -2592,23 +2496,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:35:56 GMT + - Tue, 17 Aug 2021 08:33:48 GMT expires: - '-1' pragma: @@ -2640,23 +2544,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:36:26 GMT + - Tue, 17 Aug 2021 08:34:19 GMT expires: - '-1' pragma: @@ -2688,23 +2592,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:36:56 GMT + - Tue, 17 Aug 2021 08:34:49 GMT expires: - '-1' pragma: @@ -2736,23 +2640,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:37:27 GMT + - Tue, 17 Aug 2021 08:35:18 GMT expires: - '-1' pragma: @@ -2784,23 +2688,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:37:57 GMT + - Tue, 17 Aug 2021 08:35:49 GMT expires: - '-1' pragma: @@ -2832,23 +2736,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:38:26 GMT + - Tue, 17 Aug 2021 08:36:19 GMT expires: - '-1' pragma: @@ -2880,23 +2784,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:38:57 GMT + - Tue, 17 Aug 2021 08:36:49 GMT expires: - '-1' pragma: @@ -2928,23 +2832,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:39:27 GMT + - Tue, 17 Aug 2021 08:37:19 GMT expires: - '-1' pragma: @@ -2976,23 +2880,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:39:57 GMT + - Tue, 17 Aug 2021 08:37:49 GMT expires: - '-1' pragma: @@ -3024,23 +2928,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:40:27 GMT + - Tue, 17 Aug 2021 08:38:19 GMT expires: - '-1' pragma: @@ -3072,23 +2976,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:40:58 GMT + - Tue, 17 Aug 2021 08:38:49 GMT expires: - '-1' pragma: @@ -3120,23 +3024,23 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 19 Aug 2021 10:41:28 GMT + - Tue, 17 Aug 2021 08:39:20 GMT expires: - '-1' pragma: @@ -3168,24 +3072,24 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d0838875-6227-4407-afaf-28311cf16b6e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/08d186cd-f293-46d3-819d-de1ae20268de?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"758883d0-2762-0744-afaf-28311cf16b6e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:25:22.84Z\",\n \"endTime\": - \"2021-08-19T10:41:36.6233994Z\"\n }" + string: "{\n \"name\": \"cd86d108-93f2-d346-819d-de1ae20268de\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:24:15.9633333Z\",\n \"endTime\": + \"2021-08-17T08:39:41.8085571Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Thu, 19 Aug 2021 10:41:57 GMT + - Tue, 17 Aug 2021 08:39:49 GMT expires: - '-1' pragma: @@ -3217,7 +3121,7 @@ interactions: ParameterSetName: - --resource-group --name --kubernetes-version --yes User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 @@ -3227,8 +3131,8 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.21.2\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-a7516475.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliaksdns000002-a7516475.portal.hcp.westus2.azmk8s.io\",\n + \"1.21.2\",\n \"dnsPrefix\": \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-50d16a72.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliaksdns000002-50d16a72.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": @@ -3237,7 +3141,7 @@ interactions: \"1.21.2\",\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2021.07.31\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2021.07.25\",\n \"enableFIPS\": false\n \ },\n {\n \"name\": \"npwin\",\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \ \"kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n @@ -3248,7 +3152,7 @@ interactions: \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2061.210714\",\n \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDm5I2BQLU2JegCflUyWF5QB0d94IXzGkm5r9oHe846ci3ZKyr3JSWVzcX7GSQTJEDS2Bt6GHBHjDnYxFFDb/HMZs5gjwSbQbAq036KW5/ZiiVZQ64eMl+OH5HnWxdfovA3SYeA3FCNLZg0xDkCCKm9zQBq1L3oGSDDIp8HMZNHCGPM/SyJOlaNyXV8dovLfqb2A7aoLNz75GtGTXLYY14z4u8o0f8iT/bKw4ohgrijy+pUkxJp/gFKP+o74q0YYuYZC0J50NHCHKLGmyePVwL35Q/YiGqVKY0Yx5e7/zGKrr5LYveGPqycWvf0WGfs/+lP/Kflx3hkR9LMFqCGh6Ar + {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCBUaXhNBJiBl6rU3imQYMf4JmrE9njaW26rdhITQVYDofJX/3tPiZniPK6y2ZO1tPrYcBoNG1hwmtBSa1ViIkWCBClIqTK5/TtjWSOg1wVVt3Bi5Lnfq763usRx0gUtlRBWE28qbkgxyQsH1cueN6TYRLR0LibPtSjtGX52KNUecc+ZEamYxHgum4F0qAW5BflwB5hCLYoWdnPa+d8q5qvrdR5EN229es65pn32l2vARtE+8RAz/ckfAn1w3fnNWwMJYEHcHynPul85fw7NGHBassFUDcl49uhFty5cMs4XPkM4vGk3TbIobrpBGPhvclhWlssp8x34/gOOIaiQqd azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n @@ -3256,7 +3160,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/7db63c31-7edc-4c4d-afed-edb590b2f79c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9f3ad011-7b33-499d-a55f-228ebd2b7f8d\"\n \ }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": @@ -3274,7 +3178,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:41:58 GMT + - Tue, 17 Aug 2021 08:39:50 GMT expires: - '-1' pragma: @@ -3306,7 +3210,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --kubernetes-version --aks-custom-headers User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-07-01 @@ -3331,7 +3235,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:41:59 GMT + - Tue, 17 Aug 2021 08:39:51 GMT expires: - '-1' pragma: @@ -3372,7 +3276,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --kubernetes-version --aks-custom-headers User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) WindowsContainerRuntime: - containerd @@ -3393,7 +3297,7 @@ interactions: false\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e24b36a-3107-45e4-99dc-68163c5bb037?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fdab22ed-e968-427d-8183-c4f74c84a773?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -3401,7 +3305,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:42:01 GMT + - Tue, 17 Aug 2021 08:39:53 GMT expires: - '-1' pragma: @@ -3417,7 +3321,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1194' status: code: 200 message: OK @@ -3435,26 +3339,26 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --kubernetes-version --aks-custom-headers User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) WindowsContainerRuntime: - containerd method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9e24b36a-3107-45e4-99dc-68163c5bb037?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/fdab22ed-e968-427d-8183-c4f74c84a773?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"6ab3249e-0731-e445-99dc-68163c5bb037\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-19T10:42:02.3466666Z\",\n \"endTime\": - \"2021-08-19T10:42:06.4670991Z\"\n }" + string: "{\n \"name\": \"ed22abfd-68e9-7d42-8183-c4f74c84a773\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2021-08-17T08:39:54.1366666Z\",\n \"endTime\": + \"2021-08-17T08:39:58.135231Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '169' content-type: - application/json date: - - Thu, 19 Aug 2021 10:42:32 GMT + - Tue, 17 Aug 2021 08:40:23 GMT expires: - '-1' pragma: @@ -3486,7 +3390,7 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --kubernetes-version --aks-custom-headers User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) WindowsContainerRuntime: - containerd @@ -3513,7 +3417,7 @@ interactions: content-type: - application/json date: - - Thu, 19 Aug 2021 10:42:32 GMT + - Tue, 17 Aug 2021 08:40:24 GMT expires: - '-1' pragma: @@ -3547,26 +3451,26 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.27.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.8.11 + - AZURECLI/2.27.0 azsdk-python-azure-mgmt-containerservice/16.1.0 Python/3.8.11 (Linux-5.4.0-1055-azure-x86_64-with-glibc2.27) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/67b10847-16ea-410a-a887-a1282883437e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3a899e5b-2d79-4eb4-92d7-ed405778e077?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 19 Aug 2021 10:42:34 GMT + - Tue, 17 Aug 2021 08:40:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/67b10847-16ea-410a-a887-a1282883437e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/3a899e5b-2d79-4eb4-92d7-ed405778e077?api-version=2016-03-30 pragma: - no-cache server: @@ -3576,7 +3480,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14993' + - '14996' status: code: 202 message: Accepted From 6751a139d1a4d6bd86fd6849523bab473585c39b Mon Sep 17 00:00:00 2001 From: RuoyuWang-MS <86712051+RuoyuWang-MS@users.noreply.github.com> Date: Thu, 26 Aug 2021 16:18:55 +0800 Subject: [PATCH 36/43] [Spring Cloud] Fix source code deployment build log issues (#3818) * fix source code deploy log bug * Bump spring-cloud version to 2.7.1 --- src/spring-cloud/HISTORY.md | 3 ++ .../azext_spring_cloud/_stream_utils.py | 36 ++++++++++++++----- src/spring-cloud/setup.py | 2 +- 3 files changed, 31 insertions(+), 10 deletions(-) diff --git a/src/spring-cloud/HISTORY.md b/src/spring-cloud/HISTORY.md index 877b56640eb..b44fabdb42f 100644 --- a/src/spring-cloud/HISTORY.md +++ b/src/spring-cloud/HISTORY.md @@ -1,5 +1,8 @@ Release History =============== +2.7.1 +----- +* Fix source code deployment build log issues 2.7.0 ----- diff --git a/src/spring-cloud/azext_spring_cloud/_stream_utils.py b/src/spring-cloud/azext_spring_cloud/_stream_utils.py index cddecd0ca13..34b88955a70 100644 --- a/src/spring-cloud/azext_spring_cloud/_stream_utils.py +++ b/src/spring-cloud/azext_spring_cloud/_stream_utils.py @@ -86,13 +86,31 @@ def _stream_logs(no_format, # pylint: disable=too-many-locals, too-many-stateme num_fails_for_backoff = 3 consecutive_sleep_in_sec = 0 + blob_exists = False + + def safe_get_blob_properties(): + ''' + In recent storage SDK, the get_blob_properties will output error logs on BlobNotFound (and also raise + AzureHttpError(404)). There is no way to suppress the error logging from the callsite. + However, in our scenario, such BlobNotFound error is expected before the build actually kicks off. + To get rid of the error logging, we only call the get_blob_properties after the blob is created. + ''' + nonlocal blob_exists + if not blob_exists: + blob_exists = blob_service.exists( + container_name=container_name, blob_name=blob_name) + if blob_exists: + return blob_service.get_blob_properties( + container_name=container_name, blob_name=blob_name) + return None + # Try to get the initial properties so there's no waiting. # If the storage call fails, we'll just sleep and try again after. try: - props = blob_service.get_blob_properties( - container_name=container_name, blob_name=blob_name) - metadata = props.metadata - available = props.properties.content_length + props = safe_get_blob_properties() + if props: + metadata = props.metadata + available = props.properties.content_length except (AttributeError, AzureHttpError): pass @@ -127,7 +145,7 @@ def _stream_logs(no_format, # pylint: disable=too-many-locals, too-many-stateme stream.write(curr_bytes[i + 1:]) logger_level_func(flush.decode('utf-8', errors='ignore')) break - if curr_bytes[i:i + 1] == b'\r': + if curr_bytes[i:i + 1] == b'\n': flush = curr_bytes[:i + 1] # won't logger.warning \n stream = BytesIO() stream.write(curr_bytes[i + 1:]) @@ -144,10 +162,10 @@ def _stream_logs(no_format, # pylint: disable=too-many-locals, too-many-stateme return try: - props = blob_service.get_blob_properties( - container_name=container_name, blob_name=blob_name) - metadata = props.metadata - available = props.properties.content_length + props = safe_get_blob_properties() + if props: + metadata = props.metadata + available = props.properties.content_length except AzureHttpError as ae: if ae.status_code != 404: raise CLIError(ae) diff --git a/src/spring-cloud/setup.py b/src/spring-cloud/setup.py index ef5d726e98c..6d5f521a8b9 100644 --- a/src/spring-cloud/setup.py +++ b/src/spring-cloud/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '2.7.0' +VERSION = '2.7.1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 2b587a9ad15f5731d66f717b906ba1db9fe4f67f Mon Sep 17 00:00:00 2001 From: Prashanth Koushik Date: Thu, 26 Aug 2021 19:07:49 -0700 Subject: [PATCH 37/43] Update index.json (#3825) Co-authored-by: Prashanth Koushik --- src/index.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/index.json b/src/index.json index 5b3106a6b39..bbf877c9139 100644 --- a/src/index.json +++ b/src/index.json @@ -4248,8 +4248,8 @@ ], "arcappliance": [ { - "downloadUrl": "https://arcplatformcliextprod.blob.core.windows.net/arcappliance/arcappliance-0.1.3-py2.py3-none-any.whl", - "filename": "arcappliance-0.1.3-py2.py3-none-any.whl", + "downloadUrl": "https://arcplatformcliextprod.blob.core.windows.net/arcappliance/arcappliance-0.1.4-py2.py3-none-any.whl", + "filename": "arcappliance-0.1.4-py2.py3-none-any.whl", "metadata": { "azext.isPreview": true, "azext.minCliCoreVersion": "2.0.67", @@ -4295,13 +4295,13 @@ } ], "summary": "Microsoft Azure Command-Line Tools Arcappliance Extension", - "version": "0.1.3" + "version": "0.1.4" }, - "sha256Digest": "926280c57deb20bdd570d53f6250f6b65a2e9708ba0dcf0734b654f5dc45ed44" + "sha256Digest": "8c3ace89d98781f2e0c952a7197862d0f64afded0c6e8e83f229fea3e014806b" }, { - "downloadUrl": "https://arcplatformcliextprod.blob.core.windows.net/arcappliance/arcappliance-0.1.4-py2.py3-none-any.whl", - "filename": "arcappliance-0.1.4-py2.py3-none-any.whl", + "downloadUrl": "https://arcplatformcliextprod.blob.core.windows.net/arcappliance/arcappliance-0.1.32-py2.py3-none-any.whl", + "filename": "arcappliance-0.1.32-py2.py3-none-any.whl", "metadata": { "azext.isPreview": true, "azext.minCliCoreVersion": "2.0.67", @@ -4347,9 +4347,9 @@ } ], "summary": "Microsoft Azure Command-Line Tools Arcappliance Extension", - "version": "0.1.4" + "version": "0.1.32" }, - "sha256Digest": "8c3ace89d98781f2e0c952a7197862d0f64afded0c6e8e83f229fea3e014806b" + "sha256Digest": "7dd5f3c5d0893f390aa44bac9a5700a5a8df03d44da4bb506ece27e35baee026" } ], "arcdata": [ From 78a4a9bcf7eac708dca872baefc736cf5eee4cf9 Mon Sep 17 00:00:00 2001 From: Charlie McBride <33269602+charliedmcb@users.noreply.github.com> Date: Fri, 27 Aug 2021 02:18:51 -0700 Subject: [PATCH 38/43] release 0.5.29 that contains update fix (#3827) * new version 0.5.29 * update in wording * remove extra new line * updating HISTORY Co-authored-by: Charlie McBride --- src/aks-preview/HISTORY.md | 5 +++++ src/aks-preview/setup.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/aks-preview/HISTORY.md b/src/aks-preview/HISTORY.md index 4830a45fca0..b470128af8a 100644 --- a/src/aks-preview/HISTORY.md +++ b/src/aks-preview/HISTORY.md @@ -3,6 +3,11 @@ Release History =============== +0.5.29 ++++++ +* Fix update (failed due to "ERROR: (BadRequest) Feature Microsoft.ContainerService/AutoUpgradePreview is not enabled" even when autoupgrade was not specified) +* Add podMaxPids argument for kubelet-config + 0.5.28 +++++ * Update to adopt 2021-07-01 api-version diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index 40036a9b1c0..c3959596bfb 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open as open1 from setuptools import setup, find_packages -VERSION = "0.5.28" +VERSION = "0.5.29" CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', From ac86a839f2db16ab1eda15594c73bf0203c0903b Mon Sep 17 00:00:00 2001 From: Marcus Lachmanez Date: Fri, 27 Aug 2021 11:26:14 +0200 Subject: [PATCH 39/43] scripts/linux-build_setup-cloud-init.txt is missing in the package (#3815) the file linux-build_setup-cloud-init.txt is missing in the generated package --- src/vm-repair/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vm-repair/setup.py b/src/vm-repair/setup.py index a787c54f20d..e7819f4f9ee 100644 --- a/src/vm-repair/setup.py +++ b/src/vm-repair/setup.py @@ -47,6 +47,7 @@ 'scripts/enable-nestedhyperv.ps1', 'scripts/linux-mount-encrypted-disk.sh', 'scripts/win-mount-encrypted-disk.ps1', + 'scripts/linux-build_setup-cloud-init.txt', 'linux-build_setup-cloud-init.txt', 'azext_metadata.json' ] From 13c584d4bad8b5e79fb412908de3a6fe275954a1 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Fri, 27 Aug 2021 17:28:53 +0800 Subject: [PATCH 40/43] [Release] Update index.json for extension [ spring-cloud ] (#3824) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1067089 Last commit: https://github.com/Azure/azure-cli-extensions/commit/6751a139d1a4d6bd86fd6849523bab473585c39b --- src/index.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/index.json b/src/index.json index bbf877c9139..749af8553ef 100644 --- a/src/index.json +++ b/src/index.json @@ -20114,6 +20114,49 @@ "version": "2.7.0" }, "sha256Digest": "2694319d0d46dff1b159b0b02d615cb8848306e7c3df81a334ce35523f834b73" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/spring_cloud-2.7.1-py3-none-any.whl", + "filename": "spring_cloud-2.7.1-py3-none-any.whl", + "metadata": { + "azext.isPreview": false, + "azext.minCliCoreVersion": "2.0.67", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/spring-cloud" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "spring-cloud", + "summary": "Microsoft Azure Command-Line Tools spring-cloud Extension", + "version": "2.7.1" + }, + "sha256Digest": "68917af5100e931c03887a56ed14edb4d8ea258c049759b07018f52f03f8c08c" } ], "ssh": [ From caaf12dc35c937362d4587388c06665e6b6d8225 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Fri, 27 Aug 2021 17:50:43 +0800 Subject: [PATCH 41/43] [Release] Update index.json for extension [ aks-preview ] (#3828) Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_ID=1069582 Last commit: https://github.com/Azure/azure-cli-extensions/commit/78a4a9bcf7eac708dca872baefc736cf5eee4cf9 --- src/index.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/index.json b/src/index.json index 749af8553ef..24a946b89bd 100644 --- a/src/index.json +++ b/src/index.json @@ -3476,6 +3476,49 @@ "version": "0.5.28" }, "sha256Digest": "6242d3de31d9fb51d7385e4b8b4880806a6df7057d552914ae114d6445440b9e" + }, + { + "downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-0.5.29-py2.py3-none-any.whl", + "filename": "aks_preview-0.5.29-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.0.49", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/aks-preview" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "aks-preview", + "summary": "Provides a preview for upcoming AKS features", + "version": "0.5.29" + }, + "sha256Digest": "4b433b98716ceb98545a1031ac06284ed06cdb454af009e486a30b32ec07b176" } ], "alertsmanagement": [ From 93147fa54408f524a4120cc166ba66882a0b1df5 Mon Sep 17 00:00:00 2001 From: FumingZhang <81607949+FumingZhang@users.noreply.github.com> Date: Mon, 30 Aug 2021 16:55:02 +0800 Subject: [PATCH 42/43] update default test matrix (#3833) --- .../azcli_aks_live_test/configs/cli_matrix_default.json | 3 ++- .../azcli_aks_live_test/configs/ext_matrix_default.json | 7 +------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/aks-preview/azcli_aks_live_test/configs/cli_matrix_default.json b/src/aks-preview/azcli_aks_live_test/configs/cli_matrix_default.json index 08b62155e7e..19f1a7137a5 100644 --- a/src/aks-preview/azcli_aks_live_test/configs/cli_matrix_default.json +++ b/src/aks-preview/azcli_aks_live_test/configs/cli_matrix_default.json @@ -7,7 +7,8 @@ "exclude": { "need additional feature": [ "test_aks_create_enable_encryption", - "test_aks_create_edge_zone" + "test_aks_create_edge_zone", + "test_aks_create_with_auto_upgrade_channel" ] } } \ No newline at end of file diff --git a/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json b/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json index 152afcd5c53..739e4766834 100644 --- a/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json +++ b/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json @@ -6,10 +6,7 @@ }, "exclude": { "need additional feature": [ - "test_aks_create_with_ossku", - "test_aks_nodepool_add_with_ossku", - "test_aks_create_with_node_config", - "test_aks_create_private_cluster_public_fqdn", + "test_aks_create_with_azurekeyvaultsecretsprovider_addon", "test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation", "test_aks_update_azurekeyvaultsecretsprovider_with_secret_rotation", "test_aks_enable_addon_with_azurekeyvaultsecretsprovider", @@ -20,8 +17,6 @@ "test_aks_enable_addon_with_openservicemesh", "test_aks_disable_addon_openservicemesh", "test_aks_create_with_auto_upgrade_channel", - "test_aks_create_with_azurekeyvaultsecretsprovider_addon", - "test_aks_custom_kubelet_identity", "test_aks_disable_local_accounts", "test_aks_create_with_pod_identity_enabled", "test_aks_create_using_azurecni_with_pod_identity_enabled", From c02aacd511f72ba9eb6fc7584415f27dfb5f9726 Mon Sep 17 00:00:00 2001 From: Marcus Lachmanez Date: Mon, 30 Aug 2021 11:37:25 +0200 Subject: [PATCH 43/43] New version required to fix the inclusion of file 'scripts/linux-build_setup-cloud-init.txt' in the generated package (#3829) I'm sorry for the mess @zhoxing-ms . Just recognized a new version is required. Updated the history number accordingly. Cleaned up also the azext_vm_repair list. --- src/vm-repair/setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vm-repair/setup.py b/src/vm-repair/setup.py index e7819f4f9ee..8c656b47341 100644 --- a/src/vm-repair/setup.py +++ b/src/vm-repair/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.3.7" +VERSION = "0.3.8" CLASSIFIERS = [ 'Development Status :: 4 - Beta', @@ -48,7 +48,6 @@ 'scripts/linux-mount-encrypted-disk.sh', 'scripts/win-mount-encrypted-disk.ps1', 'scripts/linux-build_setup-cloud-init.txt', - 'linux-build_setup-cloud-init.txt', 'azext_metadata.json' ] },